Trigger a process that attempts to create a Traceloop monitor using the provided selector criteria
selector you provide. The selector is matched against your incoming spans — when a match is found, the monitor is created and the specified evaluators begin running on those spans.
Authorization header.
See Authentication for details."my-agent-monitor-1"["answer-relevancy", "toxicity-detector"]See the full list of available slugs in the Evaluator Slugs reference.| Field | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The attribute key to filter on (e.g., gen_ai.system, service.name) |
value | string | Conditional | The value to match against. Required for equals, not_equals, contains, not_contains operators |
values | string[] | Conditional | List of values to match against. Required for in, not_in operators |
source | string | Yes | Where the attribute lives: span_attributes or resource_attributes |
operator | string | No | Comparison operator. Defaults to equals. One of: equals, not_equals, contains, not_contains, exists, not_exists, in, not_in |
init_rules array reflects the stored selector — same shape as the input selector.
evaluators array).