Endpoint for viewing collections or samples of source images.

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

{
    "id": 21,
    "details": "https://api.beluga.insectai.org/api/v2/captures/collections/21/?format=api",
    "name": "Insectarium, End of every night",
    "project": 23,
    "method": "last_and_random_from_each_event",
    "kwargs": {
        "num_each": 0
    },
    "source_images": "https://api.beluga.insectai.org/api/v2/captures/?format=api?collections=21",
    "source_images_count": 403,
    "source_images_with_detections_count": 147,
    "source_images_processed_count": 148,
    "occurrences_count": 1091,
    "taxa_count": 498,
    "description": "",
    "jobs": [
        {
            "id": 1146,
            "details": "https://api.beluga.insectai.org/api/v2/jobs/1146/?format=api",
            "status": "SUCCESS",
            "job_type": {
                "name": "Populate captures collection",
                "key": "populate_captures_collection"
            },
            "created_at": "2025-01-21T23:25:58.317201",
            "updated_at": "2025-01-21T23:26:00.343763",
            "user_permissions": []
        },
        {
            "id": 982,
            "details": "https://api.beluga.insectai.org/api/v2/jobs/982/?format=api",
            "status": "SUCCESS",
            "job_type": {
                "name": "ML pipeline",
                "key": "ml"
            },
            "created_at": "2024-09-25T20:19:08.463819",
            "updated_at": "2024-11-13T17:15:33.351924",
            "user_permissions": []
        },
        {
            "id": 225,
            "details": "https://api.beluga.insectai.org/api/v2/jobs/225/?format=api",
            "status": "FAILURE",
            "job_type": {
                "name": "ML pipeline",
                "key": "ml"
            },
            "created_at": "2023-12-04T00:07:40.868399",
            "updated_at": "2024-11-13T17:15:35.388953",
            "user_permissions": []
        }
    ],
    "created_at": "2023-12-04T00:06:20.289813",
    "updated_at": "2025-01-21T23:26:00.241047",
    "user_permissions": []
}