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.
GET
apiKeyheader
AuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
Success
application/json- response
data*array<>Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/runs'Example Response
{ "data": [ { "id": "string", "kind": "action", "label": "string", "status": "completed", "workspace": "string", "durationMs": 0, "startedAt": "string", "error": "string" } ]}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.