API endpoint that allows detections to be viewed or edited.

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

{
    "id": 63068,
    "details": "https://api.beluga.insectai.org/api/v2/detections/63068/?format=api",
    "bbox": [
        3739.0,
        1587.0,
        3794.0,
        1705.0
    ],
    "width": null,
    "height": null,
    "occurrence": "https://api.beluga.insectai.org/api/v2/occurrences/35594/?format=api",
    "timestamp": "2022-08-08T22:05:33",
    "source_image": "https://api.beluga.insectai.org/api/v2/captures/164616/?format=api",
    "detection_algorithm": null,
    "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/202208082205330001/3739-1587-3794-1705-1711328152.jpg",
    "classifications": [
        {
            "id": 1160960,
            "details": "https://api.beluga.insectai.org/api/v2/classifications/1160960/?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.9566329121589661,
            "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-14T04:41:20.740253",
            "user_permissions": []
        }
    ],
    "user_permissions": []
}