/detectorsList Detectors
List detector metadata owned by the authenticated principal. Args: principal (Principal): Authenticated owner. service (DetectorService): Metadata service. Returns: list[DetectorResponse]: Detector metadata without model artifacts.
Responses
Successful Response
Fields
| Field | Type | Required | Description | Notes |
|---|---|---|---|---|
items | object | Required | Detector metadata and the latest training state. Training parameters describe the last successful model, or the initial request if no training has succeeded. Pending overrides are not exposed. | — |
id | string (uuid) | Required | — | — |
name | string | Required | — | — |
description | anyOf | Optional | — | — |
anyOf[1] | string | Optional | — | — |
anyOf[2] | null | Optional | — | — |
dataset_name | string | Required | — | — |
resolution | string | Required | — | enum: "coarse", "medium", "fine" |
image_fit | anyOf | Optional | — | — |
anyOf[1] | string | Optional | — | enum: "pad", "crop" |
anyOf[2] | null | Optional | — | — |
epochs | integer | Required | — | — |
state | string | Required | Stable states exposed by the version 0 HTTP contract. | enum: "training", "ready", "failed" |
failure_reason | anyOf | Required | — | — |
anyOf[1] | string | Optional | — | — |
anyOf[2] | null | Optional | — | — |
training_progress | anyOf | Optional | Active-run epoch progress, or null when exact progress is unavailable. | — |
anyOf[1] | object | Optional | Epoch progress for the detector's active training run. | — |
completed_epochs | integer | Required | Epochs completed by the active run. | — |
total_epochs | integer | Required | Epochs requested for the active run. | — |
cancellation_requested | boolean | Optional | Cancellation accepted; waiting for the worker to stop. | default: false |
anyOf[2] | null | Optional | — | — |
training_outcome | anyOf | Optional | Optional terminal detail. The stable state remains failed for cancelled or unrecognized stored training states. | — |
anyOf[1] | string | Optional | Optional detail for terminal states added after the version 0 contract. | enum: "cancelled", "unknown" |
anyOf[2] | null | Optional | — | — |
