Threads
Thread-centric AI assistant for conversational trading. Create threads to start conversations, poll response objects for in-progress output, and read finalized messages from thread history. Thread/message/response endpoints require an explicit account_id. Entitlement endpoints are caller-scoped and use account_ids.
Get Threads
Get Thread
Create Thread
Get Thread Response
Get Messages
Create Message
ModelsExpand Collapse
Message object { id, content, created_at, 6 more }
Final immutable message.
Finalized immutable message content container. Never includes thinking parts.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
Immutable snapshots attached to this user message. Omitted when none were supplied. When a null/undefined value is observed, it indicates that there is no available data.
MessageContent object { parts }
Finalized immutable message content container. Never includes thinking parts.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
MessageContentPart = ContentPartTextPayload { text } or ContentPartStructuredActionPayload { action, action_id, clicked, 2 more } or ContentPartChartPayload { payload } or 2 more
Final immutable content part visible on persisted messages.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
Finalized immutable message content container. Never includes thinking parts.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
Immutable snapshots attached to this user message. Omitted when none were supplied. When a null/undefined value is observed, it indicates that there is no available data.
TurnContext object { items }
Client snapshots attached to one instant-chat user message.
Context is separate from visible message text and does not grant account access. The compact JSON representation must not exceed 64 KiB.
Dynamic pollable response.
When a null/undefined value is observed, it indicates that there is no available data.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
Finalized immutable message content container. Never includes thinking parts.
ContentPartStructuredAction = ContentPartStructuredActionPayload { action, action_id, clicked, 2 more }
Immutable snapshots attached to this user message. Omitted when none were supplied. When a null/undefined value is observed, it indicates that there is no available data.