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

# Approve Healing Change

> Apply a proposed change to the agent's instructions

Applies a proposed change through the normal agent update, then measures it on the next calls. You may send your own edited text.

> [!NOTE]
>
> Needs manage access to the analyzer and permission to edit agents. Not available to API keys.

## Request

### Headers

**Authorization** `string` *required*

Bearer token of a signed-in user (dashboard session). API keys cannot call healing endpoints

### Path

**agentId** `string` *required*

Analyzer ID (UUID)

**fixId** `string` *required*

The change `id` from [List Healing Changes](https://docs.60db.ai/api-reference/call-analysis/list-healing.md)

### Body

**base\_hash** `string` *required*

The `base_hash` of the change (64 hex characters). It must still match the agent's current instructions

**script** `string`

Your edited instructions. Omit to apply `new_script`. Checked like [Apply Agent Fix](https://docs.60db.ai/api-reference/call-analysis/apply-agent-fix.md): not empty, not identical, no unknown placeholders, no new links, e-mail addresses or phone numbers

## Response

**200** `{ "success": true, "data": { "item": { … } } }` with the updated change, the same shape as in [List Healing Changes](https://docs.60db.ai/api-reference/call-analysis/list-healing.md).

## Errors

| Status | Code | When |
| - | - | - |
| 404 | `FIX_NOT_FOUND` | No such change for this analyzer |
| 409 | `FIX_NOT_PROPOSED` | The change is not waiting for review |
| 409 | `AGENT_CHANGED` | The agent was edited since the draft. The change becomes `superseded` and nothing is overwritten |
| 409 | `AGENT_HAS_OPEN_FIX` | Another healing change is open for this agent |
| 422 | `FIX_INVALID` | The edited instructions failed validation |
| 400 | `VALIDATION_ERROR` | A field is invalid |
| 503 | `AUTHZ_UNAVAILABLE` | The permission check could not be made |


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