Skip to main content
POST
Create Chat
There is no dedicated dashboard creation endpoint. Dashboards are created by starting a chat and asking Ana to build one. Ana will generate the dashboard code, attach the relevant data sources, and return a link to the live dashboard.
To create a dashboard, use the Create Chat or Stream Chat endpoint and ask Ana to build a dashboard in your question.
Ana will respond with a chat that includes a dashboard asset. The response contains a dashboard_url in the assets array that links to the live dashboard.

Authorizations

Authorization
string
header
required

API key or JWT token

Body

question
string
required

The question to ask

chat_id
string<uuid>

Existing chat ID to continue a conversation

model
string

Optional model to run this chat on, as an id from GET /v2/models (e.g. gemini_3_5_flash). Omit to use the organization's default model. Only valid on new chats — supplying it together with chat_id returns 400, and a model the caller's org/role does not permit returns 403.

Example:

"gemini_3_5_flash"

tools
object

Tool configuration. Enable specific tools for this chat session.

connector_ids
integer<int32>[]

Connector IDs to query (shorthand for tools.connector_ids)

Response

Chat response

id
string<uuid>

Message ID

created_at
string<date-time>
model
string

LLM model name (e.g. default, sonnet_4, opus_4)

response
string

Markdown-formatted answer

chat_id
string<uuid>

Chat session ID

assets
object[]

Assets produced by this response. Earlier turns' assets are available via Get Chat.