Skip to main content

Logs

Every call needs Authorization: Bearer <key>. 1 call:

API request logs​

GET /v1/logs

Newest first, one row per MCP tool call: searching by request_id also returns the requests made inside that call. path matches route templates by prefix, for example /v1/messages. Only the method, route, status, latency, request id, IP and key are recorded: never bodies, headers or query strings.

Query parameters

NameTypeRequiredDescription
limitintegerNoFrom 1 to 100. Default 50.
cursorstringNoOpaque cursor from next_cursor. Up to 512 characters.
fromstring (date-time)NoISO 8601 timestamp.
tostring (date-time)NoISO 8601 timestamp.
statusintegerNoFrom 100 to 599.
methodenumNoOne of: GET, POST, PATCH, PUT, DELETE.
pathstringNoUp to 200 characters.
api_key_idstringNoAPI key id (key_...).
request_idstringNoUp to 100 characters.

Headers

NameTypeRequiredDescription
x-workspace-idstringNoWorkspace for session (JWT) callers. API keys carry their own workspace.

Response 200

FieldTypeDescription
dataobject[]
data[].api_key_idstring or nullAPI key id (key_...).
data[].idstring (uuid)
data[].ipstring or null
data[].latency_msintegerFrom 0 to 9007199254740991.
data[].methodstring
data[].occurred_atstring (date-time)ISO 8601 timestamp.
data[].parent_request_idstring or nullFor a request made inside an MCP tool call, the request id of that tool call.
data[].pathstring
data[].request_idstring
data[].statusintegerFrom -9007199254740991 to 9007199254740991.
next_cursorstring or nullPass as cursor to get the next page; null at the end.

Errors: 400, 401, 403, 404, 409, 413, 415, 429, 500. See errors for the shape and codes.