Get the calling API key
GET
Return the calling API key's workspace, key id, name, scopes and expiry; never its secret. API keys only: a signed-in browser session is a 401. A syndai CLI below the minimum supported version is a 426.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
Request fulfilled, document follows
application/json- response
customer_id*stringFormat
uuidexpires_at?|nullkey_id*stringFormat
uuidkey_name*stringscopes*array<string>curl -X GET 'https://api.syndai.ai/api/v1/external/coding/me'Example Response
{ "customer_id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9", "expires_at": null, "key_id": "0f1e2d3c-4b5a-4968-8776-655443322110", "key_name": "CI deploy bot", "scopes": [ "coding:runs:create", "coding:runs:read" ]}