Handle Message

Process an interaction request through the environment.

Args: request: The FastAPI request session_id: The ID of the session interaction_request: The interaction request data

Returns: Span with the results of the interaction attached to its attributes

Path parameters

session_idstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
messageslist of objectsRequired
participantslist of objectsRequired
historylist of objects or nullOptional
fileslist of objectsOptional
ephemeral_agent_revisionobject or nullOptional

Response

Successful Response

Errors