Create Chat
POST
/api/chats
chat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.crbnai.com/api/chats' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": "Tell me something about Manhattan",
"system_prompt": "Your name is Tom and you are an expert about the history of New York."
}'
Response Response Example
{
"title": "cupiditate",
"owner_id": "e490bf0f-f308-4ab8-9faf-1870af66e34f",
"created_at": "2048-11-13T14:49:50.362Z",
"system_prompt": "Hic neque modi.",
"last_message_at": "2088-12-06T18:57:02.588Z",
"id": "74b53dbd-c6bd-45cd-9b9e-94aae856d9bc",
"recipe_id": "b0b59f52-b385-4312-9e01-02f18ff4c472"
}
Request
Body Params application/json
Responses
Modified at 2024-01-24 16:44:48