Omni AI
ModelsExpand Collapse
class ChartPayload: …
Typed chart payload rendered inline in assistant content.
class ContentPartChartPayload: …
Chart payload content part.
Typed chart payload rendered inline in assistant content.
class ContentPartStructuredActionPayload: …
Structured action content part.
Structured actions that Omni AI can return to clients.
These actions provide machine-readable instructions for the client to execute, such as prefilling an order ticket, opening a chart, or navigating to a route.
class OpenChart: …
class OpenScreener: …
Open a stock screener with filters
Open a stock screener with filters
columns: Optional[List[str]]
Optional field/column selection for screener results. When a null/undefined value is observed, it indicates it does not apply.
page_size: Optional[int]
Optional page size. When a null/undefined value is observed, it indicates it does not apply.
class OpenScreenerAction: …
Action to open a stock screener with filters.
columns: Optional[List[str]]
Optional field/column selection for screener results. When a null/undefined value is observed, it indicates it does not apply.
page_size: Optional[int]
Optional page size. When a null/undefined value is observed, it indicates it does not apply.
class PrefillNewOrderAction: …
New-order prefill action.
Orders to prefill using the same shape accepted by the orders API.
quantity: str
Quantity to trade. For COMMON_STOCK: shares (may be fractional if supported). For OPTION (single-leg): contracts (must be an integer)
id: Optional[str]
Optional client-provided unique ID (idempotency). Required to be unique per account.
expires_at: Optional[datetime]
The timestamp when the order should expire (UTC). Required when time_in_force is GOOD_TILL_DATE.
extended_hours: Optional[bool]
Allow trading outside regular trading hours. Some brokers disallow options outside RTH.
Union[PrefillNewOrderAction, PrefillCancelOrderAction]
Action to prefill order details for user confirmation.
The user must review and authorize the order before submission to the trading API. This action provides parsed order data that can be used to prefill an order ticket UI or submitted directly via the orders API after user confirmation.
Structured actions that Omni AI can return to clients.
These actions provide machine-readable instructions for the client to execute, such as prefilling an order ticket, opening a chart, or navigating to a route.
class OpenChart: …
class OpenScreener: …
Open a stock screener with filters
Open a stock screener with filters
columns: Optional[List[str]]
Optional field/column selection for screener results. When a null/undefined value is observed, it indicates it does not apply.
page_size: Optional[int]
Optional page size. When a null/undefined value is observed, it indicates it does not apply.
Omni AIEntitlements
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 Entitlements
Create Entitlements
Delete Entitlement
Get Entitlement Agreements
ModelsExpand Collapse
List[EntitlementResource]
Omni AIMessages
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 Message By ID
Submit Feedback
Omni AIResponses
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 Response By ID
Cancel Response
ModelsExpand Collapse
class Response: …
class ResponseGetResponseByIDResponse: …
Omni AIThreads
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.