Send Events
$ ant beta:sessions:events sendPOST/v1/sessions/{session_id}/events
Send Events
Parameters
Body param: Events to send to the session.
Header param: Optional header to specify the beta version(s) you want to use.
Returns
Send Events
ant beta:sessions:events send \
--api-key my-anthropic-api-key \
--session-id sesn_011CZkZAtmR3yMPDzynEDxu7 \
--event '{content: [{text: '\''Where is my order #1234?'\'', type: text}], type: user.message}'{
"data": [
{
"id": "sevt_011CZkZGOp0iBcp4kaQSihUmy",
"content": [
{
"text": "Where is my order #1234?",
"type": "text"
}
],
"type": "user.message",
"processed_at": "2026-03-15T10:00:00Z"
}
]
}Returns Examples
{
"data": [
{
"id": "sevt_011CZkZGOp0iBcp4kaQSihUmy",
"content": [
{
"text": "Where is my order #1234?",
"type": "text"
}
],
"type": "user.message",
"processed_at": "2026-03-15T10:00:00Z"
}
]
}