Skip to main content
GET
Get task

Authorizations

Authorization
string
header
required

API Key created in the DreamTo console, sent as Authorization: Bearer <API Key>.

Query Parameters

taskId
string
required

Task ID: data.taskId returned by createTask.

Example:

"5e2a9c7f13b84d06a8f1c3e5b7d9a2c4"

Response

200 - application/json

Always HTTP 200. With code 200, data is the task (whether the task succeeded is data.state); any other code is an error with data null.

Response of recordInfo; always HTTP 200.

code
integer<int64>
required

Result code: 200 success; 401 missing or invalid API Key; 422 unknown task (msg: recordInfo is null); 429 too many requests; 500 server error.

msg
string
required

Message: success, or the English reason of an error.

data
object
required

The task; null on error.