session

Add event to session

Changed on

Add a structured event to a session. Events are stored alongside messages and can be retrieved chronologically.

post/session/{session_id}/events

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/session/{session_id}/events
  • Auth: API key in header Authorization

Path parameters

session_idstring uuid required

Session ID

Request body

HandlerAddEventReq required

Response

OK

codeinteger
errorstring
msgstring

Changes