Skip to main content
POST
/
api
/
sandboxes
/
{id}
/
agent
/
{sid}
/
prompt
Send Follow-up Prompt
curl --request POST \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/agent/{sid}/prompt \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "text": "<string>"
}
'
{}
Send a follow-up prompt to a running agent session.
id
string
required
Sandbox ID
sid
string
required
Agent session ID
text
string
required
Follow-up prompt text
{}