Generate a query
Changed onGenerate a structured Omni query from natural language using AI.
For exploratory or cross-topic questions, use Create AI job instead.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/generate-query
- AuthHTTP bearer
Request body
Example request
{
"requestedLlm": {
"model": "claude-sonnet-5",
"provider": "bedrock",
"thinking": "medium"
}
}Response
Successfully generated query.
When your organization is over its AI credit threshold, the response also includes downgradedLlm, naming the LLM the query was generated on, and the deprecated downgradedModelTier, always haiku.
Example response
{
"topic": "order_items",
"baseView": "users",
"downgradedLlm": "claude-haiku-5-5",
"downgradedModelTier": "haiku"
}Changes
- breaking
added to the
request propertyallOflist - breaking
the
request property type changed fromobjectto no type - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
the
request property default valuewas added - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking