Monitoring

Create a monitor (mints an ingest signing secret)

Define what "good" looks like via scenarioGoal (+ optional assertions / rubric) — the same judge inputs a test suite uses. Then stream completed calls to POST /api/monitor/{id}/events.

post/api/monitor

Request

  • Base URL: https://api.wordis-bond.com
  • URL: https://api.wordis-bond.com/api/monitor
  • Auth: HTTP bearer

Request body

namestring required
scenarioGoalstring required
assertionsstring[]

Optional natural-language checks the agent must satisfy.

rubricstring nullable

Optional free-text rubric appended to the judge instructions.

languagestring
enabledboolean
sampleRatenumber

Fraction of ingested calls to score.

baselineWindowinteger

Rolling-window size for the health baseline.

minBaselineinteger

Scored events required before drift can fire.

alertEmailboolean
alertWebhookUrlstring uri nullable

Optional signed outbound alert webhook. Public https, SSRF-validated at set time.

Example request

{
  "name": "Support line — main agent",
  "scenarioGoal": "Answer billing questions accurately and book a callback when asked"
}

Response

Created

Example response

{
  "data": {
    "name": "Support line — main agent",
    "scenarioGoal": "Answer billing questions accurately and book a callback when asked"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.