Docs menu

APIs

Goal: Call your warm queries from anywhere.

Every warm query is automatically a REST endpoint. Open the APIs menu to find it with ready-to-copy cURL, TypeScript, and Python; the panel shows your exact URL:

https://openx.fathym.com/ox-api/warm-queries/{lookup}

Authenticate

APIs -> API Keys: pick an expiration (15 minutes to 90 days) or a custom duration of up to 90 days, pick the rights the key carries, Generate JWT, copy once. Treat tokens like passwords; scope them to what the integration needs (see Security).

A workspace in App Identity mode turns team keys away. For that case, and for apps and jobs, see Call the API from your app.

Call it

curl -X GET 'https://openx.fathym.com/ox-api/warm-queries/{lookup}' \
  -H 'Authorization: Bearer YOUR_TOKEN'

Power BI and Grafana

A warm query answers Outputs, each with Columns and Rows; a row is a list of values in the order of Columns, not a record. The two guides show how to read that in each tool:

  • Power BI: Get Data -> Web, the bearer header, the table, refresh and token expiry
  • Grafana: a JSON data source, field paths by position, variables and alerts

Where it plugs in

ToolHow
Power BIWeb/REST connector - guide
GrafanaJSON data source - guide
Dashboards / appsDirect HTTP
Any AIMCP - see Bring Any AI

Next steps

On fathym.com: OpenX →

On this page