v1

latestOpenAPI 3.0.02026-07-1346146138.4 KB
auto-monitor-setups

Update an auto monitor setup by external ID

Update an existing auto monitor setup by its external ID

put/v2/auto-monitor-setups/{external_id}

Path parameters

external_idstring required

Auto monitor setup external ID

Request body

evaluatorsstring[]

List of evaluator slugs to run on matched spans

selectorobject

Map of span attributes to filter which spans this monitor applies to. Keys are span attribute names (e.g. gen_ai.system, gen_ai.request.model) and values can be strings, numbers, or booleans. Example: {"gen_ai.system": "openai", "gen_ai.request.model": "gpt-4o", "gen_ai.request.max_tokens": 1000}

Example request

{
  "evaluators": [
    "hallucination",
    "toxicity"
  ]
}

Response

OK

created_atstring
env_project_idstring
external_idstring
idstring
org_idstring
project_idstring
statusstring
updated_atstring