FactQL
v0.1.7Ask plain-English questions of your database: answers, the query that ran, and the rows.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
What this API key can see: tenant, plan, and the workspaces it may query. Use it to find a `workspace_id` before calling `ask` on a tenant that uses workspaces. `has_data` false means nothing is connected yet: `ask` would return `no_data`, so pass the `note` on instead.
ask
Ask a plain-English question about the connected data. Returns the answer, the query that ran (when any), and up to 50 rows. `workspace_id` scopes the question when the tenant uses workspaces (see `whoami`); `locale` is "en-GB" or "en-US" for the answer's wording. A `needs_clarification` result means the question was too vague: ask the user, then call again with the detail. A `declined` result means FactQL could not verify an answer and chose not to guess: pass the `reason` on and don't invent a figure. A `no_data`, `schema_not_ready`, `email_unverified` or `li…
| Parameter | Type | Description |
|---|---|---|
question * | string | |
locale | ||
workspace_id |