Browse the API reference

List API Keys

get/v1/user/api-keys

Part of User.

Lists active keys only. Revoked keys are omitted — revocation is permanent, so a revoked key never returns to this list.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/user/api-keys" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

FieldTypeDescription
api_keysrequiredAPIKeyInfo[]

List of user's API keys

APIKeyInfo fields
FieldTypeDescription
idrequiredstring

API key ID

namerequiredstring

API key name

descriptionoptionalstring

API key description

prefixrequiredstring

API key prefix for identification

is_activerequiredboolean

Whether the key is active

last_used_atoptionalstring

Last used timestamp

expires_atoptionalstring

Expiration timestamp

created_atrequiredstring

Creation timestamp

graph_idoptionalstring

Graph scope; null means account-wide

StatusMeaning
400Invalid request
401Authentication required
403Access denied
429Rate limit exceeded
500Internal server error