v52

latestOpenAPI 3.0.1AGPL-3.0raw.githubusercontent.com2026-08-01255473862.7 KB
Secrets

Create a new API key

Use when issuing a new API key (e.g. for a service account or for the current user). Provide service_account_id to create for a service account.

post/secrets/api/keys

Request body

expires_atstring date-time
namestring required
service_account_idstring
type'private_key' | 'publishable_key' | 'integration' required

Response

Created

api_keystring