Get Task Status Function

API Doc

Interactive API docs can be found at: https://run.truebit.network/dispatcher/api-docs/arrow-up-right

Overview

By calling this endpoint, you’ll receive the Function Task execution status and, if available, the result associated with the specified executionId

Get execution status by execution ID of a FUNCTION TASK

get
/task/function/execution-status/{executionId}

Retrieve the status of a task execution using the execution ID.

Path parameters
executionIdstringRequired

The ID of the task execution.

Responses
chevron-right
200

Successful function task response with execution status.

application/json

Synchronous response of task execution.

executionIdstringOptional

The ID of the task execution.

verificationStatusstring · enumOptional

The status of the task verification.

Possible values:
get
/task/function/execution-status/{executionId}

verificationStatus

Success

The Task execution was completed successfully. The result was received within the specified timeout, and all nodes provided the same response.

Running

The Function task is still being executed.

Indeterminate

A consensus on the result couldn't be reached. This could be because the execution took too long, nodes gave different answers (requiring an adjudication process resolution), or we received fewer responses than the required solutions defined in the request.

Error

There was an error during the task execution

Last updated

Was this helpful?