---
title: "Get Detection"
method: GET
path: "/v1/detections/{detection_id}"
tags: ["Dome", "detections"]
---

# Get Detection

`GET /v1/detections/{detection_id}`

Get a detection by ID.

Returns the current status and results of a detection.
Status values:
- CREATED: Detection is queued for processing
- PROCESSING: Detection is being processed
- COMPLETED: Detection finished successfully
- ERROR: Detection failed

Note: This endpoint does not require authentication to support
the Execution Flow test input feature.

## Path parameters

- `detection_id` string, required

## Response `200`

Successful Response

- DetectionResponse — Response model for a detection.
  - `id` string, required
  - `status` string, required
  - `detector_inputs` DetectionInput[]
    - `response` string, nullable
    - `question` string, nullable
    - `prompt` string, nullable
    - `dome_detection_method` string, nullable
  - `detector_outputs` DetectionOutput[]
    - `score` number
    - `label` string, nullable
    - `details` object, nullable
  - `error_message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/vijilai/apis/vijil-console-api-combined.md) · [All operations](https://skmtc.net/vijilai/apis/vijil-console-api-combined/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vijilai/vijil-console-api-combined/versions/a8b2ee2b2d06/schema)
