Get All Chats
GET
/api/chatsGet all Chats belonging to the current user.
Request
Query Params
recipe_id
string
optional
Filter chats by their associated recipe.
Example:
reci_01h821c9fcqsn04bwysaqvc9q8
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
id
string <uuid>
optional
UUID of the chat thread.
created_at
string <date-time>
optional
Date (ISO 8601) that this chat thread was created at.
last_message_at
string <date-time>
optional
Date (ISO 8601) that this chat thread was created at.
title
string
required
Title assigned to this chat thread. This is typically auto-generated by the LLM.
owner_id
string <uuid>
required
Auth0 ID for Owner of this Chat.
recipe_id
string <uuid> | null
optional
UUID of the recipe used to create this thread (if applicable).
llm_config
object (LanguageModelConfig)
required
Information and configuration of the language model.
model
string
required
The name of the used language model
vendor
string
required
Vendor of the used language model
Example
[
{
"title": "expedita",
"owner_id": "53fdf1c0-8920-47df-8a5e-78bcd325c0b4",
"created_at": "2094-04-08T04:18:45.391Z",
"id": "433d9b10-0f91-4719-ab76-f1d9cd52371b",
"last_message_at": "2068-01-28T04:15:11.719Z",
"recipe_id": "36166c5d-be09-48d7-9294-d0e0696dc811"
},
{
"title": "molestiae",
"owner_id": "d2b6d962-777d-4710-b0c4-e8316cf7fe0b",
"recipe_id": null,
"created_at": "2075-11-17T13:01:46.966Z",
"id": "e0374c8e-5fee-411b-a450-efdd5801358c",
"last_message_at": "2068-06-04T10:25:30.96Z"
}
]
Last modified: a year ago