Skip to content

Checks_GetReachStatus

GET
/v1/accounts/{account}/datasets/{dataset}/reachStatus
curl --request GET \
--url https://api.qualia.dev/v1/accounts/example/datasets/example/reachStatus \
--header 'X-API-Key: <X-API-Key>'

Where a dataset’s reach check stands: the settings a RunCheck would use now, the key they make, and the dataset’s runs. A merged dataset pressed before its press was one run holds that press in its uploads, one run each: until it has a run of its own (and a finished one), that press reads as one run, its counts summed, RUNNING while any part runs (REQUESTED while one waits), else FAILED with a failed part’s note, else SUCCEEDED, its operation its first part’s. Runs made before an upload joined this merged dataset are excluded. Writes nothing. NOT_FOUND outside the caller’s workspace.

account
required
string

The account id.

dataset
required
string

The dataset id.

OK

Media type application/json

Where a dataset’s reach check stands (Checks.GetReachStatus): one per dataset, always there. Reading it writes nothing and asks for no run.

Served by qds-api.

object
name

Accounts/{account}/datasets/{dataset}/reachStatus

string
settings

The settings a RunCheck on checks/reach would use now, resolved: the target robot’s solver, and the dataset’s base and heading, else the robot model’s reach_base, else 0, 0, 0. A dataset has no solver of its own, and there is no default solver: solver is SOLVER_UNSPECIFIED whenever none was resolved (no target robot, the robot removed, without a model or in another workspace, a robot without a solver, or fleet could not be asked).

object
solver

The IK solver the dataset is solved with: always its target robot’s, and set only on a status read (a run’s resolved settings). A dataset does not pick one: a request that names a solver here (UpdateDataset, CreateDataset) is refused with INVALID_ARGUMENT (“a dataset uses its robot’s solver; change it on the robot’s Solver page”), and a solver stored on a dataset before that is ignored. A robot with no solver cannot be solved on.

string format: enum
Allowed values: SOLVER_UNSPECIFIED PYROKI DLS MINK
baseM

Where the takes’ start sits from the relaxed grippers’ midpoint, metres in the robot’s base frame (x forward, y left, z up): empty or exactly three numbers, each finite and within 5 m either way. Empty follows the target robot model’s reach_base, else 0, 0, 0. Stored to 0.1 mm and applied to both hand paths as one rigid translation from the robot’s home hand midpoint.

Array<number>
homeHeadingRad

Rotate both paired paths around world up before placing their first-row midpoint at the shared home reference. Radians; finite and within +/- pi. The robot base remains at world (0, 0, 0).

number format: double
poseSource

Where the source episode’s hand poses were recorded. Set by qds-api on reads; clients do not set it. TCP runs consume already-resolved TCP channels and never apply calibration again.

string format: enum
Allowed values: POSES_AT_UNSPECIFIED ROOT TCP
calibrationDigest

Digest of the TCP calibration already applied to the published upload, empty for root poses. Set by qds-api on reads.

string
currentKey

The reach key those settings make with the target robot’s current model config. Empty when the dataset has no target robot, the robot cannot be solved against (removed, no model, no solver, in another workspace), a merged dataset’s uploads hold their poses at different frames, or fleet could not be asked.

string
lastRun

The newest run of any state; unset until the first press.

object
operation

Accounts/{account}/operations/{operation}: the RunCheck that recorded it.

string
key

The key its results are stored under (ReachStatus.current_key).

string
settings

What it was keyed with, resolved: the solver is PYROKI, DLS or MINK and base_m has three numbers.

object
solver

The IK solver the dataset is solved with: always its target robot’s, and set only on a status read (a run’s resolved settings). A dataset does not pick one: a request that names a solver here (UpdateDataset, CreateDataset) is refused with INVALID_ARGUMENT (“a dataset uses its robot’s solver; change it on the robot’s Solver page”), and a solver stored on a dataset before that is ignored. A robot with no solver cannot be solved on.

string format: enum
Allowed values: SOLVER_UNSPECIFIED PYROKI DLS MINK
baseM

Where the takes’ start sits from the relaxed grippers’ midpoint, metres in the robot’s base frame (x forward, y left, z up): empty or exactly three numbers, each finite and within 5 m either way. Empty follows the target robot model’s reach_base, else 0, 0, 0. Stored to 0.1 mm and applied to both hand paths as one rigid translation from the robot’s home hand midpoint.

Array<number>
homeHeadingRad

Rotate both paired paths around world up before placing their first-row midpoint at the shared home reference. Radians; finite and within +/- pi. The robot base remains at world (0, 0, 0).

number format: double
poseSource

Where the source episode’s hand poses were recorded. Set by qds-api on reads; clients do not set it. TCP runs consume already-resolved TCP channels and never apply calibration again.

