> For the complete documentation index, see [llms.txt](https://annotationdocs.telusinternational.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://annotationdocs.telusinternational.com/basic-operations/get-project-batches.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
