---
title: "List deployment groups"
method: GET
path: "/deployment_group"
tags: ["Deployment group"]
---

# List deployment groups

`GET /deployment_group`

List all deployment groups for a specific application.

## Query parameters

- `offset` integer
- `limit` integer
- `application_id` string, required

## Response `200`

The operation was successful.

- DeploymentGroupPaginatedResponse
  - `paging` object, required
    - `total` integer, required — The total number of results matching the query.
    - `offset` integer, required — The starting point for pagination. Defaults to 0 if not provided.
    - `limit` integer, required — The maximum number of results to return per page. The maximum allowed value is 200.
  - `results` DeploymentGroupResponse[], required
    - `id` string, required — The ID of the deployment group.
    - `status` 'creating_approval' | 'creating_approval_denied' | 'creating' | 'waiting_for_instances' | 'running' | 'finalizing' | 'finalized' | 'cancelling' | 'cancelled' | 'failed' | 'rolling_back' | 'rolled_back' | 'deleting' | 'deleted', required — Status of the deployment group. > **Note**: See [Deployments](/docs/deployments) for more information. >
    - `deployments` DeploymentGroupObject[], required
      - `scope_id` string, required — The ID of the scope where the deployment belongs.
      - `strategy` 'initial' | 'blue_green', required — The deployment strategy being used.
      - `strategy_data` object, required — Configuration data for the deployment strategy.
        - `switched_traffic` integer — Current percentage of traffic on the new version (0-100).
        - `desired_switched_traffic` integer — Target traffic percentage for the new version.
        - `amount_instances_to_wait` integer — Required number of instances before proceeding to the next step.
        - `healthy_instances` integer — Current count of healthy instances.
        - `launched_instances` integer — Total number of instances launched.
        - `switch_traffic_step` boolean — Indicates whether the deployment is in the active traffic switching phase.
    - `scopes` ScopeDeploymentGroup[], required
      - `id` string — The ID of the scope where the deployment belongs.
      - `name` string — The name for the scope.
    - `strategy_data` object, required — Configuration data for the deployment strategy.
      - `switched_traffic` integer — Current percentage of traffic on the new version (0-100).
      - `desired_switched_traffic` integer — Target traffic percentage for the new version.
      - `amount_instances_to_wait` integer — Required number of instances before proceeding to the next step.
      - `healthy_instances` integer — Current count of healthy instances.
      - `launched_instances` integer — Total number of instances launched.
      - `switch_traffic_step` boolean — Indicates whether the deployment is in the active traffic switching phase.
    - `application_id` string, required — The ID of the application the deployment group belongs to.
    - `release_id` string, required — The ID of the release associated with the deployment.
    - `deployments_amount` integer, required — Number of deployments in the group
    - `created_by` string, required — The user ID of the creator of the deployment group.
    - `updated_by` string, required — The user ID of the last person who updated the deployment group.
    - `created_at` string, date-time, required — The ISO-8601 UTC timestamp of when the deployment group was created.
    - `updated_at` string, date-time, required — The ISO-8601 UTC timestamp of when the deployment group was last updated.

## Other responses

- `4XX` — Client error responses due to invalid input or missing parameters.
- `5XX` — Server error responses indicating an issue on the API side.

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) · [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nullplatform/nullplatform-api/revisions/1c4ea154b159/schema)
