Skip to content

Start a new chat session with a first question

POST
/ai/chats
curl --request POST \
--url http://localhost:8000/api/v1/ai/chats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "message": "How much did I spend last month?", "title": "example", "format_hint": "scalar" }'
Media type application/json
object
message
required
string
Example
How much did I spend last month?
title
string
nullable
format_hint
string
Allowed values: scalar pair record list pair_list table raw

Session created and message queued