ChatKit
ModelsExpand Collapse
ChatKitSessions
Cancel chat session
Create ChatKit session
ChatKitThreads
List ChatKit thread items
Retrieve ChatKit thread
Delete ChatKit thread
List ChatKit threads
ModelsExpand Collapse
class ChatSession:Represents a ChatKit session and its resolved configuration.
Represents a ChatKit session and its resolved configuration.
Resolved ChatKit feature configuration for the session.
Type discriminator that is always chatkit.session.
Resolved rate limit values.
Current lifecycle state of the session.
Workflow metadata for the session.
class ChatSessionChatKitConfiguration:ChatKit configuration for the session.
ChatKit configuration for the session.
Automatic thread titling preferences.
Upload settings for the session.
History retention configuration.
class ChatSessionChatKitConfigurationParam:Optional per-session configuration settings for ChatKit behavior.
Optional per-session configuration settings for ChatKit behavior.
Optional<AutomaticThreadTitling> automaticThreadTitlingConfiguration 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.
Optional<FileUpload> fileUploadConfiguration 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.
Optional<StateVariables> stateVariablesState 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 ChatKitResponseOutputText:Assistant response text accompanied by optional annotations.
Assistant response text accompanied by optional annotations.
class ChatKitThread:Represents a ChatKit thread and its current status.
Represents a ChatKit thread and its current status.
Type discriminator that is always chatkit.thread.
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 ChatKitThreadAssistantMessageItem:Assistant-authored message within a thread.
Assistant-authored message within a thread.
List<ChatKitResponseOutputText> contentOrdered assistant response segments.
Ordered assistant response segments.
class ChatKitThreadItemList:A paginated list of thread items rendered for the ChatKit API.
A paginated list of thread items rendered for the ChatKit API.
List<Data> dataA list of items
A list of items
class ChatKitThreadUserMessageItem:User-authored messages within a thread.
User-authored messages within a thread.
List<ChatKitAttachment> attachmentsAttachments associated with the user message. Defaults to an empty list.
Attachments associated with the user message. Defaults to an empty list.
List<Content> contentOrdered content elements supplied by the user.
Ordered content elements supplied by the user.
Optional<InferenceOptions> inferenceOptionsInference overrides applied to the message. Defaults to null when unset.
Inference overrides applied to the message. Defaults to null when unset.
class ChatKitThreadAssistantMessageItem:Assistant-authored message within a thread.
Assistant-authored message within a thread.
List<ChatKitResponseOutputText> contentOrdered assistant response segments.
Ordered assistant response segments.
class ChatKitWidgetItem:Thread item that renders a widget payload.
Thread item that renders a widget payload.
class ChatKitClientToolCall:Record of a client side tool invocation initiated by the assistant.
Record of a client side tool invocation initiated by the assistant.
class ChatKitTask:Task emitted by the workflow to show progress and status updates.
Task emitted by the workflow to show progress and status updates.
class ChatKitThreadUserMessageItem:User-authored messages within a thread.
User-authored messages within a thread.
List<ChatKitAttachment> attachmentsAttachments associated with the user message. Defaults to an empty list.
Attachments associated with the user message. Defaults to an empty list.
List<Content> contentOrdered content elements supplied by the user.
Ordered content elements supplied by the user.
Optional<InferenceOptions> inferenceOptionsInference overrides applied to the message. Defaults to null when unset.
Inference overrides applied to the message. Defaults to null when unset.
class ChatKitWidgetItem:Thread item that renders a widget payload.
Thread item that renders a widget payload.