For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
EnterpriseQuick Start
API ReferenceTutorials
  • Introduction
    • Getting started
  • API Reference
      • GETList views
      • POSTCreate view
      • POSTUpdate order of views
      • DELDelete all project views
      • GETGet view details
      • DELDelete view
      • PATCHUpdate view
LogoLogo
EnterpriseQuick Start
API ReferenceViews

List views

GET
http://localhost:8000/api/dm/views/
GET
/api/dm/views/
$curl http://localhost:8000/api/dm/views/ \
> -H "Authorization: Token <api_key>" \
> -H "Content-Type: application/json"
200Retrieved
1[
2 {
3 "id": 5,
4 "project": 42,
5 "data": null,
6 "filter_group": {
7 "conjunction": "AND",
8 "filters": [
9 {
10 "column": "priority",
11 "id": 100,
12 "operator": "greater_than",
13 "type": "integer",
14 "child_filter": {
15 "column": "status",
16 "id": 101,
17 "operator": "equals",
18 "type": "string",
19 "index": 1,
20 "parent": 100,
21 "value": "completed"
22 },
23 "index": 1,
24 "parent": null,
25 "value": 3
26 }
27 ],
28 "id": 10
29 },
30 "order": 1,
31 "ordering": null,
32 "selected_items": null,
33 "user": 7
34 }
35]
List all views for a specific project.
Was this page helpful?
Previous

Create view

Next
Built with

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:
curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Query parameters

projectintegerOptional
Project ID

Response

idintegerRead-only
projectinteger
Project ID
dataany or null
Custom view data
filter_groupobject
orderinteger or null-2147483648-2147483647
Position of the tab, starting at the left in data manager and increasing as the tabs go left to right
orderingany or null
Ordering parameters
selected_itemsany or null
Selected items
userinteger or null
User who made this view