Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2626/?format=api
{ "id": 2626, "name": "Sunday, Nov 12-13 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2626/?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-12T18:00:59", "end": "2023-11-13T06:30:19", "day": "2023-11-12", "date_label": "Nov 12-13 2023", "duration": "44960.0", "duration_label": "12 hours 29 min", "captures_count": 4497, "detections_count": 3562, "occurrences_count": 1097, "stats": { "detections_max_count": 50, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2626&ordering=timestamp", "first_capture": { "id": 4802504, "details": "https://api.beluga.insectai.org/api/v2/captures/4802504/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/Panama/2BD0E9C1/20231112180059-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-11-12T18: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": [ 8, 68, 48, 89, 120, 167, 126, 120, 56, 109, 88, 62, 36 ], "ticktext": [ "6:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 37, 37, 37, 40, 47, 51, 60, 67, 96, 230 ], "y": [ "Spilomela perspicata", "Spilomela discordens", "Plodia interpunctella", "Lobocleta ossularia", "Samea ecclesialis", "Moth", "Perigramma vicina", "Ascalapha odorata", "Pilocrocis ramentalis", "Herpetogramma phaeopteralis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-12-06T21:03:13.408509", "updated_at": "2025-11-25T13:44:14.182891", "user_permissions": [] }