List rows
Your team's rows (`view=mine`), every row (`view=all`, with an all-identifiers subscription), or the rows of named identifiers (`identifier=`, up to 50): followed identifiers are free; other live identifiers are lookups (1 check each, 5 for an identifier collected by agent, free again until the next refresh; needs `lookup`); an identifier not in the dataset becomes a request (`202`, needs `request`) unless `on_missing=error` (`404`). Filter with `filter.<column>=a,b` and `collected_by`; add rows of other datasets with `join`; `refresh=now` also queues an on-demand refresh.
/datasets/v1/{dataset}/recordscurl --request GET \
--url 'https://factget.dev/datasets/v1/{dataset}/records' \
--header "Authorization: Bearer $FACTGET_DATASETS_KEY"Replace IDs and sample values with your own. Examples are not executed in your browser.
Parameters
Path parameters
datasetstringrequiredQuery parameters
viewstringmine: the identifiers you follow. all: every row; needs a subscription to all identifiers.
Default:"mine"Allowed: "mine", "all"identifierstring[]Identifiers, as written in the dataset's format
Default:[]columnsstring | nullComma-separated columns
as_ofstring | nullISO time: the rows valid then
expandstring | nullreceipts: a receipt for every visible value.
Allowed:"receipts"on_missingstringrequest: an identifier not in the dataset becomes a request. error: answer 404 identifier_not_found and charge nothing.
Default:"request"Allowed: "request", "error"refreshstring | nullnow: also queue an on-demand refresh of the asked identifiers (or every followed one); needs `lookup`, charged like POST /v1/{dataset}/refresh. The rows are the current ones; `refresh.poll` says where the new ones appear.
Allowed:"now"collected_bystring | nullworkflow or agent: only rows collected that way.
Allowed:"workflow", "agent"joinstring[]A dataset slug (up to 3): each row gains `related.<slug>`, the rows of that dataset linked to it through a shared entity (free where your team follows them; lookups with `lookup`).
Default:[]cursorstring | nullThe next_cursor of the previous page.
limitstring | nullRows per page, 1 to 1000, default 100.
filter.<column>stringComma-separated values of one visible column, e.g. filter.state=VA,OH (equality; columns AND, values OR; at most 10 columns and 100 values).
Responses
200Successful response
datasetstringrequiredrowsobject[]requiredShow item properties
identifierstringrequiredThe identifier the row belongs to, e.g. "Loudoun County, VA".
record_keystring | nullThe row's key, e.g. "Loudoun County|VA|data_center"; null on a requested placeholder.
collected_bystring"workflow"Allowed: "workflow", "agent"last_checkedstring | nullWhen the row was last refreshed.
row_statusstringstale: not checked within the dataset's refresh window; requested: a placeholder for an identifier not in the dataset yet.
Default:"live"Allowed: "live", "stale", "removed", "requested"receiptsobject | nullOne receipt per visible data column (expand=receipts, and single-row reads).
correctedstring[] | nullColumns whose value Factget corrected after a customer report (left out when none).
relatedobject | nullWith join=<slug>: the rows of that dataset linked to this row, by slug.
expected_atstring | nullRequested placeholders only.
request_idstring | nullRequested placeholders only.
missingobject[]requiredIdentifiers asked for that are not in the dataset yet.
Show item properties
identifierstringrequiredstatusstringrequiredThe request's status, e.g. sent.
request_idstringrequiredchargedobjectrequiredShow nested properties
lookupintegerrequiredLookup checks this call charged.
as_ofstring | nullnext_cursorstring | nullrefreshobject | nullWith refresh=now.
Show nested properties
queuedintegerrequiredchargedintegerrequiredChecks charged now.
skippedobject[]requiredShow item properties
identifierstringrequiredreasonstringrequiredrecent: refreshed on demand in the last hour (retry_at); pending: an agent change waits for its second read.
Allowed:"recent", "not_live", "pending", "not_followed"retry_atstring | nullpollstringrequiredWhere the new values appear: the dataset's changes after the latest change.
expected_bystring | null202None of the identifiers asked for is in the dataset yet; each became a request (or is already one of your team's).
requestsobject[]requiredShow item properties
identifierstringrequiredrequest_idstringrequiredstatusstringrequiredstatusstring"requested"400Invalid request: a parameter failed validation (invalid_request, details.field).
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.
401Missing, unknown or revoked key (invalid_key).
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.
402Not enough checks left for the lookups this call needs (insufficient_checks); nothing is charged.
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore 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).
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.
404Unknown dataset, row or request, or another team's (not_found).
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore 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.
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore 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).
errorstringrequiredA sentence for a person.
codestringrequiredA 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.
successbooleanfalsedetailsobject | nullMore 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.