ChatKit
ModelsExpand Collapse
chatkit_workflow: object { id, state_variables, tracing, version } Workflow metadata and state returned for the session.
Workflow metadata and state returned for the session.
ChatKitSessions
ChatKitThreads
List ChatKit thread items
ModelsExpand Collapse
chat_session: object { id, chatkit_configuration, client_secret, 7 more } Represents a ChatKit session and its resolved configuration.
Represents a ChatKit session and its resolved configuration.
chatkit_configuration: object { automatic_thread_titling, file_upload, history } Resolved ChatKit feature configuration for the session.
Resolved ChatKit feature configuration for the session.
workflow: object { id, state_variables, tracing, version } Workflow metadata for the session.
Workflow metadata for the session.
chat_session_chatkit_configuration: object { automatic_thread_titling, file_upload, history } ChatKit configuration for the session.
ChatKit configuration for the session.
chat_session_chatkit_configuration_param: object { automatic_thread_titling, file_upload, history } Optional per-session configuration settings for ChatKit behavior.
Optional per-session configuration settings for ChatKit behavior.
automatic_thread_titling: optional object { enabled } 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 object { enabled, max_file_size, max_files } 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).
chat_session_workflow_param: object { id, state_variables, tracing, version } Workflow reference and overrides applied to the chat session.
Workflow reference and overrides applied to the chat session.
state_variables: optional map[string or boolean or number]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.
chatkit_response_output_text: object { annotations, text, type } Assistant response text accompanied by optional annotations.
Assistant response text accompanied by optional annotations.
chatkit_thread: object { id, created_at, object, 3 more } Represents a ChatKit thread and its current status.
Represents a ChatKit thread and its current status.
status: object { type } or object { reason, type } or object { reason, type } Current status for the thread. Defaults to active for newly created threads.
Current status for the thread. Defaults to active for newly created threads.
chatkit_thread_assistant_message_item: object { id, content, created_at, 3 more } Assistant-authored message within a thread.
Assistant-authored message within a thread.
chatkit_thread_item_list: object { data, first_id, has_more, 2 more } A paginated list of thread items rendered for the ChatKit API.
A paginated list of thread items rendered for the ChatKit API.
data: array of ChatKitThreadUserMessageItem { id, attachments, content, 5 more } or ChatKitThreadAssistantMessageItem { id, content, created_at, 3 more } or ChatKitWidgetItem { id, created_at, object, 3 more } or 3 moreA list of items
A list of items
chatkit_thread_user_message_item: object { id, attachments, content, 5 more } User-authored messages within a thread.
User-authored messages within a thread.
content: array of object { text, type } or object { text, type } Ordered content elements supplied by the user.
Ordered content elements supplied by the user.
chatkit_thread_assistant_message_item: object { id, content, created_at, 3 more } Assistant-authored message within a thread.
Assistant-authored message within a thread.
chatkit_widget_item: object { id, created_at, object, 3 more } Thread item that renders a widget payload.
Thread item that renders a widget payload.
chatkit.client_tool_call: object { id, arguments, call_id, 7 more } Record of a client side tool invocation initiated by the assistant.
Record of a client side tool invocation initiated by the assistant.
chatkit.task: object { id, created_at, heading, 5 more } Task emitted by the workflow to show progress and status updates.
Task emitted by the workflow to show progress and status updates.
chatkit_thread_user_message_item: object { id, attachments, content, 5 more } User-authored messages within a thread.
User-authored messages within a thread.
content: array of object { text, type } or object { text, type } Ordered content elements supplied by the user.
Ordered content elements supplied by the user.