Developers /Datasets API

List your datasets

The datasets your team subscribes to (and those shared with it), with what the subscription follows and how the dataset is covered.

GET/datasets/v1/datasets
GET example
curl --request GET \
  --url 'https://factget.dev/datasets/v1/datasets' \
  --header "Authorization: Bearer $FACTGET_DATASETS_KEY"

Replace IDs and sample values with your own. Examples are not executed in your browser.

Authorization

Authorizationstring · header · required

Bearer Datasets API key with the required scope. Learn about authentication →

Responses

200Successful response
application/json
datasetsobject[]required
Show item properties
slugstringrequired

The dataset's name in every URL, e.g. us-siting-restrictions.

titlestringrequired
one_row_perstringrequired

E.g. "jurisdiction × technology".

identifierobjectrequired
Show nested properties
columnsstring[]required
formatstringrequired

E.g. "{jurisdiction}, {state}".

nounstringrequired

E.g. jurisdiction.

columnsobject[]required
Show item properties
namestringrequired
typestringrequired
Allowed: "text", "number", "date", "enum", "boolean"
meaningstringrequired
keybooleanrequired

Part of the row's key.

systembooleanrequired

last_checked and collected_by.

tracked_sincestring | null

The first date the column was collected.

entityobject | null

When the column names an entity other datasets share: {"type": "company", "part": "cik"}.

refreshobjectrequired
Show nested properties
cadencestringrequired
Allowed: "daily", "weekly", "monthly"
hour_utcintegerrequired
minuteintegerrequired
labelstringrequired

E.g. "Weekly, Mondays".

weekdayinteger | null

Weekly: ISO weekday, 1 = Monday.

dayinteger | null

Monthly: day of the month, 1 to 28.

last_refresh_atstring | null
next_refresh_atstring | null
coverageobject | null
Show nested properties
statementstringrequired

One sentence: how many identifiers, how many by workflow and by agent, how many not covered, and recall against the reference list.

agent_sharenumberrequired

Share of identifiers collected by agent, 0 to 1.

recallnumber | null

Share of the owner's reference list that is live; null without a list.

subscriptionobject | null

Your team's subscription; null for a catalogue dataset read with lookup.

Show nested properties
identifiers_modestringrequired
Allowed: "all", "list"
identifiersintegerrequired

Identifiers followed.

rowsintegerrequired

Rows under them.

columnsstring[]required

The data columns chosen; key and system columns always come.

accessstring

team: a dataset a teammate built and shared, read free.

Default: "subscribed"Allowed: "subscribed", "team"
401Missing, unknown or revoked key (invalid_key).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

403The key lacks a scope (insufficient_scope), or the team does not subscribe (not_subscribed).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

429Over the key's per-minute limit (rate_limited), or every identifier was refreshed on demand in the last hour (refresh_too_soon); wait for Retry-After.
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

503The Datasets API is turned off (datasets_off).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

The API schema lists the responses above. Long-running operations can also return 202; see async jobs. For application errors, see errors & retries.