The Luzmo IQ API is a REST API for AI-powered data insights. Use it when you need programmatic control over IQ - for example, to build custom chat backends, integrate IQ into your own chat UI, or generate formulas from natural language.
| Resource | What it does | Typical use |
|---|---|---|
| IQMessage | Send (conversational) prompts, receive streamed responses (text and/or charts) | Power the Answer component, custom chat UIs, or one-off data queries |
| IQConversation | Retrieve (Multi-turn) conversations from the conversations with Luzmo IQ (IQMessage) | Find or continue a chat session |
| ** **IQFormula ** | Natural language → formula expression | Create aggregation formulas via prompts |
Custom chat backends : Your own chat interface, with an LLM routing data questions to IQ (see Adding Luzmo IQ to your agentic workflow guide for an example implementation)
Answer component : Feed /iqmessage responses into the Answer component to easily render Luzmo IQ's messsages (& charts)
Headless automation : Scripts, reports, or scheduled jobs that query data in natural language
Formula generation : Turn prompts like “total sales including tax” into Luzmo formula expressions