API endpoint that allows events to be viewed or edited.

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

{
    "id": 2629,
    "name": "Wednesday, Nov 15-16 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2629/?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-15T18:00:50",
    "end": "2023-11-16T08:27:59",
    "day": "2023-11-15",
    "date_label": "Nov 15-16 2023",
    "duration": "52029.0",
    "duration_label": "14 hours 27 min",
    "captures_count": 4513,
    "detections_count": 12097,
    "occurrences_count": 4014,
    "stats": {
        "detections_max_count": 35,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2629&ordering=timestamp",
    "first_capture": {
        "id": 4815994,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4815994/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/2BD0E9C1/20231115180050-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-15T18:00:50",
        "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": [
                    37,
                    206,
                    362,
                    382,
                    404,
                    499,
                    499,
                    408,
                    310,
                    335,
                    313,
                    222,
                    37
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    91,
                    99,
                    123,
                    137,
                    162,
                    184,
                    185,
                    298,
                    426,
                    513
                ],
                "y": [
                    "Samea ecclesialis",
                    "Phostria temira",
                    "Ascalapha odorata",
                    "Lobocleta ossularia",
                    "Condylorrhiza vestigialis",
                    "Moth",
                    "Macaria abydata",
                    "Pilocrocis ramentalis",
                    "Herpetogramma phaeopteralis",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T21:08:56.254505",
    "updated_at": "2025-11-25T13:44:15.531416",
    "user_permissions": []
}