API keys

List API keys

Keys are never returned in full — only their identity and last four. Creation stays in the console deliberately: a leaked key that can mint more keys is a leaked account.

GET
/api_keys

Keys are never returned in full — only their identity and last four. Creation stays in the console deliberately: a leaked key that can mint more keys is a leaked account.

AuthorizationBearer <token>

API key from the console, ak_....

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
cursor?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api_keys"
{  "data": [    {      "id": "string",      "object": "api_key",      "name": "string",      "last4": "string",      "revoked": true,      "last_used_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}