Robot policies

Get actions

Send a VLA model the robot's current observation and an instruction, and get back the next chunk of actions.

View as Markdown
POST/v1/act

Call it in a loop: run the first few actions, take a new observation, and call again. Every VLA takes the same request, so switching models means changing model.

Authorization

Request body

JSON, with Content-Type: application/json.

  • modelstringrequired

    The VLA to run, e.g. physical-intelligence/pi0. The live models for this endpoint are listed below.

  • instructionstringrequired

    The task in plain language, e.g. "put the black bowl on the plate". 1–1,000 characters.

  • observationobject

    What the robot sees and feels now. Most models need at least one image. Images are base64 JPEG or PNG; all of them together must be under 4 MB of base64.

    Show 9 child attributes
    • imagestring

      The main camera image.

    • imagesobject

      Several cameras by name, e.g. { "agentview": "<base64>", "wrist": "<base64>" }. 1–8 cameras; names are 1–64 letters, digits, _, . or -. Use the names in inputs.cameras of the model (GET /v1/models, also on its model page).

    • statenumber[]

      Proprioception: joint angles or end-effector pose, and gripper. Up to 128 numbers. Send exactly inputs.state.dim numbers in the order of inputs.state.layout (none when it is 0).

    • depthsobject

      Depth maps by camera name, keyed like images: 16-bit grayscale PNGs of depth in millimetres. 1–8 cameras, under 4 MB of base64 together.

    • camerasobject

      Calibration by camera name, keyed like images: { intrinsics, extrinsics? }, where intrinsics is a 3×3 pinhole matrix and extrinsics an optional 4×4 camera-to-robot transform. 1–8 cameras.

    • historyobject

      Past frames by camera name, keyed like images, oldest first, for models that look back in time (e.g. Alpamayo 2: the front cameras at −2, −1, −0.5 and −0.1 s, the others at −1 and −0.1 s). Up to 32 frames per camera, under 4 MB of base64 together.

    • state_historynumber[][]

      Earlier states, oldest first, for models that take a history (e.g. Alpamayo 2: the car's 19 previous poses [x, y, z, yaw], 0.1 s apart, in the same frame as state; GEAR-SONIC: the 9 previous control ticks). Up to 32 rows of up to 128 numbers.

    • referencenumber[][]

      Reference frames a tracking controller follows, nearest first (e.g. GEAR-SONIC and GigaBrain-WBC: 10 frames of the humanoid's target joint positions and root motion; the layout is in the model's inputs). Up to 32 rows of up to 128 numbers.

    • recurrentobject

      Stateful models only: the recurrent object of the model's previous answer, sent back unchanged to continue the rollout (e.g. COMPASS's world-model state, GigaBrain-WBC's 98,304-number attention cache). Up to 16 arrays of up to 131,072 numbers.

  • action_horizoninteger

    The most action steps to return, 1–100. Default 50. A model whose chunk is shorter returns its whole chunk.

  • embodimentstring

    The robot or benchmark the actions are for, e.g. "libero". It picks the checkpoint, cameras, state layout and action space for models that support several. A checkpoint trained on several datasets may also take a variant that selects one dataset's statistics, e.g. "libero_spatial" for OpenVLA-OFT (the model's inputs list them). Up to 64 letters, digits, _, . or -.

Response

  • idstring

    Unique id of this call, e.g. act_48213. It matches the call in your Activity dashboard.

  • modelstring

    The model that answered.

  • backendstring

    "http": the real model ran on a GPU. "simulated": stand-in output of the same shape, as test keys get.

  • sandboxboolean

    true when the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.

  • actionsnumber[][]

    The action chunk: one row per time step, earliest first. The row layout is the model's action space (see its model page), often a 7-number end-effector delta and gripper command. Driving models return the planned trajectory: Alpamayo 2 gives one [x, y, z, yaw] pose per 0.1 s in the car's current frame (meters, x forward, y left; radians).

  • recurrentobject

    Stateful models only: the state to send back as observation.recurrent with the next observation (e.g. COMPASS, UniVLA, GigaBrain-WBC).

  • reasoningstring

    Reasoning models only: the explanation the model wrote before its actions (e.g. Alpamayo 2's driving reasoning).

  • usageobject

    What the call cost.

    Show 2 child attributes
    • cost_usdnumber

      Charged to your credits, in US dollars.

    • latency_msinteger

      Time the model took, in milliseconds.

Errors

The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.

Models

63 live models for /act. Each page has a ready-made request.

54 more are coming soon. See the models page.