Developer documentation
List gateway call logs
GET/api/control/v1/logs
Request
List gateway call logs
Authenticate with Authorization: Bearer and a control API key with read scope. Set GATEWAY to your deployment origin and ID to the resource ID where needed. Replace sample values before sending a mutation.
Generated curl examples use GATEWAY for the deployment origin and ID for a path identifier. Set those shell variables before running the request. JSON examples show the request shape; replace each sample value with your own input.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| agent_id | query | string | No | Format: uuid. |
| status | query | string | No | — |
| class | query | string | No | Narrow to operationally meaningful calls (`inference`) or to SDK housekeeping such as startup model-listing probes (`housekeeping`), or service API calls (`service`). Omitted returns every recorded call, which stays the default: the log is the complete record, and this parameter only chooses a view of it. Classification is derived from the stored row, not a stored field, and a refused call is never housekeeping. Values: inference, housekeeping, service. |
| limit | query | integer | No | Applied to the query before any `class` filter, so a filtered page can return fewer rows than the limit. Default: 50. |
| cursor | query | string | No | Opaque keyset cursor returned as next_cursor by the previous page. |
Responses
Illustrative response bodies are generated from the schema. Sample IDs, dates, numbers and strings are placeholders. The schema below each status is the response contract.
| Status | Description | Media type |
|---|---|---|
| 200 | Recent gateway calls. | application/json |
| 400 | invalid_cursor; the cursor is malformed. | application/json |
| 401 | Error. | application/json |
| 429 | Shared control-key or IP request limit reached. Decision traces also have a workspace limit. | application/json |
| 500 | Error. | application/json |
Errors
400: invalid_cursor; the cursor is malformed. 401: Error. 429: Shared control-key or IP request limit reached. Decision traces also have a workspace limit. 500: Error.
A successful HTTP response is not permission. Check the returned status or decision and apply your service's access rule.
Rate limit
600 requests per control key per 60 seconds, using the shared total request count. Reads and writes increment the same counter; prior reads count toward the 120-request write ceiling. The pre-authentication IP guard is shared across operator endpoints: 1,000 requests per 60 seconds by default.
On 429, wait for Retry-After before retrying. An unavailable check must never be treated as a successful identity or mandate decision.