string format: enum
Allowed values: POSES_AT_UNSPECIFIED ROOT TCP
calibrationDigest

Digest of the TCP calibration already applied to the published upload, empty for root poses. Set by qds-api on reads.

string
robot

Accounts/{account}/robots/{robot}: the target robot it ran on.

string
requestTime

When Run solver was pressed.

string format: date-time
state

Where it stands.

string format: enum
Allowed values: STATE_UNSPECIFIED REQUESTED RUNNING SUCCEEDED FAILED CANCELLED
total

The takes it covers (handheld and egocentric episodes that carry hand poses): those of the dataset when it was pressed (or the selection), the ones answered from stored results included.

integer format: int32
done

Takes with a result.

integer format: int32
failed

Takes that could not be solved.

integer format: int32
note

Why a run that stands REQUESTED or RUNNING has not moved, or why it was given up, in a sentence a person reads (“waiting for the reach service”, “some takes are not ready yet”, “the robot model changed; run again”). Empty while it is moving.

string
lastFinishedRun

The newest run that ended (SUCCEEDED, FAILED or CANCELLED); unset until one has.

object
operation

Accounts/{account}/operations/{operation}: the RunCheck that recorded it.

string
key

The key its results are stored under (ReachStatus.current_key).

string
settings

What it was keyed with, resolved: the solver is PYROKI, DLS or MINK and base_m has three numbers.

object
solver

The IK solver the dataset is solved with: always its target robot’s, and set only on a status read (a run’s resolved settings). A dataset does not pick one: a request that names a solver here (UpdateDataset, CreateDataset) is refused with INVALID_ARGUMENT (“a dataset uses its robot’s solver; change it on the robot’s Solver page”), and a solver stored on a dataset before that is ignored. A robot with no solver cannot be solved on.

string format: enum
Allowed values: SOLVER_UNSPECIFIED PYROKI DLS MINK
baseM

Where the takes’ start sits from the relaxed grippers’ midpoint, metres in the robot’s base frame (x forward, y left, z up): empty or exactly three numbers, each finite and within 5 m either way. Empty follows the target robot model’s reach_base, else 0, 0, 0. Stored to 0.1 mm and applied to both hand paths as one rigid translation from the robot’s home hand midpoint.

Array<number>
homeHeadingRad

Rotate both paired paths around world up before placing their first-row midpoint at the shared home reference. Radians; finite and within +/- pi. The robot base remains at world (0, 0, 0).

number format: double
poseSource

Where the source episode’s hand poses were recorded. Set by qds-api on reads; clients do not set it. TCP runs consume already-resolved TCP channels and never apply calibration again.

string format: enum
Allowed values: POSES_AT_UNSPECIFIED ROOT TCP
calibrationDigest

Digest of the TCP calibration already applied to the published upload, empty for root poses. Set by qds-api on reads.

string
robot

Accounts/{account}/robots/{robot}: the target robot it ran on.

string
requestTime

When Run solver was pressed.

string format: date-time
state

Where it stands.

string format: enum
Allowed values: STATE_UNSPECIFIED REQUESTED RUNNING SUCCEEDED FAILED CANCELLED
total

The takes it covers (handheld and egocentric episodes that carry hand poses): those of the dataset when it was pressed (or the selection), the ones answered from stored results included.

integer format: int32
done

Takes with a result.

integer format: int32
failed

Takes that could not be solved.

integer format: int32
note

Why a run that stands REQUESTED or RUNNING has not moved, or why it was given up, in a sentence a person reads (“waiting for the reach service”, “some takes are not ready yet”, “the robot model changed; run again”). Empty while it is moving.

string
stale

Whether last_run was made under another key than current_key: the target robot, model, placement, pose frame or calibration changed since, and a RunCheck would compute something new. Nothing runs by itself.

boolean
targetRobot

Accounts/{account}/robots/{robot}; empty if no target robot is assigned.

string
calibrationMix

Set when the uploads a reach would read hold their TCP poses under more than one capture calibration, and whenever the solver is refused for a mix (see ReachCalibrationMix.refused); unset otherwise, always for a dataset of one calibration and for one of only robot-joint (arm) recordings (arm uploads beside handheld ones are a refused mix). It says which calibrations, which rigs recorded them and whether each is current, and whether the solver is refused or runs. Also unset when the uploads’ frames or calibrations cannot be read: the reach is refused then (current_key is empty), but no mix is reported.

object
refused

True when the solver will not run on the mix: ReachStatus.current_key is empty and a press sends nothing. That is so when the uploads read sit at different frames (some at the gripper root or holding no poses, some at the TCP; an upload that holds no poses is read at the root), or are read at calibrations or rigs that no one pose walk carries (a mixture of differently calibrated uploads). False when it runs: the uploads keep one key and each take is read with the calibration of the upload that holds it, so a calibration change on any upload makes the old answers stale together.

