Workspace
DemoCreate a free demo workspace (limited to 10 datasets and 5,000 records) or connect with an existing API key.
or
Copy this API key now. It is shown once and stored only as a SHA-256 hash.
Data platform · v0.1
Declare a schema, stream JSON records in batches of up to 500, filter and page through them, and export spreadsheet-safe CSV or JSON. Every request is scoped to one workspace and enforced again by Postgres row-level security.
Create a free demo workspace (limited to 10 datasets and 5,000 records) or connect with an existing API key.
Copy this API key now. It is shown once and stored only as a SHA-256 hash.
| Run a query to see records. |
# create a dataset
curl -X POST $HOST/api/v1/datasets \
-H "Authorization: Bearer $DATAHUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"orders","fields":[
{"name":"sku","type":"string","required":true},
{"name":"qty","type":"number"},
{"name":"sold_on","type":"date"}]}'
# ingest (idempotent on retry)
curl -X POST $HOST/api/v1/datasets/orders/records \
-H "Authorization: Bearer $DATAHUB_KEY" \
-H "Idempotency-Key: import-001" \
-H "Content-Type: application/json" \
-d '{"records":[{"sku":"A-1","qty":3,"sold_on":"2026-10-17"}]}'
# query and export
curl "$HOST/api/v1/datasets/orders/query?filter=qty:gt:2&sort=qty:desc&limit=50" \
-H "Authorization: Bearer $DATAHUB_KEY"
curl -OJ "$HOST/api/v1/datasets/orders/export?format=csv" \
-H "Authorization: Bearer $DATAHUB_KEY"