> ## 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.

# Reject Approval V1

> Reject a pending action — the worker treats it as a refused tool call.

Reject a pending action — the worker treats it as a refused tool call.

### Path parameters

<ParamField path="approval_id" type="string (uuid)" required />

### Request body

JSON body of type `ApprovalReviewRequest,null`.

### Response

`ApprovalSummary`

<ResponseField name="id" type="string" required />

<ResponseField name="job_id" type="string" required />

<ResponseField name="tool_name" type="string" required />

<ResponseField name="tool_input" type="object" required />

<ResponseField name="reasoning" type="string,null" required />

<ResponseField name="screenshot_key" type="string,null" required />

<ResponseField name="status" type="string" required />

<ResponseField name="review_comment" type="string,null" required />

<ResponseField name="expires_at" type="string,null" required />

<ResponseField name="created_at" type="string" required />

<ResponseField name="updated_at" type="string" required />

### Status codes

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

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.computer.stateset.app/api/v1/approvals/{approval_id}/reject' \
    --header 'X-API-Key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "comment": "Two-person tent, green — replacement for damaged pole set."
  }'
  ```
</RequestExample>

<ResponseExample>
  ```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"
  }
  ```
</ResponseExample>
