API ReferenceProjects

List all projects

GET

Return a list of the projects within your organization.

To perform most tasks with the Label Studio API, you must specify the project ID, sometimes referred to as the pk. The project ID can be found in the URL when viewing the project in Label Studio, or you can retrieve all project IDs using this API call.

To retrieve a list of your Label Studio projects, update the following command to match your own environment. Replace the domain name, port, and authorization token, then run the following from the command line:

$curl -X GET https://localhost:8080/api/projects/ -H 'Authorization: Token abc123'

Query parameters

orderingstringOptional
Which field to use when ordering the results.
idsstringOptional
ids
titlestringOptional
title
pageintegerOptional
A page number within the paginated result set.
page_sizeintegerOptional
Number of results to return per page.

Response

This endpoint returns an object
count
integer
results
list of objects
next
stringOptional
previous
stringOptional