v1
latestOpenAPI 3.0.02026-07-1346146138.4 KBauto-monitor-setups
Create an auto monitor setup
Create a new auto monitor setup for automatic monitor creation.
The selector field is a map of span attribute key-value pairs used to filter which spans this monitor applies to. Keys are span attribute names and values can be strings, numbers, or booleans.
Common selector keys:
- gen_ai.system — LLM provider (e.g. "openai", "anthropic")
- gen_ai.request.model — model name (e.g. "gpt-4o", "claude-3-5-sonnet")
- gen_ai.request.max_tokens — max tokens (number)
- Any other span attribute from your traces
post/v2/auto-monitor-setups
Request body
Example request
{
"evaluators": [
"hallucination",
"toxicity"
],
"external_id": "my-agent-monitor-1"
}Response
Created