workflows.executions
Get Workflow Execution Logs
Changed onRetrieve logs for a workflow execution.
Use after/before/order on the first request to set the time range and sort order; for the next pages pass the cursor from the previous response (it remembers the range and order).
get/v1/workflows/executions/{execution_id}/logs
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/mistral/apis/mistral-ai-api/docs/v1/workflows/executions/:execution_id/logs/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
execution_idstring required
Query parameters
run_idstring uuid nullable
Filter logs by workflow run ID
activity_idstring nullable
Filter logs by activity ID
afterstring date-time nullable
Only return logs at or after this timestamp
beforestring date-time nullable
Only return logs before this timestamp
order'asc' | 'desc'
First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when cursor is set.
cursorstring nullable
Pagination cursor from a previous response's next_cursor; carries the window and order
limitinteger
Maximum number of logs to return
Response
Successful Response
Changes
- info
endpoint added
- info