Files

Get files list

GET

Retrieve the list of uploaded files used to create labeling tasks for a specific project. These are files that have been uploaded directly to Label Studio.

You must provide a project ID. The project ID can be found in the URL when viewing the project in Label Studio, or you can retrieve all project IDs using List all projects.

Path parameters

idintegerRequired
A unique integer value identifying this file upload.

Query parameters

allbooleanOptional
Set to "true" if you want to retrieve all file uploads
idsintegerOptional
Specify the list of file upload IDs to retrieve, e.g. ids=[1,2,3]

Response

This endpoint returns a list of objects
id
integerOptional
file
stringOptional
GET
1curl http://localhost:8080/api/projects/1/file-uploads \
2 -H "Authorization: Token <api_key>"
200Retrieved
1[
2 {
3 "id": 1,
4 "file": "file"
5 }
6]