# One run, its steps and its reviews

One workflow run in full: the run, every step and what became of it, and any review it asked for — all three together, because "why did this stop" is one question. This is the read that answers a failed or stuck automation. It changes nothing; stopping a run that is still going is `post_workflows_runs_id_cancel`.

Access class: `workspace`.

## Endpoint

`GET /v1/workflows/runs/{id}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "reviews": [
      {
        "assigneeAccountId": "",
        "assigneeRole": "string",
        "createdAt": "string",
        "decidedAt": "string",
        "decidedByAccountId": "",
        "decision": "string",
        "id": 1,
        "instructions": "string",
        "note": "string",
        "runId": 1,
        "stepRowId": 1,
        "subjectId": 1,
        "subjectKind": "string",
        "title": "string",
        "updatedAt": "string",
        "workflowId": 1,
        "workflowKey": "string",
        "workflowName": "string"
      }
    ],
    "run": {
      "claimedAt": "string",
      "claimedBy": "string",
      "context": "string",
      "createdAt": "string",
      "cursorStep": 1,
      "errorText": "string",
      "finishedAt": "string",
      "id": 1,
      "nextAttemptAt": "string",
      "startedAt": "string",
      "status": "string",
      "subjectDefinitionId": "",
      "subjectRowId": "",
      "triggerActivityId": 1,
      "triggerKind": "string",
      "updatedAt": "string",
      "version": 1,
      "versionId": 1,
      "workflowId": 1,
      "workflowKey": "string",
      "workflowName": "string"
    },
    "steps": [
      {
        "attempts": 1,
        "createdAt": "string",
        "errorText": "string",
        "finishedAt": "string",
        "id": 1,
        "kind": "string",
        "output": "string",
        "runId": 1,
        "startedAt": "string",
        "status": "string",
        "stepId": "",
        "stepIndex": 1,
        "updatedAt": "string"
      }
    ]
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
