POST
/
detectors
curl --request POST \
  --url https://proxy.qualifire.ai/api/detectors \
  --header 'Content-Type: application/json' \
  --header 'X-Qualifire-API-Key: <api-key>' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "created_at": "<string>",
  "active": true,
  "evaluation_id": "<string>"
}'
{
  "detector_id": "<string>"
}

Authorizations

X-Qualifire-API-Key
string
header
required

Body

application/json
Detector to create
id
string

The ID of the detector

name
string

The name of the detector

description
string

The description of the detector

created_at
string

The creation date of the detector

active
boolean
default:true

Whether the detector is active

evaluation_id
string

The ID of the evaluation to which the detector is associated

Response

200
application/json
OK
detector_id
string

The ID of the created detector