Serverless
Logs
Logs history (paginated)
Changed onReturns paginated historical logs that match the provided filters.
Required permissions: serverless:logs:read. Key presets that include them: SERVERLESS, DEPLOY, READONLY, FULL. See key permissions.
post/serverless/logs/history
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/serverless/logs/history
- AuthAPI key in header Authorization
Query parameters
limitinteger
Number of results per page
Example:100
cursorstring
Pagination cursor from previous response (timestamp-based). Use as 'until' parameter for next page.
Example:2024-11-09T00:00:00.000Z
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
Logs history retrieved successfully
Changes
- info
the endpoint scheme security
readonlyApiKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info