Skip to main content
POST
/
v1
/
detections
Create Detection
curl --request POST \
  --url https://api.example.com/v1/detections \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "detector_id": "<string>",
  "detector_inputs": [
    {
      "response": "<string>",
      "question": "<string>",
      "prompt": "<string>",
      "dome_detection_method": "<string>"
    }
  ]
}
'
{
  "id": "<string>",
  "status": "<string>",
  "detector_inputs": [
    {
      "response": "<string>",
      "question": "<string>",
      "prompt": "<string>",
      "dome_detection_method": "<string>"
    }
  ],
  "detector_outputs": [
    {
      "score": 0,
      "label": "<string>",
      "details": {}
    }
  ],
  "error_message": "<string>"
}

Body

application/json

Request model for creating a detection.

id
string
required
detector_id
string
required
detector_inputs
DetectionInput · object[]
required
detector_params
DetectionParams · object

Parameters for a detection request.

Response

Successful Response

Response model for a detection.

id
string
required
status
string
required
detector_inputs
DetectionInput · object[]
detector_outputs
DetectionOutput · object[]
error_message
string | null
Last modified on April 21, 2026