API endpoint that allows events to be viewed or edited.

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

{
    "id": 2623,
    "name": "Thursday, Nov 9-10 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2623/?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-09T18:01:30",
    "end": "2023-11-10T05:30:49",
    "day": "2023-11-09",
    "date_label": "Nov 9-10 2023",
    "duration": "41359.0",
    "duration_label": "11 hours 29 min",
    "captures_count": 4120,
    "detections_count": 23,
    "occurrences_count": 11,
    "stats": {
        "detections_max_count": 22,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2623&ordering=timestamp",
    "first_capture": {
        "id": 4790116,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4790116/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/2BD0E9C1/01-20231109180130-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-09T18:01:30",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "5:00 AM"
                ],
                "y": [
                    11
                ],
                "ticktext": [
                    "5:00 AM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2,
                    3,
                    3
                ],
                "y": [
                    "Eacles imperialis",
                    "Thysanopyga abdominaria",
                    "Acrolophus panamae",
                    "Phostria temira",
                    "Elasmopalpus lignosella",
                    "Samea ecclesialis",
                    "Desmia bajulalis",
                    "Pilocrocis ramentalis",
                    "Syngamia florella",
                    "Ascalapha odorata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T20:59:35.291821",
    "updated_at": "2025-11-25T13:44:12.856965",
    "user_permissions": []
}