API endpoint that allows events to be viewed or edited.

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

{
    "id": 6702,
    "name": "Saturday, Aug 20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/6702/?format=api",
    "deployment": {
        "id": 285,
        "name": "Default Station",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/285/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-20T01:57:22",
    "end": "2022-08-20T02:17:23",
    "day": "2022-08-20",
    "date_label": "Aug 20 2022",
    "duration": "1201.0",
    "duration_label": "20 minutes",
    "captures_count": 3,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=6702&ordering=timestamp",
    "first_capture": {
        "id": 24763113,
        "details": "https://api.beluga.insectai.org/api/v2/captures/24763113/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/example_captures/285/20220820015722-00-129.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-20T01:57:22",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-10-13T06:44:15.301852",
    "updated_at": "2025-10-14T05:07:48.303971",
    "user_permissions": []
}