v1
protected
api-keys

Get a single API key by ID.

Someone else's key answers 404 to a member, as a missing one does, so the ids of colleagues' keys cannot be confirmed. A runner's key lives on its client's page and answers 404 here too.

get/v1/workspaces/{workspace}/api-keys/{token_id}

Request

Path parameters

token_idstring uuid required
workspacestring required

Slug of the workspace the request acts in

Response

Successful Response

access_countinteger required
agent_idstring uuid nullable

The one agent the key reaches over A2A; None for a workspace key

created_atstring date-time required
expires_atstring date-time nullable required
idstring uuid required
is_activeboolean required
last_accessed_atstring date-time nullable required
namestring required
token_prefixstring required

Changes