boolean
calibrations

The calibrations read, in that order. A refused mix can carry a single entry, when all that differs between the uploads is the kind of rig.

Array<object>

One calibration among those a reach reads: see ReachCalibrationMix.

object
frame

The frame the uploads holding it have their poses at: TCP for a calibration; ROOT for the uploads that hold their poses at the gripper root and so carry none; UNSPECIFIED for the uploads that hold no poses at all (a recording never converted, or one with no handheld poses, such as an arm recording). ROOT and UNSPECIFIED are one entry each for all their uploads, without a robot, calibration or current flag.

string format: enum
Allowed values: POSES_AT_UNSPECIFIED ROOT TCP
robot

Accounts/{account}/robots/{robot}: the UMI rig the uploads holding this calibration were recorded on. Empty when no rig was recorded for them, which is so for every upload recorded before uploads kept their rig.

string
current

Whether this is the calibration robot holds now: false when the rig holds another one, none, or is gone. Unset when that could not be read: no rig was recorded, or the calibration could not be compared, or the rigs could not be asked for.

boolean
uploadCount

How many of the uploads read hold it. A mixture can read one upload’s episodes at two calibrations; that upload counts in each.

integer format: int32
calibration

The calibration itself, as the poses were resolved with it (like Dataset.poses_calibration), so that it can be told apart when no rig was recorded. Unset at the ROOT frame.

object
filename
required

The uploaded file’s name, e.g. “tcp_calibration.json”.

string
deriveDate

When the calibration was made, “YYYY-MM-DD”: the leading date of the file’s calibrated or else its derived text. Empty when the file gives none.

string
hands
required

Both hands, left then right.

Array<object>

One hand’s transform.

object
side
required

Which hand.

string format: enum
Allowed values: SIDE_UNSPECIFIED SIDE_LEFT SIDE_RIGHT
trackerToTcp
required

The TCP’s pose in the tracker’s frame: xyz in metres and rpy in radians (URDF convention, extrinsic XYZ), the file’s rotation matrix converted. A rotation whose pitch is within a hair of +-90 degrees has no unique roll and yaw; it is stored with roll 0.

object
xyz

X, y, z in metres.

Array<number>
rpy

Roll, pitch, yaw in radians.

Array<number>
eeToTcp

The same TCP in the frame of the gripper design’s ee_link for this hand, in the form of tracker_to_tcp (so the same pitch limit). Display only. Set with ee_link or not at all, and only when it composes with the file’s controller_to_ee to the file’s controller_to_tcp, which is what makes the TCP drawn the TCP used.

object
xyz

X, y, z in metres.

Array<number>
rpy

Roll, pitch, yaw in radians.

Array<number>
eeLink

The link of the rig’s gripper design that Hand.ee_to_tcp is a pose in, with {side} for “left” or “right” (the gripper joint’s convention in RobotModel.Gripper), e.g. “openarm_{side}_ee_base_link”. Read from the file’s own description of its end-effector frame. Empty when the file names none, lacks the end-effector poses, or they disagree with its controller_to_tcp (then no ee_to_tcp is set either). Display only.

ee_to_tcp is drawn in this link’s own frame, which must be the plain end-effector frame the file means. An export whose link sits elsewhere draws the TCP off by the difference: an OpenArm exported with the xacro default collapse_internal_empty_links puts openarm__ee_base_link at link7, 20.5 mm behind the frame the calibration is in.

string
Example
{
"settings": {
"solver": "SOLVER_UNSPECIFIED",
"poseSource": "POSES_AT_UNSPECIFIED"
},
"lastRun": {
"settings": {
"solver": "SOLVER_UNSPECIFIED",
"poseSource": "POSES_AT_UNSPECIFIED"
},
"state": "STATE_UNSPECIFIED"
},
"lastFinishedRun": {
"settings": {
"solver": "SOLVER_UNSPECIFIED",
"poseSource": "POSES_AT_UNSPECIFIED"
},
"state": "STATE_UNSPECIFIED"
},
"calibrationMix": {
"calibrations": [
{
"frame": "POSES_AT_UNSPECIFIED",
"calibration": {
"hands": [
{
"side": "SIDE_UNSPECIFIED"
}
]
}
}
]
}
}

Default error response

Media type application/json
One of:
API error

A refusal from the API itself.

object
code
required

The gRPC code name in upper case, e.g. NOT_FOUND.

string
message
required
string
retryable
required

Whether the same call may succeed if retried.

boolean
details
required

Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.

Array<object>
object
Example generated
{
"code": "example",
"message": "example",
"retryable": true,
"details": [
{}
]
}