Create Annotation Task

Create a new Task

Request
Request Body schema: application/json

: Task creation payload

datasetId
required
string
recipeId
required
string
projectId
required
string
name
required
string
taskOwner
required
string
dueDate
required
number <double>
query
required
string
status
string or null
assignmentIds
Array of strings or null
required
APITaskSpec (object) or APISpawnTaskSpec (object)
Array of objects or null (TaskWorkload)
limit
number or null <double>
percentage
boolean or null
asynced
boolean or null
emptyTask
boolean or null
object or null
Array of objects or null (ItemAction)
disableWebm
boolean or null
object or null
priority
number or null <double>
object or null

From T, pick a set of properties whose keys are in the union K

property name*
additional property
any
Responses
200

Ok

post/annotationtasks
Request samples
application/json
{
  • "datasetId": "string",
  • "recipeId": "string",
  • "projectId": "string",
  • "name": "string",
  • "taskOwner": "string",
  • "dueDate": 0,
  • "query": "string",
  • "status": "string",
  • "assignmentIds": [
    ],
  • "spec": {
    },
  • "workload": [
    ],
  • "limit": 0,
  • "percentage": true,
  • "asynced": true,
  • "emptyTask": true,
  • "checkIfExist": {
    },
  • "availableActions": [
    ],
  • "disableWebm": true,
  • "metadata": {
    },
  • "priority": 0,
  • "description": {
    }
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "name": "string",
  • "taskOwner": "string",
  • "dueDate": 0,
  • "datasetId": "string",
  • "recipeId": "string",
  • "projectId": "string",
  • "spec": {
    },
  • "hasParent": true,
  • "query": "string",
  • "assignmentIds": [
    ],
  • "status": "open",
  • "metadata": {
    },
  • "totalItems": 0,
  • "itemStatus": {
    },
  • "progress": 0,
  • "forReview": 0,
  • "issues": 0,
  • "availableActions": [
    ],
  • "error": "string",
  • "priority": 0,
  • "emptyInactiveAssignments": 0,
  • "description": {
    }
}