Trigger a process that attempts to create a Traceloop monitor using the provided selector criteria
An auto monitor setup is an asynchronous process that attempts to create a Traceloop monitor based on theDocumentation Index
Fetch the complete documentation index at: https://enrolla-gz-new-docs-for-auto-monitor.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.evaluators or evaluator_configs must be provided on create. If both are provided, evaluator_configs wins and this field is ignored. Use evaluator_configs when you need to pin a per-evaluator scope.evaluators when you need to control the granularity at which an individual evaluator runs.Each entry has the following fields:| Field | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Evaluator slug — same set accepted by the evaluators array. See the Evaluator Slugs reference. |
scope | string | No | Granularity at which the evaluator runs. One of session, trace, span. When omitted, no scope is persisted and the downstream monitor applies its own default. |
| 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 |
evaluators array (no per-evaluator scope):
evaluator_configs to pin a scope per evaluator:
init_rules array reflects the stored selector — same shape as the input selector.
Each entry in evaluators optionally includes a scope field (session, trace, or span) when a scope was set for that evaluator via evaluator_configs. When no scope was provided at create time, scope is omitted from the evaluator object (it is never returned as null).
The status field indicates the current state of the setup process:
| Status | Description |
|---|---|
pending | The setup has been created and is queued for processing |
in_progress | The setup is actively being processed |
waiting_for_spans | The setup is ready and waiting for enough spans to be received before attempting to process |
completed | All monitors have been successfully created |
partial | Some monitors were created but others failed |
failed | The setup process failed |
evaluators nor evaluator_configs is set on a Create request — one of evaluators or evaluator_configs is required.evaluator_configs is missing its slug.evaluator_configs has a scope that is not one of session, trace, or span.unknown evaluator slug "<slug>".