Skip to main content
GET
/
v1
/
users
/
me
/
api-keys
List Api Keys
curl --request GET \
  --url https://api.superdocs.app/v1/users/me/api-keys \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "key_prefix": "<string>",
    "last_four": "<string>",
    "is_active": true,
    "created_at": "<string>",
    "last_used_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

id
string
required

Key identifier (UUID).

name
string
required

Label assigned to this key.

key_prefix
string
required

First 7 characters of the key (e.g., 'sk_a1b2').

last_four
string
required

Last 4 characters of the key for identification.

is_active
boolean
required

Whether the key is active. Revoked keys show as false.

created_at
string
required

ISO 8601 timestamp when the key was created.

last_used_at
string | null

ISO 8601 timestamp of last use, or null if never used.