Datumwell

Poke-Aurora API

By default, each user can submit up to 10 jobs concurrently. This limit applies across all API tokens on your account for model inference, video annotation and standalone 3D Hand Pose. Each accepted video in a batch uses one slot, including while it waits to run. Contact us for higher concurrency or faster processing.

Call PokeBot / RoboAPI’s Poke-Aurora through RoboRouter to predict end-effector poses and gripper actions from a wrist image, a task instruction and single-arm state. This integration is documented for UR5e.

Call POST /api/v1/inference with model rr/poke-aurora. Use the same API token as annotation. Production pricing is $0.04 per 1,000 action tokens, one per returned action step. Each request reserves up to $0.02048 and releases the difference after settlement.

observation.json contains instruction, state [x,y,z,qx,qy,qz,qw,gripper], and images: [{role: "wrist", frames: [JPEG_DATA_URL]}]. Use a 640×360 RGB JPEG and the matching measured arm state.

The JSON below illustrates the input shape; replace its example values and image placeholder with your measured observations. RoboRouter chooses the hardware template from model; no profile ID is required. Write your real observation to observation.json, then run the command below. Images use data:image/jpeg;base64,... rather than remote URLs.

POST returns an id, status, charged_microusd and held_microusd. GET /inference/{id}/result returns action values and channel information. Keep request_key: an identical retry does not invoke or charge again. Returned actions are never executed automatically.

Uploading a video, polling status and reading results do not use an execution slot.

Capacity responses: 429 account_concurrency_exceeded means the account has no free slots. 503 service_capacity_exceeded means the service cannot accept new work right now. 503 capacity_busy means admission is temporarily busy. These responses do not queue work, start an upstream call, or place a new credit hold.

Retry these three capacity errors after the time in Retry-After (in seconds, currently 5). Add a small random delay and cap retries. Reuse the same request_key and payload for inference, or the same job UUID for annotation. For other 503 responses or network timeouts, check the original request status before retrying.

observation.json
{
  "instruction": "Sort the drinks",
  "state": [
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    1
  ],
  "images": [
    {
      "role": "wrist",
      "frames": [
        "data:image/jpeg;base64,REPLACE_WITH_YOUR_JPEG"
      ]
    }
  ]
}
HTTP
export ROBOROUTER_TOKEN='YOUR_API_TOKEN'
BASE=https://datumwell.io

# observation.json contains your instruction, measured state and JPEG data URLs.
# Save request.json and reuse it when checking the same request.
python3 - <<'PY'
import json, uuid
with open('observation.json') as f:
    observation = json.load(f)
with open('request.json', 'w') as f:
    json.dump({'model': 'rr/poke-aurora', 'request_key': str(uuid.uuid4()),
               'observation': observation}, f)
PY

curl --fail-with-body -sS "$BASE/api/v1/inference" \
  -H "Authorization: Bearer $ROBOROUTER_TOKEN" \
  -H 'Content-Type: application/json' \
  --data-binary @request.json > receipt.json
cat receipt.json

# Read the saved request. GET does not call the model or charge again.
REQUEST_ID=$(python3 -c 'import json; print(json.load(open("receipt.json"))["id"])')
curl --fail-with-body -sS "$BASE/api/v1/inference/$REQUEST_ID/result" \
  -H "Authorization: Bearer $ROBOROUTER_TOKEN"