---
title: "List Deployments"
method: GET
path: "/v1/workflows/deployments"
tags: ["workflows.deployments"]
---

# List Deployments

`GET /v1/workflows/deployments`

List Deployments

## Query parameters

- `active_only` boolean
- `is_hardened` boolean, nullable — Filter deployments by hardened status
- `workflow_name` string, nullable
- `created_by` string, nullable — Filter deployments by creator's user id
- `owner` string, nullable — Filter deployments by owner's user id
- `location_types` LocationType[], nullable — Filter deployments with at least one worker on any of these location types (OR)
- `search` string, nullable — Filter deployments by name or ID prefix
- `order_by` 'updated_at' | 'created_at', nullable — Field to sort by. When omitted, active and managed deployments are grouped first, then sorted by created_at. When set, results are sorted purely by the specified field with no grouping.
- `order` 'asc' | 'desc' — Sort direction. Applied to order_by when set, or within each activity group when omitted.
- `limit` integer, nullable — Maximum number of deployments to return
- `cursor` string, nullable — Cursor from a previous response for pagination
- `workspace_id` string, uuid, nullable — Workspace ID to scope the request to. Defaults to the caller's context.

## Response `200`

Successful Response

- DeploymentListResponse
  - `deployments` DeploymentResponse[], required — List of deployments
    - `id` string, uuid, required — Unique identifier of the deployment
    - `name` string, required — Deployment name
    - `is_active` boolean, required — Whether at least one worker is currently live
    - `is_hardened` boolean — Whether the deployment only accepts registrations from authorized principals
    - `created_at` string, date-time, required — When the deployment was first registered
    - `last_heartbeat` string, date-time, required — When the deployment last saw a worker registration
    - `updated_at` string, date-time, required — Deprecated alias of last_heartbeat
    - `owner` string, nullable — User id that owns the deployment, or null when it is administrator-managed
    - `location` DeploymentLocation
      - `location_type` 'local' | 'k8s' | 'managed', required
      - `k8s_cluster` string, nullable — K8s cluster name, if applicable
      - `k8s_namespace` string, nullable — K8s namespace, if applicable
    - `worker_count` integer — Number of workers registered to the deployment
    - `active_worker_count` integer — Number of workers currently live within the liveness cutoff
    - `locations` LocationType[] — Distinct location types reported by the deployment's workers
    - `managed` ManagedDeploymentResponse
      - `service_id` string, required
      - `name` string, required
      - `spec` DeploymentWorkerSpecResponse, required
        - `github_url` string, required
        - `type` string
        - `revision` string, nullable
        - `backend_spec` union, required — Backend-specific configuration. The arm's 'type' says where the worker runs: 'koyeb' or 'kubernetes'.
          - DeploymentK8sBackendSpec — Worker configuration for the Kubernetes backend.
            - `type` 'kubernetes'
            - `entrypoint` string, nullable — Either a 'module:function' reference (e.g. 'worker:main') or a '.py' script path relative to 'working_dir'.
            - `working_dir` string, nullable — Path in the repo holding the worker's pyproject.toml, for monorepo layouts. Leave empty for single-package repos.
          - DeploymentKoyebBackendSpec — Worker configuration for the Koyeb backend.
            - `type` 'koyeb'
            - `build_directory` string, nullable — Docker build context, as a path in the repo. Defaults to the repo root.
            - `dockerfile_path` string, nullable — Path to the Dockerfile, relative to 'build_directory'. Defaults to 'Dockerfile'.
            - `secrets` DeploymentSecretBinding[], nullable — Secrets to bind to the worker, as 'secret:workspace:<NAME>' references. Each is available during build and run: as a Dockerfile build arg (declare a matching 'ARG') and as an env var. On update, the field carries the complete set: send the full list to rebind, an empty list to unbind all, omit it to leave the bindings unchanged.
              - …
        - `restarted_at` string, nullable
        - `commit` GitCommitMetadata
          - `sha` string, required
          - `message` string, nullable
          - `author` GitCommitAuthor
            - `name` string, nullable
            - `username` string, nullable
            - `html_url` string, nullable
          - `html_url` string, nullable
        - `commit_sha` string, nullable, required
        - `entrypoint` string, nullable, required
        - `working_dir` string, nullable, required
      - `resources` DeploymentResourceConfig, required
        - `replicas` integer, nullable
        - `cpu_request` string, nullable
        - `cpu_limit` string, nullable
        - `memory_request` string, nullable
        - `memory_limit` string, nullable
      - `status` DeploymentObservedState, required
        - `phase` string, nullable
        - `available_replicas` integer
        - `ready_replicas` integer
        - `endpoint` string, nullable
        - `message` string, nullable
        - `last_seen` string, date-time, nullable
        - `deployed_revision` string, nullable
        - `generation` integer, nullable
        - `build_state` DeploymentBuildState
          - `phase` string, nullable
          - `commit_sha` string, nullable
          - `image` string, nullable
          - `message` string, nullable
          - `started_at` string, date-time, nullable
          - `finished_at` string, date-time, nullable
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `stopped` boolean
      - `rollout_status` string, nullable
      - `created_by` string, nullable
      - `updated_by` string, nullable
      - `deployed_by` string, nullable
      - `deployed_at` string, date-time, nullable
      - `is_hardened` boolean
      - `runtime_credential_id` string, uuid, nullable
      - `runtime_principal_type` 'api_key' | 'service_account' | 'user'
  - `next_cursor` string, nullable, required — Cursor for the next page of results
  - `workspace_id` string, uuid, required — Workspace ID the results are scoped to

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `fa73befe1c61` — 17 info
  - added the new optional `query` request parameter `created_by`
  - added the new optional `query` request parameter `location_types`
  - added the new optional `query` request parameter `owner`
  - added the optional property `deployments/items/managed/anyOf[subschema #1: ManagedDeploymentResponse]/runtime_credential_id` to the response with the `200` status
  - …13 more
- **2026-08-14** `61436a496404` — 6 info
  - added the new optional `query` request parameter `order`
  - added the new optional `query` request parameter `order_by`
  - added the optional property `deployments/items/managed/anyOf[subschema #1: ManagedDeploymentResponse]/is_hardened` to the response with the `200` status
  - added the optional property `deployments/items/managed/anyOf[subschema #1: ManagedDeploymentResponse]/spec/commit` to the response with the `200` status
  - …2 more
- **2026-07-26** `933c4ebdcd72` — 1 warning, 4 info
  - added the new `managed` enum value to the `deployments/items/location/anyOf[subschema #1: DeploymentLocation]/location_type` response property for the response status `200`
  - added the optional property `deployments/items/active_worker_count` to the response with the `200` status
  - added the optional property `deployments/items/locations` to the response with the `200` status
  - added the optional property `deployments/items/managed` to the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/workflows/deployments/get.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/fa73befe1c61?raw)
