ChatKit
ModelsExpand Collapse
class ChatKitWorkflow: …Workflow metadata and state returned for the session.
Workflow metadata and state returned for the session.
ChatKitSessions
Cancel chat session
Create ChatKit session
ChatKitThreads
List ChatKit thread items
Retrieve ChatKit thread
Delete ChatKit thread
List ChatKit threads
ModelsExpand Collapse
class ChatSessionChatKitConfigurationParam: …Optional per-session configuration settings for ChatKit behavior.
Optional per-session configuration settings for ChatKit behavior.
automatic_thread_titling: Optional[AutomaticThreadTitling]Configuration for automatic thread titling. When omitted, automatic thread titling is enabled by default.
Configuration for automatic thread titling. When omitted, automatic thread titling is enabled by default.
file_upload: Optional[FileUpload]Configuration for upload enablement and limits. When omitted, uploads are disabled by default (max_files 10, max_file_size 512 MB).
Configuration for upload enablement and limits. When omitted, uploads are disabled by default (max_files 10, max_file_size 512 MB).
class ChatSessionWorkflowParam: …Workflow reference and overrides applied to the chat session.
Workflow reference and overrides applied to the chat session.
state_variables: Optional[Dict[str, Union[str, bool, float]]]State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
class ChatKitThread: …Represents a ChatKit thread and its current status.
Represents a ChatKit thread and its current status.
status: StatusCurrent status for the thread. Defaults to active for newly created threads.
Current status for the thread. Defaults to active for newly created threads.
class ChatKitThreadItemList: …A paginated list of thread items rendered for the ChatKit API.
A paginated list of thread items rendered for the ChatKit API.
data: List[Data]A list of items
A list of items
class ChatKitThreadUserMessageItem: …User-authored messages within a thread.
User-authored messages within a thread.
content: List[Content]Ordered content elements supplied by the user.
Ordered content elements supplied by the user.
class ChatKitThreadAssistantMessageItem: …Assistant-authored message within a thread.
Assistant-authored message within a thread.
class DataChatKitClientToolCall: …Record of a client side tool invocation initiated by the assistant.
Record of a client side tool invocation initiated by the assistant.
class ChatKitThreadUserMessageItem: …User-authored messages within a thread.
User-authored messages within a thread.
content: List[Content]Ordered content elements supplied by the user.
Ordered content elements supplied by the user.