Skip to main content
POST
Logs stream (SSE)

Authorizations

Authorization
string
header
required

Key on the READONLY preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY

Query Parameters

start

Start date in ISO8601 format (e.g., '2025-01-01T00:00:00Z' or '2025-01-01'). Defaults to 24 hours ago.

Example:

"2025-01-01T00:00:00Z"

end

End date in ISO8601 format, exclusive (e.g., '2025-02-01T00:00:00Z' or '2025-02-01'). Data up to but not including this timestamp is returned. Defaults to current time.

Example:

"2025-02-01T00:00:00Z"

app_id

Filter by specific app ID(s) in '/' format (e.g. 'fal-ai/my-app'). Accepts 1-50 app IDs. Supports comma-separated values: ?app_id=fal-ai/foo,fal-ai/bar or array syntax: ?app_id=fal-ai/foo&app_id=fal-ai/bar

Example:
revision
string

Filter by revision

Example:

"rev_abc123"

run_source
enum<string>

Filter by run source

Available options:
grpc-run,
grpc-register,
gateway,
cron
Example:

"grpc-run"

traceback
boolean | null
default:false

Include tracebacks

Example:

false

Free-text search

Example:

"error"

level
string

Minimum log level

Example:

"error"

job_id
string

Filter by job id

Example:

"job_123"

request_id
string

Filter by request id

Example:

"019e6d0a-e5be-7b82-b329-35ae64296902"

Body

application/json
key
string
required

Label key to filter

value
required

Filter value

condition_type
enum<string>

Condition type for label filtering

Available options:
equals,
in,
not_equals,
not_in

Response

SSE stream started