Docs
GET
/usage/requests

Single requests and MCP tool calls of the calling key (or, with scope=organization, of the whole organization), newest first: status, error code, duration and request id. Kept 7 days on the free plan, 30 days on paid plans. No request or response bodies are stored.

Works with any valid API key.

Authorization

bearerAuth
AuthorizationBearer <token>

API key starting with fh_

In: header

Query Parameters

errorsOnly?string

true lists only requests answered with 4xx or 5xx

Value in"true" | "false"
source?string

rest = /v1 API, mcp = MCP tool call

Value in"rest" | "mcp"
scope?string

key = only the calling API key (default). organization = every key and connected app; needs api_keys:read and a key with access to all profiles

Default"key"
Value in"key" | "organization"
limit?integer

Items per page, 1 to 100

Default20
Range1 <= value <= 100
cursor?string

nextCursor from the previous page

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://feedhorizon.com/api/v1/usage/requests"
{
  "data": [
    {
      "requestId": "string",
      "createdAt": "2026-11-10T08:00:00.000Z",
      "source": "rest",
      "operation": "string",
      "method": "string",
      "path": "string",
      "status": 0,
      "errorCode": "string",
      "durationMs": 0,
      "replayed": true,
      "count": 0,
      "apiKeyId": "key_0195f0a27b3c7d4e8f5a1b2c3d4e5f60"
    }
  ],
  "nextCursor": "string"
}
{
  "error": {
    "type": "invalid_request_error",
    "code": "validation_failed",
    "message": "One or more fields are invalid, see details",
    "docUrl": "https://feedhorizon.com/docs/api/errors#invalid_request_error",
    "requestId": "req_m2x81a0kfd3h9s"
  }
}
{
  "error": {
    "type": "authentication_error",
    "code": "missing_api_key",
    "message": "No Authorization: Bearer header",
    "docUrl": "https://feedhorizon.com/docs/api/errors#authentication_error",
    "requestId": "req_m2x81a0kfd3h9s"
  }
}
{
  "error": {
    "type": "rate_limit_error",
    "code": "rate_limited",
    "message": "Too many requests. Wait the seconds in Retry-After",
    "docUrl": "https://feedhorizon.com/docs/api/errors#rate_limit_error",
    "requestId": "req_m2x81a0kfd3h9s"
  }
}
{
  "error": {
    "type": "api_error",
    "code": "internal_error",
    "message": "Something failed on our side. Retry with backoff, using the same Idempotency-Key for writes",
    "docUrl": "https://feedhorizon.com/docs/api/errors#api_error",
    "requestId": "req_m2x81a0kfd3h9s"
  }
}