Reference
Audit
The hash-chained audit trail and the request log.
Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.
The hash-chained audit trail#
GET /v1/audit_log
Operation id listAuditLog. MCP tool list_audit_log. SDK tickets.audit.list.
The hash-chained audit trail: who did what and when, newest first, optionally for one resource.
Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).
| Parameter | In | Type | Description |
|---|---|---|---|
resource | query | string | Entries about one id (an order, a ticket, a key). |
limit | query | integer | |
starting_after | query | string | An id starting with aud_. |
Answers 200. A page of entries, newest first.
Fields
| Field | Type | Description |
|---|---|---|
object * | "list" | |
data * | array of AuditEntry | This page, newest first. |
has_more * | boolean | True when there is another page: pass the last id as starting_after. |
url * | "/v1/audit_log" | The path this list came from (/v1/audit_log). |
* required
Recent API requests (the dashboard's logs)#
GET /v1/request_logs
Operation id listRequestLogs.
Recent API requests the dashboard shows, filtered by status or key. Never a request's body.
Who may call it. A signed-in dashboard member whose role has keys.manage (owner, admin).
| Parameter | In | Type | Description |
|---|---|---|---|
limit | query | integer | How many to return, 1 to 100 (default 20). |
starting_after | query | string | An id from the page before: the page after it. |
ending_before | query | string | An id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other… |
status | query | integer | |
api_key | query | string | An id starting with key_. |
created_gte | query | string (date-time) | Only those created at or after this instant. |
created_lt | query | string (date-time) | Only those created before this instant. |
Answers 200. A page of requests.
Fields
| Field | Type | Description |
|---|---|---|
object * | "list" | |
data * | array of RequestLog | This page, newest first. |
has_more * | boolean | True when there is another page: pass the last id as starting_after. |
url * | "/v1/request_logs" | The path this list came from (/v1/request_logs). |
* required