metamessages
Create Metamessage
Adds a message to a session
Args: app_id (str): 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 metamessage (schemas.MeteamessageCreate): The metamessage creation object
Returns: schemas.Metamessage: The Metamessage object of the added metamessage
Raises: HTTPException: If the session is not found
POST
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
sessions
/
{session_id}
/
metamessages
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
metamessage_type
string
requiredcontent
string
requiredmessage_id
string
requiredmetadata
object | null
Response
200 - application/json
id
string
requiredmetamessage_type
string
requiredcontent
string
requiredmessage_id
string
requiredmetadata
object
requiredcreated_at
string
required