Skip to main content
GET
Ask AI to provide a widget based on a prompt request

Authorizations

X-BRONTO-API-KEY
string
header
required

Query Parameters

session_id
string<uuid>

the id identifying a chat session

userRequest
string
required

the prompt describing the widget requested

Response

The response, streamed as SSE, containing the suggested widget and/or the response from the LLM

type
enum<string>
required

Type of event returned

Available options:
LOADING_MESSAGE,
AI_RESPONSE_DELTA,
QUERY_RESPONSE,
RESPONSE_COMPLETED,
ERROR
message
string

The loading message or a chunk of the streamed response

session_id
string

The id of the session, if available

query
string

The query run by the LLM, if type is QUERY_RESPONSE

groups_series
object[]
totals
object