Generate a structured Omni query from natural language using AI
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The ID of the model to run the query against
Natural language instruction describing the desired query output
Name of the base topic/table. If left empty, AI will automatically choose a topic based on the question.
When true, returns an Omni workbook URL that opens and runs the generated query
The ID of the model branch to use to generate the query. If not provided, the main branch will be used.
A query object to provide as context. Use this to reference previous queries or provide additional context for the generation.
When true, returns a more strictly structured query format. This is useful for applications that need to parse the query structure.
Successfully generated query