messages
Create Message For Session
Adds a message to a session
Args: app_id (uuid.UUID): The ID of the app representing the client application using honcho user_id (str): The User ID representing the user, managed by the user session_id (int): The ID of the Session to add the message to message (schemas.MessageCreate): The Message object to add containing the message content and type
Returns: schemas.Message: The Message object of the added message
Raises: HTTPException: If the session is not found
POST
/
apps
/
{app_id}
/
users
/
{user_id}
/
sessions
/
{session_id}
/
messages
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
app_id
string
requireduser_id
string
requiredsession_id
string
requiredBody
application/json
content
string
requiredis_user
boolean
requiredmetadata
object | null
Response
200 - application/json
content
string
requiredis_user
boolean
requiredsession_id
string
requiredid
string
requiredmetadata
object
requiredcreated_at
string
required