Skip to main content
POST
Create a monitor

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

1-64 lowercase letters, digits, '.', '_' or '-'.

deployment_id
string
required

A deployment of the workspace with trace_bodies on.

evaluator_id
string
required

Evaluator id (evl_...) or name. llm_judge or cloud code; human and local code evaluators, and evaluators that require a reference answer, can't run on live traffic.

evaluator_version
integer<int32> | null

Pin a version; null (default) tracks the latest.

sampling_rate
number<double>

0..1 (default 1).

filter
object

{agent?} (default {}).

idle_minutes
integer<int32>

1..1440 (default 15).

daily_cap
integer<int32>

1..100000 (default 1000).

enabled
boolean
review_below_confidence
number<double> | null

Confidence routing (set both or neither): scores whose confidence is below this (0..1) send their target to review_queue_id, an annotation queue (id or name) reviewing traces (single_turn monitors) or threads (thread monitors). 400 while Jev is off.

review_queue_id
string | null

Response

The 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.