Create API key

Creates a new API key. Requires a Provisioning API key.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
Display name for the API key
limitdoubleOptional
Optional credit limit for the key
include_byok_in_limitbooleanOptional
Whether to include BYOK usage in the credit limit

Response

Created API key
dataobject
keystring or null
The API key string itself. Only returned when creating a new key.