Monitoring

Update a monitor (goal, assertions, sampling, alerts, enable/disable)

A supplied alertWebhookUrl must be a public https URL and is SSRF-validated at set time.

patch/api/monitor/{id}

Request

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

Path parameters

idstring uuid required

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

Updated

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.