Models
Requests
List requests by endpoint(s)
Changed onLists requests for one or more endpoints (same endpoint_id style as usage/explore: comma-separated or repeated query params, up to 50 IDs).
Authentication: Requires API key (user or enterprise).
Filters:
- Time range via start / end. If start is omitted, defaults to the last 24 hours — unless request_id is provided, in which case the default start bound is widened to 90 days.
- Status (success, error, user_error)
- Request ID
- Pagination via cursor/limit (limit defaults to 50, max 100)
Sorting:
- By end time (default) or duration
Expansions:
- Include payloads by adding expand=payloads
Required permissions: models:requests:read. Key presets that include them: API, SERVERLESS, READONLY, FULL. See key permissions.
get/models/requests/by-endpoint
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/models/requests/by-endpoint
- AuthAPI key in header Authorization
Query parameters
limitinteger
Number of items to return per page (max 100)
Example:20
cursorstring
Pagination cursor encoding the page number
Example:Mg==
status'success' | 'error' | 'user_error'
Filter by request status
Example:success
request_idstring uuid
Filter by specific request ID
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
sort_by'ended_at' | 'duration'
Sort results by end time or duration
Example:ended_at
Response
Requests listed successfully
Example response
{
"items": [
{
"request_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"endpoint_id": "fal-ai/flux/dev",
"started_at": "2025-01-01T00:00:05Z",
"sent_at": "2025-01-01T00:00:01Z",
"ended_at": "2025-01-01T00:00:08Z",
"status_code": 200,
"duration": 7.8
}
]
}Changes
- info
the endpoint scheme security
readonlyApiKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info