Skip to main content
Read what your detectors found with any credential, and manage the detectors with a browser login.

Read detectors

detectors list takes --limit (50 by default, up to 200), plus --since, --from, and --to. These filter on when the detector was created, not when it last ran. detectors get shows the full configuration.

Read findings

findings list takes --limit (50 by default, up to 200), --since, --from, --to, --detector (an ID, name, or template), and --trace. Time flags take the same values as traces list. findings get takes a finding ID or --trace, not both.

Create a detector

--name and --template are required. Creating a name that already exists in the project returns that detector unchanged. Trigger conditions take = or != on model_name and environment; >, >=, <, <=, or = on cost, total_tokens, duration_ms, and errors; and = or contains on metadata, with a key. Nested fields are easier in a file:
detector.json
Send a JSON body covers files and stdin.

Change a detector

Send only what changes. --trigger-conditions and --output-schema replace the whole array, and [] removes the trigger. The template can’t change. --enabled and --enable-rca take no value, so they can only turn something on. To turn one off, use a file:
off.json
Turning a detector back on doesn’t check past traces.

Delete a detector

The delete is permanent, and needs a --reason. The detector’s findings stay readable.