Creates a secure iframe link with a cached JWT token.
API key authentication using Bearer scheme
User identifier: The UID of the user to create the iframe for. This is used to track usage and thread history. This can be anything you want, but it must be unique. We recommend using a user ID or email.
1List of Source/Connection IDs: The IDs of the sources/connections to use for the iframe. This is used to determine which sources/connections the user will have access to in the chat.
1Token lifetime in seconds (60-3600, default: 900)
60 <= x <= 3600Array of session-specific (stateless) knowledge base entries. These temporary entries apply only to this iframe instance and do not persist. They work alongside any persistent (stateful) entries previously created through /api/v1/knowledge-base/ for your connection IDs.
1Array of session-specific (stateless) reference query objects (e.g., {"title": "...", "query": "..."}). These temporary queries apply only to this iframe instance and do not persist. They work alongside any persistent (stateful) queries previously created through /api/v1/reference-queries/ for your connection IDs.
Model to use for generated threads
o3 - o3o4-mini - o4-minigpt-4.1 - gpt-4.1gpt-5 - gpt-5gpt-5-codex - gpt-5-codexsonnet-4 - sonnet-4sonnet-4.5 - sonnet-4.5haiku-4.5 - haiku-4.5o3, o4-mini, gpt-4.1, gpt-5, gpt-5-codex, sonnet-4, sonnet-4.5, haiku-4.5 Deprecated fallback. Prefer configuring response mode on the theme; this request parameter is only used if the theme is missing a response_mode.
full - fullbasic - basicfull, basic Theme configuration to apply to the iframe (theme_mode, custom_css_vars, start_message)
ID of the theme to apply (mutually exclusive with theme)
Deprecated fallback. Prefer configuring sidebar visibility on the theme; this request parameter is only used if the theme is missing a show_sidebar value.
Deprecated fallback. Prefer configuring dashboard visibility on the theme; this request parameter is only used if the theme is missing a show_dashboards value.
Optional per-uid rate limits