Docs
Sign in

Data API

The Data API page lists the endpoints your project exposes. Each named query is an endpoint that agents and automations can call, and this page is where you test them, copy their addresses, share them, and see the API's technical specification.

Screenshot to add: The Data API page with the Endpoints and OpenAPI Explorer tabs and a list of endpoint cards with their Test, copy and share buttons.

The subtitle reads "Named query endpoints — agents auto-discover these as callable tools". Without an open project the Endpoints tab says "No project selected — choose one from the sidebar".

Endpoints tab

Each named query is a card, with a line above the list such as 3 endpoints. With none, the page says "No named endpoints yet. Write a query in the Query Editor and click "Save as endpoint"". You can also create one on the Named Queries page.

PartWhat it shows
NameThe query's name
Namespace tagThe namespace it belongs to, if you set one
DescriptionA line about what it does
RunsHow many times it has been run, such as 12 runs

Card controls

ControlWhat it does
Copy endpoint path (clipboard icon)Copies the path of the endpoint, /api/v1/data/named-queries/<id>/execute
Mint share link (share icon)Creates a link you can pass on, and copies it
TestRuns the query and shows a sample. It reads Running… while it works
Bin iconDeletes the endpoint
expand SQL / collapseShows or hides the SQL

Test an endpoint

Click Test. The card opens to show the SQL and a result: the first 5 rows, and a footer such as 1,200 rows · 340ms · showing 5. Empty values show as null. If the query fails, the error is shown in red.

Share a query

Click the share icon to mint a share link. The link is copied to your clipboard, and a message says "Share link copied to clipboard" with when it expires, such as Expires 10/20/2026, 4:00 PM. If your browser blocks the clipboard, the link and its expiry are shown in a message instead, so you can copy it by hand.

Share links expire, so make a new one when an old one stops working. Share a link only with people who should see the data.

OpenAPI Explorer tab

The OpenAPI Explorer tab shows the technical specification of the Data API, the kind developers use to build a connection.

  • Spec source links to the machine-readable specification, /api/v1/data/openapi.json. Tools that can read an OpenAPI file can use it to generate code.
  • Below it, an interactive page lists every operation of the Data API.
  • A note explains: "Swagger UI is read-only — use the Test buttons on the Endpoints tab to invoke a query." So you can read how each call works here, but run your queries from the Endpoints tab.

How agents and automations use these endpoints

  • Agents find the endpoints on their own and use them as tools. An agent reads each query's name and description to decide whether it fits a request, so write clear ones.
  • Automations call the endpoint path from a workflow or script.