Get Task Status API

API Doc

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

Overview

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

Get execution status by execution ID of an API TASK

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

Retrieve the status of an API task execution using the execution ID.

Path parameters
executionIdstringRequired

The ID of the task execution.

Responses
200

Successful api task response with execution status.

application/json
get
/task/api/execution-status/{executionId}
GET /task/api/execution-status/{executionId} HTTP/1.1
Host: run.truebit.network
Accept: */*
{
  "executionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
  "clearTextSolution": {
    "output": {},
    "status": "succeed",
    "senderAddress": "0x************************************2266"
  },
  "status": "Success",
  "totalTransferredBytes": {
    "request": 194,
    "response": 438
  }
}

status

Success

The Task execution was completed successfully. The result was received within the specified timeout.

Running

The API task is still being executed.

Error

There was an error during the task execution

Last updated

Was this helpful?