Skip to main content
POST
Send Events
Every request requires ?beta=true.

Authorizations

X-Api-Key
string
header
default:sk-ant-local-default
required

OMA workspace API key.

Headers

anthropic-version
string
anthropic-beta
string

Path Parameters

session_id
string
required

Path parameter session_id

Query Parameters

beta
enum<boolean>
required

Selects the beta API contract for this endpoint. Must be true.

Available options:
true

Body

application/json

Request parameters for sending events to a session.

events
object[]
required

Events to send to the session.

Parameters for sending a user message to the session.

Example:
Example:

Response

Successful response (OK)

Events that were successfully sent to the session.

data
object[]

Sent events

A user message event in the session conversation.

Example: