Label Studio integration (AI, Data). Imported from open-connector.
{base_url}/api/current-user/whoami
/api/projects/
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number within the paginated result set. |
| pageSize | integer | optional | The number of results to return per page. |
| archived | boolean | optional | Whether to return projects that belong to archived workspaces. |
| filter | string | optional | The pinned project filter. |
| ids | string | optional | Comma-separated project IDs to include. |
| include | string | optional | Comma-separated count fields to include in the response. |
| membersLimit | integer | optional | The maximum number of project members to return. |
| ordering | string | optional | The project ordering expression. |
| search | string | optional | A search term for project title and description. |
| state | string | optional | The project state to filter by. |
| title | string | optional | A case-insensitive project title substring to filter by. |
| workspace | integer | optional | The workspace ID to filter by. |
/api/projects/{projectId}/
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | integer | required | The Label Studio project ID. |
| membersLimit | integer | optional | The maximum number of project members to return. |
/api/tasks/
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number within the paginated result set. |
| pageSize | integer | optional | The number of results to return per page. |
| fields | string | optional | The task field detail mode. |
| include | string | optional | Comma-separated task fields to include. |
| onlyAnnotated | boolean | optional | Whether to return only tasks that have annotations. |
| project | integer | optional | The Label Studio project ID. |
| query | string | optional | A JSON-encoded Label Studio Data Manager query. |
| resolveUri | boolean | optional | Whether to resolve task data URIs using cloud storage. |
| review | boolean | optional | Whether to return tasks for review. |
| selectedItems | string | optional | A JSON string of selected task IDs for review workflow. |
| view | integer | optional | The Label Studio view ID. |
/api/tasks/
| Param | Type | Required | Description |
|---|---|---|---|
| project | integer | optional | The Label Studio project ID. |
| data | object | required | The task data object formatted for the project label config. |
| meta | object | optional | — |