A monitor is the evaluation that grades a sample of real requests as they finish. It watches 1 to 50 targets (each an agent, skill, applet or Evals workflow at a sample percentage from 1 to 100, or every trace in the organization), grades with 1 to 50 criteria, and passes a request whose weighted score reaches its pass mark, from 0 to 1. A monitor is on or paused, and each change names the revision it read, so a change made after someone else's is refused with 409. Monitors need Monitoring turned on for the organization; until then these endpoints answer 403.
Create a monitor
A live evaluation: grades a percent of each target's real requests (agents, skills, applets, workflows, or every trace), on at once. It needs a pass mark and at least one criterion (verifiers it saves, or library criteria it binds). A body that names alerts is refused.
Headers
Idempotency-KeyA key you choose for this request (a UUID works; at most 255 characters; a blank one is refused 400, code idempotency_key_empty). A retry with the same key and the same body answers the first success again instead of acting twice; kept 24 hours. Send one on every create and run start you might retry.
Create a monitor › Request Body
namepassMarkA row passes at or above this 0..1 score. A live evaluation needs one; a test set may state none (null)
live: the targets it grades (agents, skills, applets, workflows or every trace), each at a percent of its requests, and the library criteria it binds
workspaceIdThe workspace to create this in; null = organization-wide (organization admins only); omitted = the caller's only workspace, or every workspace for an organization admin
descriptionThe evaluation's own verifiers, as JSON definitions or .md files. A test set may have none (its dataset's criteria grade it); a live evaluation needs at least one. A rule is refused: write the check in Python
Create a monitor › Responses
Success. A retry with the same Idempotency-Key and the same request answers this again, with Idempotent-Replayed: true.
orgIdnamedescriptionpassMarkA row passes at or above this 0..1 score; null when the evaluation states none
enabledWhether a live evaluation admits new requests; null for a test set, which runs when asked
pausedReasonWhy the platform paused a live evaluation (its payer left, is over budget, or the organization is out of credits); null when a person paused it, it is live, or it is a test set
payerUserIdThe person a live evaluation's checks bill: whoever last turned it on or saved a change; null for a test set (a run bills whoever starts it)
revisionA live evaluation's save counter: a change names the revision it read and is refused CONFLICT when another save came first; null for a test set
verifierCountcreatedAtupdatedAtThe evaluation's own verifiers in order (a test set's datasets and rows may add checks of their own)
testA test set's question (what each run varies and holds) and its default judge model; null when live
webUrlThe evaluation's page, /client/evals/evaluation/<monitor|benchmark>/
Get a monitor
The monitor as an update replaces it: name, pass mark, targets at their percents, criteria by reference, and its revision.
path Parameters
monitorIdMonitor identifier
Monitor (from the path)
Get a monitor › Responses
Success
orgIdnamedescriptionpassMarkA row passes at or above this 0..1 score; null when the evaluation states none
enabledWhether a live evaluation admits new requests; null for a test set, which runs when asked
pausedReasonWhy the platform paused a live evaluation (its payer left, is over budget, or the organization is out of credits); null when a person paused it, it is live, or it is a test set
payerUserIdThe person a live evaluation's checks bill: whoever last turned it on or saved a change; null for a test set (a run bills whoever starts it)
revisionA live evaluation's save counter: a change names the revision it read and is refused CONFLICT when another save came first; null for a test set
verifierCountcreatedAtupdatedAtThe evaluation's own verifiers in order (a test set's datasets and rows may add checks of their own)
testA test set's question (what each run varies and holds) and its default judge model; null when live
webUrlThe evaluation's page, /client/evals/evaluation/<monitor|benchmark>/
Replace a monitor's settings
Replaces its name, pass mark, targets and criteria together, under the expectedRevision you read (GET /monitors/{monitorId}); a save in between is refused 409 with the current revision.
path Parameters
monitorIdMonitor identifier
Monitor (from the path)
Replace a monitor's settings › Request Body
nameexpectedRevisionThe revision the caller read (get answers it); refused CONFLICT when another save came after it
passMarkA row passes at or above this 0..1 score
descriptionNew verifiers this save adds, saved to the library as create saves them (JSON definitions or .md files). The evaluation's current criteria are bound in source.live.criteria by id (get's verifiers[].id), never repeated here
Replace a monitor's settings › Responses
Success
orgIdnamedescriptionpassMarkA row passes at or above this 0..1 score; null when the evaluation states none
enabledWhether a live evaluation admits new requests; null for a test set, which runs when asked
pausedReasonWhy the platform paused a live evaluation (its payer left, is over budget, or the organization is out of credits); null when a person paused it, it is live, or it is a test set
payerUserIdThe person a live evaluation's checks bill: whoever last turned it on or saved a change; null for a test set (a run bills whoever starts it)
revisionA live evaluation's save counter: a change names the revision it read and is refused CONFLICT when another save came first; null for a test set
verifierCountcreatedAtupdatedAtThe evaluation's own verifiers in order (a test set's datasets and rows may add checks of their own)
testA test set's question (what each run varies and holds) and its default judge model; null when live
webUrlThe evaluation's page, /client/evals/evaluation/<monitor|benchmark>/
Resume a monitor
Resumes grading under the expectedRevision you read. Resuming makes you the person it charges.
path Parameters
monitorIdMonitor identifier
Monitor (from the path)
Resume a monitor › Request Body
expectedRevisionConfiguration revision for optimistic concurrency
Resume a monitor › Responses
Success
orgIdnamedescriptionpassMarkA row passes at or above this 0..1 score; null when the evaluation states none
enabledWhether a live evaluation admits new requests; null for a test set, which runs when asked
pausedReasonWhy the platform paused a live evaluation (its payer left, is over budget, or the organization is out of credits); null when a person paused it, it is live, or it is a test set
payerUserIdThe person a live evaluation's checks bill: whoever last turned it on or saved a change; null for a test set (a run bills whoever starts it)
revisionA live evaluation's save counter: a change names the revision it read and is refused CONFLICT when another save came first; null for a test set
verifierCountcreatedAtupdatedAtThe evaluation's own verifiers in order (a test set's datasets and rows may add checks of their own)
testA test set's question (what each run varies and holds) and its default judge model; null when live
webUrlThe evaluation's page, /client/evals/evaluation/<monitor|benchmark>/
Pause a monitor
Stops grading new requests under the expectedRevision you read; its results stay.
path Parameters
monitorIdMonitor identifier
Monitor (from the path)
Pause a monitor › Request Body
expectedRevisionConfiguration revision for optimistic concurrency
Pause a monitor › Responses
Success
orgIdnamedescriptionpassMarkA row passes at or above this 0..1 score; null when the evaluation states none
enabledWhether a live evaluation admits new requests; null for a test set, which runs when asked
pausedReasonWhy the platform paused a live evaluation (its payer left, is over budget, or the organization is out of credits); null when a person paused it, it is live, or it is a test set
payerUserIdThe person a live evaluation's checks bill: whoever last turned it on or saved a change; null for a test set (a run bills whoever starts it)
revisionA live evaluation's save counter: a change names the revision it read and is refused CONFLICT when another save came first; null for a test set
verifierCountcreatedAtupdatedAtThe evaluation's own verifiers in order (a test set's datasets and rows may add checks of their own)
testA test set's question (what each run varies and holds) and its default judge model; null when live
webUrlThe evaluation's page, /client/evals/evaluation/<monitor|benchmark>/