Overview

An API Key authenticates your requests. Keys are scoped to your account — every key on your account has the same access. The full secret (sk_...) is returned exactly once, when the key is created; afterwards only a preview is shown. Manage keys with the List, Create, and Delete endpoints.

Properties

id
string
Unique key identifier. Used to delete the key — this is not the secret. Your account’s default key always has the id default.
name
string
Human-readable label for the key.
key_preview
string
Redacted preview of the secret (first and last characters), e.g. sk_a1b…9z8x.
is_active
boolean
Whether the key is currently valid for authentication.
is_default
boolean
Whether this is your account’s default key. The default key cannot be deleted.
created_at
string | null
When the key was created (ISO 8601 timestamp).
last_used_at
string | null
When the key last authenticated a request (ISO 8601 timestamp). null if never used.

Example

{
  "id": "3f2e1d0c-9b8a-7654-3210-fedcba987654",
  "name": "Production",
  "key_preview": "sk_a1b…9z8x",
  "is_active": true,
  "is_default": false,
  "created_at": "2026-06-01T18:25:43.511Z",
  "last_used_at": "2026-06-10T09:12:01.004Z"
}