Retrieve a list of tasks.
You can use the query parameters to filter the list by project and/or view (a tab within the Data Manager). You can also optionally add pagination to make the response easier to parse.
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. The view ID can be found using List views.
Additional query to filter tasks. It must be JSON encoded string of dict containing one of the following parameters: {"filters": ..., "selectedItems": ..., "ordering": ...}
. Check Data Manager > Create View > see data
field for more details about filters, selectedItems and ordering.
"conjunction"
string ("or"
or "and"
) and list of filters in "items"
array. Each filter is a dictionary with keys: "filter"
, "operator"
, "type"
, "value"
. Read more about available filters{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}
"all"
, "included"
, "excluded"
. If “all” is false
, "included"
must be used. If “all” is true
, "excluded"
must be used.{"all": false, "included": [1, 2, 3]}
or {"all": true, "excluded": [4, 5]}
["completed_at"]
List of tasks, each task contains predictions and annotations if fields
query parameter is set to all