Smart Agent Teams
EndpointsAPI keys

List My Api Keys

List the caller's active (not revoked) API keys, newest first. Only metadata is returned: name, `prefix` (the first 13 characters of the key), created, last used and expiry. The secret itself is never shown again. Works with a session token or an API key.

GET
/api/me/api-keys

List the caller's active (not revoked) API keys, newest first.

Only metadata is returned: name, prefix (the first 13 characters of the key), created, last used and expiry. The secret itself is never shown again. Works with a session token or an API key.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/api/me/api-keys"
[  {    "created_at": "2019-08-24T14:15:22Z",    "expires_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "last_used": "2019-08-24T14:15:22Z",    "name": "string",    "prefix": "string"  }]