> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Approve Approval V1

> Approve a pending action — the worker resumes the job.

> [!WARNING]
>
> **Confirm your deployment before running this request.** This page describes an API contract;
> a published reference does not establish hosted availability. Check the dated
> [host report](https://docs.stateset.com/api-reference/hosts.md) and obtain your deployment URL and credentials.
> Replace the example host if your provisioned service uses a different URL.

Approve a pending action — the worker resumes the job.

### Path parameters

**approval\_id** `string (uuid)` *required*

### Request body

`ApprovalReviewRequest,null`

**comment** `string,null`

Free-form review note shown in the audit trail. Maximum length: `1000`.

### Response

`ApprovalSummary`

**id** `string` *required*

**job\_id** `string` *required*

**tool\_name** `string` *required*

**tool\_input** `object` *required*

**reasoning** `string,null` *required*

**screenshot\_key** `string,null` *required*

**status** `string` *required*

**review\_comment** `string,null` *required*

**expires\_at** `string,null` *required*

**created\_at** `string` *required*

**updated\_at** `string` *required*

### Status codes

| Code | Meaning |
| - | - |
| `200` | Successful Response |
| `422` | Validation Error |

### Using this contract

Read the [source OpenAPI document](https://docs.stateset.com/spec/computer-use.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request POST \
  --url 'https://api.computer.stateset.app/api/v1/approvals/{approval_id}/approve' \
  --header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "comment": "Two-person tent, green — replacement for damaged pole set."
}'
```

```json 200 theme={null}
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "tool_name": "string",
  "tool_input": {},
  "reasoning": "string",
  "screenshot_key": "string",
  "status": "pending",
  "review_comment": "string",
  "expires_at": "2026-08-31T14:22:05Z",
  "created_at": "2026-08-31T14:22:05Z",
  "updated_at": "2026-08-31T14:22:05Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.