Create API key
Creates a new API key. Requires a Provisioning API key.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
name
Display name for the API key
limit
Optional credit limit for the key
limit_reset
Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.
Allowed values:
include_byok_in_limit
Whether to include BYOK usage in the credit limit
Response
Created API key
data
key
The API key string itself. Only returned when creating a new key.