Create an action chunk
Turns one observation into one action chunk.
robot_state,
session_id and the controls are top-level fields.
The action chunk comes back as a JSON string in choices[0].message.content.
With stream: true the answer is text/event-stream: : processing comments every 250
ms, one event with the whole chunk, one event with finish_reason and usage, then
data: [DONE]. A failure after the stream starts arrives as an event with an error
object and finish_reason: "error"; the HTTP status stays 200.Authorizations
Your Abstract API key. Get it with abstract login, pass it as $(abstract token).
Body
A robot model id.
abstract/dreamzero-astra:yam, stealth/picasso:yam, allenai/molmoact2:yam, microsoft/rho:yam, perceptron/isaac-0.5:yam, physical-intelligence/pi0.5:yam The server reads the last user message only. Its text parts are the task instruction; its image parts are the camera frames.
1The robot's state at the time of the latest frame. Required with image parts. The model picks the shape.
- YAM joint state
- Rho Cartesian state
The episode id you choose. Required with image parts on abstract/dreamzero-astra:yam and stealth/picasso:yam; optional on the others. A new value starts a new episode.
128Logical observation identity. Reuse with an identical body to replay the original result without another execution or charge.
^[A-Za-z0-9._:-]{1,128}$Expected next session step. A mismatch returns 409 without inference.
x >= 0true returns server-sent events.
Action rows to return, up to the model's rows per chunk (24, 30 or 25). Default all rows. The model still computes and bills the whole chunk.
1 <= x <= 30Accepted for compatibility. No served model reads it.
1 <= x <= 4true is refused with handoff_unavailable until an operator can take over. Send false or omit it.