Ai chats
Create ai chat
Create a new AI chat thread and send the first message to the AI agent.
Required permissions:
- ai_chat:create
post/ai_chats
Request body
Response
A successful response
Example response
{
"blended_token_usage": "123.45",
"created_at": "2023-12-01T05:00:00.401Z",
"id": "aich_xxxxxxxxxxxxx",
"last_message_at": "2023-12-01T05:00:00.401Z",
"message_count": 42,
"title": "Weekly Revenue Analysis",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"id": "user_xxxxxxxxxxxxx"
}
}Changes
Changed in 2 of the 74 revisions of this API.13
- ○
added the new optional request property
new-optional-request-property
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ●
removed the request property
request-property-removed
- ○
added the new optional request property
new-optional-request-property
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
Of the 74 revisions, 1 has no diff computed.