Skip to content

Developers

Qry from your own systems

Ask from a script, publish data to another system, connect your tools and keep your work in Git — with the same permissions as the web.

Chat API

Ask from anywhere

One call, one answer. The token identifies one person, so the answer is exactly what that person would see in the web — same permissions, same rules.

The response carries the answer, any tables or charts as attachments, the number of tool calls and — when a figure in the answer is not in the data Qry read — a warning.

Chat API reference (opens in a new tab)
Request
curl https://qry.your-company.com/api/v1/gateway/chat \
  -H "Authorization: Bearer $QRY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Sales by region last quarter vs the one before",
    "datasource_id": "<datasource id>"
  }'
Response
{
  "chat_id": "c2f1…",
  "conversation_id": "8a07…",
  "text": "Sales grew 6.4% quarter on quarter. North led with…",
  "attachments": [
    { "type": "dataset", "row_count": 4, "data_ref": "…" }
  ],
  "tool_calls": 2,
  "elapsed_seconds": 7.9,
  "truncated": false
}
  • Data products over HTTP

    Publish curated datasets with Nexus and give other systems API keys — row filters, column masks, rate limits and an audit log included.

    Nexus
  • MCP servers

    Connect Model Context Protocol servers and their tools become available to Qry's assistant, with oversized results turned into files instead of truncated.

    Docs: MCP servers (opens in a new tab)
  • Git folders

    Notebooks, pipelines, jobs and skills as readable files in GitHub, GitLab or Bitbucket — SQL in plain blocks, notebooks merged cell by cell.

    Docs: Git folders (opens in a new tab)
  • Operator CLI

    One binary to check an installation before and after an upgrade, audit model settings and gather a support bundle.

    Docs: Operator CLI (opens in a new tab)

API reference

Every endpoint is described in OpenAPI and documented on docs.qry.dev.

Open the API reference(opens in a new tab)

See it on your own data

We'll set up Qry against a dataset you choose and walk you through it — one hour, no slides.