Tasks

Get all tasks of a dataset

URL

GET https://tools.deepen.ai/api/v2/datasets/{datasetId}/tasks

Request

Path parameters

Parameter name

Parameter type

Description

datasetId

string

Dataset Id of the dataset

Response

Returns a json with field ‘tasks’ that represents an array of TaskResource objects.

Change and save task status

URL

POST https://tools.deepen.ai/api/v2/tasks/{taskId}/task_status

Request

Path parameters

Parameter name

Parameter type

Description

taskId

string

Task Id of the task

Response

Returns a json with the Updated TaskResource object.

Get all tasks of a user

URL

GET https://tools.deepen.ai/api/v2/clients/{clientId}/user_tasks

Request

Path parameters

Parameter name

Parameter type

Description

clientId

string

client Id of the client

Query parameters

Parameter name

Parameter type

Description

email

string

Email of user

Response

Returns a json with fields ‘file_tasks’, ‘label_tasks’ that represents an array of TaskResource objects.

Get all tasks of a user

URL

GET https://tools.deepen.ai/api/v2/clients/{clientId}/delayed_tasks

Request

Path parameters

Parameter name

Parameter type

Description

clientId

string

client Id of the client

Response

Returns a json with fields ‘delayed tasks’ and value that represents an array of Delayed TaskResource objects.

Change and save file task assignments

URL

POST https://tools.deepen.ai/api/v2/datasets/{datasetId}/file_tasks

Request

Path parameters

Parameter name

Parameter type

Description

datasetId

string

Dataset Id of the dataset

Response

Returns an empty response if file tasks are updated.

Change and save label task assignments

URL

POST https://tools.deepen.ai/api/v2/datasets/{datasetId}/label_tasks

Request

Path parameters

Parameter name

Parameter type

Description

datasetId

string

Dataset Id of the dataset

Response

Returns an empty response if label tasks are updated.