API endpoint that allows detections to be viewed or edited.

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

{
    "id": 60075,
    "details": "https://api.beluga.insectai.org/api/v2/detections/60075/?format=api",
    "bbox": [
        3205.0,
        152.0,
        3276.0,
        237.0
    ],
    "width": null,
    "height": null,
    "occurrence": "https://api.beluga.insectai.org/api/v2/occurrences/537068/?format=api",
    "timestamp": "2022-08-10T22:10:00",
    "source_image": "https://api.beluga.insectai.org/api/v2/captures/73379/?format=api",
    "detection_algorithm": null,
    "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/0120220810221000snapshot/3205-152-3276-237-1711309901.jpg",
    "classifications": [
        {
            "id": 1139703,
            "details": "https://api.beluga.insectai.org/api/v2/classifications/1139703/?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.9298238158226013,
            "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-11T00:40:33.606464",
            "user_permissions": []
        }
    ],
    "user_permissions": []
}