One Health Atlas documentation
Geographies
View source

Check county geography availability

Check county geography availability

Error codes, retries, and value states are in Errors and retries.

Schemas: CanonicalGeographyAvailability, GeographyType, ProblemDetails.

GET
/v1/geographies/{geography_type}/{geography_id}/availability
OpenAPI schema

Check whether a county has published canonical geography data.

When to use it

The API confirms the county exists in the current release. It returns HTTP 200 with availability set to UNAVAILABLE, reason set to CANONICAL_GEOGRAPHY_UNPUBLISHED, and data set to null. The resource describes identity only, and the API returns no geometry. State availability is not supported.

Common problems

ResponseCause and what to do
400The ID is malformed, or you asked for a state. Send a five-digit county FIPS code.
404The county is not in the current release.
503The county directory is unavailable, empty, duplicated, or inconsistent with the current release. Retry later.

The response must not be cached.

geography_type*GeographyType

Kind of place: county or state. Any other value returns 400 INVALID_REQUEST.

Value in"county""state"
geography_id*Geography Id

FIPS code of the place, sent as a string with leading zeros kept: five digits for a county, two for a state. A code of the wrong length or with non-digits returns 400 INVALID_REQUEST. Connecticut counties use planning-region codes such as 09110.

Response Body

Confirmed current county identity; canonical publication is pending. This operation ignores If-None-Match and always returns 200 with the full body.

application/json
  1. response

The county exists, but its canonical geography data is not published yet.

availability*Availability

Always UNAVAILABLE: the county's geography data is not published.

reason*Reason

Why the data is unavailable. The geography data has not been published.

data*Data

Always null. The API returns no geography data or geometry.

release_id*Release Id

Identifies the county directory release used to confirm the county.

Length1 <= length
limitations*array<string>

Publication and representation boundaries, not scientific absence.

Items1 <= items

Response Headers

  • Content-Type

    Schema string

    Media type of the body: `application/json`.

  • Cache-Control

    Schema string

    How long a client or shared cache can reuse the response: `no-store`.

  • X-Request-ID

    Schema string

    Identifier for this request. Quote it when you ask for support. If you send a valid `X-Request-ID` request header, the API uses that value. Otherwise it generates one. A response that a shared cache replays can carry the identifier of the request that filled the cache.

Example Request
curl -X GET 'https://api.onehealthatlas.org/v1/geographies/county/08001/availability'
Example ResponseSchema
{  "availability": "UNAVAILABLE",  "reason": "CANONICAL_GEOGRAPHY_UNPUBLISHED",  "data": null,  "release_id": "governed-2026-10-15-january-climate-prod",  "limitations": [    "Canonical geography identity delivery is not published by this API capability.",    "County membership is confirmed from the governed county directory release. No canonical, display, or analysis geometry is returned or inferred."  ]}

Last updated on