Serverless
Logs
Logs stream (SSE)
Changed onStreams live logs that match the provided filters using Server-Sent Events.
Required permissions: serverless:logs:read. Key presets that include them: SERVERLESS, DEPLOY, READONLY, FULL. See key permissions.
post/serverless/logs/stream
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/serverless/logs/stream
- AuthAPI key in header Authorization
Query parameters
revisionstring
Filter by revision
Example:rev_abc123
run_source'grpc-run' | 'grpc-register' | 'gateway' | 'cron'
Filter by run source
Example:grpc-run
tracebackboolean nullable
Include tracebacks
searchstring
Free-text search
Example:error
levelstring
Minimum log level
Example:error
job_idstring
Filter by job id
Example:job_123
request_idstring
Filter by request id
Example:019e6d0a-e5be-7b82-b329-35ae64296902
Request body
Response
SSE stream started
Changes
- info
the endpoint scheme security
readonlyApiKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info