AI Assistant

Save or update a chat history

Saves or updates a chat history. If the chat ID already exists, it will update the existing chat and preserve the created_at timestamp. Otherwise, it creates a new chat.

post/ai_assistant/chat/save

Request

  • Base URL
    https://api.foudroyer.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

idstring required

Unique identifier of the chat history

website_idstring required

Website ID associated with the chat

messagesstring required

Array of messages in the chat

namestring required

Name of the chat

Response

The saved chat history.

idstring required

Unique identifier of the chat history

user_idstring required

User ID who owns the chat

website_idstring required

Website ID associated with the chat

namestring required

Name of the chat

created_atstring date-time required

Creation timestamp

updated_atstring date-time required

Last update timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.