API endpoint that allows events to be viewed or edited.

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

{
    "id": 2628,
    "name": "Tuesday, Nov 14-15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2628/?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-14T18:01:00",
    "end": "2023-11-15T06:30:10",
    "day": "2023-11-14",
    "date_label": "Nov 14-15 2023",
    "duration": "44950.0",
    "duration_label": "12 hours 29 min",
    "captures_count": 4496,
    "detections_count": 6,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2628&ordering=timestamp",
    "first_capture": {
        "id": 4811498,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4811498/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/2BD0E9C1/20231114180100-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-14T18:01:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 AM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "6:00 AM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    2
                ],
                "y": [
                    "Megalopyge tharops",
                    "Lephana muffula",
                    "Dialithis gemmifera",
                    "Ascalapha odorata",
                    "Herpetogramma phaeopteralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T21:07:54.313896",
    "updated_at": "2025-11-25T13:44:15.115091",
    "user_permissions": []
}