PAI Chat·Endpoint
POST
/supportCreate a new chat session. Authenticated users create regular chats. Anonymous u
Create a new chat session. Authenticated users create regular chats. Anonymous users create support chats with an access token cookie.
GET/support/{chatId}arrow_forwarddouble_arrow
Returns 201
idrequired
string (uuid)The generated UUID for the new chat
userId
string (uuid)The ID of the user who owns this chat
name
stringAuto-generated title from the first user message
createdAtrequired
string (date-time)updatedAtrequired
string (date-time)incognitorequired
booleanWhether this is an incognito chat
grouprequired
booleanWhether this is a group chat
expiresAt
string (date-time)Expiration time for incognito chats
accessToken
string (uuid)Access token for anonymous support chats. Also set as chat_token cookie.
report
Errors