List API Keys
Changed onReturns a list of all API keys belonging to the authenticated user's workspace.
Key Features:
- View all API keys with their aliases and creation dates
- See how each key is permissioned via mode, preset and permissions
- Optionally expand to include creator information
- Paginated results for workspaces with many keys
Key Modes:
- preset: created from a named permission preset, reported in preset
- custom: created with an explicit list of permissions
- legacy: predates granular permissions and carries a coarse scope
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
Required permissions: auth:keys:read. Key presets that include them: BILLING, FULL. See key permissions.
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/keys
- AuthAPI key in header Authorization
Query parameters
Maximum number of items to return. Actual maximum depends on query type and expansion parameters.
Pagination cursor from previous response. Encodes the page number.
Response
Successfully retrieved API keys
Example response
{
"keys": [
{
"key_id": "abc123def456",
"alias": "Production Key",
"scope": "API",
"created_at": "2025-01-15T12:00:00Z",
"description": "CI deploy key for the main environment",
"mode": "preset",
"preset": "API",
"permissions": [
"models:requests:read",
"models:requests:write"
],
"expires_at": "2025-07-15T12:00:00Z",
"creator_nickname": "developer",
"creator_email": "developer@example.com"
}
]
}Changes
- breaking
the response property
//became optional for the status - warning
added the new
ADMINenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking
- info
the endpoint scheme security
billingApiKeywas added to the API - info
the endpoint scheme security
adminApiKeywas removed from the API - info
response property
keys/items/scopedeprecated
- info