POST
/
mesh_task_query
curl --request POST \
  --url https://sequencer-v2.heurist.xyz/mesh_task_query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task_id": "<string>"
}'
{
  "status": "<string>",
  "reasoning_steps": [
    {
      "timestamp": 123,
      "content": "<string>",
      "is_sent": true
    }
  ],
  "result": {
    "response": {},
    "success": true
  }
}

The task query endpoint allows you to check the status and retrieve results of your background tasks.

Base URL

https://sequencer-v2.heurist.xyz

Authentication

All requests require a Bearer token in the Authorization header.

Task Flow

  1. Create a task using /mesh_task_create
  2. Query task status using /mesh_task_query until completion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
JSON payload for querying task status
task_id
string
required

Task identifier to query

Response

200
application/json
Task status retrieved successfully
status
string

Current task status

reasoning_steps
object[]

List of reasoning steps

result
object

Task result when complete