Sandboxes

Send a message to the agent in a sandbox

post/api/v0beta1/sandboxes/{id}/agent-send

Path parameters

idstring required

Request body

messagestring required
new_sessionboolean
session_idstring
agentstring

Response

Agent response.

session_idstring required
agent_session_idstring
responsestring required
is_errorboolean required

True when the turn failed. The failure is still a 200: response carries the agent CLI's own message (e.g. "Not logged in · Please run /login").

is_new_sessionboolean required
cost_usdnumber

Changes