Overview
API keys are managed under/api/token. These endpoints use the system access token described in Authentication and quota.
Mutable fields
Create a standard API key
List and search
Standard-key lists exclude Smart Routing keys by default:exclude_smart_routing=false to include every key:
size, page_size, and ps. The maximum page size is 100.
Search by name or stored key value:
token query parameter accepts a key with or without the sk- prefix. List, search, and read responses always mask the key value.
Read and reveal
Read a masked record:sk-. Treat the response as a secret and write it directly to a secrets manager rather than printing it.
Reveal up to 100 keys in one request:
Safely update a key
Read the current record, construct a complete mutable payload, and change only the intended values:Enable or disable
Status-only updates preserve all other settings:
An expired or exhausted key cannot be enabled until its expiration or quota condition is corrected.
Delete keys
Delete one key:data value is the number of records actually deleted.