v1
Namespace
Create Namespace Api Key
Mint a new API key bound to the given namespace. Caller must authenticate with any API key belonging to the same organization (typically the org-wide / default-namespace key).
Security: The full key is returned exactly once in this response. Store it immediately — it cannot be retrieved later. Subsequent reads expose only the masked key_prefix.
post/v1/namespace/{namespace_id}/api-keys
Path parameters
namespace_idstring required
Headers
X-API-Keystring required
Request body
Example request
{
"environment": "production",
"name": "Acme Production API Key",
"permissions": [
"read",
"write",
"delete"
]
}Response
API key created