Update ai chat
Update an AI chat’s title, notification preferences, or associated company context.
Required permissions:
ai_chat:update
Documentation Index
Fetch the complete documentation index at: https://docs.whop.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
Path Parameters
The unique identifier of the AI chat to update (e.g., "ai_chat_XXXXX").
"aich_xxxxxxxxxxxxx"
Body
Parameters for UpdateAiChat
The unique identifier of the company to set as context for the AI chat (e.g., "biz_XXXXX").
The notification preference for the AI chat.
all, none The new display title for the AI chat thread (e.g., "Help with billing").
Response
A successful response
An AI-powered chat conversation belonging to a user, with optional scheduled automation.
The unique identifier for the ai chat.
"aich_xxxxxxxxxxxxx"
A short descriptive title for this AI chat conversation. Null if no title has been set.
"Weekly Revenue Analysis"
The notification preference for this AI chat. all delivers AI chat notifications and badges, while none mutes them.
all, none The total number of messages exchanged in this conversation.
42
The total number of tokens consumed across all messages in this conversation.
"123.45"
The datetime the ai chat was created.
"2023-12-01T05:00:00.401Z"
The datetime the ai chat was last updated.
"2023-12-01T05:00:00.401Z"
The timestamp of the most recent message in this conversation. Null if no messages have been sent yet.
"2023-12-01T05:00:00.401Z"
The user who owns this AI chat conversation.

