API endpoint that allows projects to be viewed or edited.

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

{
    "id": 38,
    "name": "MothBox - Gamboa tests",
    "description": "Testing MothBox parameters in Gamboa, Panama",
    "details": "https://api.beluga.insectai.org/api/v2/projects/38/?format=api",
    "deployments_count": 1,
    "created_at": "2024-04-11T16:31:55.827565",
    "updated_at": "2025-01-29T23:39:01.303565",
    "image": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/projects/a708e949a5d7a6115f79514059e83eca739f188d.jpeg",
    "draft": false,
    "deployments": [
        {
            "id": 85,
            "name": "MothBox01",
            "image": null,
            "details": "https://api.beluga.insectai.org/api/v2/deployments/85/?format=api",
            "latitude": 9.11809,
            "longitude": -79.7003,
            "events_count": 1,
            "user_permissions": []
        }
    ],
    "summary_data": [
        {
            "id": "captures",
            "title": "Captures",
            "plots": [
                {
                    "title": "Average captures per hour",
                    "data": {
                        "x": [
                            "8:00 PM"
                        ],
                        "y": [
                            1.0
                        ],
                        "ticktext": [
                            "8:00 PM",
                            "8:00 PM"
                        ]
                    },
                    "type": "bar"
                },
                {
                    "title": "Captures per month",
                    "data": {
                        "x": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ],
                        "y": [
                            0,
                            0,
                            0,
                            1,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ],
                        "tickvals": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ]
                    },
                    "type": "bar"
                }
            ]
        },
        {
            "id": "occurrences",
            "title": "Occurrences",
            "plots": [
                {
                    "title": "Average detections per hour",
                    "data": {
                        "x": [
                            "8:00 PM"
                        ],
                        "y": [
                            21.0
                        ],
                        "ticktext": [
                            "8:00 PM",
                            "8:00 PM"
                        ]
                    },
                    "type": "bar"
                },
                {
                    "title": "Occurrences per month",
                    "data": {
                        "x": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ],
                        "y": [
                            0,
                            0,
                            0,
                            21,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ],
                        "tickvals": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ]
                    },
                    "type": "bar"
                }
            ]
        },
        {
            "id": "taxa",
            "title": "Taxa",
            "plots": [
                {
                    "title": "Top species observed",
                    "data": {
                        "x": [
                            1,
                            1,
                            1,
                            1,
                            1,
                            1,
                            1,
                            1,
                            3,
                            9
                        ],
                        "y": [
                            "Geometridae",
                            "Spodoptera latifascia",
                            "Glaphyria invisalis",
                            "Herpetogramma phaeopteralis",
                            "Macaria abydata",
                            "Erinnyis ello",
                            "Pleuroprucha insulsaria",
                            "Chloropteryx opalaria",
                            "Sosxetra grata",
                            "Not Lepidoptera"
                        ]
                    },
                    "type": "bar",
                    "orientation": "h"
                },
                {
                    "title": "Unique species per month",
                    "data": {
                        "x": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ],
                        "y": [
                            0,
                            0,
                            0,
                            11,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ],
                        "tickvals": [
                            "Jan",
                            "Feb",
                            "Mar",
                            "Apr",
                            "May",
                            "Jun",
                            "Jul",
                            "Aug",
                            "Sep",
                            "Oct",
                            "Nov",
                            "Dec"
                        ]
                    },
                    "type": "bar"
                }
            ]
        }
    ],
    "owner": {
        "id": 56,
        "name": "Hubert",
        "image": null,
        "details": "https://api.beluga.insectai.org/api/v2/users/56/?format=api",
        "user_permissions": []
    },
    "feature_flags": {
        "tags": false,
        "reprocess_existing_detections": false,
        "default_filters": false,
        "reprocess_all_images": false,
        "async_pipeline_workers": false
    },
    "settings": {
        "default_filters_exclude_taxa": [],
        "default_filters_include_taxa": [],
        "default_filters_score_threshold": 0.5,
        "default_processing_pipeline": null,
        "session_time_gap_seconds": 7200,
        "user_permissions": []
    },
    "is_member": false,
    "user_permissions": []
}