Skip to main content
PATCH
Update a monitor

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Path Parameters

id
string
required

Monitor id (mon_...)

Body

application/json

Omitted fields keep their value. The deployment and the evaluator are fixed at create.

name
string | null
evaluator_version
integer<int32> | null

A version to pin, or null to track the latest.

sampling_rate
number<double> | null
filter
object | null

{agent?}; null clears it.

idle_minutes
integer<int32> | null
daily_cap
integer<int32> | null
enabled
boolean | null
review_below_confidence
number<double> | null

Confidence routing; null turns it off (send both, or both null).

review_queue_id
string | null

Response

The updated monitor

One monitor.

object
string
required

Always "monitor".

id
string
required

mon_...

name
string
required
deployment_id
string
required

The deployment whose traffic is scored.

evaluator_id
string
required
evaluator_name
string
required
scope
string
required

single_turn (scores traced requests) | thread (scores idle threads), from the version the monitor runs.

sampling_rate
number<double>
required

Share of the traffic scored, 0..1.

filter
object
required

{agent?}: only requests or threads sent with this X-Veri-Agent.

idle_minutes
integer<int32>
required

Thread monitors: minutes without a request before a thread is scored.

daily_cap
integer<int32>
required

Most targets queued per UTC day.

enabled
boolean
required
stats
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
evaluator_version
integer<int32> | null

The pinned version; null tracks the latest.

review_below_confidence
number<double> | null

Confidence routing: an ok score whose confidence is below this (0..1) adds its target to review_queue_id; null = off.

review_queue_id
string | null

The annotation queue low-confidence targets go to.