# PATCH /agent-ops/runs/:run_id|str

**Resource:** [Agent Ops](./agent-ops.md)  
**MCP tool:** `update_agent_run`  
**Scopes:** `agent-ops:write`  
**Write operation:** yes

Update an agent run.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `run_id` | body | string | yes |  |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/agent-ops/runs/:run_id|str"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"run_id":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`