---
title: "POST /ai/pending-actions/{action_public_id}/reject"
method: POST
path: "/ai/pending-actions/{action_public_id}/reject"
tags: ["AI Chat"]
---

# POST /ai/pending-actions/{action_public_id}/reject

`POST /ai/pending-actions/{action_public_id}/reject`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/pending-actions/{action_public_id}/reject`
- Auth: HTTP bearer

## Path parameters

- `action_public_id` string, required

## Response `200`

- PendingActionResponse: A proposed AI write action awaiting human confirmation.
  - `confirmed_at` string, nullable
  - `created_at` string, required
  - `error` string, nullable
  - `executed_at` string, nullable
  - `method` string, required
  - `operation_id` string, required
  - `params` unknown, required
  - `plan_public_id` string, nullable: Set when this action is one step of a multi-step plan (chained actions); all steps of the plan share this id. Absent for standalone single actions.
  - `public_id` string, required
  - `required_permission` string, nullable
  - `result` unknown
  - `status` string, required
  - `step_index` integer, required: 0-based order of this step within its plan (0 for standalone actions).
  - `summary` string, required

## Other responses

- `401`
- `403`
- `404`
- `409`

## Changes

- **2026-09-07** `7a3103561bd0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/pending-actions/:action_public_id/reject/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
