Api Keys
List API keys for projects the user has access to.
If project_id is provided, returns keys for that project only. If no project_id, returns keys for all projects the user can access.
Plaintext keys are never returned - only metadata.
Requires: read access to the project(s)
falseSuccessful Response
Validation Error
Generate a new API key for a project.
IMPORTANT: The plaintext API key is returned ONLY ONCE. Store it securely - it cannot be retrieved later.
Requires: project_admin role or higher for the project
Request to create a new API key.
["read:services","write:services"]Successful Response
Validation Error
Get API key details by ID.
Plaintext key is never returned.
Requires: read access to the project
Successful Response
Validation Error
Revoke an API key.
Revoked keys cannot be used for authentication. This is a soft delete - the key metadata is retained for audit purposes.
Requires: project_admin role or higher
Successful Response
Validation Error
No content
Update API key metadata (name, scopes).
The actual key value cannot be changed - use rotation instead.
Requires: project_admin role or higher
Request to update API key metadata.
Successful Response
Validation Error
Rotate an API key.
Generates a new key and revokes the old one. The new plaintext key is returned ONLY ONCE.
Requires: project_admin role or higher
Successful Response
Validation Error
Last updated