# List Paused Executions

`GET /api/workflows/{id}/paused`

## Description
List the runs of a workflow that stopped at a Human in the Loop block, newest first. Requires read access to the workflow. The status filter is optional; omit it to return every paused execution.

## Parameters

- **id** (path) (required) — `string`: The unique identifier of the workflow.

- **status** (query) — `string`: Comma-separated pause-record statuses to return: paused, partially_resumed, resumed, fully_resumed, cancelled. Per-block execution uses resumed when its current pause is resolved; legacy execution uses fully_resumed. Use paused,partially_resumed for records still waiting, or resumed,fully_resumed for resolved pauses across both runtimes. These are pause-record states, not final workflow outcomes. Omit the filter to return every paused execution.

## Responses

### 200 — Paused executions matching the status filter. The list is not paginated.

```json
{
  "type": "object",
  "properties": {
    "pausedExecutions": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "A paused execution as returned by List Paused Executions.",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the paused-execution record."
          },
          "workflowId": {
            "type": "string"
          },
          "executionId": {
            "type": "string",
            "description": "The execution that paused."
          },
          "status": {
            "type": "string",
            "description": "State of the pause record, not the final workflow outcome. Per-block execution uses paused while input is still needed (including after a partial resume) and resumed once its current pause is resolved. Legacy execution uses paused, partially_resumed, or fully_resumed. cancelled can also appear. Filter with resumed,fully_resumed to select resolved pauses across both runtimes.",
            "example": "resumed"
          },
          "totalPauseCount": {
            "type": "integer"
          },
          "resumedCount": {
            "type": "integer"
          },
          "pausedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "pausePoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PausePoint"
            }
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "description": "Metadata recorded when the run paused."
          },
          "triggerIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

### 400 — Invalid request parameters. Check the details array for specific validation errors.

```json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Human-readable error message describing the validation failure."
    },
    "details": {
      "type": "array",
      "description": "List of specific validation errors with field-level details.",
      "items": {
        "type": "object"
      }
    }
  }
}
```

### 401 — Invalid or missing API key. Ensure the X-API-Key header is set with a valid key.

```json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Human-readable error message."
    }
  }
}
```

### 403 — Access denied. You do not have permission to access this resource. For audit log endpoints, this requires an Enterprise subscription and organization admin/owner role.

```json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Human-readable error message."
    }
  }
}
```

### 404 — The requested resource was not found. Verify the ID is correct and belongs to your workspace.

```json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Human-readable error message."
    }
  }
}
```
