Skip to navigation

Check API key access

Harmless read of the workspace bound to this credential. Creator identity is audit data only and does not control key validity. No workspace-selector header; keys cannot switch tenants. Allowlisting governs session-only key management; it does not control key validity. Any valid key can call it; it needs no capability.

Authentication

AuthorizationBearer

Create and manage workspace-owned keys through the existing app session routes, outside this public API. Creator and manager identities are audit actors only. Key validity follows workspace policy, expiry and explicit revocation, independently of creator membership. Do not include a workspace-selection header.

Response headers

X-Request-IdstringOptional
Safe server request correlation ID.
RateLimit-LimitintegerOptional
Requests allowed in the current window for the tightest applicable limit.
RateLimit-RemainingintegerOptional
Requests left in the current window.
RateLimit-ResetintegerOptional
Seconds until the current window resets.

Response

Check API key access.
workspace_idstring<=128 characters
Opaque ws identifier. Do not parse its contents.
key_idstring<=128 characters
Opaque key identifier. Do not parse its contents.
creator_idstring or null<=128 characters

Audit identity of the member who created the key; null when that user no longer exists. This identity does not control key validity. Opaque usr identifier; do not parse its contents.

capabilitieslist of strings

The capabilities this key has now; they can change when the key permissions change. A request that needs a capability the key lacks returns 403 forbidden. Each operation lists the capabilities it needs in x-capability (an empty list means any valid key) and any extra capability that depends on the request in x-capability-conditional. Clients must accept values they do not know.

api_versionstring
workspace_statestring

Open response vocabulary. Preserve unknown values; never assume they mean success.

key_namestring
expires_atdatetime or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error