Developers /Datasets API

Submit a correction

Tell Factget one value is wrong, with a note (10 to 1000 characters) and an optional evidence link. If Factget agrees the value is corrected for every subscriber, marked as corrected, and held until the source agrees.

POST/datasets/v1/{dataset}/corrections
POST example
curl --request POST \
  --url 'https://factget.dev/datasets/v1/{dataset}/corrections' \
  --header "Authorization: Bearer $FACTGET_DATASETS_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "record_key": "Loudoun County|VA|data_center",
  "column": "effective_to",
  "value": "2027-09-30",
  "note": "The board extended the moratorium on 5 November; see the minutes.",
  "evidence_url": "https://www.loudoun.gov/minutes/2026-11-05.pdf"
}'

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 →

Parameters

Path parameters

datasetstringrequired

Request body

application/json
record_keystringrequired

The row's record key.

columnstringrequired

A data column you can read (not a key column).

notestringrequired

Why the value is wrong: 10 to 1000 characters.

valuestring | number | boolean | null

The right value, when you know it (text up to 1000 characters, a number or true/false); leave out to say the value is wrong without one.

evidence_urlstring | null

An http(s) link that shows the right value.

Responses

200Successful response
application/json
correction_idstringrequired
statusstring
Default: "sent"
201Successful Response
application/json

The published schema does not define individual response fields for this endpoint. Inspect the returned JSON in your integration.

400Invalid request: a parameter failed validation (invalid_request, details.field).
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.

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.

404Unknown dataset, row or request, or another team's (not_found).
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.

409A state conflict: correction_open, key_column, pending.
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.