Find Chats
Retrieves a list of existing chats, with support for pagination and filtering by favorite status. Helps manage and navigate chat history.
Parameters
Query Parameters
limit number
Specifies the maximum number of chat records to return in a single response. Useful for paginating results when there are many chats.
offset number
Determines the starting point for pagination. Used in conjunction with limit to retrieve a specific page of chat results.
isFavorite enum
Filters chats by their "favorite" status. Accepts "true"
or "false"
(as strings, not booleans).
-
"true"
: returns only chats marked as favorites. -
"false"
: returns only non-favorite chats.
Possible values:
true
false
Response
Response Body
object string Required
data any[] Required
Array items: string
Create Chat
Creates a new chat using a user message, optional system context, and model configuration. Useful for prompting the model within the scope of a specific project.
Initialize Chat
Initializes a new chat from source content such as files, repositories, registries, or zip archives. Enables context-rich conversations based on code or assets.