Get the status of a task

Get Task

get

Gets a task status

Path parameters
task_idstringRequired
Responses
200
Successful Response
application/json
get
GET /api/task/{task_id} HTTP/1.1
Host: 
Accept: */*
{
  "task_id": "text",
  "status": "text",
  "result": {
    "input_directory": {
      "protocol": "file",
      "path": "relative/path",
      "auto_delete": "False"
    },
    "output_directory": {
      "protocol": "file",
      "path": "relative/path"
    },
    "size": {
      "IMAGE": 0,
      "VIDEO": 0
    },
    "nb_files": {
      "IMAGE": 0,
      "VIDEO": 0
    },
    "input_video": {
      "protocol": "file",
      "path": "image.jpg",
      "expires_at": "2042-01-01 00:00:00+02:00",
      "auto_delete": "True"
    },
    "input_image": {
      "protocol": "file",
      "path": "image.jpg",
      "expires_at": "2042-01-01 00:00:00+02:00",
      "auto_delete": "True"
    },
    "output_video": {
      "protocol": "file",
      "path": "image_blured.jpg",
      "lifespan": 3600
    },
    "output_image": {
      "protocol": "file",
      "path": "image_blured.jpg",
      "lifespan": 3600
    },
    "output_json": {
      "protocol": "file",
      "path": "detections.json",
      "lifespan": 3600
    }
  }
}