Skip to main content
PUT
/
detectors
/
{id}
Update a detector
curl --request PUT \
  --url https://proxy.qualifire.ai/api/detectors/{id} \
  --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>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "created_at": "<string>",
  "active": true,
  "evaluation_id": "<string>"
}

Authorizations

X-Qualifire-API-Key
string
header
required

Path Parameters

id
string
required

The ID of the detector to update

Body

application/json

Detector to update

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

OK

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