API Keys
Revoke an API key
Revokes the key. The API refuses it right away, and cached checks catch up within a few minutes.
Authorization
bearerAuth AuthorizationBearer <token>
An API key from POST /v1/api-keys. Keys start with ref_.
In: header
Path Parameters
id*string
The API key's id (key_...).
Length
1 <= lengthResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v1/api-keys/key_abc123"Empty
Was this page helpful?
List API keys
Lists the workspace's active keys, latest first, with name, prefix, scope, expiry and last use. Revoked keys and secrets are never listed.
Get Health
Checks that the API is up. Needs no key and is not rate limited. Returns `ok: true` with the state of the database and each background worker.