import { GetDeploymentLogsRequest } from "@mistralai/mistralai/models/operations";
let value: GetDeploymentLogsRequest = {
name: "<value>",
};| Field | Type | Required | Description |
|---|---|---|---|
name |
string | ✔️ | N/A |
workerName |
string | ➖ | Filter logs by worker name |
workflowName |
string | ➖ | Filter logs by workflow name |
after |
Date | ➖ | Only return logs at or after this timestamp |
before |
Date | ➖ | Only return logs before this timestamp |
order |
operations.GetDeploymentLogsOrder | ➖ | 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 |