Skip to main content
GET
Get Detector

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

detector_id
string
required

Query Parameters

project_id
string | null

Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

Response

Successful Response

A detector's full configuration (Postgres detectors + optional trigger).

trigger_conditions comes from detector_triggers.conditions and is None when the detector has no trigger row (it then runs on every sampled trace).

created_at
string<date-time>
required
detection_model
string | null
required
detection_provider
string | null
required
detection_source
string | null
required
detector_id
string
required
enable_rca
boolean
required
enabled
boolean
required
name
string
required
output_schema
unknown
required
prompt
string
required
sample_rate
integer
required
template
string
required
trigger_conditions
unknown
required
updated_at
string<date-time>
required