---
title: "List workflow instances"
method: GET
path: "/api/v2/workflows/{workflow_id}/instances"
tags: ["Workflow Automation"]
---

# List workflow instances

`GET /api/v2/workflows/{workflow_id}/instances`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/workflows/{workflow_id}/instances`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `workflows_read`

List all instances of a given workflow. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).

## Path parameters

- `workflow_id` string, required

## Query parameters

- `page[size]` integer
- `page[number]` integer

## Response `200`

OK

- WorkflowListInstancesResponse: Response returned when listing workflow instances.
  - `data` WorkflowInstanceListItem[]: A list of workflow instances.
    - `id` string: The ID of the workflow instance
  - `meta` WorkflowListInstancesResponseMeta: Metadata about the instances list
    - `page` WorkflowListInstancesResponseMetaPage: Page information for the list instances response.
      - `totalCount` integer: The total count of items.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
