Auth

Create an API key for toolbox Admin

Creates a standard, curator, or restricted API key for the toolbox Admin screen. Restricted keys can receive explicit endpoint capabilities but do not receive access to internal routes. Requires an active platform-admin session, CSRF token, and a Google email present in TOOLBOX_ADMIN_EMAILS. The raw API key is returned only once.

post/v3/toolbox/admin/api-keys

Request body

namestring required
ownerEmailstring email
keyType'standard' | 'curator' | 'restricted'
scopeMode'all_vaults' | 'allowlist'
rateLimitinteger
expiresInDaysinteger
capabilitiesstring[]

Endpoint capabilities are available only to restricted API keys.

Response

API key created. Save the returned key immediately.

Changes