# POST /agent-ops/alerts

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

Record a fired agent alert.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `agent_name` | body | string | yes |  |
| `alert_type` | body | string | yes |  |
| `message` | body | string | yes |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/agent-ops/alerts"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"agent_name":"...","alert_type":"...","message":"..."}'
```

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