An operator issues an API key for an external customer or partner integration. Keys may include an optional expiration date.
node scripts/manage-api-keys.js create --name="Acme Corp Integration"
node scripts/manage-api-keys.js create --name="Partner Portal" --expiresAt="2027-01-01"
2
Customer app
Call list endpoint
The customer app sends the API key in the request header and lists published datasets, optionally using filters.
GET /api/public/datasets?ecosystem=Estuary&page=1&limit=20
X-API-Key: snsddt_<key>
3
Public API
Validate and respond
The API validates the key, restricts results to published non-archived datasets, applies filters, and returns pagination metadata.
{
"data": [ ...dataset objects... ],
"pagination": {
"page": 1,
"limit": 20,
"totalCount": 84,
"totalPages": 5
}
}
4
Customer app
Open dataset details
The customer selects a dataset ID from the list response and retrieves the full dataset record with associated files.
GET /api/public/datasets/[id]
X-API-Key: snsddt_<key>