messages
Create Metamessage
Adds a metamessage 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 metamessage to metamessage (schemas.MetamessageCreate): The Metamessage object to add containing the metamessage content and type
Returns: schemas.Metamessage: The Metamessage object of the added metamessage
Raises: HTTPException: If the session is not found
POST
/
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
metamessage_type
string
requiredcontent
string
requiredid
string
requiredmessage_id
string
requiredmetadata
object
requiredcreated_at
string
required