API referenceAdmin
List recent platform background runs
Returns the recent background and worker runs shown on the admin console, with their status and timing. Platform admins only.
Authorization
apiKey AuthorizationBearer <token>
Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/admin/runs"{ "data": [ { "id": "string", "kind": "action", "label": "string", "status": "completed", "workspace": "string", "durationMs": 0, "startedAt": "string", "error": "string" } ]}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}List recent admin audit events
Returns the platform audit trail — who changed what on the admin surface, including the critical events written by bootstrap and admin invites. Platform admins only.
List the platform permission policies
Returns the platform-level policy switches, such as whether admin invites are restricted to the owner. Platform admins only.