SendlySendly
API ReferenceUsage

List recent API requests made to this project, with their status codes

GET
/api/users/me/projects/{id}/api-requests

List recent API requests made to this project, with their status codes.

Requires the usage:read scope — View your usage totals and billing limits.

Authorization

better-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/users/me/projects/string/api-requests"
{
  "data": [
    {
      "id": "string",
      "requestId": "string",
      "method": "string",
      "path": "string",
      "statusCode": 0,
      "duration": 0,
      "apiKeyId": "string",
      "errorCode": "string",
      "errorMessage": "string",
      "createdAt": "string"
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}