---
title: "Audit Instructions Endpoint"
method: POST
path: "/core/agents/{id}/assist/audit-instructions"
tags: ["Agents"]
---

# Audit Instructions Endpoint

`POST /core/agents/{id}/assist/audit-instructions`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/agents/{id}/assist/audit-instructions`
- Auth: HTTP bearer

Start a per-agent Audit workflow (terminating any in-flight one) and
return immediately. Poll GET .../assist/audit-instructions/result.

## Path parameters

- `id` string, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Request body

- InstructionAssistRequest: Body for the on-demand instruction assist endpoints (improve / review).
  - `instructions` string
  - `context` object, nullable
  - `feedback` string, nullable
  - `focus` string[], nullable
  - `input_hash` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
