---
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
- `search` string, nullable — Filter deployments by name or ID prefix
- `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 has at least one authorized credential
    - `created_at` string, date-time, required — When the deployment was first registered
    - `updated_at` string, date-time, required — When the deployment was last updated
    - `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
        - `entrypoint` string, nullable
        - `working_dir` string, nullable
        - `restarted_at` string, nullable
        - `commit_sha` string, nullable
      - `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
  - `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

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
