import { GetWorkflowExecutionLogsRequest } from "@mistralai/mistralai/models/operations";
let value: GetWorkflowExecutionLogsRequest = {
executionId: "<id>",
};| Field | Type | Required | Description |
|---|---|---|---|
executionId |
string | ✔️ | N/A |
runId |
string | ➖ | Filter logs by workflow run ID |
activityId |
string | ➖ | Filter logs by activity ID |
after |
Date | ➖ | Only return logs at or after this timestamp |
before |
Date | ➖ | Only return logs before this timestamp |
order |
operations.GetWorkflowExecutionLogsOrder | ➖ | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when cursor is set. |
cursor |
string | ➖ | Pagination cursor from a previous response's next_cursor; carries the window and order |
limit |
number | ➖ | Maximum number of logs to return |