v76

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-015764591.5 MB
Export

[Deprecated] Easy export of tasks and annotations

    This endpoint is deprecated in Enterprise. Use the async export API instead:
    POST /api/projects/{id}/exports/ (see [Create new export](api:POST/api/projects/{id}/exports/)).

    In Label Studio Enterprise, this endpoint will always return a 404 Not Found response with instructions to use the async export API.

    <i>Note: if you have a large project it's recommended to use
    export snapshots, this easy export endpoint might have timeouts.</i><br/><br>
    Export annotated tasks as a file in a specific format.
    For example, to export JSON annotations for a project to a file called `annotations.json`,
    run the following from the command line:
    ```bash
    curl -X GET http://localhost:8000/api/projects/{id}/export?exportType=JSON -H 'Authorization: Token abc123' --output 'annotations.json'
    ```
    To export all tasks, including skipped tasks and others without annotations, run the following from the command line:
    ```bash
    curl -X GET http://localhost:8000/api/projects/{id}/export?exportType=JSON&download_all_tasks=true -H 'Authorization: Token abc123' --output 'annotations.json'
    ```
    To export specific tasks with IDs of 123 and 345, run the following from the command line:
    ```bash
    curl -X GET 'http://localhost:8000/api/projects/{id}/export?ids[]=123&ids[]=345' -H 'Authorization: Token abc123' --output 'annotations.json'
    ```
    
get/api/projects/{id}/export

Path parameters

idinteger required

A unique integer value identifying this project.

Query parameters

download_all_tasksboolean

If true, download all tasks regardless of status. If false, download only annotated tasks.

download_resourcesboolean

If true, download all resource files such as images, audio, and others relevant to the tasks.

export_typestring

Selected export format (JSON by default)

idsstring[]

Specify a list of task IDs to retrieve only the details for those tasks.

Response

Exported data

string binary required

Export file with results