API endpoint that allows detections to be viewed or edited.

GET /api/v2/detections/57270/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 57270,
    "details": "https://api.beluga.insectai.org/api/v2/detections/57270/?format=api",
    "bbox": [
        0.0,
        780.0,
        41.0,
        913.0
    ],
    "width": null,
    "height": null,
    "occurrence": "https://api.beluga.insectai.org/api/v2/occurrences/31108/?format=api",
    "timestamp": "2022-07-19T22:02:37",
    "source_image": "https://api.beluga.insectai.org/api/v2/captures/532206/?format=api",
    "detection_algorithm": null,
    "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/202207192202370001/0-780-41-913-1711303125.jpg",
    "classifications": [
        {
            "id": 1149752,
            "details": "https://api.beluga.insectai.org/api/v2/classifications/1149752/?format=api",
            "taxon": {
                "id": 11613,
                "name": "Not Lepidoptera",
                "rank": "ORDER",
                "details": "https://api.beluga.insectai.org/api/v2/taxa/11613/?format=api",
                "gbif_taxon_key": null,
                "fieldguide_id": null,
                "inat_taxon_id": null,
                "cover_image_url": null,
                "cover_image_credit": null,
                "parent": null,
                "parents": [],
                "user_permissions": []
            },
            "score": 0.9007383584976196,
            "terminal": false,
            "algorithm": {
                "id": 3,
                "details": "https://api.beluga.insectai.org/api/v2/ml/algorithms/3/?format=api",
                "name": "Moth / Non-Moth Classifier",
                "key": "moth_nonmoth_classifier",
                "description": "Trained on May 6, 2022",
                "uri": "https://object-arbutus.cloud.computecanada.ca/ami-models/moths/classification/moth-nonmoth_resnet50_20240417_b4fe3efe.pth",
                "version": 1,
                "version_name": "",
                "task_type": "classification",
                "category_map": {
                    "id": 53,
                    "details": "https://api.beluga.insectai.org/api/v2/ml/labels/53/?format=api",
                    "user_permissions": []
                },
                "category_count": null,
                "created_at": "2023-11-10T02:39:00.973947",
                "updated_at": "2023-11-10T02:40:42.402377",
                "user_permissions": []
            },
            "created_at": "2025-10-13T04:20:33.427221",
            "user_permissions": []
        }
    ],
    "user_permissions": []
}