List datasets
/datasetsThe account's datasets, most recently updated first (up to 200). Each item is compact: id, name, column counts, row_count, and the newest run. Columns, the bound enrichment, and recent runs are on GET /datasets/{id}; rows on GET /datasets/{id}/rows.
Responses
200Datasets listed
datasetsarray of DatasetListItemAttributes
idstringds_...
namestringnullableinput_column_countintegeroutput_column_countintegerrow_countintegerrows_expiredbooleannewest_runobjectnullableAttributes
idstringrun_...
typestringdataset_build = list generation; enrichment = a fill
statusstringcreated_atstring date-timefinished_atstring date-timenullablecreated_atstring date-timeupdated_atstring date-time401Missing or invalid API key (request_status body — see the AuthError schema)
request_statusstringmessagestringerror_typestring403The API key's account may not access this resource or endpoint (forbidden), or the account has not migrated to Datasets yet (feature_not_enabled — open Datasets in the app and click "Migrate to Datasets")
errorobjectrequiredAttributes
typestringrequiredMachine-readable error type (bad_request, not_found, forbidden, feature_not_enabled, duplicate_run_key, insufficient_credits, credit_cap_exceeded, validation, not_implemented, ...)
messagestringrequiredHuman-readable explanation
detailsanyOptional extra context (e.g. per-field validation errors)
credit_detailCreditDetailThe estimate made at kickoff next to what has been charged so far. estimate is null for runs
started before estimates existed. Estimates and credit errors add credits_remaining and sufficient_credits.
Attributes
estimateone ofrequiredAttributes
CreditEstimate model →
minimumnumberrequiredLeast the run can cost
expectednumberLikely cost from past runs of the same config; absent without history
typicalobjectRecent p25–p75 settled range for builds of this size; absent without a dataset build estimate
Attributes
lownumberrequiredhighnumberrequiredmaximumnumberrequiredMost the run can cost
upfrontnumberCredits taken at kickoff when charged_upfront is true; 0 when the charge accrues as work completes
charged_upfrontbooleanrequiredtrue when a deposit is taken at kickoff (dataset builds, extractions); false when credits accrue as work completes
- null
credits_usednumberrequiredCredits charged so far (same value as the top-level credits_used)
credits_remainingnumberAccount balance. Only on estimates and credit errors.
sufficient_creditsbooleanWhether the balance covers estimate.maximum. Only on estimates and credit errors.