Get a correction
Where a correction your team sent stands: sent, accepted (the value is pinned), declined (with Factget's note), withdrawn, retired (the source now agrees) or conflict.
/datasets/v1/corrections/{correction_id}curl --request GET \
--url 'https://factget.dev/datasets/v1/corrections/{correction_id}' \
--header "Authorization: Bearer $FACTGET_DATASETS_KEY"Replace IDs and sample values with your own. Examples are not executed in your browser.
Parameters
Path parameters
correction_idstringrequiredResponses
200Successful response
correction_idstringrequiredstatusstringrequired"sent", "accepted", "declined", "withdrawn", "retired", "conflict"datasetstringrequiredrecord_keystringrequiredcolumnstringrequiredproposed_valueobjectdecision_notestring | nullFactget's reply when it declined.
created_atstring | nulldecided_atstring | 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.