Endpoint for viewing collections or samples of source images.

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

{
    "id": 22,
    "details": "https://api.beluga.insectai.org/api/v2/captures/collections/22/?format=api",
    "name": "UK, End of nights",
    "project": 1,
    "method": "last_and_random_from_each_event",
    "kwargs": {
        "num_each": 0
    },
    "source_images": "https://api.beluga.insectai.org/api/v2/captures/?format=api?collections=22",
    "source_images_count": 222,
    "source_images_with_detections_count": 120,
    "source_images_processed_count": 120,
    "occurrences_count": 587,
    "taxa_count": 262,
    "description": "",
    "jobs": [
        {
            "id": 1233,
            "details": "https://api.beluga.insectai.org/api/v2/jobs/1233/?format=api",
            "status": "FAILURE",
            "job_type": {
                "name": "ML pipeline",
                "key": "ml"
            },
            "created_at": "2025-09-01T20:50:51.091170",
            "updated_at": "2025-09-02T00:00:24.252764",
            "user_permissions": []
        },
        {
            "id": 226,
            "details": "https://api.beluga.insectai.org/api/v2/jobs/226/?format=api",
            "status": "FAILURE",
            "job_type": {
                "name": "ML pipeline",
                "key": "ml"
            },
            "created_at": "2023-12-04T00:09:46.533440",
            "updated_at": "2024-11-13T17:15:35.383839",
            "user_permissions": []
        }
    ],
    "created_at": "2023-12-04T00:09:20.843483",
    "updated_at": "2023-12-04T00:09:26.780709",
    "user_permissions": []
}