tasks

List all tasks

Lists all tasks active on the instance. Pagination is not supported.

Request

get
/tasks

Response

{
  "status": "200"
}

Retrieve a task

Fetches the details of a task.

Errors

StatusDescription
400

Request

get
/tasks/{task_id}

Response

{
  "example": {
    "complete": true,
    "context": {
      "user_id": "virtool"
    },
    "created_at": "2021-11-24T19:40:03.320000Z",
    "error": null,
    "file_size": null,
    "id": 2,
    "progress": 100,
    "step": "remove_referenced_otus",
    "type": "delete_reference"
  },
  "status": "200"
}