v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
Data Manager

Post actions

Perform a Data Manager action with the selected tasks and filters. Note: More complex actions require additional parameters in the request body. Call GET api/actions?project=<id> to explore them. <br>Example: GET api/actions?id=delete_tasks&project=1

post/api/dm/actions/

Query parameters

id'delete_annotators' | 'delete_ground_truths' | 'delete_reviewers' | 'delete_tasks' | 'delete_tasks_annotations' | 'delete_tasks_predictions' | 'delete_tasks_reviews' | 'predictions_to_annotations' | 'remove_duplicates' | 'retrieve_tasks_predictions' required

Action name ID, see the full list of actions in the GET api/actions request

projectinteger required

Project ID

viewinteger

View ID (optional, it has higher priority than filters, selectedItems and ordering from the request body payload)

Request body

orderingstring[]

List of fields to order by. Fields are similar to filters but without the filter: prefix. To reverse the order, add a minus sign before the field name, e.g. -tasks:created_at.

Example request

{
  "filters": {
    "conjunction": "or",
    "items": [
      {
        "filter": "filter:tasks:id",
        "operator": "greater",
        "type": "Number",
        "value": 123
      }
    ]
  },
  "ordering": [
    "tasks:total_annotations"
  ],
  "selectedItems": {
    "all": true,
    "excluded": [
      124,
      125,
      126
    ]
  }
}

Response

Action performed successfully