Instant Dataset REST API

tools/dataset-rest-apiTransform & Delivery

Query promoted tables over HTTPS REST with typed JSON filters, sorts, and aggregates.

Every promoted dataset exposes a zero-config HTTPS JSON endpoint at POST /api/v2/public/tables/{id}/query. Send typed filters, column picks, sorts, group-by aggregates, and pagination without running servers.

Use in chatIngest and clean quarterly company ratios in DuckDB SQL, attach primary-key checks, and verify clean column descriptions for REST API querying.

What Instant Dataset REST API does

Instant Dataset REST API activates the moment a table passes its first quality-checked pipeline run. No servers, gateways, or database instances are needed to serve live queries.

Every request respects visibility rules (public, link-shared, or workspace-scoped) and returns typed JSON backed by immutable snapshots. Scheduled refreshes update live pointers atomically.

Input & output example

Every promoted table exposes typed JSON filtering, sorting, and aggregation immediately.

REST JSON query request

POST /api/v2/public/tables/tbl_8k91/query
{ "columns": ["sector", "pe_ratio"], "filters": [{"column": "fiscal_year", "operator": "eq", "value": 2026}], "group_by": ["sector"], "aggregates": [{"function": "avg", "column": "pe_ratio", "as": "avg_pe_ratio"}] }

Typed JSON response rows

sectoravg_pe_ratio
Semiconductors28.4
Utilities16.9

How it works

  1. 1

    Promote a verified dataset table

    After a table completes its first successful run with passing assertions, its REST endpoint activates automatically.

  2. 2

    Send typed JSON query requests

    POST filter predicates, column projections, ORDER BY clauses, group-by aggregates, and page limits to the endpoint.

  3. 3

    Consume version-pinned JSON responses

    Receive structured JSON rows backed by immutable snapshots while refreshes update live pointers atomically.

Try with an agent

Pre-loads Dataset REST API in chat

Build an API-ready financial benchmark table

Ingest and clean quarterly company ratios in DuckDB SQL, attach primary-key checks, and verify clean column descriptions for REST API querying.

Design a multi-filter regulatory lookup API

Structure environmental permit records with clean enum status and date columns so applications can filter efficiently via the Dataset REST API.

Common use cases

  • Powering live web dashboards without managing backend APIs
  • Fetching filtered slices of multi-million-row tables
  • Running server-side group-by aggregations over public or workspace tables
  • Serving versioned JSON feeds secured by workspace auth or open access

Details

Identifier
dataset-rest-api
Inputs
Promoted table version · JSON query predicates
Outputs
POST /api/v2/public/tables/{id}/query · Typed JSON rows & aggregates
Dataset delivery
Parquet · CSV · JSON · SQL · REST API · MCP

Frequently asked questions

Do I need to deploy servers or write FastAPI routes for the REST API?

No. Every promoted table automatically receives a typed JSON query endpoint upon its first successful run.

What query operations are supported over REST JSON?

Column projection, typed comparison filters, sorting, group_by aggregates, and keyset cursor pagination for row scans are built in.

How are private workspace tables authenticated on the REST API?

Public datasets are openly queryable, while workspace datasets enforce OAuth or personal API/device key authorization.

Related tools