Endpoint
Authentication
Pass one ofAuthorization: Bearer <api-key> or Authorization: ApiKey <key>.
Path Parameters
string
required
The agent session identifier.
Request Body
string
required
The event role. Use
user for messages or tool for tool results.string
Text content of the message. Required when role is
user.array
Array of tool call objects emitted by the model.
array
Array of tool call result objects returned to the model.
Response
string
Unique event identifier.
string
The session this event belongs to.
string
Event type, for example
message.string
ISO 8601 timestamp of creation.