Tree BG 1
Tree
Tree
TreeLeaves
TreeLeaves
Cat IdleGrassGrassRockRock

Workflows Deployments Endpoints

List Deployments

GET /v1/workflows/deployments

200

Successful Response

List of deployments

next_cursor
*string|null

Cursor for the next page of results

workspace_id
*string

Workspace ID the results are scoped to

Playground

Test the endpoints live

curl https://api.mistral.ai/v1/workflows/deployments \
 -X GET \
 -H 'Authorization: Bearer YOUR_APIKEY_HERE'

200

{
  "deployments": [
    {
      "created_at": "2025-12-17T10:25:07.818693Z",
      "id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
      "is_active": false,
      "name": "My resource",
      "updated_at": "2025-12-17T10:41:03.469341Z"
    }
  ],
  "next_cursor": null,
  "workspace_id": "019b2bd7-96e7-7219-8c0b-45a73da50088"
}

Get Deployment

GET /v1/workflows/deployments/{name}

200

Successful Response

created_at
*date-time

When the deployment was first registered

id
*string

Unique identifier of the deployment

is_active
*boolean

Whether at least one worker is currently live

is_hardened
boolean

Default Value: false

Whether the deployment has at least one authorized credential

location
DeploymentLocation|null

Where the deployment is running

name
*string

Deployment name

updated_at
*date-time

When the deployment was last updated

Workers registered for the deployment

Playground

Test the endpoints live

curl https://api.mistral.ai/v1/workflows/deployments/{name} \
 -X GET \
 -H 'Authorization: Bearer YOUR_APIKEY_HERE'

200

{
  "created_at": "2025-12-17T10:25:07.818693Z",
  "id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
  "is_active": false,
  "name": "My resource",
  "updated_at": "2025-12-17T10:41:03.469341Z",
  "workers": [
    {
      "created_at": "2025-12-17T10:25:07.818693Z",
      "is_active": false,
      "name": "My resource",
      "updated_at": "2025-12-17T10:41:03.469341Z"
    }
  ]
}

Get Deployment Logs

GET /v1/workflows/deployments/{name}/logs

Retrieve logs for a deployment (across all of its workers).

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).

200

Successful Response

next_cursor
string|null

Playground

Test the endpoints live

curl https://api.mistral.ai/v1/workflows/deployments/{name}/logs \
 -X GET \
 -H 'Authorization: Bearer YOUR_APIKEY_HERE'

200

{
  "results": [
    {
      "body": "ipsum eiusmod",
      "log_attributes": [
        "consequat do"
      ],
      "severity_text": "reprehenderit ut dolore",
      "span_id": "occaecat dolor sit",
      "timestamp": "2025-12-17T10:25:07.818693Z",
      "trace_id": "019b2bd7-96e7-7219-8c0b-45a73da50088"
    }
  ]
}

Stream Deployment Logs

GET /v1/workflows/deployments/{name}/logs/stream

Stream logs for a deployment (all of its workers) via SSE.

Resume cursor comes from the Last-Event-ID header or last_event_id query param (header wins) and takes precedence over after; omit all to tail from the deployment start.

200

Stream of Server-Sent Events (SSE): log events carry a DeploymentLogRecord; error events carry a StreamError payload.

ResponseBody

{object}

Playground

Test the endpoints live

curl https://api.mistral.ai/v1/workflows/deployments/{name}/logs/stream \
 -X GET \
 -H 'Authorization: Bearer YOUR_APIKEY_HERE'

200

null