Plan grasps
Send a point cloud and get ranked gripper poses for picking up what's in it.
Authorization
AuthorizationheaderrequiredBearer sk-orb-v1-…, your API key, or a free test key (sk-orb-test-…; no account? get one withPOST /sandbox/keys).
Request body
JSON, with Content-Type: application/json.
modelstringrequiredThe grasp model to run. The models for this endpoint are listed below.
pointsnumber[][]requiredThe point cloud: 3–20,000
[x, y, z]points in meters, in the camera or robot frame.top_kintegerHow many grasps to return, 1–50.
gripperstring | objectGripper-conditioned models (GraspGen-X): a gripper the model knows by name (e.g.
franka_panda,robotiq_2f_85), or any gripper's sweep volumes{ extents_open, offset_open, extents_mid, offset_mid }, each[x, y, z]in meters in the gripper frame (z = approach, x = closing).seedintegerSampling models: the same seed and request give the same grasps.
Response
idstringUnique id of this call, e.g.
grp_48213. It matches the call in your Activity dashboard.modelstringThe model that answered.
backendstring"http": the real model ran on a GPU."simulated": stand-in output of the same shape, as test keys get.sandboxbooleantruewhen the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.graspsobject[]Best first, in the frame of your points.
Show 4 child attributes
positionnumber[3][x, y, z]in meters.rotationnumber[4]Quaternion
[qx, qy, qz, qw].widthnumberGripper opening, in meters.
scorenumberQuality, 0–1.
usageobjectWhat the call cost.
Show 2 child attributes
cost_usdnumberCharged to your credits, in US dollars.
latency_msintegerTime the model took, in milliseconds.
Errors
The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.
Models
1 live model for /grasp. Each page has a ready-made request.
1 more is coming soon. See the models page.