Skip to content

DTL

DTL

POST /tasks/export

Run DTL task

Example:

{
  "advanced": {
    "nodesCount": 1,
    "batchSize": 10
  },
  "config": [
    {
      "action": "data",
      "src": [
        "Test project/*"
      ],
      "dst": "$sample",
      "settings": {
        "classes_mapping": "default"
      }
    },
    {
      "action": "save",
      "src": [
        "$sample"
      ],
      "dst": "experiment001",
      "settings": {
        "images": true,
        "annotations": true
      }
    }
  ]
}

Response:

{ "taskId": 103 }