GET /v1/keys/me
Describe the key you are calling with.
Returns the id, prefix, owner and status of the key on the request. Useful for checking which key a deployment is using without printing it.
Headers
| Header | Notes |
|---|---|
X-API-Key |
The key to describe. Authorization: Bearer <key> also works. |
Response
| Key | Meaning |
|---|---|
key_id |
Stable id for the key. |
key_prefix |
First 12 characters of the key. |
email, name |
Who the key belongs to, and its label. |
created_at |
When it was created. |
revoked |
Always false here; a revoked key gets 401. |