# 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](/basic-operations/get-batch-jobs.md), 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](/basic-operations/get-job-results.md) to get the annotation results for each job.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://annotationdocs.telusinternational.com/basic-operations/get-project-batches.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
