Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Threads

Delete a ChatKit thread
ThreadDeleteResponse beta().chatkit().threads().delete(params = ThreadDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE
/chatkit/threads/{thread_id}
List ChatKit threads
ThreadListPage beta().chatkit().threads().list(params = ThreadListParams.none(), requestOptions = RequestOptions.none())
GET
/chatkit/threads
List ChatKit thread items
ThreadListItemsPage beta().chatkit().threads().listItems(params = ThreadListItemsParams.none(), requestOptions = RequestOptions.none())
GET
/chatkit/threads/{thread_id}/items
Retrieve a ChatKit thread
ChatKitThread beta().chatkit().threads().retrieve(params = ThreadRetrieveParams.none(), requestOptions = RequestOptions.none())
GET
/chatkit/threads/{thread_id}
Models
class ChatSession:

Represents a ChatKit session and its resolved configuration.

class ChatSessionAutomaticThreadTitling:

Automatic thread title preferences for the session.

class ChatSessionChatKitConfiguration:

ChatKit configuration for the session.

class ChatSessionChatKitConfigurationParam:

Optional per-session configuration settings for ChatKit behavior.

class ChatSessionExpiresAfterParam:

Controls when the session expires relative to an anchor timestamp.

class ChatSessionFileUpload:

Upload permissions and limits applied to the session.

class ChatSessionHistory:

History retention preferences returned for the session.

class ChatSessionRateLimits:

Active per-minute request limit for the session.

class ChatSessionRateLimitsParam:

Controls request rate limits for the session.

enum ChatSessionStatus:
class ChatSessionWorkflowParam:

Workflow reference and overrides applied to the chat session.

class ChatKitAttachment:

Attachment metadata included on thread items.

class ChatKitResponseOutputText:

Assistant response text accompanied by optional annotations.

class ChatKitThread:

Represents a ChatKit thread and its current status.

class ChatKitThreadAssistantMessageItem:

Assistant-authored message within a thread.

class ChatKitThreadItemList:

A paginated list of thread items rendered for the ChatKit API.

class ChatKitThreadUserMessageItem:

User-authored messages within a thread.

class ChatKitWidgetItem:

Thread item that renders a widget payload.