Skip to main content
POST
Ask a natural-language analytics question

Body Parameters

Example Request

Response

Notes

  • The AI engine translates your natural language question into a structured query against your billing database.
  • The query field in the response shows the generated SQL for transparency and debugging.
  • Complex questions may take up to 10 seconds to process.
  • Results are scoped to your organization’s data and respect role-based access controls.
The query field is provided for informational purposes only. Do not execute it directly against your database.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Body

application/json
question
string
required
Example:

"What was my MRR growth over the last 3 months?"

Response

Query result.

data
any

Result rows for the generated SQL query.

query
string

The generated SQL that produced the rows.