create_monitor
Create a production monitor. "scenarioGoal" is what GOOD looks like for this agent — the judge scores every ingested call against it, exactly as a test scenario goal works. Optional "assertions" are plain-English checks the agent must satisfy. Read the ingest secret afterwards from GET /api/monitor/{id}/secret. Requires a pro or enterprise plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human name, e.g. "Support line — main agent". | |
| rubric | No | Extra free-text rubric appended to the judge instructions. | |
| language | No | BCP-47 language tag, default "en". | |
| assertions | No | Plain-English checks the agent must satisfy. | |
| sampleRate | No | Fraction 0..1 of ingested calls to score. Default 1 (score every call). | |
| scenarioGoal | Yes | What the agent is supposed to accomplish on every call. | |
| alertWebhookUrl | No | Optional public https URL to receive signed drift alerts. |