Skip to main content
GET
/
keys
List API Keys
curl --request GET \
  --url https://api.fal.ai/v1/keys \
  --header 'Authorization: <api-key>'
{
  "keys": [
    {
      "key_id": "abc123def456",
      "alias": "Production Key",
      "scope": "API",
      "created_at": "2025-01-15T12:00:00Z"
    },
    {
      "key_id": "xyz789ghi012",
      "alias": "Development Key",
      "scope": "API",
      "created_at": "2025-01-10T09:30:00Z"
    }
  ],
  "next_cursor": null,
  "has_more": false
}

Authorizations

Authorization
string
header
required

Admin API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_ADMIN_API_KEY

Query Parameters

limit
integer

Maximum number of items to return. Actual maximum depends on query type and expansion parameters.

Required range: x >= 1
Example:

50

cursor
string

Pagination cursor from previous response. Encodes the page number.

Example:

"Mg=="

expand

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

next_cursor
string | null
required

Cursor for the next page of results, null if no more pages

has_more
boolean
required

Boolean indicating if more results are available (convenience field derived from next_cursor)

keys
object[]
required

Array of API keys belonging to the authenticated user