# Get project details

## PROJECT BATCHES

<mark style="color:blue;">`GET`</mark> `https://api.playment.io/v1/projects/:project_id/details`

Get list of batches in a project

#### Path Parameters

| Name        | Type   | Description                                         |
| ----------- | ------ | --------------------------------------------------- |
| project\_id | string | ID of the project for which you want to get batches |

#### Headers

| Name      | Type   | Description                |
| --------- | ------ | -------------------------- |
| x-api-key | string | API key for authentication |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "data": {
        "name": "Project XYZ",
        "base": "IMAGE",
        "batches": [
            {
                "id": "27f8303e-69fd-4b54-a4e9-63456571e195",
                "name": "Batch 1",
                "description": "These are the jobs created on 23rd August",
                "is_default": false,
                "total_jobs": 1427,
                "completed_jobs": 1427,
                "total_frames": 1427,
                "completed_frames": 1427,
                "annotations": 9392,
                "created_at": "2019-08-23T17:55:13.203229+05:30",
                "status": "Complete"
            },
            {
                "id": "10cab3e9-3f26-4c8b-83ac-3c138685120b",
                "name": "b2",
                "description": "",
                "is_default": false,
                "total_jobs": 4996,
                "completed_jobs": 4996,
                "total_frames": 4996,
                "completed_frames": 4996,
                "annotations": 12121,
                "created_at": "2019-12-06T15:42:36.23401+05:30",
                "status": "Complete"
            }            
        ]
    },
    "success": true
}
```

{% endtab %}
{% endtabs %}

You can iterate over the list of batches received in the response to call the [Get batch jobs API](https://annotationdocs.telusinternational.com/basic-operations/get-batch-jobs), which will give you a list of all the jobs in a batch. You can then iterate over this list and call the [Get job result API](https://annotationdocs.telusinternational.com/basic-operations/get-job-results) to get the annotation results for each job.&#x20;
