Skip to content

Reference

Audit

The hash-chained audit trail and the request log.

View as Markdown

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).

ParameterInTypeDescription
resourcequerystringEntries about one id (an order, a ticket, a key).
limitqueryinteger
starting_afterquerystringAn id starting with aud_.

Answers 200. A page of entries, newest first.

Fields

FieldTypeDescription
object *"list"
data *array of AuditEntryThis page, newest first.
has_more *booleanTrue 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).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn 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…
statusqueryinteger
api_keyquerystringAn id starting with key_.
created_gtequerystring (date-time)Only those created at or after this instant.
created_ltquerystring (date-time)Only those created before this instant.

Answers 200. A page of requests.

Fields

FieldTypeDescription
object *"list"
data *array of RequestLogThis page, newest first.
has_more *booleanTrue 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