API endpoint that allows events to be viewed or edited.

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

{
    "id": 2627,
    "name": "Monday, Nov 13-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2627/?format=api",
    "deployment": {
        "id": 62,
        "name": "AMI 2BD0E9C1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/62/?format=api",
        "user_permissions": []
    },
    "start": "2023-11-13T18:00:59",
    "end": "2023-11-14T06:30:19",
    "day": "2023-11-13",
    "date_label": "Nov 13-14 2023",
    "duration": "44960.0",
    "duration_label": "12 hours 29 min",
    "captures_count": 4497,
    "detections_count": 13978,
    "occurrences_count": 5034,
    "stats": {
        "detections_max_count": 37,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2627&ordering=timestamp",
    "first_capture": {
        "id": 4807001,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4807001/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/2BD0E9C1/20231113180059-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-13T18:00:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "7:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    54,
                    322,
                    592,
                    544,
                    439,
                    569,
                    631,
                    645,
                    490,
                    275,
                    216,
                    182,
                    75
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    162,
                    173,
                    181,
                    195,
                    226,
                    339,
                    340,
                    382,
                    437,
                    851
                ],
                "y": [
                    "Plodia interpunctella",
                    "Moth",
                    "Cecrita biundata",
                    "Agrius cingulata",
                    "Lobocleta ossularia",
                    "Syngamia florella",
                    "Ascalapha odorata",
                    "Pilocrocis ramentalis",
                    "Samea ecclesialis",
                    "Herpetogramma phaeopteralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T21:05:16.147855",
    "updated_at": "2025-11-25T13:44:14.573735",
    "user_permissions": []
}