Skip to main content

GetQueueList

Check the status of task processing

Description

Check the status of the target task from the queued task processing.

Method

GET

Request URL Format

/api/v0/tasks

Query Params

If all true is not specified, only tasks in progress can be retrieved (true is recommended when checking for completion, errors, etc.)
category Specifies the category of the task (e.g., ReplaceImportData, etc.)
stream_id Specifies the stream_id of the task

Request URL Sample

GET https://api.xxx.com/api/v0/tasks?category=ReplaceImportData&all=true&stream_id=yc90927zl5Ba4nVoaJ0quE8QJ9IWoeZLbplKwzxkaL70t83GdOcmqzjioJVpFswwnCUbGF0ozWiCQm47Ww2GZSIGG7k1A3mK0mmLTaNc5xLgEG9j1i9zFqQHuC1Tk3Oc

Response Sample

{
"63992393b1ea5632b8bc0566": {
"qt_id": "63992393b1ea5632b8bc0566",
"category": "ReplaceImportData",
"status": {
"id": 2, // 0: registered, 1: in progress, 2: completed, 3: error, 4: anomaly
"name": "StatusDone"
},
"created_at": "2022-12-14T01:14:59.125Z",
"started_at": "2022-12-14T01:15:00.15Z",
"finished_at": "2022-12-14T01:15:07.51Z",
"metadata": {
"w_id": "638da4dc8dfab6ae3cabf6aa",
"p_id": "638da4dd8dfab6ae3cabf6ad",
"d_id": "63916fb15690efdd69b806b6"
}
}
}