# result - request task result

# Description

After you have created a task, you need to get its response by periodically checking the solving status.

# Request parameters required optional

string clientKey Your unique account key, API key (You can find it here)
int taskId ID which was obtained in newTask method.

# Request body example
{
  "clientKey":"67b6bcbb1a728ea8d563de6d169a2057",
  "taskId": 7654321
}

# Response structure

int errorId Error identificator:
0 - no errors, the task has been successfully created, task ID located in taskId property
1 - error, information about it is in the errorCode property

string errorCode Error code. Check out error list.

string status
processing - task is not ready yet
ready - task complete, solution object can be found in solution property

# Response example
{
  "errorId": 0,
  "status": "processing"
}
{
  "errorId":0,
  "status":"ready",
  "solution": {
    "text":"answer"
  }
}