List API Keys
Returns a list of all API keys belonging to the authenticated user’s workspace.
Requirements:
- Authentication required via admin API key
Key Features:
- View all API keys with their aliases and creation dates
- Optionally expand to include creator information
- Paginated results for workspaces with many keys
Expansion Options:
expand=creator_info: Include creator_nickname and creator_email for each key
Common Use Cases:
- Audit existing API keys
- Find keys by alias
- Monitor key creation activity
- Build key management interfaces
GET
List API Keys
Authorizations
Admin API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_ADMIN_API_KEY
Query Parameters
Maximum number of items to return. Actual maximum depends on query type and expansion parameters.
Required range:
x >= 1Example:
50
Pagination cursor from previous response. Encodes the page number.
Example:
"Mg=="
Fields to expand in the response. Available: creator_info (includes creator_nickname and creator_email)
Example:
["creator_info"]
Response
Successfully retrieved API keys
Response containing a list of API keys with pagination support
Previous
Create API KeyCreates a new API key with the specified alias.
**Requirements:**
- Authentication required via admin API key
**Important Security Notice:**
The `key_secret` is only returned once at creation time. Store it securely immediately
as it cannot be retrieved again. If lost, you must delete the key and create a new one.
**Key Features:**
- Create API keys programmatically without UI access
- Assign meaningful aliases for key identification
- Keys are immediately active upon creation
**Common Use Cases:**
- Programmatic key provisioning for CI/CD pipelines
- Self-serve key generation for team members
- Automated key rotation workflows
- Integration with secret management systems
Next
List API Keys