API Reference
Get Task Status
API Reference
Get Task Status
POST
/
get-task-status
object
data
object
data
object
taskId
string
taskId
string
The task ID
Add Example Value
{
"status": "success",
"data": {
"batchMode": true,
"enhanceFace": true,
"error": "<string>",
"files": [
{
"fileName": "<string>",
"fileType": "<string>",
"path": "<string>",
"createdAt": 123,
"expiresAt": 123,
"originalFileName": "<string>",
"fileSize": 123,
"downloadLink": "<string>",
"thumbnailLink": "<string>",
"finalFileSize": 123,
"processedFileName": "<string>",
"dimensions": {
"width": 123,
"height": 123
}
}
],
"model": "<string>",
"progress": "<string>",
"scale": "<string>",
"status": "<string>",
"saveImageAs": "png",
"compression": 123,
"creditsDeducted": true,
"deductedCredits": 123
}
}
Body
application/json
data
object
Response
200 - application/json
status
string
data
object
{
"status": "success",
"data": {
"batchMode": true,
"enhanceFace": true,
"error": "<string>",
"files": [
{
"fileName": "<string>",
"fileType": "<string>",
"path": "<string>",
"createdAt": 123,
"expiresAt": 123,
"originalFileName": "<string>",
"fileSize": 123,
"downloadLink": "<string>",
"thumbnailLink": "<string>",
"finalFileSize": 123,
"processedFileName": "<string>",
"dimensions": {
"width": 123,
"height": 123
}
}
],
"model": "<string>",
"progress": "<string>",
"scale": "<string>",
"status": "<string>",
"saveImageAs": "png",
"compression": 123,
"creditsDeducted": true,
"deductedCredits": 123
}
}