Get a row
One row by its record key (URL-encoded), with receipts; `history=true` adds up to 100 earlier versions, newest first.
/datasets/v1/{dataset}/records/{record_key}curl --request GET \
--url 'https://factget.dev/datasets/v1/{dataset}/records/{record_key}' \
--header "Authorization: Bearer $FACTGET_DATASETS_KEY"Replace IDs and sample values with your own. Examples are not executed in your browser.
Parameters
Path parameters
datasetstringrequiredrecord_keystringrequiredQuery parameters
historybooleanAdd earlier versions, newest first (at most 100).
Default:falseResponses
200Successful response
rowobjectrequiredA published row. Data columns are flat beside these fields, under the dataset's own column names; only the columns your subscription includes are present.
Show nested 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.
historyobject[] | nullWith history=true: newest first, at most 100 versions.
Show item properties
valuesobjectrequiredreceiptsobjectrequiredvalid_fromstring | nullvalid_tostring | null401Missing, 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.
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.