Docs
API Keys

Get current API key info

Returns metadata about the API key used for authentication.

GET
/v1/api-keys/me

Authorization

BearerAuth
AuthorizationBearer <token>

API key (csk_live_…)

In: header

Response Body

application/json

application/json

curl -X GET "https://api.cospec.io/v1/api-keys/me"
{
  "id": "string",
  "name": "string",
  "keyPrefix": "string",
  "organizationId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}