curl --request PUT \
--url http://localhost:3333/v1/assistant-chat/history \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"messages": [
{
"id": "msg_abc123",
"role": "user",
"text": "How do I invite a teammate?",
"createdAt": 1735781554000
}
]
}
'Replaces the current user-scoped assistant chat history (ephemeral session context).
curl --request PUT \
--url http://localhost:3333/v1/assistant-chat/history \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"messages": [
{
"id": "msg_abc123",
"role": "user",
"text": "How do I invite a teammate?",
"createdAt": 1735781554000
}
]
}
'Was this page helpful?