Verify

Verify Observation

Return the single row this run wrote for (indicator, country, date).

Response shape::

{
    "run_id": "...",
    "requested": {indicator, country, date, expected_value},
    "found": {indicator_id, country_code, date, value, unit,
              source_id, run_id, transform_hash, ingested_at},
    "checksum": "af38ff77ae5a54ab",  # 16-char sha256 prefix of value fields
    "matches": true | false | null    # only present when expected_value given
}

Returns 404 if the row is not in the run. That is itself a useful verification signal — it means the citation is claiming something the run did not produce.

get/api/v1/verify/{run_id}/observation

Request

  • Base URL: https://api.africadb.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.africadb.com/api/v1/verify/{run_id}/observation
  • Auth: none declared

Path parameters

run_idstring required

Query parameters

indicatorstring required

Indicator ID from the citation

countrystring required

ISO-2 country code from the citation

datestring required

Observation date (YYYY-MM-DD or YYYY)

expected_valuenumber nullable

If provided, the response's matches boolean confirms whether the stored value equals it (within 1e-6).

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.