User

Get User Api Key

Get a specific user API key

Returns information about a specific API key. Use reveal_secret=true to get the full API key (only available once after creation/rotation). When reveal_secret=true, returns RevealedUserAPIKeyResponse with api_key field.

get/api/user/api-keys/{key_id}

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/user/api-keys/{key_id}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

key_idstring required

Query parameters

reveal_secretboolean

Return full API key secret when true

Response

Successful Response

key_idstring required
namestring required
created_atstring nullable required
last_used_atstring nullable required
expires_atstring nullable required
statusstring required
key_previewstring nullable
actor_kindstring nullable
resource_scopeobject nullable
service_capsstring[] nullable
presetstring nullable
pat_kindstring nullable
oauth_client_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.