cURL
curl --request POST \ --url https://api.example.com/api/conversations/{conversation_id}/events \ --header 'Content-Type: application/json' \ --data ' { "role": "user", "content": [ { "text": "<string>", "cache_prompt": false, "type": "text" } ], "run": false } '
{ "success": true }
Send a message to a conversation
Payload to send a message to the agent.
This is a simplified version of openhands.sdk.Message.
user
system
assistant
tool
Show child attributes
"text"
Whether the agent loop should automatically run if not running
Successful Response
Was this page helpful?