# Start with One Health Atlas (https://onehealthatlas.org/docs)

> Understand One Health Atlas, an Epidemiologist Decision Intelligence Platform for evidence-backed tick-borne disease investigation.

One Health Atlas is an **Epidemiologist Decision Intelligence Platform** for Lyme disease and other tick-borne diseases. It brings fragmented human disease, tick/vector, pathogen, climate, habitat, population, and scientific evidence together so epidemiologists can understand what is happening, investigate why, and decide what deserves closer review.

Our product vision is **from fragmented surveillance data to timely, interpretable, evidence-backed public-health action**. Atlas is being built to identify what matters, explain why it matters, communicate uncertainty, and help epidemiologists decide what deserves investigation.

The platform supports a practical path from `data` to `signals`, `context`, `interpretation`, `investigation`, and—when the evidence supports it—public-health action.

Start with the orientation guides:

* [What is One Health Atlas?](https://onehealthatlas.org/docs/what-is-atlas) — the product category, purpose, and boundaries.
* [Who is One Health Atlas for?](https://onehealthatlas.org/docs/who-is-atlas-for) — the people and questions the platform is designed to support.
* [The One Health Atlas decision-support workflow](https://onehealthatlas.org/docs/atlas-workflow) — how Atlas moves from One Health evidence to an investigation question.
* [Professional workspace](https://onehealthatlas.org/docs/professional-workspace) — the signed-in Atlas Explorer, Compare, Ask Atlas, Feed, Settings, and Docs destinations.
* [Current capabilities](https://onehealthatlas.org/docs/current-capabilities) — what is available now, planned, experimental, or not supported.
* [Investigation workflows](https://onehealthatlas.org/docs/investigation-workflows) — practical question-to-next-step guides for reviewing a signal.
* [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty) — how to interpret outputs and distinguish missing evidence from low observed signal.
* [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence) — how governed sources are designed to become one evidence model, and what is released today.
* [AI-enabled decision intelligence](https://onehealthatlas.org/docs/ai-enabled-decision-intelligence) — what AI means in Atlas and the status of current, planned, and experimental capabilities.
* [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access) — the public REST contract, and the current status of MCP and API keys.
* [API reference](https://onehealthatlas.org/docs/api-reference) — the public OpenAPI contract rendered from the pinned spec, including version and source.
* [FAQ and troubleshooting](https://onehealthatlas.org/docs/faq-and-troubleshooting) — answers for interpretation, loading, filters, data availability, and HelpDocs navigation.
* [Developer overview](https://onehealthatlas.org/docs/develop) — anonymous REST reads, from one county request through citation.

## Who Atlas is for [#who-atlas-is-for]

Atlas is designed for epidemiologists, public-health surveillance teams, researchers, and other partners who need to review geographic signals without losing sight of the evidence quality behind them.

Use Atlas when you need to ask:

* What is happening, and where?
* What evidence supports that interpretation?
* How current, complete, and comparable is the evidence?
* Which areas or signals may warrant investigation next?

## What Atlas is — and is not [#what-atlas-is--and-is-not]

Atlas is a decision-support platform, not an autonomous decision-maker. It helps users organize and interpret public evidence; it does not replace epidemiologists, public-health analysts, or domain experts.

Atlas helps users explore patterns in public evidence at the county level. A review-priority score or other analytical signal is a structured way to focus questions; it is not a diagnosis, an individual exposure or disease-risk prediction, a measure of disease burden, or proof of causation.

The current release is an early public prototype and situational-awareness foundation. Capability pages distinguish verified public behavior from planned, in-development, and experimental work. Atlas should help identify signals and investigation candidates—not claim that an outbreak will occur or that a geography is definitively safe or unsafe.

## A quick start [#a-quick-start]

Signed-in workspace:

1. Sign in and open [Atlas Explorer](https://onehealthatlas.org/explore). Choose the United States or one state.
2. Use the map and the county list together, then open county evidence for one county. Suggested follow-up is on that same page.
3. Open [Compare](https://onehealthatlas.org/compare) for two counties. Read [the professional workspace](https://onehealthatlas.org/docs/professional-workspace) for the six destinations and for what is still empty or experimental.
4. Open **Docs** from the workspace navigation when you need this reference. It opens in a new tab and leaves the review address in the original tab.

Older public bookmarks such as `/overview`, `/geographic_explorer`, and `/investigate` open Atlas Explorer after sign-in. They are not separate pages.

## Read the evidence carefully [#read-the-evidence-carefully]

Atlas combines measures that can have different geographies, years, publishers, and update schedules. The application displays the release and methodology information available for the current result. Check the source and vintage before comparing measures.

### Missing is not zero [#missing-is-not-zero]

An absent published county record can reflect zero reported cases, suppression, an unavailable source, a different reporting boundary, or another limitation. Do not treat a missing value as proof that no disease or surveillance activity exists.

### Start with provenance [#start-with-provenance]

For a defensible follow-up question, record the source, source vintage, geography, retrieval or load context when available, methodology version, and known limitations. Use the in-application data dictionary and methodology sections for context that must stay close to the result.

## Help and trustworthy use [#help-and-trustworthy-use]

Use **Docs** in the public Atlas utility bar, or **Docs** in the professional workspace navigation. Both open this help center in a new tab and leave the analytical page in the original tab. The public [Privacy page](https://onehealthatlas.org/privacy) and [AI Ethics page](https://onehealthatlas.org/ai-ethics) remain the approved in-application sources for those topics; this guide does not create separate policy commitments. Workspace pages do not add a separate contextual-help layer.

## Developer and agent access [#developer-and-agent-access]

The public REST API is documented by its owning service. Start with [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access), the [developer overview](https://onehealthatlas.org/docs/develop), the generated [API reference](https://onehealthatlas.org/docs/api-reference), and the machine-readable [OpenAPI schema](https://api.onehealthatlas.org/openapi.json). Public reads do not use an API key. Production MCP exposes bounded anonymous read-only evidence tools for that same governed evidence. Connection recipes and agent guardrails are in [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients). The September 2026 smoke-only development receipt is historical. Settings does not generate API keys in this release.

# AI-enabled decision intelligence (https://onehealthatlas.org/docs/ai-enabled-decision-intelligence)

> Understand what AI means in One Health Atlas, what is available now, and which future capabilities still require release and human review.

Epidemiologists use this page to see what “AI-enabled” means today, which assistance is released, and which decisions stay in human review.

One Health Atlas is an **Epidemiologist Decision Intelligence Platform**. AI-enabled means help with organizing and explaining governed evidence. It does not replace an epidemiologist or turn a score into a prediction. The framing is:

**signals → evidence → hypotheses → anomaly candidates → investigation priorities**

Each step must remain interpretable, bounded by the evidence, clear about uncertainty, and accountable to human review.

## Capability status [#capability-status]

| Capability                                    | Status                      | What you can rely on                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| --------------------------------------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transparent follow-up-priority scoring        | Available now               | The current score is a deterministic, adjustable calculation over released inputs. It helps focus review; it is not a predictive model, diagnosis, causal claim, disease-burden estimate, or individual-risk output.                                                                                                                                                                                                                                                                                      |
| Model-assisted surveillance review priority   | Available now               | Signed-in Atlas Explorer can show a published HIGH, MEDIUM, or LOW tier when that tier's release matches the selected evidence release. Atlas withholds the tier when the returned release differs, and when the governed release for the page is not known. A withheld, missing, or not-estimable result is not shown as LOW. The tier is review prioritization, not disease risk, predicted incidence, a diagnosis, or an autonomous decision. It is separate from the rules-based county review score. |
| Public evidence and provenance context        | Available now               | Released signals, source and method context, limitations, and a table path. Start with [evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).                                                                                                                                                                                                                                                                                                                                           |
| Atlas Assistant: reviewed literature          | Early access, feature-gated | `/assistant` asks the API about reviewed PubMed and PMC Open Access literature when enabled, with cited evidence or an unavailable-evidence outcome. It does not query live geography or scores, give medical advice, or replace review.                                                                                                                                                                                                                                                                  |
| Ask Atlas in the professional workspace       | Experimental/demo           | Explorer and Compare open [Ask Atlas](https://onehealthatlas.org/askatlas). Enabled chat uses the same literature service. Disabled chat leaves the other pages usable. The request is a message plus optional history. No Structured mode and no Both mode.                                                                                                                                                                                                                                                                        |
| Ask Atlas page at `/askatlas`                 | Experimental/demo           | Chats stay in this browser, not on Atlas servers.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Broader Atlas evidence assistant              | Planned                     | Mixed data and knowledge-graph questions are not released.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Anomaly candidates and interpretable modeling | Planned                     | Forecasts and anomaly outputs are not released. The review-priority tier is not a forecast.                                                                                                                                                                                                                                                                                                                                                                                                               |
| Literature monitoring or agent assistance     | Planned                     | Not released. MCP evidence tools are anonymous reads and do not run an agent. The September 2026 smoke-only development receipt is historical. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access).                                                                                                                                                                                                                                                                                                      |

A planned architecture, a design exploration, or a local demo is not evidence that a capability is available in the public release.

## What human review means [#what-human-review-means]

Use an AI-assisted output as a prompt for review. Check source and provenance. Confirm geography, period, coverage, and method. Separate an observation from a derived score or a model. State missing evidence. Choose validation, local review, more analysis, consultation, or no action. If the output cannot show its evidence and limits, treat it as unavailable. Do not infer certainty from fluent language, a rank, a map color, or a generated summary.

Released behavior is in [current capabilities](https://onehealthatlas.org/docs/current-capabilities) and [investigation workflows](https://onehealthatlas.org/docs/investigation-workflows).

## What Atlas AI is not for [#what-atlas-ai-is-not-for]

Atlas does not:

* diagnose Lyme disease or provide clinical or treatment advice;
* predict an individual's exposure, infection, or disease risk;
* guarantee that an outbreak will or will not occur;
* prove that a vector, pathogen, environment, or population factor caused an outcome;
* convert missing surveillance into evidence of absence or zero; or
* make an automatic public-health decision or replace epidemiologists, analysts, local knowledge, or responsible authorities.

The [AI Ethics commitments](https://onehealthatlas.org/ai-ethics) are the public page for AI status, boundaries, and open decisions. The professional workspace footer opens that same page. Privacy and data-use commitments belong on the [Privacy page](https://onehealthatlas.org/privacy). This guide does not add to either policy source.

# API, MCP, and access (https://onehealthatlas.org/docs/api-mcp-and-access)

> Use the public Atlas REST API, and see the current status of MCP and API keys.

Call the public HTTP contract with an anonymous GET. The [API reference](https://onehealthatlas.org/docs/api-reference) is generated from the pinned OpenAPI contract and links the raw spec. Machine-readable definitions stay on the API service.

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## See what is available [#see-what-is-available]

| Surface                    | Status        | Where it lives                                                                                                                                                                                                                                                                                          |
| -------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Public REST API, version 1 | Available now | Anonymous read-only JSON at `https://api.onehealthatlas.org`                                                                                                                                                                                                                                            |
| OpenAPI schema             | Available now | [OpenAPI schema](https://api.onehealthatlas.org/openapi.json)                                                                                                                                                                                                                                           |
| API reference              | Available now | [Generated API reference](https://onehealthatlas.org/docs/api-reference)                                                                                                                                                                                                                                                          |
| Interactive reference      | Available now | [Swagger reference](https://api.onehealthatlas.org/docs) for approved public GET requests                                                                                                                                                                                                               |
| Read-only reference        | Available now | [ReDoc reference](https://api.onehealthatlas.org/redoc)                                                                                                                                                                                                                                                 |
| Public MCP evidence tools  | Available now | Anonymous read-only `atlas_discover_indicators`, `atlas_get_county_profile`, and `atlas_get_evidence_provenance`. Arguments: [public evidence tool contract](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/public-evidence-tools.md) |
| MCP county identity        | Available now | `atlas_resolve_geographies` resolves a county. Identity is not evidence availability, adequacy, or comparability                                                                                                                                                                                        |
| MCP transport              | Available now | Anonymous Streamable HTTP at `https://mcp.onehealthatlas.org/mcp`. No API key and no OAuth. Recipes: [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients)                                                                                                                                                           |
| Retired MCP smoke tools    | Not supported | `server_status` and `atlas_smoke_test` are absent from production `tools/list`                                                                                                                                                                                                                          |
| User API keys in Settings  | Not available | Public reads do not use a key, and Settings does not create one                                                                                                                                                                                                                                         |

OpenAPI `info.version` and `/v1` are different identifiers. Cite the response fields below.

## Call public reads without an API key [#call-public-reads-without-an-api-key]

Current-release metadata and county observations need no API key and no signed-in session. Collections return `data`, `meta`, and `links`. A single resource returns `data`. Errors use `application/problem+json` with `code`, HTTP `status`, `detail`, and `request_id`.

Reads return the current release only: no historical release, no arbitrary aggregation, and no geometry. Account, feedback, literature chat, and `/app` are outside this contract. Literature chat needs no account. `/assistant` and the legacy drawer stay public when enabled. `/app` requires sign-in. A saved jurisdiction is not a credential. See [the professional workspace](https://onehealthatlas.org/docs/professional-workspace).

Task requests are in the [developer guides](https://onehealthatlas.org/docs/develop). Start with the [quickstart](https://onehealthatlas.org/docs/develop/quickstart).

## Copy a public read [#copy-a-public-read]

County FIPS codes are five characters. Keep leading zeros. `case_count_floor_2023` is a privacy-protected case floor in `cases`, not a complete incidence count.

```sh
curl -fsS 'https://api.onehealthatlas.org/v1/indicators?page_size=10'
curl -fsS 'https://api.onehealthatlas.org/v1/measures?indicator_id=human_disease_burden&page_size=10'
curl -fsS 'https://api.onehealthatlas.org/v1/measures/case_count_floor_2023'
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=08001&year=2023'
```

Repeat `geography_id` to compare counties. Use `year` or both `start_date` and `end_date`. Published county observations for this release use the annual 2023 period.

```sh
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=08001&geography_id=08003&year=2023&page_size=1'
```

Send `meta.next_page_token` back as `page_token` with the other parameters unchanged. Stop when the token is null. The token is opaque and bound to that query and release. A rejected token means you start again. A page token is not a citation.

Follow `source_id` and `methodology_id` for publisher, vintage, and method limitations:

```sh
curl -fsS 'https://api.onehealthatlas.org/v1/sources/human'
curl -fsS 'https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1'
```

Read `value` with `value_state` and `unit`. Meanings and what to keep: [Errors and retries](https://onehealthatlas.org/docs/develop/errors#value-states). The workspace shows **Suppressed**.

## Handle limits and errors [#handle-limits-and-errors]

Send one measure, `geography_type=county`, five-digit FIPS codes, and `year` or both dates. Keep `request_id`. Codes, retries, and `value_state`: [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Send `If-None-Match` for `304`. Paging and versions: [REST API](https://onehealthatlas.org/docs/develop/rest).

## Reproduce a result [#reproduce-a-result]

Save the URL, measure, FIPS codes, period, `release_id`, `semantic_version`, methodology id and version, source id, lineage source id, dataset id, source vintage, and limitations. The URL can change after a later release. The saved body, or a checksum, is the record. Name Atlas, V1, those ids, the retrieval date, and the publisher you received.

## Read canonical evidence [#read-canonical-evidence]

Indicators, measures, observations, sources, and methodologies are the current-release contract. Prefer them to a schema that changes with each upstream source. HTTP fields: [OpenAPI schema](https://api.onehealthatlas.org/openapi.json).

Tool definitions stay in the [Atlas MCP repository](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp). Released tools return the same evidence, source identity, and value state. Design and unreleased clinical connections: [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence). Fields: [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance).

## Use the MCP tools [#use-the-mcp-tools]

Server: [Atlas MCP repository](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp). [Public evidence tools](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/adr/0003-public-evidence-tools.md) accepts three anonymous read-only evidence tools. The [production receipt](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/pull/21#issuecomment-6116902766) records SHA `d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9` and exactly six tools; that receipt is historical. Production `tools/list` returned exactly four tools. Setup: [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients).

| Tool                                | What you can request                                                                                                                       |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `atlas_discover_indicators`         | Published indicators and measures. Not county availability                                                                                 |
| `atlas_get_county_profile`          | One five-digit FIPS and one to three measure-period selections. Empty is not a missing row, zero, biological absence, or proof of identity |
| `atlas_get_evidence_provenance`     | Current source or methodology. Not an arbitrary observation id or a historical release                                                     |
| `atlas_resolve_geographies`         | Identity from the CDC/ATSDR SVI 2022 county source. Not observations, adequacy, comparability, or a legal-boundary file                    |
| `server_status`, `atlas_smoke_test` | Absent from production `tools/list`. Unknown-tool error. `GET /healthz` is process health, not evidence                                    |

Arguments stay in the [public evidence tool contract](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/public-evidence-tools.md). Tools keep value states, units, denominators, source identity, and limitations. They do not score, diagnose, compare scientifically, write, or accept private data or a caller-supplied URL. They are not a live EHR, TEFCA, patient-level, PHI, or clinical-laboratory connection.

The [2026-09-26 record](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/e897207640919a9d6464233ade885ed5d9df8227/docs/operations/digitalocean-mcp.md) accepted those smoke tools in [`server.py`](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/e897207640919a9d6464233ade885ed5d9df8227/src/atlas_lyme_mcp/server.py). That smoke-only receipt is historical. REST and OpenAPI stay authoritative. MCP does not replace them.

## Skip API keys on public reads [#skip-api-keys-on-public-reads]

Do not send an API key, bearer token, or Settings secret. Settings does not generate, show, copy, revoke, or regenerate one. Future key controls are outside this release. An account session is not a public API key and does not replace anonymous `/v1` reads.

# API reference (https://onehealthatlas.org/docs/api-reference)

> Generated from the pinned public Atlas OpenAPI contract, with spec version, source, and the raw schema.

This page is generated from the public OpenAPI contract. It is not a second hand-maintained endpoint catalog. Tags, operation IDs, parameters, schemas, examples, and errors are rendered from that contract by the native OpenAPI reference.

## Spec version and source [#spec-version-and-source]

| Label               | Value                                                              |
| ------------------- | ------------------------------------------------------------------ |
| OpenAPI version     | `3.1.0`                                                            |
| Application version | `0.1.0`                                                            |
| HTTP contract       | `/v1`                                                              |
| Source repository   | `Caraway-Labs/one-health-lyme-gap-atlas-api`                       |
| Source commit       | `4bc001bb6c03d16aef80762174691fdf9b898707`                         |
| Source file         | `openapi.json`                                                     |
| Checksum            | `c8e0b42feb019eabc4ee0033e7501d5134c946c74750432f7bd5a1ee32a44618` |

Application version `0.1.0` identifies the OpenAPI `info.version` field. The HTTP contract is `/v1`. Those identifiers are different. This reference build is identified by the source commit and checksum.

Raw spec: [OpenAPI schema](https://api.onehealthatlas.org/openapi.json).

Pinned source: [Caraway-Labs/one-health-lyme-gap-atlas-api@4bc001bb6c03d16aef80762174691fdf9b898707](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-api/blob/4bc001bb6c03d16aef80762174691fdf9b898707/openapi.json).

## Downloads [#downloads]

Import the pinned contract into a client, or download the file the reference was generated from.

* [Raw OpenAPI schema](https://api.onehealthatlas.org/openapi.json).
* [Pinned contract](https://onehealthatlas.org/downloads/atlas-public-openapi.json). Commit `4bc001bb6c03d16aef80762174691fdf9b898707`. Checksum `c8e0b42feb019eabc4ee0033e7501d5134c946c74750432f7bd5a1ee32a44618`.
* [Checksum and commit](https://onehealthatlas.org/downloads/atlas-public-openapi.provenance.json).
* [Postman collection](https://onehealthatlas.org/downloads/atlas.postman_collection.json). Generated from the pinned contract. The collection variable `baseUrl` is `https://api.onehealthatlas.org`.

## Servers [#servers]

* `https://api.onehealthatlas.org` (Production)

## External documentation [#external-documentation]

[Atlas documentation and developer guides](https://onehealthatlas.org/docs)

**Governed Atlas analytics, metadata, and provenance**

Read-only JSON API for county and state Lyme disease surveillance,
public-health context, and the sources behind them. It is for developers, analysts, and
public-health practitioners. The base URL is
`https://api.onehealthatlas.org`, and public reads need no API key.

## Quickstart [#quickstart]

Get the 2023 case-count floor for New York County (FIPS `36061`):

```bash
curl 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'
```

The response is trimmed to the fields that matter. The values are an example:

```json
\{
  "data": [\{
    "measure_id": "case_count_floor_2023",
    "geography": \{"geography_type": "county", "geography_id": "36061"},
    "value": 1114.0, "value_state": "OBSERVED", "unit": "cases",
    "source_label": "CDC Lyme surveillance", "release_id": "...",
    "limitations": ["..."]
  }],
  "meta": \{"next_page_token": null, "availability": "AVAILABLE"},
  "links": \{"self": null}
}
```

## Responses [#responses]

Collections return `data` (the items), `meta` (paging, `availability`, `release_id`,
response time), and `links`. A single resource returns `data`.

## Pagination [#pagination]

`page_size` defaults to 100 (maximum 500). Send `meta.next_page_token` as `page_token`,
unchanged and with the same filters. A `null` token means there are no more pages.

## Errors [#errors]

Errors use RFC 9457 `application/problem+json` with a stable `code` and a `request_id`
to quote when you ask for support. A query that selects more than 10,000 results is
rejected with 400 `QUERY_TOO_BROAD`, not truncated.

## Response headers and caching [#response-headers-and-caching]

Every response has `Content-Type` and `X-Request-ID`; quote the ID when you ask for
support. Each `200` lists its other headers. Cache lifetimes run from 60 seconds to one
year. Detail resources, geometry, and PDF reports return an `ETag`; send it as
`If-None-Match` to get an empty `304`. Other operations always return the full body.

## Rate limits and retries [#rate-limits-and-retries]

Metadata, provenance, observation, and geography availability reads are limited per client
address to 60 requests a minute and 5 at once. Other operations have a separate, higher
limit. These defaults can change, and Atlas publishes no per-key quota. A `429` or `503`
can carry `Retry-After` in seconds; wait that long. Without it, wait 1 second, double
after each failure up to 60 seconds, add jitter, and stop after a few attempts. Do not
retry a `400`, `404`, or `422`.

## Interpreting results [#interpreting-results]

Read each value with its `value_state`, source, methodology version, `release_id`, and
`limitations`. Atlas results are not a diagnosis. Atlas results are not an estimate of
an individual's risk. Surveillance floors are minimum counts, not complete incidence.
Null, zero, suppressed, and no linked record mean different things. The response time
shows when Atlas built the response. It does not show when the publisher last updated
the data.

## Stability [#stability]

`/v1` is the contract version, and the application version is separate. Optional fields
may be added within V1. Breaking changes follow a published deprecation plan.
Release notes: [API changelog](https://onehealthatlas.org/docs/develop/changelog).

## Operations [#operations]

### Canonical Evidence [#canonical-evidence]

#### discovery [#discovery]

List the indicators and measures you can query.

* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators — `listIndicators`
* [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator) — Get an indicator — `getIndicator`
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures — `listMeasures`
* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure — `getMeasure`

#### observations [#observations]

Query measure values for counties, each with an explicit `value_state`.

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations — `listObservations`

#### provenance [#provenance]

Look up the sources and methodologies behind a value, with versions.

* [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology) — Get a methodology — `getMethodology`
* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources — `listSources`
* [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource) — Get a source — `getSource`

#### geographies [#geographies]

Validate a county or state FIPS code. Atlas does not yet publish place records, so these operations return HTTP 200 with `availability` set to `UNAVAILABLE`.

* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity — `getGeography` Typed HTTP 200, canonical identity unpublished, at the last production check, 25 October 2026. Production API, 25 October 2026. This records a dated check. This is not a live health indicator.
* [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability) — Check county geography availability — `checkGeographyAvailability`

### Atlas Analytics/Reports [#atlas-analyticsreports]

#### atlas [#atlas]

Get release metadata, scores, rankings, and map geometry.

* [`GET /v1/atlas/geometry`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry) — Get county map geometry — `getAtlasGeometry`
* [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues) — Get map values by county — `getAtlasMapValues`
* [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata) — Get release metadata — `getAtlasMetadata`
* [`GET /v1/atlas/ranking.csv`](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking) — Download county rankings as CSV — `downloadAtlasRanking`
* [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores) — Get county gap scores — `getAtlasScores`

#### counties [#counties]

Get county detail and download county PDF reports.

* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance — `getCounty`
* [`GET /v1/counties/{fips}/report.pdf`](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport) — Download a county report — `downloadCountyReport`
* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations — `getCountySurveillanceSituations`
* [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority) — Get county surveillance review priority — `getCountyTier1Priority`
* [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability) — Check surveillance priority availability — `checkCountyTier1Availability`

#### states [#states]

Download state PDF reports.

* [`GET /v1/states/{state}/report.pdf`](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport) — Download a state report — `downloadStateReport`
* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence — `getStateReview`

Component schemas: [Schemas](https://onehealthatlas.org/docs/api-reference/schemas) (57).

# Atlas (https://onehealthatlas.org/docs/api-reference/atlas)

> Get release metadata, scores, rankings, and map geometry.

Generated from the public OpenAPI contract.

Get release metadata, scores, rankings, and map geometry.

## Get county map geometry [#getAtlasGeometry]

`GET /v1/atlas/geometry`

Operation ID: `getAtlasGeometry`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry).

## Get map values by county [#getAtlasMapValues]

`GET /v1/atlas/map-values`

Operation ID: `getAtlasMapValues`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues).

## Get release metadata [#getAtlasMetadata]

`GET /v1/atlas/metadata`

Operation ID: `getAtlasMetadata`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata).

## Download county rankings as CSV [#downloadAtlasRanking]

`GET /v1/atlas/ranking.csv`

Operation ID: `downloadAtlasRanking`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking).

## Get county gap scores [#getAtlasScores]

`GET /v1/atlas/scores`

Operation ID: `getAtlasScores`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores).

# Download county rankings as CSV (https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking)

> Download county rankings as CSV

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/atlas/ranking.csv

Operation ID: `downloadAtlasRanking`.

Download county rankings as CSV

Filtered CSV attachment for current county rankings. Existing state, text and evidence filters and score settings apply; no pagination. This route does not declare a public cache TTL.

### Parameters

#### state

query, optional.

Limit rows to one state. Use a two-letter uppercase USPS state code, or `ALL` for every state. The default is `ALL`. Any other value returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Default | `ALL` |
| Pattern | `^(ALL\|[A-Z]{2})$` |

Example:

```json
"CO"
```

#### q

query, optional.

Filter rows by text. Matching ignores case and keeps rows where the county name, state code, or county FIPS code contains the text. Use up to 100 characters; a longer value returns 422. The default is empty, which keeps every row.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Default | `` |
| Maximum length | `100` |

Example:

```json
"boulder"
```

#### evidence

query, optional.

Limit rows by available evidence. `all` keeps every county. `ecological` keeps counties with a tick or pathogen signal. `human` keeps counties with a published human case count. `complete` keeps counties whose `evidence_completeness` is 5 or more. The default is `all`. Any other value returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Default | `all` |
| Enum | `all, ecological, human, complete` |

Example:

```json
"all"
```

#### ecological_share

query, optional.

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `65` |
| Minimum | `40` |
| Maximum | `85` |
| Multiple of | `5` |

Example:

```json
65
```

#### smooth_k

query, optional.

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `50` |
| Minimum | `5` |
| Maximum | `200` |

Example:

```json
50
```

#### missing_human_weakness

query, optional.

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `75` |
| Minimum | `40` |
| Maximum | `90` |
| Multiple of | `5` |

Example:

```json
75
```

#### low_incidence_breakpoint

query, optional.

Deprecated. Do not send it. Any value returns 422. Use `smooth_k` to change how the human-case signal is smoothed.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |

### Responses

#### 200

CSV attachment. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `text/csv`
- Response schema: `string`

##### Header row and the first two data rows

```json
"rank,fips,county,state,score,priority,human_status,tick_status,burgdorferi_status,evidence_completeness,scoring_methodology_version,smooth_k\n1,06037,Los Angeles County,CA,85.6,Priority 1 — Investigate,published_count_floor,Established,Present,100,surveillance-gap-score-v1.1,50\n2,18039,Elkhart County,IN,85.1,Priority 1 — Investigate,published_count_floor,Established,Present,100,surveillance-gap-score-v1.1,50\n"
```
- Header `Content-Type`: Media type of the body: `text/csv`.
- Header `Cache-Control`: The API sets no `Cache-Control` header, so do not assume a cache lifetime.
- Header `Content-Disposition`: Marks the body as a download and suggests the file name.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Dataset release not found",
  "instance": "/v1/atlas/ranking.csv",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/atlas/ranking.csv",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/atlas/ranking.csv",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/atlas/ranking.csv",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get county map geometry (https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry)

> Get county map geometry

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/atlas/geometry

Operation ID: `getAtlasGeometry`.

Get county map geometry

Existing generalized CDC/ATSDR SVI 2022 display geometry in EPSG:4326, identified by stable five-digit county FIPS. This resource never returns internal 2025 TIGER/Line analysis polygons used for raster aggregation.

### Parameters

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

### Responses

#### 200

Display GeoJSON, EPSG:4326; immutable TTL 31536000; ETag.

- Media type: `application/geo+json`
- Response schema: `object`

##### One county feature from the full collection

```json
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "id": "56045",
      "properties": {
        "fips": "56045"
      },
      "geometry": {
        "coordinates": [
          [
            [
              -105.081,
              43.966
            ],
            [
              -105.079,
              44.176
            ],
            [
              -104.055,
              44.18
            ],
            [
              -104.055,
              43.503
            ],
            [
              -105.08,
              43.498
            ],
            [
              -105.081,
              43.966
            ]
          ]
        ],
        "type": "Polygon"
      }
    }
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/geo+json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=31536000, immutable`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Dataset release not found",
  "instance": "/v1/atlas/geometry",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/atlas/geometry",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/atlas/geometry",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/atlas/geometry",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get map values by county (https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues)

> Get map values by county

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CountyMapValues](https://onehealthatlas.org/docs/api-reference/schemas#schema-countymapvalues), [MapValuesCollection](https://onehealthatlas.org/docs/api-reference/schemas#schema-mapvaluescollection), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/atlas/map-values

Operation ID: `getAtlasMapValues`.

Get map values by county

Published incidence floor, social vulnerability percentile, uninsured percent, and rural-urban continuum code for every county in the current snapshot. Optional dataset_version selects an existing release. Public cache TTL 300 seconds with informational ETag; no conditional 304.

### Parameters

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `MapValuesCollection`

##### Map values for the first two counties

```json
{
  "release_id": "governed-2026-10-15-january-climate-prod",
  "counties": [
    {
      "fips": "01001",
      "incidence_floor_2023": null,
      "svi_percentile": 0.2663,
      "uninsured_percent": 7.4,
      "rucc_2023": 2
    },
    {
      "fips": "01003",
      "incidence_floor_2023": 2.14,
      "svi_percentile": 0.3487,
      "uninsured_percent": 9.3,
      "rucc_2023": 3
    }
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. It is informational here: the operation does not answer `If-None-Match`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Dataset release not found",
  "instance": "/v1/atlas/map-values",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/atlas/map-values",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/atlas/map-values",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/atlas/map-values",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get release metadata (https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata)

> Get release metadata

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [AtlasMetadata](https://onehealthatlas.org/docs/api-reference/schemas#schema-atlasmetadata), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [SourceMetadata](https://onehealthatlas.org/docs/api-reference/schemas#schema-sourcemetadata).

## GET /v1/atlas/metadata

Operation ID: `getAtlasMetadata`.

Get release metadata

Release metadata, source freshness and methodology; dataset_version selects an existing release. Cached publicly for 300 seconds with ETag. ETag is informational here; this route does not implement conditional 304.

### Parameters

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `AtlasMetadata`

##### Release metadata, trimmed to two sources and two states

```json
{
  "scoring_methodology_version": "surveillance-gap-score-v1.1",
  "release_id": "governed-2026-10-15-january-climate-prod",
  "schema_version": "2.0.0",
  "generated_at": "2026-10-15T13:51:25.324973-07:00",
  "loaded_at": "2026-10-15T14:08:33.953000-07:00",
  "scope": "US_COUNTIES",
  "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
  "score_defaults": {
    "ecological_share": 65,
    "smooth_k": 50,
    "missing_human_weakness": 75
  },
  "methodology_version": "semantic-2.0.0",
  "limitations": "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission.",
  "sources": [
    {
      "key": "context_nlcd_2025",
      "label": "MRLC Annual NLCD 2025 reviewed demo cohort",
      "vintage": "C1V2-2025",
      "url": "https://www.mrlc.gov/downloads/sciweb1/shared/mrlc/data-bundles/Annual_NLCD_LndCov_2025_CU_C1V2.zip",
      "note": "Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission."
    },
    {
      "key": "context_rucc",
      "label": "USDA ERS Rural-Urban Continuum Codes",
      "vintage": "2023",
      "url": "https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/",
      "note": "RUCC is a contextual county classification; vintages are not automatically comparable and it is not a causal or individual risk measure."
    }
  ],
  "states": [
    {
      "code": "AK",
      "name": "Alaska"
    },
    {
      "code": "AL",
      "name": "Alabama"
    }
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. It is informational here: the operation does not answer `If-None-Match`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Dataset release not found",
  "instance": "/v1/atlas/metadata",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/atlas/metadata",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/atlas/metadata",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/atlas/metadata",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get county gap scores (https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores)

> Get county gap scores

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CountyScoreSummary](https://onehealthatlas.org/docs/api-reference/schemas#schema-countyscoresummary), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [Score](https://onehealthatlas.org/docs/api-reference/schemas#schema-score), [ScoreCollection](https://onehealthatlas.org/docs/api-reference/schemas#schema-scorecollection).

## GET /v1/atlas/scores

Operation ID: `getAtlasScores`.

Get county gap scores

Existing surveillance-gap scores and settings for an optional dataset_version. Scores are not individual risk estimates or diagnoses. Public cache TTL 300 seconds with informational ETag; no conditional 304.

### Parameters

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

#### ecological_share

query, optional.

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `65` |
| Minimum | `40` |
| Maximum | `85` |
| Multiple of | `5` |

Example:

```json
65
```

#### smooth_k

query, optional.

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `50` |
| Minimum | `5` |
| Maximum | `200` |

Example:

```json
50
```

#### missing_human_weakness

query, optional.

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `75` |
| Minimum | `40` |
| Maximum | `90` |
| Multiple of | `5` |

Example:

```json
75
```

#### low_incidence_breakpoint

query, optional.

Deprecated. Do not send it. Any value returns 422. Use `smooth_k` to change how the human-case signal is smoothed.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `ScoreCollection`

##### Scores for the first two counties of the release

```json
{
  "scoring_methodology_version": "surveillance-gap-score-v1.1",
  "release_id": "governed-2026-10-15-january-climate-prod",
  "methodology_version": "semantic-2.0.0",
  "settings": {
    "ecological_share": 65,
    "smooth_k": 50,
    "missing_human_weakness": 75
  },
  "counties": [
    {
      "scoring_methodology_version": "surveillance-gap-score-v1.1",
      "incidence_floor_2023": 0.15,
      "svi_percentile": 0.8629,
      "uninsured_percentile": 0.5504,
      "rucc_2023": 1,
      "fips": "06037",
      "county": "Los Angeles County",
      "state": "CA",
      "state_name": "California",
      "in_contiguous_tick_scope": true,
      "human_status": "published_count_floor",
      "tick_status": "Established",
      "burgdorferi_status": "Present",
      "evidence_completeness": 100,
      "score": {
        "score": 85.6,
        "human_weakness": 99.7,
        "ecological": 100,
        "community": 59.7,
        "tick_signal": 100,
        "pathogen_signal": 100,
        "svi_signal": 86.3,
        "access_signal": 55,
        "rural_signal": 0
      },
      "priority": "Priority 1 — Investigate",
      "color": "#e9602b"
    },
    {
      "scoring_methodology_version": "surveillance-gap-score-v1.1",
      "incidence_floor_2023": 2.9,
      "svi_percentile": 0.8132,
      "uninsured_percentile": 0.8635,
      "rucc_2023": 3,
      "fips": "18039",
      "county": "Elkhart County",
      "state": "IN",
      "state_name": "Indiana",
      "in_contiguous_tick_scope": true,
      "human_status": "published_count_floor",
      "tick_status": "Established",
      "burgdorferi_status": "Present",
      "evidence_completeness": 100,
      "score": {
        "score": 85.1,
        "human_weakness": 94.5,
        "ecological": 100,
        "community": 71.6,
        "tick_signal": 100,
        "pathogen_signal": 100,
        "svi_signal": 81.3,
        "access_signal": 86.4,
        "rural_signal": 25
      },
      "priority": "Priority 1 — Investigate",
      "color": "#e9602b"
    }
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. It is informational here: the operation does not answer `If-None-Match`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Dataset release not found",
  "instance": "/v1/atlas/scores",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/atlas/scores",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/atlas/scores",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/atlas/scores",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Counties (https://onehealthatlas.org/docs/api-reference/counties)

> Get county detail and download county PDF reports.

Generated from the public OpenAPI contract.

Get county detail and download county PDF reports.

## Get county detail and provenance [#getCounty]

`GET /v1/counties/{fips}`

Operation ID: `getCounty`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/counties/getCounty).

## Download a county report [#downloadCountyReport]

`GET /v1/counties/{fips}/report.pdf`

Operation ID: `downloadCountyReport`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport).

### Template selection [#template-selection]

Choose `template` on `GET /v1/counties/{fips}/report.pdf`. The default is `county-v3`. Use a county FIPS in the lower 48 states or the District of Columbia. A scoring PDF is a review-priority report. An evidence PDF repeats canonical observations, lineage, value states, and limitations. Neither report is a diagnosis, an individual risk estimate, or a causal claim.

The default county-v3 brief uses published Surveillance Gap Score v1.1 with Smooth k=50 and ignores scenario overrides. Scoring and data-release methodologies remain distinct.

The same selector rules, with the requests checked against the published API, are in the [workflow guides](https://onehealthatlas.org/docs/develop/workflows#download-a-county-report).

  

### county-v1 scoring

    `county-v1` is the scoring selector. `dataset_version` is optional. These score settings are optional and bind the scoring inputs:

    | Parameter                | Default | Bounds               |
    | ------------------------ | ------- | -------------------- |
    | `ecological_share`       | 65      | 40–85, multiple of 5 |
    | `smooth_k`               | 50      | 5–200                |
    | `missing_human_weakness` | 75      | 40–90, multiple of 5 |

    `period_start`, `period_end`, and `measure_id` are forbidden on `county-v1`. Sending one of them returns HTTP `422`. Checked on 18 October 2026 for FIPS `36061`:

    ```json
    {
      "type": "https://onehealthatlas.org/problems/http-422",
      "title": "Request failed",
      "status": 422,
      "detail": "Observation context requires county-v2.",
      "instance": "/v1/counties/36061/report.pdf",
      "request_id": "example-request-id",
      "errors": null
    }
    ```

    An unknown registered-pattern template returns HTTP `422` with detail `The requested county report template is not available.` A template outside `^[a-z]+-v\d+$` returns HTTP `422` with detail `One or more request values are invalid.`

    A successful county-v1 response uses `Cache-Control: public, max-age=300, must-revalidate`. `ETag` with `If-None-Match` can return `304`.

    ```sh
    curl -fsS 'https://api.onehealthatlas.org/v1/counties/36061/report.pdf?template=county-v1'
    ```
  

  

### county-v2 evidence

    `county-v2` is the evidence selector. It requires `dataset_version`, `period_start`, `period_end`, and `measure_id`. Pass the observation `release_id` as `dataset_version`. `period_start` and `period_end` are the exact inclusive dates. `measure_id` accepts 1–20 distinct ids, repeated or comma-separated.

    A missing release, period, or measure list, a duplicate measure id, more than 20 ids, or a reversed period returns HTTP `422`. Checked on 18 October 2026:

    ```json
    {
      "type": "https://onehealthatlas.org/problems/http-422",
      "title": "Request failed",
      "status": 422,
      "detail": "county-v2 requires release, exact period and distinct measures.",
      "instance": "/v1/counties/36061/report.pdf",
      "request_id": "example-request-id",
      "errors": null
    }
    ```

    An unknown measure returns HTTP `404` `RESOURCE_NOT_FOUND`. The contract also returns HTTP `503` when provenance is missing or mismatched, and HTTP `413` when the report exceeds resource limits.

    Score settings are the county-v1 inputs above. A checked county-v2 request that also sent `ecological_share=65` still returned HTTP `200` and `Cache-Control: no-store`.

    A successful county-v2 response uses `Cache-Control: no-store`. The service revalidates authoritative context before a cache response or `304`. `ETag` is still present.

    Replace `RELEASE_ID` with the observation `release_id`:

    ```sh
    curl -fsS 'https://api.onehealthatlas.org/v1/counties/36061/report.pdf?template=county-v2&dataset_version=RELEASE_ID&period_start=2023-01-01&period_end=2023-12-31&measure_id=case_count_floor_2023'
    ```

    The same checked requests are in the [workflow guides](https://onehealthatlas.org/docs/develop/workflows#download-a-county-report).
  

## Get county surveillance situations [#getCountySurveillanceSituations]

`GET /v1/counties/{fips}/surveillance-situations`

Operation ID: `getCountySurveillanceSituations`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations).

## Get county surveillance review priority [#getCountyTier1Priority]

`GET /v1/counties/{fips}/tier1-surveillance-priority`

Operation ID: `getCountyTier1Priority`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority).

## Check surveillance priority availability [#checkCountyTier1Availability]

`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`

Operation ID: `checkCountyTier1Availability`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability).

# Check surveillance priority availability (https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability)

> Check surveillance priority availability

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [PriorityReason](https://onehealthatlas.org/docs/api-reference/schemas#schema-priorityreason), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [Tier1CountyPriority](https://onehealthatlas.org/docs/api-reference/schemas#schema-tier1countypriority), [Tier1CountyPriorityAvailability](https://onehealthatlas.org/docs/api-reference/schemas#schema-tier1countypriorityavailability).

## GET /v1/counties/{fips}/tier1-surveillance-priority/availability

Operation ID: `checkCountyTier1Availability`.

Check surveillance priority availability

Check whether a county has a published Tier 1 result, and get it when it does.

### What you get back
- `AVAILABLE` with the published result in `data`.
- `UNAVAILABLE` with `reason` `NO_PUBLISHED_MODEL` and `data` set to `null`.
- `geography_release_id` names the release used to validate the FIPS code.

`NOT_ESTIMABLE` is a published result state. It is different from no published model result. The API never turns `null` into zero or creates model output. Responses can be cached for 60 seconds.

### Common problems
| Response | Cause and what to do |
| --- | --- |
| `404` | The county is outside the current geography release. |
| `422` | The FIPS code is malformed. |
| `503` | A dependency failed or stored data is malformed. Retry later. |

### Parameters

#### fips

path, required.

County FIPS code: exactly five digits, sent as a string with leading zeros kept, for example `01001`, not `1001`. Connecticut uses planning-region codes such as `09110`. A malformed value returns 422. A county not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^\d{5}$` |

Example:

```json
"08001"
```

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `Tier1CountyPriorityAvailability`

##### A county with a published review priority

```json
{
  "availability": "AVAILABLE",
  "geography_release_id": "governed-2026-10-15-january-climate-prod",
  "reason": null,
  "data": {
    "county_fips": "36061",
    "priority_tier": "HIGH",
    "priority_percentile": 99.14094813872096,
    "raw_model_score": 2.1089478300075464,
    "evidence_sufficiency": "SUFFICIENT",
    "model_version": "tier1-statistical-reference-v1",
    "release_id": "governed-2026-09-18-unknown-coverage",
    "source_commit": "024bbbf74a7da8e54566bd60e8e762d85a51e24f",
    "prediction_batch_version": "tier1-review-priority-5536b5caad95cf47",
    "tier_policy_version": "tier1-review-percentile-v1",
    "generated_at_utc": "2026-10-07T02:14:24Z",
    "reasons": [
      {
        "code": "PUBLISHED_HUMAN_FLOOR",
        "text": "Published county-linked human count-floor signal is present; its magnitude is a lower bound."
      },
      {
        "code": "PATHOGEN_NO_RECORDS",
        "text": "Publisher reports No records; this is not evidence of absence."
      }
    ],
    "limitation_ref": "docs/contracts/tier1-persisted-output-v1.md"
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Error response

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "County is not in the current geography release.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Download a county report (https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport)

> Download a county report

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/counties/{fips}/report.pdf

Operation ID: `downloadCountyReport`.

Download a county report

Download a PDF report for one county.

### Templates
| `template` | What it returns |
| --- | --- |
| `county-v3` (default) | The two-page County Data Brief for the published gap score and Explorer follow-up. It ignores score-setting overrides, so a What-if request cannot change the published score, response category, recommendations, or questions. |
| `county-v1` | The immutable earlier county report. It still binds score settings. |
| `county-v2` | An opt-in report for selected observations. It reads canonical evidence, lineage, value states, and limitations. |

### Key parameters
| Parameter | What to send |
| --- | --- |
| `dataset_version` | Optional release to report on. `county-v2` requires it. |
| `period_start`, `period_end`, `measure_id` | `county-v2` only. Send both dates and 1 to 20 measure IDs, repeated or comma-separated. `county-v1` and `county-v3` reject them with 422. |

### Caching
`ETag` and `If-None-Match` support 304. Published briefs can be cached for 300 seconds with revalidation. `county-v2` responses must not be cached, and the API revalidates authoritative context before it answers 304.

### Common problems
| Response | Cause and what to do |
| --- | --- |
| `404` | A `county-v2` observation is unknown. |
| `413` | The report exceeds the resource limits. Narrow the selection. |
| `422` | The template is unknown, or observation selectors were sent to `county-v1` or `county-v3`. |
| `503` | `county-v2` provenance is missing or mismatched, or the renderer failed or timed out. Retry later. |

### Parameters

#### fips

path, required.

County FIPS code: exactly five digits, sent as a string with leading zeros kept, for example `01001`, not `1001`. Connecticut uses planning-region codes such as `09110`. A malformed value returns 422. A county not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^\d{5}$` |

Example:

```json
"08001"
```

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

#### period_start

query, optional.

Exact inclusive observation start for county-v2.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |
| Format | `date` |

#### period_end

query, optional.

Exact inclusive observation end for county-v2.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |
| Format | `date` |

#### measure_id

query, optional.

1–20 measure IDs; repeated or comma-separated for county-v2.

| Constraint | Value |
| --- | --- |
| Schema | `array of string` |
| Maximum items | `20` |

#### template

query, optional.

County report template. Accepted values are `county-v3` (default; the two-page County Data Brief, which ignores score settings), `county-v1`, and `county-v2` (requires `dataset_version`, `period_start`, `period_end`, and `measure_id`). A well-formed value that is not accepted returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Default | `county-v3` |
| Pattern | `^[a-z]+-v\d+$` |

Example:

```json
"county-v3"
```

#### ecological_share

query, optional.

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `65` |
| Minimum | `40` |
| Maximum | `85` |
| Multiple of | `5` |

Example:

```json
65
```

#### smooth_k

query, optional.

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `50` |
| Minimum | `5` |
| Maximum | `200` |

Example:

```json
50
```

#### missing_human_weakness

query, optional.

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `75` |
| Minimum | `40` |
| Maximum | `90` |
| Multiple of | `5` |

Example:

```json
75
```

#### low_incidence_breakpoint

query, optional.

Deprecated. Do not send it. Any value returns 422. Use `smooth_k` to change how the human-case signal is smoothed.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |

### Responses

#### 200

PDF attachment.

- Media type: `application/pdf`
- Response schema: `string`

##### PDF report (first bytes only)

```json
"%PDF-1.7"
```
- Header `Content-Type`: Media type of the body: `application/pdf`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300, must-revalidate`. The `county-v1` and `county-v3` templates send this value. The `county-v2` template sends `no-store`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `Content-Disposition`: Marks the body as a download and suggests the file name.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 400

The report's observation context selects more than the result limit. The `code` is `QUERY_TOO_BROAD`. Shorten the period or request fewer measures, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Selection above the result limit

```json
{
  "type": "https://onehealthatlas.org/problems/query-too-broad",
  "title": "Invalid public query",
  "status": 400,
  "detail": "Narrow measure, geography, time, or stratification selection.",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "QUERY_TOO_BROAD"
}
```

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "County or dataset release not found",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 413

The report is larger than the API can render. Request a shorter period or fewer measures, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Error response

```json
{
  "type": "https://onehealthatlas.org/problems/http-413",
  "title": "Request failed",
  "status": 413,
  "detail": "The report exceeds configured resource limits.",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The report renderer is busy or timed out. Wait the number of seconds in `Retry-After`, then retry. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Error response

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "Report rendering timed out. Please try again later.",
  "instance": "/v1/counties/{fips}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get county detail and provenance (https://onehealthatlas.org/docs/api-reference/counties/getCounty)

> Get county detail and provenance

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [AtlasMetadata](https://onehealthatlas.org/docs/api-reference/schemas#schema-atlasmetadata), [CountyDetail](https://onehealthatlas.org/docs/api-reference/schemas#schema-countydetail), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [Score](https://onehealthatlas.org/docs/api-reference/schemas#schema-score), [SourceMetadata](https://onehealthatlas.org/docs/api-reference/schemas#schema-sourcemetadata).

## GET /v1/counties/{fips}

Operation ID: `getCounty`.

Get county detail and provenance

Five-digit county FIPS with leading zeros retained. Includes release/source metadata and limitations. Optional dataset_version and score settings retain existing meanings. Public cache TTL 300 seconds with informational ETag; no conditional 304.

### Parameters

#### fips

path, required.

County FIPS code: exactly five digits, sent as a string with leading zeros kept, for example `01001`, not `1001`. Connecticut uses planning-region codes such as `09110`. A malformed value returns 422. A county not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^\d{5}$` |

Example:

```json
"08001"
```

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

#### ecological_share

query, optional.

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `65` |
| Minimum | `40` |
| Maximum | `85` |
| Multiple of | `5` |

Example:

```json
65
```

#### smooth_k

query, optional.

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `50` |
| Minimum | `5` |
| Maximum | `200` |

Example:

```json
50
```

#### missing_human_weakness

query, optional.

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `75` |
| Minimum | `40` |
| Maximum | `90` |
| Multiple of | `5` |

Example:

```json
75
```

#### low_incidence_breakpoint

query, optional.

Deprecated. Do not send it. Any value returns 422. Use `smooth_k` to change how the human-case signal is smoothed.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CountyDetail`

##### County detail for New York County (`36061`)

```json
{
  "scoring_methodology_version": "surveillance-gap-score-v1.1",
  "incidence_floor_2023": 67.68,
  "svi_percentile": 0.7283,
  "uninsured_percentile": 0.118,
  "rucc_2023": 1,
  "fips": "36061",
  "county": "New York County",
  "state": "NY",
  "state_name": "New York",
  "in_contiguous_tick_scope": true,
  "human_status": "published_count_floor",
  "tick_status": "Established",
  "burgdorferi_status": "No records",
  "evidence_completeness": 83,
  "score": {
    "score": 22.5,
    "human_weakness": 42.5,
    "ecological": 60,
    "community": 40,
    "tick_signal": 100,
    "pathogen_signal": 0,
    "svi_signal": 72.8,
    "access_signal": 11.8,
    "rural_signal": 0
  },
  "priority": "Lower Atlas priority — Not a safety finding",
  "color": "#55a8a3",
  "population": 1645867,
  "case_count_floor_2023": 1114,
  "state_unallocated_records_2023": 51,
  "scapularis_status": "Established",
  "pacificus_status": "No records",
  "uninsured_percent": 4.6,
  "release": {
    "scoring_methodology_version": "surveillance-gap-score-v1.1",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "schema_version": "2.0.0",
    "generated_at": "2026-10-15T13:51:25.324973-07:00",
    "loaded_at": "2026-10-15T14:08:33.953000-07:00",
    "scope": "US_COUNTIES",
    "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
    "score_defaults": {
      "ecological_share": 65,
      "smooth_k": 50,
      "missing_human_weakness": 75
    },
    "methodology_version": "semantic-2.0.0",
    "limitations": "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission.",
    "sources": [
      {
        "key": "context_nlcd_2025",
        "label": "MRLC Annual NLCD 2025 reviewed demo cohort",
        "vintage": "C1V2-2025",
        "url": "https://www.mrlc.gov/downloads/sciweb1/shared/mrlc/data-bundles/Annual_NLCD_LndCov_2025_CU_C1V2.zip",
        "note": "Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission."
      },
      {
        "key": "context_rucc",
        "label": "USDA ERS Rural-Urban Continuum Codes",
        "vintage": "2023",
        "url": "https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/",
        "note": "RUCC is a contextual county classification; vintages are not automatically comparable and it is not a causal or individual risk measure."
      },
      {
        "key": "context_svi",
        "label": "CDC/ATSDR Social Vulnerability Index",
        "vintage": "2022 (2018-2022 ACS)",
        "url": "https://www.atsdr.cdc.gov/placeandhealth/svi/data_documentation_download.html",
        "note": "Contextual population and vulnerability measures are not causal drivers or individual risk factors. The same reviewed source supplies county identity and geometry."
      },
      {
        "key": "human",
        "label": "CDC Lyme surveillance",
        "vintage": "2023",
        "url": "https://data.cdc.gov/resource/x5j9-wybp.json",
        "note": "County-of-residence surveillance. County-linked values are published privacy-protected floors, not complete incidence estimates."
      },
      {
        "key": "pathogen",
        "label": "CDC ArboNET tickborne pathogen status",
        "vintage": "through 2025-12-31",
        "url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
        "note": "This is a distinct restricted pathogen source. No records is not absence; 33 absent canonical counties are classified as unknown source coverage."
      },
      {
        "key": "tick",
        "label": "CDC ArboNET county tick status",
        "vintage": "through 2025-12-31",
        "url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
        "note": "Tick status is cumulative surveillance evidence; no records is not absence and status is not abundance, pathogen prevalence, diagnosis, or individual risk."
      }
    ],
    "states": [
      {
        "code": "AK",
        "name": "Alaska"
      },
      {
        "code": "AL",
        "name": "Alabama"
      },
      {
        "code": "AR",
        "name": "Arkansas"
      },
      {
        "code": "AZ",
        "name": "Arizona"
      },
      {
        "code": "CA",
        "name": "California"
      },
      {
        "code": "CO",
        "name": "Colorado"
      },
      {
        "code": "CT",
        "name": "Connecticut"
      },
      {
        "code": "DC",
        "name": "District of Columbia"
      },
      {
        "code": "DE",
        "name": "Delaware"
      },
      {
        "code": "FL",
        "name": "Florida"
      },
      {
        "code": "GA",
        "name": "Georgia"
      },
      {
        "code": "HI",
        "name": "Hawaii"
      },
      {
        "code": "IA",
        "name": "Iowa"
      },
      {
        "code": "ID",
        "name": "Idaho"
      },
      {
        "code": "IL",
        "name": "Illinois"
      },
      {
        "code": "IN",
        "name": "Indiana"
      },
      {
        "code": "KS",
        "name": "Kansas"
      },
      {
        "code": "KY",
        "name": "Kentucky"
      },
      {
        "code": "LA",
        "name": "Louisiana"
      },
      {
        "code": "MA",
        "name": "Massachusetts"
      },
      {
        "code": "MD",
        "name": "Maryland"
      },
      {
        "code": "ME",
        "name": "Maine"
      },
      {
        "code": "MI",
        "name": "Michigan"
      },
      {
        "code": "MN",
        "name": "Minnesota"
      },
      {
        "code": "MO",
        "name": "Missouri"
      },
      {
        "code": "MS",
        "name": "Mississippi"
      },
      {
        "code": "MT",
        "name": "Montana"
      },
      {
        "code": "NC",
        "name": "North Carolina"
      },
      {
        "code": "ND",
        "name": "North Dakota"
      },
      {
        "code": "NE",
        "name": "Nebraska"
      },
      {
        "code": "NH",
        "name": "New Hampshire"
      },
      {
        "code": "NJ",
        "name": "New Jersey"
      },
      {
        "code": "NM",
        "name": "New Mexico"
      },
      {
        "code": "NV",
        "name": "Nevada"
      },
      {
        "code": "NY",
        "name": "New York"
      },
      {
        "code": "OH",
        "name": "Ohio"
      },
      {
        "code": "OK",
        "name": "Oklahoma"
      },
      {
        "code": "OR",
        "name": "Oregon"
      },
      {
        "code": "PA",
        "name": "Pennsylvania"
      },
      {
        "code": "RI",
        "name": "Rhode Island"
      },
      {
        "code": "SC",
        "name": "South Carolina"
      },
      {
        "code": "SD",
        "name": "South Dakota"
      },
      {
        "code": "TN",
        "name": "Tennessee"
      },
      {
        "code": "TX",
        "name": "Texas"
      },
      {
        "code": "UT",
        "name": "Utah"
      },
      {
        "code": "VA",
        "name": "Virginia"
      },
      {
        "code": "VT",
        "name": "Vermont"
      },
      {
        "code": "WA",
        "name": "Washington"
      },
      {
        "code": "WI",
        "name": "Wisconsin"
      },
      {
        "code": "WV",
        "name": "West Virginia"
      },
      {
        "code": "WY",
        "name": "Wyoming"
      }
    ]
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. It is informational here: the operation does not answer `If-None-Match`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "County or dataset release not found",
  "instance": "/v1/counties/{fips}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/{fips}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/counties/{fips}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/counties/{fips}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get county surveillance situations (https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations)

> Get county surveillance situations

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CountySurveillanceSituations](https://onehealthatlas.org/docs/api-reference/schemas#schema-countysurveillancesituations), [MembershipProbability](https://onehealthatlas.org/docs/api-reference/schemas#schema-membershipprobability), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [SituationClassification](https://onehealthatlas.org/docs/api-reference/schemas#schema-situationclassification), [SituationVariant](https://onehealthatlas.org/docs/api-reference/schemas#schema-situationvariant).

## GET /v1/counties/{fips}/surveillance-situations

Operation ID: `getCountySurveillanceSituations`.

Get county surveillance situations

Get both surveillance-situation classifications for one county: the primary `four_state` model, which includes human surveillance, and the secondary `tick_pathogen` model, which excludes it.

### What you get back
- Reviewed labels and four membership probabilities per model. Each is between 0 and 1, and they sum to 1 within 1e-6.
- Model and batch lineage, source vintages, and interpretation limits.
- `Unknown` is an available class. `No records` does not establish absence.
- Membership is not disease risk, incidence, pathogen presence, causation, or Tier 1 priority.

A model variant can return HTTP 200 with `UNAVAILABLE` and `null` data, including when the release is incompatible. The API does not infer or fall back to another result. The response must not be cached.

### Common problems
| Response | Cause and what to do |
| --- | --- |
| `404` | The county is unknown. |
| `422` | The FIPS code is malformed. |
| `503` | A dependency failed, stored data is malformed, or the release changed during the request. Retry later. |

### Parameters

#### fips

path, required.

County FIPS code: exactly five digits, sent as a string with leading zeros kept, for example `01001`, not `1001`. Connecticut uses planning-region codes such as `09110`. A malformed value returns 422. A county not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^[0-9]{5}$` |

Example:

```json
"08001"
```

### Responses

#### 200

Both model variants, including explicit publication availability. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CountySurveillanceSituations`

##### Both model variants for `36061`

```json
{
  "county_fips": "36061",
  "release_id": "governed-2026-10-15-january-climate-prod",
  "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
  "four_state": {
    "model_id": "surveillance-situation-four-state",
    "availability": "AVAILABLE",
    "unavailable_reason": null,
    "compatibility": "EXACT_INPUT",
    "batch_id": "surveillance-situation-batch",
    "batch_version": "v1",
    "input_release_id": "governed-2026-10-15-january-climate-prod",
    "data": {
      "model_id": "surveillance-situation-four-state",
      "model_version": "v1",
      "class_id": "surveillance-situation-four-state.v1.class-0",
      "class_name": "Established blacklegged tick",
      "class_description": "Counties where the blacklegged tick is established or reported and the western blacklegged tick has no records. A published human floor or a pathogen record is common in this class and is not required for every county.",
      "probabilities": [
        {
          "class_id": "surveillance-situation-four-state.v1.class-0",
          "probability": 0.909921698607346
        },
        {
          "class_id": "surveillance-situation-four-state.v1.class-1",
          "probability": 0
        },
        {
          "class_id": "surveillance-situation-four-state.v1.class-2",
          "probability": 2.089071954984944e-238
        },
        {
          "class_id": "surveillance-situation-four-state.v1.class-3",
          "probability": 0.09007830139265394
        }
      ],
      "limitations": [
        "disease risk",
        "incidence",
        "pathogen absence",
        "tier 1 priority"
      ],
      "batch_id": "surveillance-situation-batch",
      "batch_version": "v1",
      "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
      "dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
      "input_release_id": "governed-2026-10-15-january-climate-prod",
      "input_bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
      "fit_git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
      "feature_contract": {
        "dataset_id": "surveillance-latent-class-counties",
        "dataset_version": "v1.1",
        "document": "docs/contracts/119-surveillance-latent-class-dataset-v1.md",
        "feature_set_id": "surveillance-latent-class-indicators",
        "feature_set_version": "v1.1"
      },
      "model_provenance": {
        "algorithm": "in-repository categorical latent class EM",
        "approval_state": "approved_for_data_handoff",
        "batch_id": "surveillance-situation-batch",
        "batch_schema": "docs/contracts/138-surveillance-situation-batch-v1.schema.json",
        "batch_version": "v1",
        "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
        "class_dictionary": "config/models/138-surveillance-situation-class-dictionary-v1.json",
        "class_dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
        "config": "config/experiments/119-latent-class-v1.json",
        "county_artifact": "outputs/138-surveillance-situation-batch-v1/county-assignments.json",
        "county_row_count": 6288,
        "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
        "dependencies": {
          "numpy": "2.2.6",
          "scikit-learn": "1.9.1"
        },
        "feature_contract": {
          "dataset_id": "surveillance-latent-class-counties",
          "dataset_version": "v1.1",
          "document": "docs/contracts/119-surveillance-latent-class-dataset-v1.md",
          "feature_set_id": "surveillance-latent-class-indicators",
          "feature_set_version": "v1.1"
        },
        "git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
        "handoff_document": "docs/contracts/138-surveillance-situation-batch-v1.md",
        "inheritance_rule": "A later Atlas release does not silently inherit these assignments. Carry-forward, a new batch version, or a block requires a dated decision.",
        "missingness_contract": {
          "document": "config/models/138-surveillance-situation-models-v1.json",
          "imputation": "forbidden",
          "no_records": "category",
          "unavailable_is_not_zero": true,
          "unknown": "real_class_not_missing_assignment"
        },
        "model_contract": "config/models/138-surveillance-situation-models-v1.json",
        "models": [
          {
            "class_count": 4,
            "id": "surveillance-situation-four-state",
            "role": "primary_descriptive_classification",
            "version": "v1"
          },
          {
            "class_count": 4,
            "id": "surveillance-situation-tick-pathogen",
            "role": "secondary_tick_pathogen_grouping",
            "version": "v1"
          }
        ],
        "population_scope": {
          "county_count": 3144,
          "geography": "US counties and county equivalents, including Alaska and Hawaii",
          "population": 331097593,
          "population_role": "reporting denominator"
        },
        "primary_seed": 1192026,
        "probability_sum_tolerance": 0.000001,
        "prohibited_readings": [
          "disease risk",
          "incidence",
          "pathogen absence",
          "tier 1 priority"
        ],
        "release_id": "governed-2026-10-15-january-climate-prod",
        "result": "config/experiments/119-latent-class-v1-result.json",
        "result_commit": "a2f9bad41f1ddb793e364399afbdd5fbad008b7a",
        "run": {
          "log_likelihood_tolerance": 1e-8,
          "max_em_iterations": 2000,
          "random_starts_per_seed": 20,
          "training_location": "local machine",
          "wall_clock_seconds_recorded": false
        },
        "schema": "atlas-ml-surveillance-situation-batch-manifest/138-v1",
        "snowflake_objects_written": [],
        "stored_estimator": "in-repository categorical latent class EM"
      },
      "source_provenance": {
        "context_nlcd_2025": {
          "dataset_id": "annual-nlcd-c1v2-2025-reviewed-demo-cohort",
          "limitations": "Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission.",
          "source_id": "mrlc_annual_nlcd_derived_county_aggregates",
          "source_url": "https://www.mrlc.gov/downloads/sciweb1/shared/mrlc/data-bundles/Annual_NLCD_LndCov_2025_CU_C1V2.zip",
          "vintage": "C1V2-2025"
        },
        "context_rucc": {
          "dataset_id": "rural-urban-continuum-codes-2023",
          "limitations": "RUCC is a contextual county classification; vintages are not automatically comparable and it is not a causal or individual risk measure.",
          "source_id": "usda_ers",
          "source_url": "https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/",
          "vintage": "2023"
        },
        "context_svi": {
          "dataset_id": "atsdr-svi-2022-county-layer",
          "limitations": "Contextual population and vulnerability measures are not causal drivers or individual risk factors. The same reviewed source supplies county identity and geometry.",
          "source_id": "cdc_atsdr_svi",
          "source_url": "https://www.atsdr.cdc.gov/placeandhealth/svi/data_documentation_download.html",
          "vintage": "2022 (2018-2022 ACS)"
        },
        "human": {
          "dataset_id": "x5j9-wybp",
          "limitations": "County-of-residence surveillance. County-linked values are published privacy-protected floors, not complete incidence estimates.",
          "source_id": "cdc_lyme",
          "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json",
          "vintage": "2023"
        },
        "pathogen": {
          "dataset_id": "cdc-ixodes-pathogen-status-2025",
          "limitations": "This is a distinct restricted pathogen source. No records is not absence; 33 absent canonical counties are classified as unknown source coverage.",
          "source_id": "cdc_arbonet_tick_module",
          "source_url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
          "vintage": "through 2025-12-31"
        },
        "tick": {
          "dataset_id": "cdc-ixodes-county-status-2025",
          "limitations": "Tick status is cumulative surveillance evidence; no records is not absence and status is not abundance, pathogen prevalence, diagnosis, or individual risk.",
          "source_id": "cdc_arbonet_tick_module",
          "source_url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
          "vintage": "through 2025-12-31"
        }
      },
      "handoff_approval": {
        "approval_state": "approved_for_data_handoff",
        "approved_at": "2026-10-18T11:37:14-06:00",
        "approver": "Matthew Caraway",
        "batch_id": "surveillance-situation-batch",
        "batch_version": "v1",
        "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
        "class_dictionary": "config/models/138-surveillance-situation-class-dictionary-v1.json",
        "class_dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
        "compatibility_dated": "2026-10-18",
        "compatibility_disposition": "carry forward",
        "compatibility_note": "docs/eda/143-release-compatibility.md",
        "county_artifact": "outputs/138-surveillance-situation-batch-v1/county-assignments.json",
        "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
        "downstream": [
          {
            "issue": 253,
            "repository": "Caraway-Labs/one-health-lyme-gap-atlas-api"
          },
          {
            "issue": 650,
            "repository": "Caraway-Labs/one-health-lyme-gap-atlas-web"
          }
        ],
        "git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
        "handoff_note": "docs/contracts/138-surveillance-situation-data-handoff-v1.md",
        "manifest": "config/models/138-surveillance-situation-batch-v1.json",
        "models": [
          {
            "id": "surveillance-situation-four-state",
            "version": "v1"
          },
          {
            "id": "surveillance-situation-tick-pathogen",
            "version": "v1"
          }
        ],
        "production_mutation": "This repository does not mutate production Snowflake.",
        "publisher": {
          "issue": 702,
          "repository": "Caraway-Labs/one-health-lyme-gap-atlas-data"
        },
        "release_id": "governed-2026-10-15-january-climate-prod",
        "result_commit": "a2f9bad41f1ddb793e364399afbdd5fbad008b7a",
        "schema": "atlas-ml-surveillance-situation-batch-approval/138-v1",
        "snowflake_objects_written": []
      },
      "data_publication_authorization": {
        "approval_reference": "Human Data-owner execution authorizes staging and activation of both frozen ML138 v1 models on governed-2026-10-15-january-climate-prod only; no Tier1 admission",
        "approved_at": "2026-10-18 20:41:39.987 -0700",
        "approved_by": "MATTHEWCARAWAY",
        "decision_id": "ri706-ml138-prod-v1-20261018",
        "dev_image_digest": "sha256:bda0fd73557729b0db91534f25ad74749ec0d8e4456a0b8cc7e702e9672a5097",
        "reviewed_code_commit": "d92c1557d24e5b63cc4309c76b3767ac24bbfcb3"
      },
      "data_authorization_id": "ri706-ml138-prod-v1-20261018",
      "staging_attempt": "ml138-v1-02b62d7a4cb8970b",
      "activated_at": "2026-10-18T20:48:15.330000-07:00"
    }
  },
  "tick_pathogen": {
    "model_id": "surveillance-situation-tick-pathogen",
    "availability": "AVAILABLE",
    "unavailable_reason": null,
    "compatibility": "EXACT_INPUT",
    "batch_id": "surveillance-situation-batch",
    "batch_version": "v1",
    "input_release_id": "governed-2026-10-15-january-climate-prod",
    "data": {
      "model_id": "surveillance-situation-tick-pathogen",
      "model_version": "v1",
      "class_id": "surveillance-situation-tick-pathogen.v1.class-0",
      "class_name": "Established blacklegged tick",
      "class_description": "Counties where the blacklegged tick is established or reported and the western blacklegged tick has no records. Counties with pathogen present and counties with no pathogen record are both in this class. The class probability does not measure pathogen presence.",
      "probabilities": [
        {
          "class_id": "surveillance-situation-tick-pathogen.v1.class-0",
          "probability": 0.9991722300466057
        },
        {
          "class_id": "surveillance-situation-tick-pathogen.v1.class-1",
          "probability": 0.0008277699533944034
        },
        {
          "class_id": "surveillance-situation-tick-pathogen.v1.class-2",
          "probability": 7.546843489664015e-309
        },
        {
          "class_id": "surveillance-situation-tick-pathogen.v1.class-3",
          "probability": 0
        }
      ],
      "limitations": [
        "disease risk",
        "incidence",
        "pathogen absence",
        "tier 1 priority"
      ],
      "batch_id": "surveillance-situation-batch",
      "batch_version": "v1",
      "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
      "dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
      "input_release_id": "governed-2026-10-15-january-climate-prod",
      "input_bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
      "fit_git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
      "feature_contract": {
        "dataset_id": "surveillance-latent-class-counties",
        "dataset_version": "v1.1",
        "document": "docs/contracts/119-surveillance-latent-class-dataset-v1.md",
        "feature_set_id": "surveillance-latent-class-indicators",
        "feature_set_version": "v1.1"
      },
      "model_provenance": {
        "algorithm": "in-repository categorical latent class EM",
        "approval_state": "approved_for_data_handoff",
        "batch_id": "surveillance-situation-batch",
        "batch_schema": "docs/contracts/138-surveillance-situation-batch-v1.schema.json",
        "batch_version": "v1",
        "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
        "class_dictionary": "config/models/138-surveillance-situation-class-dictionary-v1.json",
        "class_dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
        "config": "config/experiments/119-latent-class-v1.json",
        "county_artifact": "outputs/138-surveillance-situation-batch-v1/county-assignments.json",
        "county_row_count": 6288,
        "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
        "dependencies": {
          "numpy": "2.2.6",
          "scikit-learn": "1.9.1"
        },
        "feature_contract": {
          "dataset_id": "surveillance-latent-class-counties",
          "dataset_version": "v1.1",
          "document": "docs/contracts/119-surveillance-latent-class-dataset-v1.md",
          "feature_set_id": "surveillance-latent-class-indicators",
          "feature_set_version": "v1.1"
        },
        "git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
        "handoff_document": "docs/contracts/138-surveillance-situation-batch-v1.md",
        "inheritance_rule": "A later Atlas release does not silently inherit these assignments. Carry-forward, a new batch version, or a block requires a dated decision.",
        "missingness_contract": {
          "document": "config/models/138-surveillance-situation-models-v1.json",
          "imputation": "forbidden",
          "no_records": "category",
          "unavailable_is_not_zero": true,
          "unknown": "real_class_not_missing_assignment"
        },
        "model_contract": "config/models/138-surveillance-situation-models-v1.json",
        "models": [
          {
            "class_count": 4,
            "id": "surveillance-situation-four-state",
            "role": "primary_descriptive_classification",
            "version": "v1"
          },
          {
            "class_count": 4,
            "id": "surveillance-situation-tick-pathogen",
            "role": "secondary_tick_pathogen_grouping",
            "version": "v1"
          }
        ],
        "population_scope": {
          "county_count": 3144,
          "geography": "US counties and county equivalents, including Alaska and Hawaii",
          "population": 331097593,
          "population_role": "reporting denominator"
        },
        "primary_seed": 1192026,
        "probability_sum_tolerance": 0.000001,
        "prohibited_readings": [
          "disease risk",
          "incidence",
          "pathogen absence",
          "tier 1 priority"
        ],
        "release_id": "governed-2026-10-15-january-climate-prod",
        "result": "config/experiments/119-latent-class-v1-result.json",
        "result_commit": "a2f9bad41f1ddb793e364399afbdd5fbad008b7a",
        "run": {
          "log_likelihood_tolerance": 1e-8,
          "max_em_iterations": 2000,
          "random_starts_per_seed": 20,
          "training_location": "local machine",
          "wall_clock_seconds_recorded": false
        },
        "schema": "atlas-ml-surveillance-situation-batch-manifest/138-v1",
        "snowflake_objects_written": [],
        "stored_estimator": "in-repository categorical latent class EM"
      },
      "source_provenance": {
        "context_nlcd_2025": {
          "dataset_id": "annual-nlcd-c1v2-2025-reviewed-demo-cohort",
          "limitations": "Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission.",
          "source_id": "mrlc_annual_nlcd_derived_county_aggregates",
          "source_url": "https://www.mrlc.gov/downloads/sciweb1/shared/mrlc/data-bundles/Annual_NLCD_LndCov_2025_CU_C1V2.zip",
          "vintage": "C1V2-2025"
        },
        "context_rucc": {
          "dataset_id": "rural-urban-continuum-codes-2023",
          "limitations": "RUCC is a contextual county classification; vintages are not automatically comparable and it is not a causal or individual risk measure.",
          "source_id": "usda_ers",
          "source_url": "https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/",
          "vintage": "2023"
        },
        "context_svi": {
          "dataset_id": "atsdr-svi-2022-county-layer",
          "limitations": "Contextual population and vulnerability measures are not causal drivers or individual risk factors. The same reviewed source supplies county identity and geometry.",
          "source_id": "cdc_atsdr_svi",
          "source_url": "https://www.atsdr.cdc.gov/placeandhealth/svi/data_documentation_download.html",
          "vintage": "2022 (2018-2022 ACS)"
        },
        "human": {
          "dataset_id": "x5j9-wybp",
          "limitations": "County-of-residence surveillance. County-linked values are published privacy-protected floors, not complete incidence estimates.",
          "source_id": "cdc_lyme",
          "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json",
          "vintage": "2023"
        },
        "pathogen": {
          "dataset_id": "cdc-ixodes-pathogen-status-2025",
          "limitations": "This is a distinct restricted pathogen source. No records is not absence; 33 absent canonical counties are classified as unknown source coverage.",
          "source_id": "cdc_arbonet_tick_module",
          "source_url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
          "vintage": "through 2025-12-31"
        },
        "tick": {
          "dataset_id": "cdc-ixodes-county-status-2025",
          "limitations": "Tick status is cumulative surveillance evidence; no records is not absence and status is not abundance, pathogen prevalence, diagnosis, or individual risk.",
          "source_id": "cdc_arbonet_tick_module",
          "source_url": "https://www.cdc.gov/ticks/data-research/facts-stats/tick-surveillance-data-sets.html",
          "vintage": "through 2025-12-31"
        }
      },
      "handoff_approval": {
        "approval_state": "approved_for_data_handoff",
        "approved_at": "2026-10-18T11:37:14-06:00",
        "approver": "Matthew Caraway",
        "batch_id": "surveillance-situation-batch",
        "batch_version": "v1",
        "bundle_sha256": "53e50aa37c701635e96c48cd4931c4c4a9e7e695c146263fb9bb335e541ae74d",
        "class_dictionary": "config/models/138-surveillance-situation-class-dictionary-v1.json",
        "class_dictionary_sha256": "c0fecc0766c7e485b670624793cd2b02a1c8bafd49c740bcc8db9c62e9d2494b",
        "compatibility_dated": "2026-10-18",
        "compatibility_disposition": "carry forward",
        "compatibility_note": "docs/eda/143-release-compatibility.md",
        "county_artifact": "outputs/138-surveillance-situation-batch-v1/county-assignments.json",
        "county_sha256": "02b62d7a4cb8970b3cd2506f5206a386a9ceed7cb2253baea16299be2d06ec9b",
        "downstream": [
          {
            "issue": 253,
            "repository": "Caraway-Labs/one-health-lyme-gap-atlas-api"
          },
          {
            "issue": 650,
            "repository": "Caraway-Labs/one-health-lyme-gap-atlas-web"
          }
        ],
        "git_sha": "cd936fe345664e606c916b137dd642caa0d6d73b",
        "handoff_note": "docs/contracts/138-surveillance-situation-data-handoff-v1.md",
        "manifest": "config/models/138-surveillance-situation-batch-v1.json",
        "models": [
          {
            "id": "surveillance-situation-four-state",
            "version": "v1"
          },
          {
            "id": "surveillance-situation-tick-pathogen",
            "version": "v1"
          }
        ],
        "production_mutation": "This repository does not mutate production Snowflake.",
        "publisher": {
          "issue": 702,
          "repository": "Caraway-Labs/one-health-lyme-gap-atlas-data"
        },
        "release_id": "governed-2026-10-15-january-climate-prod",
        "result_commit": "a2f9bad41f1ddb793e364399afbdd5fbad008b7a",
        "schema": "atlas-ml-surveillance-situation-batch-approval/138-v1",
        "snowflake_objects_written": []
      },
      "data_publication_authorization": {
        "approval_reference": "Human Data-owner execution authorizes staging and activation of both frozen ML138 v1 models on governed-2026-10-15-january-climate-prod only; no Tier1 admission",
        "approved_at": "2026-10-18 20:41:39.987 -0700",
        "approved_by": "MATTHEWCARAWAY",
        "decision_id": "ri706-ml138-prod-v1-20261018",
        "dev_image_digest": "sha256:bda0fd73557729b0db91534f25ad74749ec0d8e4456a0b8cc7e702e9672a5097",
        "reviewed_code_commit": "d92c1557d24e5b63cc4309c76b3767ac24bbfcb3"
      },
      "data_authorization_id": "ri706-ml138-prod-v1-20261018",
      "staging_attempt": "ml138-v1-02b62d7a4cb8970b",
      "activated_at": "2026-10-18T20:48:15.330000-07:00"
    }
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `no-store`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "County is not in the current geography release.",
  "instance": "/v1/counties/{fips}/surveillance-situations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/{fips}/surveillance-situations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/counties/{fips}/surveillance-situations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/counties/{fips}/surveillance-situations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get county surveillance review priority (https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority)

> Get county surveillance review priority

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [PriorityReason](https://onehealthatlas.org/docs/api-reference/schemas#schema-priorityreason), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [Tier1CountyPriority](https://onehealthatlas.org/docs/api-reference/schemas#schema-tier1countypriority).

## GET /v1/counties/{fips}/tier1-surveillance-priority

Operation ID: `getCountyTier1Priority`.

Get county surveillance review priority

Get the approved Tier 1 surveillance review priority for one county from the current batch.

### How to read it
- This is surveillance review priority, not Lyme disease risk, predicted incidence, probability, clinical risk, or diagnosis.
- LOW is a scored tier. Evidence sufficiency is separate.
- Percentile is relative to the scored batch and population.
- `generated_at_utc` is the model batch time, not the request time.

Responses can be cached for 60 seconds.

### Common problems
| Response | Cause and what to do |
| --- | --- |
| `404` | The county has no published result. |
| `503` | The current view is unavailable or the stored result is malformed. Retry later. |

### Parameters

#### fips

path, required.

County FIPS code: exactly five digits, sent as a string with leading zeros kept, for example `01001`, not `1001`. Connecticut uses planning-region codes such as `09110`. A malformed value returns 422. A county not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^\d{5}$` |

Example:

```json
"08001"
```

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `Tier1CountyPriority`

##### Published review priority for `36061`

```json
{
  "county_fips": "36061",
  "priority_tier": "HIGH",
  "priority_percentile": 99.14094813872096,
  "raw_model_score": 2.1089478300075464,
  "evidence_sufficiency": "SUFFICIENT",
  "model_version": "tier1-statistical-reference-v1",
  "release_id": "governed-2026-09-18-unknown-coverage",
  "source_commit": "024bbbf74a7da8e54566bd60e8e762d85a51e24f",
  "prediction_batch_version": "tier1-review-priority-5536b5caad95cf47",
  "tier_policy_version": "tier1-review-percentile-v1",
  "generated_at_utc": "2026-10-07T02:14:24Z",
  "reasons": [
    {
      "code": "PUBLISHED_HUMAN_FLOOR",
      "text": "Published county-linked human count-floor signal is present; its magnitude is a lower bound."
    },
    {
      "code": "PATHOGEN_NO_RECORDS",
      "text": "Publisher reports No records; this is not evidence of absence."
    }
  ],
  "limitation_ref": "docs/contracts/tier1-persisted-output-v1.md"
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "No current Tier 1 county result",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/counties/{fips}/tier1-surveillance-priority",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Discovery (https://onehealthatlas.org/docs/api-reference/discovery)

> List the indicators and measures you can query.

Generated from the public OpenAPI contract.

List the indicators and measures you can query.

## List indicators [#listIndicators]

`GET /v1/indicators`

Operation ID: `listIndicators`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators).

## Get an indicator [#getIndicator]

`GET /v1/indicators/{indicator_id}`

Operation ID: `getIndicator`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator).

## List measures [#listMeasures]

`GET /v1/measures`

Operation ID: `listMeasures`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures).

## Get a measure [#getMeasure]

`GET /v1/measures/{measure_id}`

Operation ID: `getMeasure`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure).

# Get an indicator (https://onehealthatlas.org/docs/api-reference/discovery/getIndicator)

> Get an indicator

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [Indicator](https://onehealthatlas.org/docs/api-reference/schemas#schema-indicator), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [ResourceEnvelope\_Indicator\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-resourceenvelope-indicator), [StandardsMapping](https://onehealthatlas.org/docs/api-reference/schemas#schema-standardsmapping).

## GET /v1/indicators/{indicator_id}

Operation ID: `getIndicator`.

Get an indicator

Resolve the exact governed public resource ID in the current release. Unknown IDs return 404 RESOURCE_NOT_FOUND. Preserve versions and limitations; null metadata is not inferred. Cache-Control: public, max-age=60, must-revalidate; ETag with matching If-None-Match returns an empty 304.

### Parameters

#### indicator_id

path, required.

Exact indicator ID from the indicator list. An unknown ID returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"human_disease_burden"
```

### Responses

#### 200

Successful current-release resource.

- Media type: `application/json`
- Response schema: `ResourceEnvelope_Indicator_`

##### One indicator

```json
{
  "data": {
    "indicator_id": "human_disease_burden",
    "label": "Human Lyme surveillance",
    "definition": "Published county-linked surveillance values and safe missingness states.",
    "measure_ids": [
      "case_count_floor_2023",
      "human_status",
      "incidence_floor_2023",
      "state_unallocated_records_2023"
    ],
    "semantic_version": "2.0.0",
    "release_version": "governed-2026-10-15-january-climate-prod",
    "domain": null,
    "category": null,
    "limitations": [
      "Published values are privacy-protected floors, not complete incidence."
    ],
    "standards_mappings": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Indicator not found.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get a measure (https://onehealthatlas.org/docs/api-reference/discovery/getMeasure)

> Get a measure

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [GeographyType](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographytype), [Measure](https://onehealthatlas.org/docs/api-reference/schemas#schema-measure), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [ResourceEnvelope\_Measure\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-resourceenvelope-measure), [StandardsMapping](https://onehealthatlas.org/docs/api-reference/schemas#schema-standardsmapping), [ValueState](https://onehealthatlas.org/docs/api-reference/schemas#schema-valuestate).

## GET /v1/measures/{measure_id}

Operation ID: `getMeasure`.

Get a measure

Resolve the exact governed public resource ID in the current release. Unknown IDs return 404 RESOURCE_NOT_FOUND. Preserve versions and limitations; null metadata is not inferred. Cache-Control: public, max-age=60, must-revalidate; ETag with matching If-None-Match returns an empty 304.

### Parameters

#### measure_id

path, required.

Exact measure ID from the measure list. An unknown ID returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"case_count_floor_2023"
```

### Responses

#### 200

Successful current-release resource.

- Media type: `application/json`
- Response schema: `ResourceEnvelope_Measure_`

##### One measure

```json
{
  "data": {
    "measure_id": "case_count_floor_2023",
    "indicator_id": "human_disease_burden",
    "label": "Published case-count floor",
    "definition": null,
    "semantic_version": "2.0.0",
    "release_version": "governed-2026-10-15-january-climate-prod",
    "measure_type": "integer",
    "unit": "cases",
    "denominator": null,
    "geography_types": null,
    "temporal_grains": null,
    "geography_semantics": "COUNTY_FIPS_5",
    "temporal_semantics": "2023",
    "allowed_value_states": null,
    "allowed_strata": null,
    "missingness_semantics": "Null means no county-linked published value.",
    "methodology_id": null,
    "methodology": "x5j9 confirmed plus probable",
    "source_ids": null,
    "limitations": [
      "Privacy-protected floor."
    ],
    "standards_mappings": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Measure not found.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/measures/{measure_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# List indicators (https://onehealthatlas.org/docs/api-reference/discovery/listIndicators)

> List indicators

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CollectionEnvelope\_Indicator\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionenvelope-indicator), [CollectionLinks](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionlinks), [CollectionMeta](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionmeta), [Indicator](https://onehealthatlas.org/docs/api-reference/schemas#schema-indicator), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [StandardsMapping](https://onehealthatlas.org/docs/api-reference/schemas#schema-standardsmapping).

## GET /v1/indicators

Operation ID: `listIndicators`.

List indicators

Current-release discovery with optional documented filters. page_size defaults to 100 (maximum 500); reuse opaque page_token with the same filters and release. A null next_page_token ends traversal. Cache-Control: public, max-age=60, must-revalidate.

### Parameters

#### indicator_id

query, optional.

Return only the indicator with this exact ID. Omit it to list every indicator. An ID that matches nothing returns an empty list.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"human_disease_burden"
```

#### page_size

query, optional.

Items per page; defaults to 100, configured maximum at most 500.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Default | `100` |
| Minimum | `1` |
| Maximum | `500` |

Example:

```json
100
```

#### page_token

query, optional.

Opaque next_page_token; retain query filters and release.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

### Responses

#### 200

Successful current-release resource. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CollectionEnvelope_Indicator_`

##### Two indicators from the current release

```json
{
  "data": [
    {
      "indicator_id": "climate_precipitation",
      "label": "Descriptive county weather",
      "definition": "Reviewed county weather context; no disease-risk interpretation.",
      "measure_ids": [
        "nclimgrid_prcp_county_day"
      ],
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "domain": "climate",
      "category": null,
      "limitations": [
        "January 2025 descriptive county weather only."
      ],
      "standards_mappings": null
    },
    {
      "indicator_id": "climate_temperature",
      "label": "Descriptive county weather",
      "definition": "Reviewed county weather context; no disease-risk interpretation.",
      "measure_ids": [
        "nclimgrid_tavg_county_day",
        "nclimgrid_tmax_county_day",
        "nclimgrid_tmin_county_day"
      ],
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "domain": "climate",
      "category": null,
      "limitations": [
        "January 2025 descriptive county weather only."
      ],
      "standards_mappings": null
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:44:54.271358Z"
  },
  "links": {
    "self": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Measure has no published county observations.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/indicators",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# List measures (https://onehealthatlas.org/docs/api-reference/discovery/listMeasures)

> List measures

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CollectionEnvelope\_Measure\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionenvelope-measure), [CollectionLinks](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionlinks), [CollectionMeta](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionmeta), [GeographyType](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographytype), [Measure](https://onehealthatlas.org/docs/api-reference/schemas#schema-measure), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [StandardsMapping](https://onehealthatlas.org/docs/api-reference/schemas#schema-standardsmapping), [ValueState](https://onehealthatlas.org/docs/api-reference/schemas#schema-valuestate).

## GET /v1/measures

Operation ID: `listMeasures`.

List measures

Current-release discovery with optional documented filters. page_size defaults to 100 (maximum 500); reuse opaque page_token with the same filters and release. A null next_page_token ends traversal. Cache-Control: public, max-age=60, must-revalidate.

### Parameters

#### measure_id

query, optional.

Return only the measure with this exact ID. Omit it to list every measure. An ID that matches nothing returns an empty list.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"case_count_floor_2023"
```

#### indicator_id

query, optional.

Return only measures that belong to this indicator ID. Omit it to list every measure.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"human_disease_burden"
```

#### geography_type

query, optional.

Return only measures whose `geography_semantics` field equals this value exactly, for example `COUNTY_FIPS_5`. Omit it to list every measure.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"COUNTY_FIPS_5"
```

#### page_size

query, optional.

Items per page; defaults to 100, configured maximum at most 500.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Default | `100` |
| Minimum | `1` |
| Maximum | `500` |

Example:

```json
100
```

#### page_token

query, optional.

Opaque next_page_token; retain query filters and release.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

### Responses

#### 200

Successful current-release resource. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CollectionEnvelope_Measure_`

##### Two measures from the current release

```json
{
  "data": [
    {
      "measure_id": "burgdorferi_status",
      "indicator_id": "pathogen_surveillance",
      "label": "Borrelia burgdorferi status",
      "definition": null,
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "measure_type": "string",
      "unit": "status",
      "denominator": null,
      "geography_types": null,
      "temporal_grains": null,
      "geography_semantics": "COUNTY_FIPS_5",
      "temporal_semantics": "as published",
      "allowed_value_states": null,
      "allowed_strata": null,
      "missingness_semantics": "No records is not absence.",
      "methodology_id": null,
      "methodology": "distinct pathogen mapping",
      "source_ids": null,
      "limitations": [
        "Not individual infection risk."
      ],
      "standards_mappings": null
    },
    {
      "measure_id": "case_count_floor_2023",
      "indicator_id": "human_disease_burden",
      "label": "Published case-count floor",
      "definition": null,
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "measure_type": "integer",
      "unit": "cases",
      "denominator": null,
      "geography_types": null,
      "temporal_grains": null,
      "geography_semantics": "COUNTY_FIPS_5",
      "temporal_semantics": "2023",
      "allowed_value_states": null,
      "allowed_strata": null,
      "missingness_semantics": "Null means no county-linked published value.",
      "methodology_id": null,
      "methodology": "x5j9 confirmed plus probable",
      "source_ids": null,
      "limitations": [
        "Privacy-protected floor."
      ],
      "standards_mappings": null
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:45:04.129145Z"
  },
  "links": {
    "self": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Measure has no published county observations.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/measures",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Geographies (https://onehealthatlas.org/docs/api-reference/geographies)

> Validate a county or state FIPS code. Atlas does not yet publish place records, so these operations return HTTP 200 with `availability` set to `UNAVAILABLE`.

Generated from the public OpenAPI contract.

Validate a county or state FIPS code. Atlas does not yet publish place records, so these operations return HTTP 200 with `availability` set to `UNAVAILABLE`.

## Get geography identity [#getGeography]

`GET /v1/geographies/{geography_type}/{geography_id}`

Typed HTTP 200, canonical identity unpublished, at the last production check, 25 October 2026. Production API, 25 October 2026. This records a dated check. This is not a live health indicator.

Operation ID: `getGeography`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/geographies/getGeography).

## Check county geography availability [#checkGeographyAvailability]

`GET /v1/geographies/{geography_type}/{geography_id}/availability`

Operation ID: `checkGeographyAvailability`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability).

# Check county geography availability (https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability)

> Check county geography availability

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CanonicalGeographyAvailability](https://onehealthatlas.org/docs/api-reference/schemas#schema-canonicalgeographyavailability), [GeographyType](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographytype), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/geographies/{geography_type}/{geography_id}/availability

Operation ID: `checkGeographyAvailability`.

Check county geography availability

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
| Response | Cause and what to do |
| --- | --- |
| `400` | The ID is malformed, or you asked for a state. Send a five-digit county FIPS code. |
| `404` | The county is not in the current release. |
| `503` | The county directory is unavailable, empty, duplicated, or inconsistent with the current release. Retry later. |

The response must not be cached.

### Parameters

#### geography_type

path, required.

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

| Constraint | Value |
| --- | --- |
| Schema | `GeographyType` |

Example:

```json
"county"
```

#### geography_id

path, required.

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`.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"08001"
```

### Responses

#### 200

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

- Media type: `application/json`
- Response schema: `CanonicalGeographyAvailability`

##### Confirmed county; canonical geography publication pending

```json
{
  "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."
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `no-store`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "County is not in the current geography release.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}/availability",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get geography identity (https://onehealthatlas.org/docs/api-reference/geographies/getGeography)

> Get geography identity

Typed HTTP 200, canonical identity unpublished, at the last production check, 25 October 2026. Production API, 25 October 2026. This records a dated check. This is not a live health indicator.

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [Geography](https://onehealthatlas.org/docs/api-reference/schemas#schema-geography), [GeographyIdentity](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographyidentity), [GeographyType](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographytype), [GeographyUnavailable](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographyunavailable), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [ResourceEnvelope\_Geography\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-resourceenvelope-geography).

## GET /v1/geographies/{geography_type}/{geography_id}

Operation ID: `getGeography`.

Get geography identity

Validated county/state FIPS identity. While canonical identity delivery is unpublished the response is HTTP 200 with availability UNAVAILABLE, reason CANONICAL_GEOGRAPHY_UNPUBLISHED and data null; the identity is validated for shape only. No geometry is returned. Responses use `Cache-Control: no-store`.

### Parameters

#### geography_type

path, required.

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

| Constraint | Value |
| --- | --- |
| Schema | `GeographyType` |

Example:

```json
"county"
```

#### geography_id

path, required.

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`.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"08001"
```

### Responses

#### 200

Typed answer. While canonical geography identity delivery is unpublished this is availability UNAVAILABLE with data null (HTTP 200, not 5xx, because the hosting edge replaces origin 5xx responses with an HTML 504). This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `ResourceEnvelope_Geography_ | GeographyUnavailable`

##### County identity while canonical delivery is unpublished

```json
{
  "availability": "UNAVAILABLE",
  "reason": "CANONICAL_GEOGRAPHY_UNPUBLISHED",
  "data": null,
  "geography": {
    "geography_type": "county",
    "geography_id": "36061"
  },
  "limitations": [
    "Canonical geography identity delivery is not published by this API capability.",
    "The requested identity is validated for shape only; membership in the current release is not asserted (use the county availability route for that). No canonical, display, or analysis geometry is returned or inferred."
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `no-store`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "County is not in the current geography release.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/geographies/{geography_type}/{geography_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Observations (https://onehealthatlas.org/docs/api-reference/observations)

> Query measure values for counties, each with an explicit `value_state`.

Generated from the public OpenAPI contract.

Query measure values for counties, each with an explicit `value_state`.

## Query county observations [#listObservations]

`GET /v1/observations`

Operation ID: `listObservations`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/observations/listObservations).

# Query county observations (https://onehealthatlas.org/docs/api-reference/observations/listObservations)

> Query county observations

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CollectionEnvelope\_CountyContextObservation\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionenvelope-countycontextobservation), [CollectionEnvelope\_Observation\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionenvelope-observation), [CollectionLinks](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionlinks), [CollectionMeta](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionmeta), [CountyContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-countycontext), [CountyContextObservation](https://onehealthatlas.org/docs/api-reference/schemas#schema-countycontextobservation), [EnvironmentalContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-environmentalcontext), [EvidenceReference](https://onehealthatlas.org/docs/api-reference/schemas#schema-evidencereference), [GeographyIdentity](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographyidentity), [GeographyType](https://onehealthatlas.org/docs/api-reference/schemas#schema-geographytype), [MethodologyComparisonContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-methodologycomparisoncontext), [Observation](https://onehealthatlas.org/docs/api-reference/schemas#schema-observation), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [SurveillanceContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-surveillancecontext), [SurveillanceEvidenceContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-surveillanceevidencecontext), [TemporalAlignmentContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-temporalalignmentcontext), [TemporalCoverageContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-temporalcoveragecontext), [TemporalLagContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-temporallagcontext), [TemporalReferencePeriodContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-temporalreferenceperiodcontext), [TemporalWindowContext](https://onehealthatlas.org/docs/api-reference/schemas#schema-temporalwindowcontext), [ValueState](https://onehealthatlas.org/docs/api-reference/schemas#schema-valuestate).

## GET /v1/observations

Operation ID: `listObservations`.

Query county observations

Query published county observations for one measure and up to 500 counties.

### What it returns
Observations from the current release, ordered by measure ID, county FIPS, period start, then observation ID. You cannot sort or aggregate. Each observation carries its `value_state`, source, methodology, and limitations.

### Required parameters
Send `measure_id`, `geography_type=county`, one or more `geography_id` values, and the time parameter that the measure type accepts.

### Time parameters by measure type
| Measure type | Send | Wrong choice returns |
| --- | --- | --- |
| Annual surveillance (data is for 2023) | `year`, or `start_date` and `end_date` | 400 `INVALID_REQUEST` if you send both `year` and dates, or neither. 400 `UNSUPPORTED_FILTER` if you send `vintage_year`. |
| Daily environmental (January 2025 weather measures, enabled separately) | `start_date` and `end_date`, or `year` | 400 `INVALID_REQUEST` if you send only one date, or both `year` and dates. 400 `UNSUPPORTED_FILTER` if you send `vintage_year`. |
| CDC cumulative status (`scapularis_status`, `burgdorferi_status`) | `start_date=2025-12-31` and `end_date=2025-12-31` (grain `CUMULATIVE`) | 400 `UNSUPPORTED_FILTER` for `year` or any other date range. The API rejects it before it reads data. |
| County context vintages (SVI, population, insurance) | `vintage_year=2022` (periods are ACS 2018-2022) | 400 `INVALID_REQUEST` if `vintage_year` is missing. 400 `UNSUPPORTED_FILTER` for another vintage, `year`, `start_date`, or `end_date`. |
| RUCC (`rucc_2023`) | `vintage_year=2023` (categorical codes and labels, with `null` period dates) | 400 `INVALID_REQUEST` if `vintage_year` is missing. 400 `UNSUPPORTED_FILTER` for another vintage, `year`, `start_date`, or `end_date`. |

### Value states
| Case | How to read it |
| --- | --- |
| Environmental measures | Descriptive weather with labeled daily periods and `environmental_context` coverage. They have no strata and make no causal, disease-risk, or machine-learning claim. |
| Surveillance context | Optional, and it needs a published delivery. `normalized_state` preserves the publisher's meaning, and the publisher's value stays in `value`. |
| Missing context | It does not establish absence or temporal comparability. |
| Absent county context rows | They are unavailable evidence, never zero. |

### Empty versus unavailable results
| Situation | Response |
| --- | --- |
| An initial query finds no published results (any measure except CDC status) | HTTP 200 with `meta.availability` `UNAVAILABLE` and `reason` `NO_PUBLISHED_RESULTS`. This does not establish source coverage or biological absence. |
| You page past the last result | HTTP 200 with `meta.availability` `AVAILABLE`. |
| CDC status is not published for the county, or a service error occurs | A non-2xx error response, not a 200. |

### Paging
Send `next_page_token` unchanged with the same filters. Page tokens are tied to the filters and the release.

### Caching
An `UNAVAILABLE` collection must not be cached.

### Parameters

#### measure_id

query, required.

Exact discovery measure ID.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Minimum length | `1` |

Example:

```json
"case_count_floor_2023"
```

#### geography_type

query, required.

Kind of place. Only `county` is supported; `state` returns 400 `UNSUPPORTED_FILTER`.

| Constraint | Value |
| --- | --- |
| Schema | `GeographyType` |

Example:

```json
"county"
```

#### geography_id

query, required.

Repeat for 1-500 county FIPS strings; preserve leading zeros.

| Constraint | Value |
| --- | --- |
| Schema | `array of string` |
| Minimum items | `1` |
| Maximum items | `500` |

Example:

```json
[
  "08001"
]
```

#### vintage_year

query, optional.

Required for county context: 2022 for SVI/ACS, 2023 for RUCC. Excludes year/date filters.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Minimum | `1900` |
| Maximum | `2100` |

#### year

query, optional.

Annual year or complete date range, not both. CDC cumulative status rejects year; use start_date=end_date=2025-12-31.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Minimum | `1900` |
| Maximum | `2100` |

Example:

```json
2023
```

#### start_date

query, optional.

Inclusive period start; requires end_date and excludes year.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |
| Format | `date` |

Example:

```json
"2023-01-01"
```

#### end_date

query, optional.

Inclusive period end; requires start_date and excludes year.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |
| Format | `date` |

Example:

```json
"2023-12-31"
```

#### stratification

query, optional.

Current release has no strata; unsupported selections fail explicitly.

| Constraint | Value |
| --- | --- |
| Schema | `array of string` |

#### page_size

query, optional.

Items per page; defaults to 100, configured maximum at most 500.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Default | `100` |
| Minimum | `1` |
| Maximum | `500` |

Example:

```json
100
```

#### page_token

query, optional.

Opaque next_page_token; retain query filters and release.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

### Responses

#### 200

Bounded current-release observations. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CollectionEnvelope_CountyContextObservation_ | CollectionEnvelope_Observation_`

##### An observed value: New York County (`36061`)

```json
{
  "data": [
    {
      "metadata_revision_id": null,
      "observation_id": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1",
      "measure_id": "case_count_floor_2023",
      "geography": {
        "geography_type": "county",
        "geography_id": "36061"
      },
      "temporal_grain": "YEAR",
      "value": 1114,
      "value_state": "OBSERVED",
      "unit": "cases",
      "denominator": null,
      "strata": {},
      "source_id": "human",
      "lineage_source_id": "cdc_lyme",
      "dataset_id": "x5j9-wybp",
      "methodology_id": "human_confirmed_probable_case_floor_v1",
      "methodology": "x5j9 confirmed plus probable",
      "release_methodology_version": "semantic-2.0.0",
      "methodology_version": "semantic_county_assembly_v1",
      "semantic_version": "2.0.0",
      "release_id": "governed-2026-10-15-january-climate-prod",
      "provenance_ref": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1",
      "source_label": "CDC Lyme surveillance",
      "source_vintage": "2023",
      "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json",
      "source_published_at": null,
      "atlas_acquired_at": "2026-09-07T17:21:14.768948-07:00",
      "atlas_processed_at": null,
      "limitations": [
        "Published surveillance values are privacy-protected floors, not complete incidence estimates.",
        "Privacy-protected floor.",
        "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission."
      ],
      "evidence": {
        "resource_type": "observation",
        "resource_id": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1",
        "source_id": "human",
        "provenance_ref": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1",
        "semantic_version": "2.0.0",
        "methodology_version": "semantic_county_assembly_v1",
        "release_id": "governed-2026-10-15-january-climate-prod",
        "uri": null
      },
      "environmental_context": null,
      "surveillance_context": null,
      "period_start": "2023-01-01",
      "period_end": "2023-12-31"
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:46:22.070184Z",
    "availability": "AVAILABLE",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "limitations": []
  },
  "links": {
    "self": null
  }
}
```

##### A missing value: Boulder County (`08001`) has no published value

```json
{
  "data": [
    {
      "metadata_revision_id": null,
      "observation_id": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
      "measure_id": "case_count_floor_2023",
      "geography": {
        "geography_type": "county",
        "geography_id": "08001"
      },
      "temporal_grain": "YEAR",
      "value": null,
      "value_state": "MISSING",
      "unit": "cases",
      "denominator": null,
      "strata": {},
      "source_id": "human",
      "lineage_source_id": "cdc_lyme",
      "dataset_id": "x5j9-wybp",
      "methodology_id": "human_confirmed_probable_case_floor_v1",
      "methodology": "x5j9 confirmed plus probable",
      "release_methodology_version": "semantic-2.0.0",
      "methodology_version": "semantic_county_assembly_v1",
      "semantic_version": "2.0.0",
      "release_id": "governed-2026-10-15-january-climate-prod",
      "provenance_ref": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
      "source_label": "CDC Lyme surveillance",
      "source_vintage": "2023",
      "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json",
      "source_published_at": null,
      "atlas_acquired_at": "2026-09-07T17:21:14.768948-07:00",
      "atlas_processed_at": null,
      "limitations": [
        "Published surveillance values are privacy-protected floors, not complete incidence estimates.",
        "Privacy-protected floor.",
        "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission."
      ],
      "evidence": {
        "resource_type": "observation",
        "resource_id": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
        "source_id": "human",
        "provenance_ref": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
        "semantic_version": "2.0.0",
        "methodology_version": "semantic_county_assembly_v1",
        "release_id": "governed-2026-10-15-january-climate-prod",
        "uri": null
      },
      "environmental_context": null,
      "surveillance_context": null,
      "period_start": "2023-01-01",
      "period_end": "2023-12-31"
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:46:30.691271Z",
    "availability": "AVAILABLE",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "limitations": []
  },
  "links": {
    "self": null
  }
}
```

##### An empty result with `meta.availability` set to `UNAVAILABLE`

```json
{
  "data": [],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:46:37.282561Z",
    "availability": "UNAVAILABLE",
    "reason": "NO_PUBLISHED_RESULTS",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "limitations": [
      "No published observations match this selection in the checked release. This does not establish biological absence, source coverage, or geography membership."
    ]
  },
  "links": {
    "self": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: The API sets no `Cache-Control` header on an available result, so do not assume a cache lifetime. It sends `no-store` when `meta.availability` is `UNAVAILABLE`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

##### Stratification requested

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-stratification",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This release has no governed strata.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_STRATIFICATION"
}
```

##### Selection above the result limit

```json
{
  "type": "https://onehealthatlas.org/problems/query-too-broad",
  "title": "Invalid public query",
  "status": 400,
  "detail": "Narrow measure, geography, time, or stratification selection.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "QUERY_TOO_BROAD"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Measure has no published county observations.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/observations",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Provenance (https://onehealthatlas.org/docs/api-reference/provenance)

> Look up the sources and methodologies behind a value, with versions.

Generated from the public OpenAPI contract.

Look up the sources and methodologies behind a value, with versions.

## Get a methodology [#getMethodology]

`GET /v1/methodologies/{methodology_id}`

Operation ID: `getMethodology`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology).

## List sources [#listSources]

`GET /v1/sources`

Operation ID: `listSources`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/provenance/listSources).

## Get a source [#getSource]

`GET /v1/sources/{source_id}`

Operation ID: `getSource`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/provenance/getSource).

# Get a methodology (https://onehealthatlas.org/docs/api-reference/provenance/getMethodology)

> Get a methodology

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [Methodology](https://onehealthatlas.org/docs/api-reference/schemas#schema-methodology), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [ResourceEnvelope\_Methodology\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-resourceenvelope-methodology).

## GET /v1/methodologies/{methodology_id}

Operation ID: `getMethodology`.

Get a methodology

Resolve the exact governed public resource ID in the current release. Unknown IDs return 404 RESOURCE_NOT_FOUND. Preserve versions and limitations; null metadata is not inferred. Cache-Control: public, max-age=60, must-revalidate; ETag with matching If-None-Match returns an empty 304.

### Parameters

#### methodology_id

path, required.

Exact methodology ID, as given in a `methodology_id` field. An unknown ID returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"human_confirmed_probable_case_floor_v1"
```

### Responses

#### 200

Successful current-release resource.

- Media type: `application/json`
- Response schema: `ResourceEnvelope_Methodology_`

##### One methodology

```json
{
  "data": {
    "methodology_id": "human_confirmed_probable_case_floor_v1",
    "measure_id": "case_count_floor_2023",
    "version": "semantic-2.0.0",
    "description": "x5j9 confirmed plus probable",
    "limitations": [
      "Privacy-protected floor."
    ],
    "semantic_version": "2.0.0",
    "release_version": "governed-2026-10-15-january-climate-prod"
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Methodology not found.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/methodologies/{methodology_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Get a source (https://onehealthatlas.org/docs/api-reference/provenance/getSource)

> Get a source

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [ResourceEnvelope\_Source\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-resourceenvelope-source), [Source](https://onehealthatlas.org/docs/api-reference/schemas#schema-source).

## GET /v1/sources/{source_id}

Operation ID: `getSource`.

Get a source

Resolve the exact governed public resource ID in the current release. Unknown IDs return 404 RESOURCE_NOT_FOUND. Preserve versions and limitations; null metadata is not inferred. Cache-Control: public, max-age=60, must-revalidate; ETag with matching If-None-Match returns an empty 304.

### Parameters

#### source_id

path, required.

Exact source ID, as given in a `source_id` field. An unknown ID returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |

Example:

```json
"human"
```

### Responses

#### 200

Successful current-release resource.

- Media type: `application/json`
- Response schema: `ResourceEnvelope_Source_`

##### One source

```json
{
  "data": {
    "source_id": "human",
    "label": "CDC Lyme surveillance",
    "publisher": "Centers for Disease Control and Prevention",
    "lineage_source_id": "cdc_lyme",
    "dataset_id": "x5j9-wybp",
    "semantic_version": "2.0.0",
    "release_version": "governed-2026-10-15-january-climate-prod",
    "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json",
    "source_vintage": "2023",
    "source_version": null,
    "published_at": null,
    "atlas_acquired_at": null,
    "upstream_updated_at": null,
    "source_retrieved_at": null,
    "limitations": [
      "County-of-residence surveillance. County-linked values are published privacy-protected floors, not complete incidence estimates."
    ]
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Source not found.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/sources/{source_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# List sources (https://onehealthatlas.org/docs/api-reference/provenance/listSources)

> List sources

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [CollectionEnvelope\_Source\_](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionenvelope-source), [CollectionLinks](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionlinks), [CollectionMeta](https://onehealthatlas.org/docs/api-reference/schemas#schema-collectionmeta), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [Source](https://onehealthatlas.org/docs/api-reference/schemas#schema-source).

## GET /v1/sources

Operation ID: `listSources`.

List sources

Current-release discovery with optional documented filters. page_size defaults to 100 (maximum 500); reuse opaque page_token with the same filters and release. A null next_page_token ends traversal. Cache-Control: public, max-age=60, must-revalidate.

### Parameters

#### page_size

query, optional.

Items per page; defaults to 100, configured maximum at most 500.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |
| Default | `100` |
| Minimum | `1` |
| Maximum | `500` |

Example:

```json
100
```

#### page_token

query, optional.

Opaque next_page_token; retain query filters and release.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

### Responses

#### 200

Successful current-release resource. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `CollectionEnvelope_Source_`

##### Two sources from the current release

```json
{
  "data": [
    {
      "source_id": "context_nlcd_2025",
      "label": "MRLC Annual NLCD 2025 reviewed demo cohort",
      "publisher": null,
      "lineage_source_id": "mrlc_annual_nlcd_derived_county_aggregates",
      "dataset_id": "annual-nlcd-c1v2-2025-reviewed-demo-cohort",
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "source_url": "https://www.mrlc.gov/downloads/sciweb1/shared/mrlc/data-bundles/Annual_NLCD_LndCov_2025_CU_C1V2.zip",
      "source_vintage": "C1V2-2025",
      "source_version": null,
      "published_at": null,
      "atlas_acquired_at": null,
      "upstream_updated_at": null,
      "source_retrieved_at": null,
      "limitations": [
        "Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission."
      ]
    },
    {
      "source_id": "context_rucc",
      "label": "USDA ERS Rural-Urban Continuum Codes",
      "publisher": null,
      "lineage_source_id": "usda_ers",
      "dataset_id": "rural-urban-continuum-codes-2023",
      "semantic_version": "2.0.0",
      "release_version": "governed-2026-10-15-january-climate-prod",
      "source_url": "https://www.ers.usda.gov/data-products/rural-urban-continuum-codes/",
      "source_vintage": "2023",
      "source_version": null,
      "published_at": null,
      "atlas_acquired_at": null,
      "upstream_updated_at": null,
      "source_retrieved_at": null,
      "limitations": [
        "RUCC is a contextual county classification; vintages are not automatically comparable and it is not a causal or individual risk measure."
      ]
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-25T02:45:13.381750Z"
  },
  "links": {
    "self": null
  }
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 400

The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Missing required parameter

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "missing",
      "loc": [
        "query",
        "measure_id"
      ],
      "msg": "Field required"
    }
  ],
  "code": "INVALID_REQUEST"
}
```

##### Query parameter V1 does not accept

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "UNSUPPORTED_FILTER"
}
```

#### 404

The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Unknown resource ID

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "Measure has no published county observations.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RESOURCE_NOT_FOUND"
}
```

#### 413

The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### GET request with a body

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 414

The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Query string over the length limit

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "INVALID_REQUEST"
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Request limit reached

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/sources",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Schemas (https://onehealthatlas.org/docs/api-reference/schemas)

> Component schemas from the pinned public Atlas OpenAPI contract, with field types, required flags, descriptions, examples, and the operations that use them.

Read each field before writing a parser. A field row lists the name, the type, whether the field is required, the contract description, and an example when the contract includes one. `null` stays in the type when a value can be null. A linked type names another schema in the reference. Enum values are listed with the meaning stated in the contract. The operations under a schema return or accept that schema.

## Schema index [#schema-index]

### Atlas evidence (V1 resources) [#atlas-evidence-v1-resources]

* [CanonicalGeographyAvailability](#schema-canonicalgeographyavailability)
* [CollectionEnvelope\_CountyContextObservation\_](#schema-collectionenvelope-countycontextobservation)
* [CollectionEnvelope\_Indicator\_](#schema-collectionenvelope-indicator)
* [CollectionEnvelope\_Measure\_](#schema-collectionenvelope-measure)
* [CollectionEnvelope\_Observation\_](#schema-collectionenvelope-observation)
* [CollectionEnvelope\_Source\_](#schema-collectionenvelope-source)
* [CollectionLinks](#schema-collectionlinks)
* [CollectionMeta](#schema-collectionmeta)
* [CountyContext](#schema-countycontext)
* [CountyContextObservation](#schema-countycontextobservation)
* [EnvironmentalContext](#schema-environmentalcontext)
* [EvidenceReference](#schema-evidencereference)
* [Geography](#schema-geography)
* [GeographyIdentity](#schema-geographyidentity)
* [GeographyType](#schema-geographytype)
* [GeographyUnavailable](#schema-geographyunavailable)
* [Indicator](#schema-indicator)
* [Measure](#schema-measure)
* [Methodology](#schema-methodology)
* [MethodologyComparisonContext](#schema-methodologycomparisoncontext)
* [Observation](#schema-observation)
* [ProblemDetails](#schema-problemdetails)
* [ResourceEnvelope\_Geography\_](#schema-resourceenvelope-geography)
* [ResourceEnvelope\_Indicator\_](#schema-resourceenvelope-indicator)
* [ResourceEnvelope\_Measure\_](#schema-resourceenvelope-measure)
* [ResourceEnvelope\_Methodology\_](#schema-resourceenvelope-methodology)
* [ResourceEnvelope\_Source\_](#schema-resourceenvelope-source)
* [Source](#schema-source)
* [StandardsMapping](#schema-standardsmapping)
* [SurveillanceContext](#schema-surveillancecontext)
* [SurveillanceEvidenceContext](#schema-surveillanceevidencecontext)
* [TemporalAlignmentContext](#schema-temporalalignmentcontext)
* [TemporalCoverageContext](#schema-temporalcoveragecontext)
* [TemporalLagContext](#schema-temporallagcontext)
* [TemporalReferencePeriodContext](#schema-temporalreferenceperiodcontext)
* [TemporalWindowContext](#schema-temporalwindowcontext)
* [ValueState](#schema-valuestate)

### Atlas analytics and reports [#atlas-analytics-and-reports]

* [AtlasMetadata](#schema-atlasmetadata)
* [Candidate](#schema-candidate)
* [CountyDetail](#schema-countydetail)
* [CountyMapValues](#schema-countymapvalues)
* [CountyScoreSummary](#schema-countyscoresummary)
* [CountySurveillanceSituations](#schema-countysurveillancesituations)
* [DataGap](#schema-datagap)
* [MapValuesCollection](#schema-mapvaluescollection)
* [MembershipProbability](#schema-membershipprobability)
* [PriorityReason](#schema-priorityreason)
* [ProblemDetails](#schema-problemdetails)
* [PublicReviewEvidenceReference](#schema-publicreviewevidencereference)
* [ReviewCoverage](#schema-reviewcoverage)
* [Score](#schema-score)
* [ScoreCollection](#schema-scorecollection)
* [SituationClassification](#schema-situationclassification)
* [SituationVariant](#schema-situationvariant)
* [SourceMetadata](#schema-sourcemetadata)
* [StateReview](#schema-statereview)
* [Tier1CountyPriority](#schema-tier1countypriority)
* [Tier1CountyPriorityAvailability](#schema-tier1countypriorityavailability)

## CanonicalGeographyAvailability [#schema-canonicalgeographyavailability]

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

### Operations [#operations]

* [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability) — Check county geography availability

Type: `object`

| Name           | Type                              | Required | Description                                                             |
| -------------- | --------------------------------- | -------- | ----------------------------------------------------------------------- |
| `availability` | `UNAVAILABLE`                     | required | Always `UNAVAILABLE`: the county's geography data is not published.     |
| `reason`       | `CANONICAL_GEOGRAPHY_UNPUBLISHED` | required | Why the data is unavailable. The geography data has not been published. |
| `data`         | `null`                            | required | Always `null`. The API returns no geography data or geometry.           |
| `release_id`   | `string`                          | required | Identifies the county directory release used to confirm the county.     |
| `limitations`  | array of `string`                 | required | Publication and representation boundaries, not scientific absence.      |

## CollectionEnvelope\_CountyContextObservation\_ [#schema-collectionenvelope-countycontextobservation]

A page of county population or rurality observations, with paging details and links. Read `meta.availability` and `meta.next_page_token` before you use `data`.

### Operations [#operations-1]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name    | Type                                                                  | Required | Description                                        |
| ------- | --------------------------------------------------------------------- | -------- | -------------------------------------------------- |
| `data`  | array of [CountyContextObservation](#schema-countycontextobservation) | required | The items on this page. Empty when there are none. |
| `meta`  | [CollectionMeta](#schema-collectionmeta)                              | required | Paging, release, and availability details.         |
| `links` | [CollectionLinks](#schema-collectionlinks)                            | required | Links related to this response.                    |

## CollectionEnvelope\_Indicator\_ [#schema-collectionenvelope-indicator]

A page of indicators, with paging details and links. Read `meta.next_page_token` to get the next page.

### Operations [#operations-2]

* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators

Type: `object`

| Name    | Type                                       | Required | Description                                        |
| ------- | ------------------------------------------ | -------- | -------------------------------------------------- |
| `data`  | array of [Indicator](#schema-indicator)    | required | The items on this page. Empty when there are none. |
| `meta`  | [CollectionMeta](#schema-collectionmeta)   | required | Paging, release, and availability details.         |
| `links` | [CollectionLinks](#schema-collectionlinks) | required | Links related to this response.                    |

## CollectionEnvelope\_Measure\_ [#schema-collectionenvelope-measure]

A page of measures, with paging details and links. Read `meta.next_page_token` to get the next page.

### Operations [#operations-3]

* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures

Type: `object`

| Name    | Type                                       | Required | Description                                        |
| ------- | ------------------------------------------ | -------- | -------------------------------------------------- |
| `data`  | array of [Measure](#schema-measure)        | required | The items on this page. Empty when there are none. |
| `meta`  | [CollectionMeta](#schema-collectionmeta)   | required | Paging, release, and availability details.         |
| `links` | [CollectionLinks](#schema-collectionlinks) | required | Links related to this response.                    |

## CollectionEnvelope\_Observation\_ [#schema-collectionenvelope-observation]

A page of observations, with paging details and links. Read `meta.availability` and `meta.next_page_token` before you use `data`.

### Operations [#operations-4]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name    | Type                                        | Required | Description                                        |
| ------- | ------------------------------------------- | -------- | -------------------------------------------------- |
| `data`  | array of [Observation](#schema-observation) | required | The items on this page. Empty when there are none. |
| `meta`  | [CollectionMeta](#schema-collectionmeta)    | required | Paging, release, and availability details.         |
| `links` | [CollectionLinks](#schema-collectionlinks)  | required | Links related to this response.                    |

## CollectionEnvelope\_Source\_ [#schema-collectionenvelope-source]

A page of sources, with paging details and links. Read `meta.next_page_token` to get the next page.

### Operations [#operations-5]

* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources

Type: `object`

| Name    | Type                                       | Required | Description                                        |
| ------- | ------------------------------------------ | -------- | -------------------------------------------------- |
| `data`  | array of [Source](#schema-source)          | required | The items on this page. Empty when there are none. |
| `meta`  | [CollectionMeta](#schema-collectionmeta)   | required | Paging, release, and availability details.         |
| `links` | [CollectionLinks](#schema-collectionlinks) | required | Links related to this response.                    |

## CollectionLinks [#schema-collectionlinks]

Links related to a list response.

### Operations [#operations-6]

* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations
* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources

Type: `object`

| Name   | Type             | Required | Description                                                      |
| ------ | ---------------- | -------- | ---------------------------------------------------------------- |
| `self` | `string \| null` | optional | Link to this page of results. `null` when the API supplies none. |

## CollectionMeta [#schema-collectionmeta]

Paging, release, and availability details for a list response.

### Operations [#operations-7]

* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations
* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources

Type: `object`

| Name              | Type                               | Required | Description                                                                                                                                                                                                         |
| ----------------- | ---------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `next_page_token` | `string \| null`                   | optional | Send this value as `page_token` to get the next page, with the same filters. Do not parse it. `null` means there are no more pages. A token can stop working after a service restart.                               |
| `response_at`     | `string (date-time)`               | optional | When Atlas built this response, in UTC. It is not when the publisher last updated the data and not when the observation was made.                                                                                   |
| `availability`    | `AVAILABLE \| UNAVAILABLE \| null` | optional | Whether Atlas has published results for the selection. It does not describe biological presence. Returned for observations and omitted on other collections. A later page that runs out of items stays `AVAILABLE`. |
| `reason`          | `NO_PUBLISHED_RESULTS \| null`     | optional | Why `availability` is `UNAVAILABLE`. `NO_PUBLISHED_RESULTS` means the first query found no published results. Omitted otherwise.                                                                                    |
| `release_id`      | `string \| null`                   | optional | Identifies the published data release this query read. Results from different releases are not directly comparable.                                                                                                 |
| `limitations`     | array of `string` \| `null`        | optional | Notes on what the availability result does and does not show. Returned with `availability` on observation collections and omitted elsewhere.                                                                        |

### `availability` values [#availability-values]

| Value         | Meaning            |
| ------------- | ------------------ |
| `AVAILABLE`   | No description yet |
| `UNAVAILABLE` | No description yet |

### `reason` values [#reason-values]

| Value                  | Meaning                                    |
| ---------------------- | ------------------------------------------ |
| `NO_PUBLISHED_RESULTS` | the first query found no published results |

## CountyContext [#schema-countycontext]

Describes the county context field that a population or rurality value came from.

### Operations [#operations-8]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                           | Type                                      | Required | Description                                                             | Example |
| ------------------------------ | ----------------------------------------- | -------- | ----------------------------------------------------------------------- | ------- |
| `contract_version`             | `atlas-county-context-consumer/1`         | required | Version of the contract that defines this object.                       | —       |
| `vintage_year`                 | `integer`                                 | required | Year of the source product or classification. It is not an annual date. | `2023`  |
| `source_field`                 | `string`                                  | required | Name of the field in the source product.                                | —       |
| `value_type`                   | `integer \| number`                       | required | Whether `value` is an integer or a decimal number.                      | —       |
| `category_label`               | `string \| null`                          | required | Official label of the category. `null` for quantities.                  | —       |
| `definition`                   | `string`                                  | required | Plain-language definition of the field.                                 | —       |
| `allowed_value_states`         | array of [ValueState](#schema-valuestate) | required | The `value_state` values this field can return.                         | —       |
| `metadata_methodology_version` | `string`                                  | required | Version of the methodology metadata that describes this field.          | —       |

### `value_type` values [#value_type-values]

| Value     | Meaning            |
| --------- | ------------------ |
| `integer` | No description yet |
| `number`  | No description yet |

## CountyContextObservation [#schema-countycontextobservation]

A county population or rurality value, reported for a reference period or a vintage.

### Operations [#operations-9]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                          | Type                                                           | Required | Description                                                                                                                             |
| ----------------------------- | -------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `metadata_revision_id`        | `string \| null`                                               | optional | Identifies the reviewed metadata revision that describes this observation. `null` when none applies.                                    |
| `observation_id`              | `string`                                                       | required | Stable identifier of the observation. It also serves as the provenance reference.                                                       |
| `measure_id`                  | `string`                                                       | required | Identifier of the measure. See `/v1/measures/{measure_id}`.                                                                             |
| `geography`                   | [GeographyIdentity](#schema-geographyidentity)                 | required | The place the value describes.                                                                                                          |
| `temporal_grain`              | `PERIOD \| VINTAGE_YEAR`                                       | required | `PERIOD` for a dated reference period. `VINTAGE_YEAR` for a classification that has no dates.                                           |
| `value`                       | `integer \| string \| null`                                    | required | An integer for a population or category, or exact decimal text. `ZERO` is the integer 0. Read it with `value_state`.                    |
| `value_state`                 | [ValueState](#schema-valuestate)                               | required | How to read `value`. The `ValueState` schema explains each state and what a client should do. Never treat a `null` value as zero.       |
| `unit`                        | `string`                                                       | required | Unit of `value`, such as `count` or `mm`.                                                                                               |
| `denominator`                 | `string \| null`                                               | required | What the value is measured against, such as a population. `null` means Atlas supplies no denominator; do not infer one.                 |
| `strata`                      | object of `string`                                             | optional | Breakdown the value applies to, such as an age group. Empty when the release has no strata.                                             |
| `source_id`                   | `string`                                                       | required | Public key of the source resource. Use it with `/v1/sources/{source_id}`. It differs from `lineage_source_id` and `dataset_id`.         |
| `lineage_source_id`           | `string \| null`                                               | optional | Identifies the source in Atlas lineage records. It differs from `source_id`.                                                            |
| `dataset_id`                  | `string \| null`                                               | optional | Identifies the publisher's dataset. It differs from `source_id`.                                                                        |
| `methodology_id`              | `string \| null`                                               | required | Identifies the methodology resource. Use it with `/v1/methodologies/{methodology_id}`. `null` when no methodology resource applies.     |
| `methodology`                 | `string \| null`                                               | optional | Short name of the method that produced the value.                                                                                       |
| `release_methodology_version` | `string \| null`                                               | optional | Version of the methodology as published in this release. `null` when none.                                                              |
| `methodology_version`         | `string`                                                       | required | Version of the transformation applied to this observation. It is separate from the version of the methodology resource.                 |
| `semantic_version`            | `string`                                                       | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        |
| `release_id`                  | `string`                                                       | required | Identifies the published data release the result came from. Results from different releases are not directly comparable.                |
| `provenance_ref`              | `string`                                                       | required | Identifies the provenance record for this observation. It is not a literature citation.                                                 |
| `source_label`                | `string \| null`                                               | optional | Display name of the source. `null` when none is published.                                                                              |
| `source_vintage`              | `string \| null`                                               | optional | Reference year or period of the source dataset, such as `ACS 2018-2022`. It is not an annual value.                                     |
| `source_url`                  | `string \| null`                                               | optional | Web address of the source. `null` when none is published.                                                                               |
| `source_published_at`         | `string (date-time) \| null`                                   | optional | When the publisher published the data. Includes a UTC offset. `null` when not recorded; do not assume the data is fresh.                |
| `atlas_acquired_at`           | `string (date-time) \| null`                                   | optional | When Atlas retrieved the data from the publisher. Includes a UTC offset. `null` when not recorded.                                      |
| `atlas_processed_at`          | `string (date-time) \| null`                                   | optional | When Atlas processed the data. Includes a UTC offset. It is not the response time. `null` when not recorded.                            |
| `limitations`                 | array of `string`                                              | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `evidence`                    | [EvidenceReference](#schema-evidencereference)                 | required | Compact pointer to the Atlas resource that backs this observation.                                                                      |
| `environmental_context`       | [EnvironmentalContext](#schema-environmentalcontext) \| `null` | optional | Coverage details. Present only for environmental measures. Exact decimal quantities may be strings.                                     |
| `surveillance_context`        | [SurveillanceContext](#schema-surveillancecontext) \| `null`   | optional | Optional surveillance evidence. Omitted or `null` supports no claim about evidence state, comparability, or lag.                        |
| `period_start`                | `string (date) \| null`                                        | required | First date of the reference period. `null` for a classification vintage.                                                                |
| `period_end`                  | `string (date) \| null`                                        | required | Last date of the reference period. `null` for a classification vintage.                                                                 |
| `county_context`              | [CountyContext](#schema-countycontext)                         | required | Describes the field the value came from.                                                                                                |

### `temporal_grain` values [#temporal_grain-values]

| Value          | Meaning                                |
| -------------- | -------------------------------------- |
| `PERIOD`       | for a dated reference period           |
| `VINTAGE_YEAR` | for a classification that has no dates |

## EnvironmentalContext [#schema-environmentalcontext]

How completely the source covers a county and day. It is separate from `value_state`.

Area values are square meters. Exact decimal quantities may be strings.

### Operations [#operations-10]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                               | Type                                                                       | Required | Description                                                                                                                |
| ---------------------------------- | -------------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| `coverage_status`                  | `COMPLETE \| PARTIAL_COVERAGE \| SOURCE_MISSING \| OUT_OF_SOURCE_COVERAGE` | required | How much of the county the source covers for this day.                                                                     |
| `source_time_present`              | `boolean`                                                                  | required | Whether the source supplied a time for this observation.                                                                   |
| `day_convention`                   | `string`                                                                   | required | How the publisher defines a day. It is a labeled 24-hour period, not necessarily a midnight-to-midnight calendar day.      |
| `expected_area_m2`                 | `number \| string \| null`                                                 | required | County area expected to be covered, in square meters. `null` when unknown.                                                 |
| `intersected_area_m2`              | `number \| string \| null`                                                 | required | County area that overlaps the source grid, in square meters. `null` when unknown.                                          |
| `source_supported_area_m2`         | `number \| string \| null`                                                 | required | County area the source supports, in square meters. `null` when unknown.                                                    |
| `valid_area_m2`                    | `number \| string \| null`                                                 | required | County area with a valid source value for this day, in square meters. `null` when unknown.                                 |
| `source_coverage_fraction`         | `number \| string \| null`                                                 | required | Monthly share of the county area that the source supports. It is separate from daily completeness.                         |
| `valid_fraction_of_supported_area` | `number \| string \| null`                                                 | required | Daily share of the supported area that has a valid value. Atlas treats 0.95 as the completeness threshold.                 |
| `upstream_date_modified`           | `string \| null`                                                           | required | Modification date the source reports. It is not the original publication date or the date the data first became available. |
| `weight_version`                   | `string`                                                                   | required | Version of the area weights used to combine grid cells into a county value.                                                |
| `geometry_version`                 | `string`                                                                   | required | Version of the county boundaries used for the calculation. The API returns no boundary geometry.                           |
| `metadata_revision_id`             | `string`                                                                   | required | Identifies the reviewed metadata revision that describes this context.                                                     |

### `coverage_status` values [#coverage_status-values]

| Value                    | Meaning            |
| ------------------------ | ------------------ |
| `COMPLETE`               | No description yet |
| `PARTIAL_COVERAGE`       | No description yet |
| `SOURCE_MISSING`         | No description yet |
| `OUT_OF_SOURCE_COVERAGE` | No description yet |

## EvidenceReference [#schema-evidencereference]

Compact pointer to the Atlas resource that backs a result.

### Operations [#operations-11]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                  | Type             | Required | Description                                                                                                                     |
| --------------------- | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `resource_type`       | `string`         | required | Kind of Atlas resource the reference points to, such as `observation`.                                                          |
| `resource_id`         | `string`         | required | Identifier of that resource.                                                                                                    |
| `source_id`           | `string \| null` | optional | Public key of the source resource. Use it with `/v1/sources/{source_id}`. It differs from `lineage_source_id` and `dataset_id`. |
| `provenance_ref`      | `string \| null` | optional | Identifies the provenance record for the observation. It is not a literature citation.                                          |
| `semantic_version`    | `string \| null` | optional | Version of the data contract the value follows. It is separate from the API version and the application version.                |
| `methodology_version` | `string \| null` | optional | Version of the transformation applied to this observation. It is separate from the version of the methodology resource.         |
| `release_id`          | `string \| null` | optional | Identifies the published data release the result came from. Results from different releases are not directly comparable.        |
| `uri`                 | `string \| null` | optional | Web address of the referenced resource, when one exists.                                                                        |

## Geography [#schema-geography]

Identity and display name of a county or state. It carries no geometry.

### Operations [#operations-12]

* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity

Type: `object`

| Name        | Type                                                     | Required | Description                                           |
| ----------- | -------------------------------------------------------- | -------- | ----------------------------------------------------- |
| `geography` | [GeographyIdentity](#schema-geographyidentity)           | required | Type and FIPS code of the place.                      |
| `label`     | `string`                                                 | required | Display name of the place.                            |
| `parent`    | [GeographyIdentity](#schema-geographyidentity) \| `null` | optional | The state that contains a county. `null` for a state. |

## GeographyIdentity [#schema-geographyidentity]

Identifies one place by type and FIPS code. It carries no geometry.

### Operations [#operations-13]

* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name             | Type                                   | Required | Description                                                                                |
| ---------------- | -------------------------------------- | -------- | ------------------------------------------------------------------------------------------ |
| `geography_type` | [GeographyType](#schema-geographytype) | required | Kind of place: `county` or `state`. It sets how long `geography_id` is.                    |
| `geography_id`   | `string`                               | required | FIPS code with leading zeros: five digits for a county, two for a state. Example: `08001`. |

## GeographyType [#schema-geographytype]

Kind of place. `county` uses five-digit FIPS and `state` uses two-digit FIPS.

### Operations [#operations-14]

* [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability) — Check county geography availability
* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity
* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `county \| state`

### Values [#values]

| Value    | Meaning              |
| -------- | -------------------- |
| `county` | uses five-digit FIPS |
| `state`  | uses two-digit FIPS  |

## GeographyUnavailable [#schema-geographyunavailable]

HTTP 200 answer that canonical geography data is not published yet.

The API checks the shape of the requested identity only. It does not confirm that the place
exists. Use the availability route for a county to confirm that.

### Operations [#operations-15]

* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity

Type: `object`

| Name           | Type                                           | Required | Description                                                             |
| -------------- | ---------------------------------------------- | -------- | ----------------------------------------------------------------------- |
| `availability` | `UNAVAILABLE`                                  | required | Always `UNAVAILABLE`: the geography data is not published.              |
| `reason`       | `CANONICAL_GEOGRAPHY_UNPUBLISHED`              | required | Why the data is unavailable. The geography data has not been published. |
| `data`         | `null`                                         | required | Always `null`. The API returns no geography data or geometry.           |
| `geography`    | [GeographyIdentity](#schema-geographyidentity) | required | The identity you requested, returned unchanged after a format check.    |
| `limitations`  | array of `string`                              | required | Publication and representation boundaries, not scientific absence.      |

## Indicator [#schema-indicator]

A public-health concept that groups related measures.

### Operations [#operations-16]

* [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator) — Get an indicator
* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators

Type: `object`

| Name                 | Type                                                            | Required | Description                                                                                                                             |
| -------------------- | --------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `indicator_id`       | `string`                                                        | required | Stable identifier of the indicator. Use it with `/v1/indicators/{indicator_id}`.                                                        |
| `label`              | `string`                                                        | required | Short display name of the indicator.                                                                                                    |
| `definition`         | `string \| null`                                                | required | Plain-language definition of the indicator. `null` when none is published.                                                              |
| `measure_ids`        | array of `string`                                               | required | Identifiers of the measures that belong to this indicator, in sorted order.                                                             |
| `semantic_version`   | `string`                                                        | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        |
| `release_version`    | `string \| null`                                                | optional | Identifies the published data release this record belongs to.                                                                           |
| `domain`             | `string \| null`                                                | optional | Broad subject area the indicator belongs to, such as `climate`. `null` when none is published.                                          |
| `category`           | `string \| null`                                                | optional | Finer grouping inside the domain. `null` when none is published.                                                                        |
| `limitations`        | array of `string`                                               | optional | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `standards_mappings` | array of [StandardsMapping](#schema-standardsmapping) \| `null` | optional | Optional reviewed links to external standards. `null` when none exist. A mapping does not mean Atlas exchanges data with that standard. |

## Measure [#schema-measure]

One variable you can query, such as a case count. It belongs to one indicator.

### Operations [#operations-17]

* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures

Type: `object`

| Name                    | Type                                                            | Required | Description                                                                                                                             | Example                 |
| ----------------------- | --------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| `measure_id`            | `string`                                                        | required | Stable identifier of the measure. Pass it as `measure_id` to `/v1/observations`.                                                        | `case_count_floor_2023` |
| `indicator_id`          | `string`                                                        | required | Identifier of the indicator this measure belongs to.                                                                                    | —                       |
| `label`                 | `string`                                                        | required | Short display name of the measure.                                                                                                      | —                       |
| `definition`            | `string \| null`                                                | required | Plain-language definition of the measure. `null` when none is published.                                                                | —                       |
| `semantic_version`      | `string`                                                        | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        | —                       |
| `release_version`       | `string \| null`                                                | optional | Identifies the published data release this record belongs to.                                                                           | —                       |
| `measure_type`          | `string \| null`                                                | optional | How the value is produced, such as `DERIVED`. `null` when none is published.                                                            | —                       |
| `unit`                  | `string \| null`                                                | optional | Unit of the value, such as `mm` or `degree_Celsius`. `null` when the measure has no unit.                                               | —                       |
| `denominator`           | `string \| null`                                                | optional | What the value is measured against, such as a population. `null` means Atlas supplies no denominator; do not infer one.                 | —                       |
| `geography_types`       | array of [GeographyType](#schema-geographytype) \| `null`       | optional | Kinds of place the measure covers. `null` when not listed. Listing a measure does not promise data for every county and period.         | —                       |
| `temporal_grains`       | array of `string` \| `null`                                     | optional | Time intervals the measure is reported in, such as `DAY`. `null` when not listed.                                                       | —                       |
| `geography_semantics`   | `string \| null`                                                | optional | What the place dimension means for this measure. `null` when not published.                                                             | —                       |
| `temporal_semantics`    | `string \| null`                                                | optional | What the time dimension means for this measure. `null` when not published.                                                              | —                       |
| `allowed_value_states`  | array of [ValueState](#schema-valuestate) \| `null`             | optional | The `value_state` values this measure can return. `null` when not listed.                                                               | —                       |
| `allowed_strata`        | array of `string` \| `null`                                     | optional | Breakdowns, such as age group, that the measure supports. `null` when it has none.                                                      | —                       |
| `missingness_semantics` | `string \| null`                                                | optional | How the measure reports missing, withheld, or unavailable values. Read it before you treat `null` as a finding.                         | —                       |
| `methodology_id`        | `string \| null`                                                | optional | Identifies the methodology resource. Use it with `/v1/methodologies/{methodology_id}`. `null` when no methodology resource applies.     | —                       |
| `methodology`           | `string \| null`                                                | optional | Short name of the method that produces the value.                                                                                       | —                       |
| `source_ids`            | array of `string` \| `null`                                     | optional | Identifiers of the sources the measure draws on. `null` when not listed.                                                                | —                       |
| `limitations`           | array of `string`                                               | optional | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. | —                       |
| `standards_mappings`    | array of [StandardsMapping](#schema-standardsmapping) \| `null` | optional | Optional reviewed links to external standards. `null` when none exist.                                                                  | —                       |

## Methodology [#schema-methodology]

The method Atlas used to produce or interpret a measure's values.

### Operations [#operations-18]

* [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology) — Get a methodology

Type: `object`

| Name               | Type              | Required | Description                                                                                                                             |
| ------------------ | ----------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `methodology_id`   | `string`          | required | Identifies the methodology. Use it with `/v1/methodologies/{methodology_id}`.                                                           |
| `measure_id`       | `string`          | required | Identifier of the measure the methodology applies to.                                                                                   |
| `version`          | `string`          | required | Version of this methodology resource.                                                                                                   |
| `description`      | `string`          | required | Plain-language description of the method.                                                                                               |
| `limitations`      | array of `string` | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `semantic_version` | `string`          | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        |
| `release_version`  | `string`          | required | Identifies the published data release this record belongs to.                                                                           |

## MethodologyComparisonContext [#schema-methodologycomparisoncontext]

Whether this observation can be compared with another across surveillance methods.

### Operations [#operations-19]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                  | Type                                                          | Required | Description                                                                                                                             |
| --------------------- | ------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `contract_version`    | `atlas-lyme-surveillance-methodology-v1`                      | required | Version of the contract that defines this object.                                                                                       |
| `comparison_state`    | `COMPARABLE \| CAUTION_REQUIRED \| NOT_COMPARABLE \| UNKNOWN` | required | Whether the case definitions allow a comparison. `UNKNOWN` is not `COMPARABLE`.                                                         |
| `reason_codes`        | array of `string`                                             | required | Codes that explain the comparison state.                                                                                                |
| `methodology_era_ids` | array of `string \| null`                                     | required | Surveillance case-definition eras the compared values fall in. An entry is `null` when the era is unknown.                              |
| `jurisdiction_class`  | `string \| null`                                              | required | Group of jurisdictions that share a reporting approach. `null` when unknown.                                                            |
| `references`          | array of `string`                                             | required | Public references that support the comparison.                                                                                          |
| `limitations`         | array of `string`                                             | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `left_observation_id` | `string`                                                      | required | Identifier of the observation on the left side of the comparison.                                                                       |

### `comparison_state` values [#comparison_state-values]

| Value              | Meaning            |
| ------------------ | ------------------ |
| `COMPARABLE`       | No description yet |
| `CAUTION_REQUIRED` | No description yet |
| `NOT_COMPARABLE`   | No description yet |
| `UNKNOWN`          | No description yet |

## Observation [#schema-observation]

One value for a measure, a county, and a period, with its state and provenance.

### Operations [#operations-20]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                          | Type                                                           | Required | Description                                                                                                                             |
| ----------------------------- | -------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `metadata_revision_id`        | `string \| null`                                               | optional | Identifies the reviewed metadata revision that describes this observation. `null` when none applies.                                    |
| `observation_id`              | `string`                                                       | required | Stable identifier of the observation. It also serves as the provenance reference.                                                       |
| `measure_id`                  | `string`                                                       | required | Identifier of the measure. See `/v1/measures/{measure_id}`.                                                                             |
| `geography`                   | [GeographyIdentity](#schema-geographyidentity)                 | required | The place the value describes.                                                                                                          |
| `temporal_grain`              | `string`                                                       | required | Time interval the value covers, such as `YEAR` or `DAY`.                                                                                |
| `value`                       | `number \| string \| null`                                     | required | The reported value. Read it with `value_state` and `unit`. `null` never means zero.                                                     |
| `value_state`                 | [ValueState](#schema-valuestate)                               | required | How to read `value`. The `ValueState` schema explains each state and what a client should do. Never treat a `null` value as zero.       |
| `unit`                        | `string`                                                       | required | Unit of `value`, such as `count` or `mm`.                                                                                               |
| `denominator`                 | `string \| null`                                               | required | What the value is measured against, such as a population. `null` means Atlas supplies no denominator; do not infer one.                 |
| `strata`                      | object of `string`                                             | optional | Breakdown the value applies to, such as an age group. Empty when the release has no strata.                                             |
| `source_id`                   | `string`                                                       | required | Public key of the source resource. Use it with `/v1/sources/{source_id}`. It differs from `lineage_source_id` and `dataset_id`.         |
| `lineage_source_id`           | `string \| null`                                               | optional | Identifies the source in Atlas lineage records. It differs from `source_id`.                                                            |
| `dataset_id`                  | `string \| null`                                               | optional | Identifies the publisher's dataset. It differs from `source_id`.                                                                        |
| `methodology_id`              | `string \| null`                                               | required | Identifies the methodology resource. Use it with `/v1/methodologies/{methodology_id}`. `null` when no methodology resource applies.     |
| `methodology`                 | `string \| null`                                               | optional | Short name of the method that produced the value.                                                                                       |
| `release_methodology_version` | `string \| null`                                               | optional | Version of the methodology as published in this release. `null` when none.                                                              |
| `methodology_version`         | `string`                                                       | required | Version of the transformation applied to this observation. It is separate from the version of the methodology resource.                 |
| `semantic_version`            | `string`                                                       | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        |
| `release_id`                  | `string`                                                       | required | Identifies the published data release the result came from. Results from different releases are not directly comparable.                |
| `provenance_ref`              | `string`                                                       | required | Identifies the provenance record for this observation. It is not a literature citation.                                                 |
| `source_label`                | `string \| null`                                               | optional | Display name of the source. `null` when none is published.                                                                              |
| `source_vintage`              | `string \| null`                                               | optional | Reference year or period of the source dataset, such as `ACS 2018-2022`. It is not an annual value.                                     |
| `source_url`                  | `string \| null`                                               | optional | Web address of the source. `null` when none is published.                                                                               |
| `source_published_at`         | `string (date-time) \| null`                                   | optional | When the publisher published the data. Includes a UTC offset. `null` when not recorded; do not assume the data is fresh.                |
| `atlas_acquired_at`           | `string (date-time) \| null`                                   | optional | When Atlas retrieved the data from the publisher. Includes a UTC offset. `null` when not recorded.                                      |
| `atlas_processed_at`          | `string (date-time) \| null`                                   | optional | When Atlas processed the data. Includes a UTC offset. It is not the response time. `null` when not recorded.                            |
| `limitations`                 | array of `string`                                              | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `evidence`                    | [EvidenceReference](#schema-evidencereference)                 | required | Compact pointer to the Atlas resource that backs this observation.                                                                      |
| `environmental_context`       | [EnvironmentalContext](#schema-environmentalcontext) \| `null` | optional | Coverage details. Present only for environmental measures. Exact decimal quantities may be strings.                                     |
| `surveillance_context`        | [SurveillanceContext](#schema-surveillancecontext) \| `null`   | optional | Optional surveillance evidence. Omitted or `null` supports no claim about evidence state, comparability, or lag.                        |
| `period_start`                | `string (date)`                                                | required | First date the observation covers (inclusive).                                                                                          |
| `period_end`                  | `string (date)`                                                | required | Last date the observation covers (inclusive).                                                                                           |

## ProblemDetails [#schema-problemdetails]

RFC 9457 error body (`application/problem+json`). Some errors add a stable `code`.

### Operations [#operations-21]

* [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability) — Check county geography availability
* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity
* [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator) — Get an indicator
* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure
* [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology) — Get a methodology
* [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource) — Get a source
* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations
* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources
* [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability) — Check surveillance priority availability
* [`GET /v1/atlas/ranking.csv`](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking) — Download county rankings as CSV
* [`GET /v1/counties/{fips}/report.pdf`](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport) — Download a county report
* [`GET /v1/states/{state}/report.pdf`](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport) — Download a state report
* [`GET /v1/atlas/geometry`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry) — Get county map geometry
* [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues) — Get map values by county
* [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata) — Get release metadata
* [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores) — Get county gap scores
* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance
* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations
* [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority) — Get county surveillance review priority
* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name         | Type                        | Required | Description                                                                                                                                                                                                                                                                          |
| ------------ | --------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `type`       | `string`                    | required | URI that names the kind of problem, such as `.../problems/validation`. Branch on `code` when it is present.                                                                                                                                                                          |
| `title`      | `string`                    | required | Short summary of the kind of problem. Read `detail` for this occurrence.                                                                                                                                                                                                             |
| `status`     | `integer`                   | required | HTTP status code of the response, repeated in the body.                                                                                                                                                                                                                              |
| `detail`     | `string`                    | required | Explanation of this occurrence of the problem, in English. Show it to a developer; do not match on its wording.                                                                                                                                                                      |
| `instance`   | `string`                    | required | Path of the request that failed, for example `/v1/observations`.                                                                                                                                                                                                                     |
| `request_id` | `string`                    | required | Identifies this request. Include it when you contact support. It matches the `X-Request-ID` response header.                                                                                                                                                                         |
| `code`       | `string \| null`            | optional | Stable machine-readable error code: `INVALID_REQUEST`, `UNSUPPORTED_FILTER`, `UNSUPPORTED_STRATIFICATION`, `QUERY_TOO_BROAD`, `RESOURCE_NOT_FOUND`, `RATE_LIMITED`, or `SERVICE_UNAVAILABLE`. Branch on this field. It is absent on some errors, such as HTTP 422 validation errors. |
| `errors`     | array of `object` \| `null` | optional | One entry for each invalid input when a request fails validation. Each entry has `loc` (where the value was sent), `msg`, and `type`. `null` or absent when the error is not about specific inputs.                                                                                  |

## ResourceEnvelope\_Geography\_ [#schema-resourceenvelope-geography]

One county or state identity, wrapped in `data`. The identity carries no geometry.

### Operations [#operations-22]

* [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography) — Get geography identity

Type: `object`

| Name   | Type                           | Required | Description             |
| ------ | ------------------------------ | -------- | ----------------------- |
| `data` | [Geography](#schema-geography) | required | The requested resource. |

## ResourceEnvelope\_Indicator\_ [#schema-resourceenvelope-indicator]

One indicator, wrapped in `data`.

### Operations [#operations-23]

* [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator) — Get an indicator

Type: `object`

| Name   | Type                           | Required | Description             |
| ------ | ------------------------------ | -------- | ----------------------- |
| `data` | [Indicator](#schema-indicator) | required | The requested resource. |

## ResourceEnvelope\_Measure\_ [#schema-resourceenvelope-measure]

One measure, wrapped in `data`.

### Operations [#operations-24]

* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure

Type: `object`

| Name   | Type                       | Required | Description             |
| ------ | -------------------------- | -------- | ----------------------- |
| `data` | [Measure](#schema-measure) | required | The requested resource. |

## ResourceEnvelope\_Methodology\_ [#schema-resourceenvelope-methodology]

One methodology, wrapped in `data`.

### Operations [#operations-25]

* [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology) — Get a methodology

Type: `object`

| Name   | Type                               | Required | Description             |
| ------ | ---------------------------------- | -------- | ----------------------- |
| `data` | [Methodology](#schema-methodology) | required | The requested resource. |

## ResourceEnvelope\_Source\_ [#schema-resourceenvelope-source]

One source, wrapped in `data`.

### Operations [#operations-26]

* [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource) — Get a source

Type: `object`

| Name   | Type                     | Required | Description             |
| ------ | ------------------------ | -------- | ----------------------- |
| `data` | [Source](#schema-source) | required | The requested resource. |

## Source [#schema-source]

The organization and dataset a value came from.

### Operations [#operations-27]

* [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource) — Get a source
* [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources) — List sources

Type: `object`

| Name                  | Type                         | Required | Description                                                                                                                             |
| --------------------- | ---------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `source_id`           | `string`                     | required | Public key of the source resource. Use it with `/v1/sources/{source_id}`. It differs from `lineage_source_id` and `dataset_id`.         |
| `label`               | `string`                     | required | Display name of the source.                                                                                                             |
| `publisher`           | `string \| null`             | required | Organization that publishes the data. `null` when none is recorded.                                                                     |
| `lineage_source_id`   | `string`                     | required | Identifies the source in Atlas lineage records. It differs from `source_id`.                                                            |
| `dataset_id`          | `string`                     | required | Identifies the publisher's dataset. It differs from `source_id`.                                                                        |
| `semantic_version`    | `string`                     | required | Version of the data contract the value follows. It is separate from the API version and the application version.                        |
| `release_version`     | `string`                     | required | Identifies the published data release this record belongs to.                                                                           |
| `source_url`          | `string \| null`             | optional | Web address of the source. `null` when none is published.                                                                               |
| `source_vintage`      | `string \| null`             | optional | Reference year or period of the source dataset. It is not an annual value.                                                              |
| `source_version`      | `string \| null`             | optional | Version label the publisher gives the dataset, when it has one.                                                                         |
| `published_at`        | `string (date-time) \| null` | optional | Deprecated. Use `upstream_updated_at`. When the publisher published the data.                                                           |
| `atlas_acquired_at`   | `string (date-time) \| null` | optional | Deprecated. Use `source_retrieved_at`. When Atlas retrieved the data.                                                                   |
| `upstream_updated_at` | `string (date-time) \| null` | optional | When the publisher last updated the data. `null` when unavailable. Do not use the response time in its place.                           |
| `source_retrieved_at` | `string (date-time) \| null` | optional | When Atlas last retrieved the data from the publisher. `null` when unavailable.                                                         |
| `limitations`         | array of `string`            | optional | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |

## StandardsMapping [#schema-standardsmapping]

Optional reviewed link from a public-health concept to an external standard.

### Operations [#operations-28]

* [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator) — Get an indicator
* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure
* [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators) — List indicators
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures

Type: `object`

| Name                | Type             | Required | Description                                                                |
| ------------------- | ---------------- | -------- | -------------------------------------------------------------------------- |
| `standard`          | `string`         | required | Name of the external standard, such as `LOINC`.                            |
| `version`           | `string`         | required | Version of the external standard that the mapping targets.                 |
| `target`            | `string`         | required | Code or element in the external standard.                                  |
| `relationship`      | `string`         | required | How the Atlas concept relates to the target, such as `exact` or `broader`. |
| `mapping_reference` | `string \| null` | optional | Reference to the reviewed mapping record. `null` when none.                |

## SurveillanceContext [#schema-surveillancecontext]

Optional surveillance evidence attached to an observation.

A missing or `null` part supports no claim about evidence state, comparability, or lag.
Comparison covers case definitions only. Alignment is descriptive, not causal.

### Operations [#operations-29]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                     | Type                                                                           | Required | Description                                                      |
| ------------------------ | ------------------------------------------------------------------------------ | -------- | ---------------------------------------------------------------- |
| `evidence`               | [SurveillanceEvidenceContext](#schema-surveillanceevidencecontext) \| `null`   | optional | County evidence state. `null` when none is supplied.             |
| `methodology_comparison` | [MethodologyComparisonContext](#schema-methodologycomparisoncontext) \| `null` | optional | Comparability of case definitions. `null` when none is supplied. |
| `temporal_alignment`     | [TemporalAlignmentContext](#schema-temporalalignmentcontext) \| `null`         | optional | Time alignment details. `null` when none is supplied.            |

## SurveillanceEvidenceContext [#schema-surveillanceevidencecontext]

Evidence state for a county as supplied with the data. Atlas adds no classification.

### Operations [#operations-30]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                   | Type                                                                                                     | Required | Description                                                                                                                                                                                                                                            |
| ---------------------- | -------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `contract_version`     | `atlas-surveillance-evidence-v3`                                                                         | required | Version of the contract that defines this object.                                                                                                                                                                                                      |
| `normalized_state`     | `established \| detected \| unknown \| null`                                                             | optional | County evidence state supplied with the data, without extra classification. `unknown` supports no conclusion about biological absence. `null` means no normalized state was supplied. The publisher's original value stays in the observation `value`. |
| `state`                | `established \| detected_below_establishment \| sampled_not_detected \| no_qualifying_record \| unknown` | required | Evidence state for the county. None of these values proves absence.                                                                                                                                                                                    |
| `reason_codes`         | array of `string`                                                                                        | required | Codes that explain why the state applies.                                                                                                                                                                                                              |
| `evidence_tier`        | `GOVERNED_MAPPING`                                                                                       | required | How the state was derived. `GOVERNED_MAPPING` means a reviewed mapping.                                                                                                                                                                                |
| `observation_key`      | `string`                                                                                                 | required | Identifies the observation this state describes.                                                                                                                                                                                                       |
| `revision_id`          | `string`                                                                                                 | required | Identifies the revision of the evidence record.                                                                                                                                                                                                        |
| `value_state`          | `string`                                                                                                 | required | The `value_state` of the observation this state describes.                                                                                                                                                                                             |
| `source_rule_id`       | `string`                                                                                                 | required | Identifies the rule that mapped the source value.                                                                                                                                                                                                      |
| `limitations`          | array of `string`                                                                                        | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it.                                                                                                                |
| `evidence_revision_id` | `string`                                                                                                 | required | Identifies the revision of the evidence set.                                                                                                                                                                                                           |

### `normalized_state` values [#normalized_state-values]

| Value         | Meaning                                         |
| ------------- | ----------------------------------------------- |
| `established` | No description yet                              |
| `detected`    | No description yet                              |
| `unknown`     | supports no conclusion about biological absence |

### `state` values [#state-values]

| Value                          | Meaning            |
| ------------------------------ | ------------------ |
| `established`                  | No description yet |
| `detected_below_establishment` | No description yet |
| `sampled_not_detected`         | No description yet |
| `no_qualifying_record`         | No description yet |
| `unknown`                      | No description yet |

## TemporalAlignmentContext [#schema-temporalalignmentcontext]

Describes how an observation's time span lines up with a target time span.

The alignment is descriptive. It does not show cause.

### Operations [#operations-31]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name                   | Type                                                                               | Required | Description                                                                                                                             |
| ---------------------- | ---------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `contract_version`     | `atlas-temporal-alignment-v1`                                                      | required | Version of the contract that defines this object.                                                                                       |
| `method_id`            | `string`                                                                           | required | Identifies the alignment method.                                                                                                        |
| `method_version`       | `string`                                                                           | required | Version of the alignment method.                                                                                                        |
| `source_id`            | `string`                                                                           | required | Identifies the source of the aligned observation.                                                                                       |
| `measure_id`           | `string`                                                                           | required | Identifies the measure that was aligned.                                                                                                |
| `aggregation_rule`     | `string`                                                                           | required | Rule used to combine values inside the observation window.                                                                              |
| `coverage_denominator` | `string`                                                                           | required | What the coverage is counted against, such as days in the window.                                                                       |
| `decision_cutoff`      | `string (date-time)`                                                               | required | Time after which new data is not used for the alignment. Includes a UTC offset.                                                         |
| `disposition`          | `ELIGIBLE \| INELIGIBLE \| RETROSPECTIVE_ONLY \| UNKNOWN_AVAILABILITY`             | required | Whether the observation can be used for the target window.                                                                              |
| `reason_codes`         | array of `string`                                                                  | required | Codes that explain the disposition.                                                                                                     |
| `limitations`          | array of `string`                                                                  | required | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `observation_window`   | [TemporalWindowContext](#schema-temporalwindowcontext)                             | required | Time span the observation covers.                                                                                                       |
| `target_window`        | [TemporalWindowContext](#schema-temporalwindowcontext)                             | required | Time span being compared against.                                                                                                       |
| `lag`                  | [TemporalLagContext](#schema-temporallagcontext)                                   | required | Lag between the two windows.                                                                                                            |
| `coverage`             | [TemporalCoverageContext](#schema-temporalcoveragecontext)                         | required | Expected and observed coverage of the observation window.                                                                               |
| `reference_period`     | [TemporalReferencePeriodContext](#schema-temporalreferenceperiodcontext) \| `null` | optional | Reference period of the source dataset. `null` when none applies.                                                                       |

### `disposition` values [#disposition-values]

| Value                  | Meaning            |
| ---------------------- | ------------------ |
| `ELIGIBLE`             | No description yet |
| `INELIGIBLE`           | No description yet |
| `RETROSPECTIVE_ONLY`   | No description yet |
| `UNKNOWN_AVAILABILITY` | No description yet |

## TemporalCoverageContext [#schema-temporalcoveragecontext]

How much of the expected time span the observation covers.

### Operations [#operations-32]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name              | Type                  | Required | Description                                                 |
| ----------------- | --------------------- | -------- | ----------------------------------------------------------- |
| `expected`        | `integer` \| `number` | required | Amount of coverage expected, in `unit`.                     |
| `observed`        | `integer` \| `number` | required | Amount of coverage present, in `unit`.                      |
| `unit`            | `string`              | required | Unit of `expected` and `observed`, such as `day`.           |
| `partial_allowed` | `boolean`             | required | Whether the method accepts less than the expected coverage. |

## TemporalLagContext [#schema-temporallagcontext]

How far an observation window sits before its target window.

### Operations [#operations-33]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name          | Type                                   | Required | Description                                                 |
| ------------- | -------------------------------------- | -------- | ----------------------------------------------------------- |
| `kind`        | `ZERO \| FIXED \| ROLLING \| SEASONAL` | required | Type of lag rule that applies.                              |
| `anchor`      | `START \| END_EXCLUSIVE`               | required | Edge of the target window that the lag is measured from.    |
| `offset_days` | `integer`                              | required | Number of days between the anchor and the window.           |
| `window_days` | `integer \| null`                      | optional | Length of a rolling window in days. `null` for other kinds. |
| `season_id`   | `string \| null`                       | optional | Identifies the season for a seasonal lag. `null` otherwise. |

### `kind` values [#kind-values]

| Value      | Meaning            |
| ---------- | ------------------ |
| `ZERO`     | No description yet |
| `FIXED`    | No description yet |
| `ROLLING`  | No description yet |
| `SEASONAL` | No description yet |

### `anchor` values [#anchor-values]

| Value           | Meaning            |
| --------------- | ------------------ |
| `START`         | No description yet |
| `END_EXCLUSIVE` | No description yet |

## TemporalReferencePeriodContext [#schema-temporalreferenceperiodcontext]

The reference period of a source dataset.

### Operations [#operations-34]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name             | Type            | Required | Description                                                                |
| ---------------- | --------------- | -------- | -------------------------------------------------------------------------- |
| `id`             | `string`        | required | Identifies the reference period.                                           |
| `start`          | `string (date)` | required | First date in the reference period.                                        |
| `end_exclusive`  | `string (date)` | required | First date after the reference period. It is not in the period.            |
| `source_vintage` | `string`        | required | Reference year or period of the source dataset. It is not an annual value. |

## TemporalWindowContext [#schema-temporalwindowcontext]

A span of time with an inclusive start and an exclusive end.

### Operations [#operations-35]

* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `object`

| Name            | Type            | Required | Description                                           |
| --------------- | --------------- | -------- | ----------------------------------------------------- |
| `start`         | `string (date)` | required | First date in the window.                             |
| `end_exclusive` | `string (date)` | required | First date after the window. It is not in the window. |
| `calendar`      | `GREGORIAN`     | required | Calendar the dates use.                               |
| `timezone`      | `UTC`           | required | Time zone the dates use.                              |

## ValueState [#schema-valuestate]

How to read an observation's `value`. Check it before you use the value.

* `OBSERVED`: a nonzero value the publisher reported. Use `value` as given.
* `ZERO`: a reported numeric zero. It is different from a missing value.
* `MISSING`: no value was reported and `value` is `null`. It is not zero.
* `SUPPRESSED`: the value exists but is withheld, and `value` is `null`. It is not zero. Do not estimate it.
* `UNAVAILABLE`: Atlas has no published result for this selection, and `value` is `null`. It does not mean zero or absence.
* `NO_COUNTY_LINKED_RECORD`: a governed status meaning no record is linked to the county. `value` is the text `no_county_linked_record`. It is neither null nor zero.
* `NO_RECORDS`: the publisher's literal "No records" result. `value` is the text `No records`. It does not establish biological absence.

Show these states differently from each other. Never turn `null` into zero.

### Operations [#operations-36]

* [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure) — Get a measure
* [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures) — List measures
* [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations) — Query county observations

Type: `OBSERVED \| ZERO \| MISSING \| SUPPRESSED \| UNAVAILABLE \| NO_COUNTY_LINKED_RECORD \| NO_RECORDS`

### Values [#values-1]

| Value                     | Meaning                                                                                                                                  |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `OBSERVED`                | a nonzero value the publisher reported. Use `value` as given.                                                                            |
| `ZERO`                    | a reported numeric zero. It is different from a missing value.                                                                           |
| `MISSING`                 | no value was reported and `value` is `null`. It is not zero.                                                                             |
| `SUPPRESSED`              | the value exists but is withheld, and `value` is `null`. It is not zero. Do not estimate it.                                             |
| `UNAVAILABLE`             | Atlas has no published result for this selection, and `value` is `null`. It does not mean zero or absence.                               |
| `NO_COUNTY_LINKED_RECORD` | a governed status meaning no record is linked to the county. `value` is the text `no_county_linked_record`. It is neither null nor zero. |
| `NO_RECORDS`              | the publisher's literal "No records" result. `value` is the text `No records`. It does not establish biological absence.                 |

## AtlasMetadata [#schema-atlasmetadata]

Describes the published data release behind the scores and county records.

### Operations [#operations-37]

* [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata) — Get release metadata
* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance

Type: `object`

| Name                          | Type                                              | Required | Description                                                                                                              |
| ----------------------------- | ------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------ |
| `scoring_methodology_version` | `surveillance-gap-score-v1.1`                     | optional | Version of the Surveillance Gap Score method that produced the score. Scores from different versions are not comparable. |
| `release_id`                  | `string`                                          | required | Identifies the published data release. Results from different releases are not directly comparable.                      |
| `schema_version`              | `string`                                          | required | Version of the release data layout.                                                                                      |
| `generated_at`                | `string (date-time)`                              | required | When the release was built, with a UTC offset. It is not when the publishers last updated their data.                    |
| `loaded_at`                   | `string (date-time)`                              | required | When Atlas loaded the release for serving, with a UTC offset. It is not when the publishers last updated their data.     |
| `scope`                       | `string`                                          | required | Geographic and time coverage of the release.                                                                             |
| `bundle_sha256`               | `string`                                          | required | SHA-256 checksum of the release contents. Use it to confirm you are looking at the same release.                         |
| `score_defaults`              | `object`                                          | required | Default settings the score uses when a request supplies none.                                                            |
| `methodology_version`         | `string`                                          | required | Version of the release methodology that the scores follow.                                                               |
| `limitations`                 | `string`                                          | required | What the release does not show. Read it before you use a score.                                                          |
| `sources`                     | array of [SourceMetadata](#schema-sourcemetadata) | required | Source datasets used in the release.                                                                                     |
| `states`                      | array of object of `string`                       | required | States and the District of Columbia in the release. Each entry has a `code` and a `name`.                                |

## Candidate [#schema-candidate]

A county that merits a closer look. It is a prompt to review records, not a finding.

### Operations [#operations-38]

* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name                      | Type                                                                            | Required | Description                                                            |
| ------------------------- | ------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------------- |
| `county_fips`             | `string`                                                                        | required | Five-digit FIPS code of the county, with leading zeros.                |
| `county_name`             | `string`                                                                        | required | County name.                                                           |
| `county_url`              | `string`                                                                        | required | Path of the county resource in this API.                               |
| `reason_codes`            | array of `string`                                                               | required | Codes that explain why the county is listed.                           |
| `reason_text`             | `string`                                                                        | required | Plain-language explanation of why the county is listed.                |
| `evidence_families`       | array of `string`                                                               | required | Kinds of evidence the reason draws on, such as `county_vector_status`. |
| `evidence_references`     | array of [PublicReviewEvidenceReference](#schema-publicreviewevidencereference) | required | Source records that support the reason.                                |
| `completeness`            | `limited`                                                                       | optional | How complete the supporting evidence is. It is always `limited`.       |
| `limitations`             | array of `string`                                                               | required | Factual notes on what the candidate does not show. Keep them with it.  |
| `freshness_comparability` | `string`                                                                        | required | What is known about how current and comparable the evidence is.        |
| `suggested_next_check`    | `string`                                                                        | required | A step a reviewer can take to check the evidence further.              |

## CountyDetail [#schema-countydetail]

A county's score plus the release facts behind it.

### Operations [#operations-39]

* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance

Type: `object`

| Name                             | Type                                   | Required | Description                                                                                                                                                                                                     |
| -------------------------------- | -------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `scoring_methodology_version`    | `surveillance-gap-score-v1.1`          | optional | Version of the Surveillance Gap Score method that produced the score. Scores from different versions are not comparable.                                                                                        |
| `incidence_floor_2023`           | `number \| null`                       | required | Published 2023 minimum reported incidence per 100,000 people. `null` is not zero.                                                                                                                               |
| `svi_percentile`                 | `number \| null`                       | required | Social Vulnerability Index percentile of the county. Value from 0 to 1. `null` when none is published; `null` is not zero.                                                                                      |
| `uninsured_percentile`           | `number \| null`                       | required | Percentile of the county's uninsured share among counties. Value from 0 to 1. `null` when none is published; `null` is not zero.                                                                                |
| `rucc_2023`                      | `integer \| null`                      | required | 2023 Rural-Urban Continuum Code, from 1 (most urban) to 9 (most rural). `null` when none is published.                                                                                                          |
| `fips`                           | `string`                               | required | Five-digit county FIPS code, with leading zeros.                                                                                                                                                                |
| `county`                         | `string`                               | required | County name.                                                                                                                                                                                                    |
| `state`                          | `string`                               | required | Two-letter state or District of Columbia code.                                                                                                                                                                  |
| `state_name`                     | `string`                               | required | Full state name.                                                                                                                                                                                                |
| `in_contiguous_tick_scope`       | `boolean`                              | required | Whether the county is inside the contiguous area the tick data covers.                                                                                                                                          |
| `human_status`                   | `string`                               | required | State of the human-case data for the county. `published_count_floor` means a published case-count floor exists. `no_county_linked_record` means no record is linked to the county; it is neither null nor zero. |
| `tick_status`                    | `string`                               | required | Tick evidence status the publisher reports: `Established`, `Reported`, `No records`, or `Unknown`. `No records` and `Unknown` do not establish absence.                                                         |
| `burgdorferi_status`             | `string`                               | required | Evidence status for the Lyme disease bacterium Borrelia burgdorferi: `Present`, `No records`, or `Unknown`. `No records` and `Unknown` do not establish absence.                                                |
| `evidence_completeness`          | `integer`                              | required | Whole-number measure of how much supporting evidence the county has. A higher number means more evidence is present. It does not rate evidence quality.                                                         |
| `score`                          | [Score](#schema-score)                 | required | The score and the signals it combines.                                                                                                                                                                          |
| `priority`                       | `string`                               | required | Review-priority label for the score band. A lower label is not a safety finding.                                                                                                                                |
| `color`                          | `string`                               | required | Hex color for the score band, for use in a map or legend.                                                                                                                                                       |
| `population`                     | `integer \| null`                      | required | County population. `null` when none is published.                                                                                                                                                               |
| `case_count_floor_2023`          | `integer \| null`                      | required | Published 2023 minimum count of reported human cases. A floor is a minimum, not a complete count. `null` is not zero.                                                                                           |
| `state_unallocated_records_2023` | `integer \| null`                      | required | 2023 state-level records the publisher did not assign to a county. The count belongs to the state, not this county. `null` when none is published.                                                              |
| `scapularis_status`              | `string \| null`                       | required | Publisher status for the tick Ixodes scapularis. `null` when none is published.                                                                                                                                 |
| `pacificus_status`               | `string \| null`                       | required | Publisher status for the tick Ixodes pacificus. `null` when none is published.                                                                                                                                  |
| `uninsured_percent`              | `number \| null`                       | required | Share of the county population without health insurance, as a percent. `null` when none is published.                                                                                                           |
| `release`                        | [AtlasMetadata](#schema-atlasmetadata) | required | The data release this record came from.                                                                                                                                                                         |

## CountyMapValues [#schema-countymapvalues]

The county values a map needs to color its shapes, without the full score record.

### Operations [#operations-40]

* [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues) — Get map values by county

Type: `object`

| Name                   | Type              | Required | Description                                                                                                                   |
| ---------------------- | ----------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `fips`                 | `string`          | required | Five-digit county FIPS code, with leading zeros.                                                                              |
| `incidence_floor_2023` | `number \| null`  | optional | Published 2023 minimum reported incidence per 100,000 people. A floor is a minimum, not a complete count. `null` is not zero. |
| `svi_percentile`       | `number \| null`  | optional | Social Vulnerability Index percentile of the county. Value from 0 to 1. `null` when none is published; `null` is not zero.    |
| `uninsured_percent`    | `number \| null`  | optional | Share of the county population without health insurance, as a percent. `null` when none is published.                         |
| `rucc_2023`            | `integer \| null` | optional | 2023 Rural-Urban Continuum Code, from 1 (most urban) to 9 (most rural). `null` when none is published.                        |

## CountyScoreSummary [#schema-countyscoresummary]

A county's Surveillance Gap Score with the evidence signals behind it.

The score is a review aid. Atlas results are not a diagnosis. Atlas results are not an
estimate of an individual's risk.

### Operations [#operations-41]

* [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores) — Get county gap scores

Type: `object`

| Name                          | Type                          | Required | Description                                                                                                                                                                                                     |
| ----------------------------- | ----------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `scoring_methodology_version` | `surveillance-gap-score-v1.1` | optional | Version of the Surveillance Gap Score method that produced the score. Scores from different versions are not comparable.                                                                                        |
| `incidence_floor_2023`        | `number \| null`              | optional | Published 2023 minimum reported incidence per 100,000 people. A floor is a minimum, not a complete count. `null` is not zero.                                                                                   |
| `svi_percentile`              | `number \| null`              | optional | Social Vulnerability Index percentile of the county. Value from 0 to 1. `null` when none is published; `null` is not zero.                                                                                      |
| `uninsured_percentile`        | `number \| null`              | optional | Percentile of the county's uninsured share among counties. Value from 0 to 1. `null` when none is published; `null` is not zero.                                                                                |
| `rucc_2023`                   | `integer \| null`             | optional | 2023 Rural-Urban Continuum Code, from 1 (most urban) to 9 (most rural). `null` when none is published.                                                                                                          |
| `fips`                        | `string`                      | required | Five-digit county FIPS code, with leading zeros.                                                                                                                                                                |
| `county`                      | `string`                      | required | County name.                                                                                                                                                                                                    |
| `state`                       | `string`                      | required | Two-letter state or District of Columbia code.                                                                                                                                                                  |
| `state_name`                  | `string`                      | required | Full state name.                                                                                                                                                                                                |
| `in_contiguous_tick_scope`    | `boolean`                     | required | Whether the county is inside the contiguous area the tick data covers.                                                                                                                                          |
| `human_status`                | `string`                      | required | State of the human-case data for the county. `published_count_floor` means a published case-count floor exists. `no_county_linked_record` means no record is linked to the county; it is neither null nor zero. |
| `tick_status`                 | `string`                      | required | Tick evidence status the publisher reports: `Established`, `Reported`, `No records`, or `Unknown`. `No records` and `Unknown` do not establish absence.                                                         |
| `burgdorferi_status`          | `string`                      | required | Evidence status for the Lyme disease bacterium Borrelia burgdorferi: `Present`, `No records`, or `Unknown`. `No records` and `Unknown` do not establish absence.                                                |
| `evidence_completeness`       | `integer`                     | required | Whole-number measure of how much supporting evidence the county has. A higher number means more evidence is present. It does not rate evidence quality.                                                         |
| `score`                       | [Score](#schema-score)        | required | The score and the signals it combines.                                                                                                                                                                          |
| `priority`                    | `string`                      | required | Review-priority label for the score band. A lower label is not a safety finding.                                                                                                                                |
| `color`                       | `string`                      | required | Hex color for the score band, for use in a map or legend.                                                                                                                                                       |

## CountySurveillanceSituations [#schema-countysurveillancesituations]

Two distinct model outputs; Unknown is a valid available classification.

### Operations [#operations-42]

* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations

Type: `object`

| Name            | Type                                         | Required | Description                                      |
| --------------- | -------------------------------------------- | -------- | ------------------------------------------------ |
| `county_fips`   | `string`                                     | required | Five-digit county FIPS code, with leading zeros. |
| `release_id`    | `string`                                     | required | Identifies the current data release.             |
| `bundle_sha256` | `string`                                     | required | SHA-256 checksum of the current data release.    |
| `four_state`    | [SituationVariant](#schema-situationvariant) | required | Primary model, including human surveillance.     |
| `tick_pathogen` | [SituationVariant](#schema-situationvariant) | required | Secondary model, excluding human surveillance.   |

## DataGap [#schema-datagap]

A reason Atlas could not evaluate a county. A gap is not evidence of absence.

### Operations [#operations-43]

* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name          | Type     | Required | Description                                              |
| ------------- | -------- | -------- | -------------------------------------------------------- |
| `county_fips` | `string` | required | Five-digit FIPS code of the county, with leading zeros.  |
| `code`        | `string` | required | Stable code for the kind of gap, such as `OUT_OF_SCOPE`. |
| `detail`      | `string` | required | Plain-language explanation of the gap.                   |

## MapValuesCollection [#schema-mapvaluescollection]

County values for drawing a map. Show the same values in a table for non-map users.

### Operations [#operations-44]

* [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues) — Get map values by county

Type: `object`

| Name         | Type                                                | Required | Description                                                                                         |
| ------------ | --------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------- |
| `release_id` | `string`                                            | required | Identifies the published data release. Results from different releases are not directly comparable. |
| `counties`   | array of [CountyMapValues](#schema-countymapvalues) | required | One entry for each county.                                                                          |

## MembershipProbability [#schema-membershipprobability]

The model's membership probability for one situation class.

### Operations [#operations-45]

* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations

Type: `object`

| Name          | Type     | Required | Description                                                                                              |
| ------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------- |
| `class_id`    | `string` | required | Identifies the class. It is specific to a model version.                                                 |
| `probability` | `number` | required | Probability of membership in the class, from 0 to 1. The four values sum to 1. It is not a disease risk. |

## PriorityReason [#schema-priorityreason]

One reason a county received its review priority.

### Operations [#operations-46]

* [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability) — Check surveillance priority availability
* [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority) — Get county surveillance review priority

Type: `object`

| Name   | Type     | Required | Description                             |
| ------ | -------- | -------- | --------------------------------------- |
| `code` | `string` | required | Stable code for the reason.             |
| `text` | `string` | required | Plain-language statement of the reason. |

## PublicReviewEvidenceReference [#schema-publicreviewevidencereference]

A source record that supports a review candidate.

### Operations [#operations-47]

* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name                | Type                 | Required | Description                                                                                                            |
| ------------------- | -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- |
| `family`            | `string`             | required | Kind of evidence, such as `county_pathogen_status`.                                                                    |
| `source_product`    | `string`             | required | Source product the record comes from.                                                                                  |
| `source_version`    | `string`             | required | Version of the source product.                                                                                         |
| `public_record_ref` | `string`             | required | Public reference to the source record, for finding it at the publisher.                                                |
| `county_fips`       | `string`             | required | Five-digit FIPS code of the county, with leading zeros.                                                                |
| `release_id`        | `string`             | required | Identifies the published data release the record came from.                                                            |
| `source_as_of`      | `string`             | required | Date the source says its data was current, for example `2025-12-31`.                                                   |
| `retrieved_at`      | `string (date-time)` | required | When Atlas retrieved the record from the publisher, with a UTC offset.                                                 |
| `target`            | `string`             | required | Organism or taxon the record is about, such as a tick species or a pathogen.                                           |
| `status`            | `string`             | required | Status the publisher reports, such as `Present`, `Reported`, or `No records`. `No records` does not establish absence. |
| `limitations`       | array of `string`    | required | Factual notes on what this record does not show.                                                                       |

## ReviewCoverage [#schema-reviewcoverage]

How many counties the review looked at and what happened to each.

### Operations [#operations-48]

* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name                 | Type               | Required | Description                                                |
| -------------------- | ------------------ | -------- | ---------------------------------------------------------- |
| `assessed_counties`  | `integer`          | required | Counties in the requested state that were checked.         |
| `eligible_counties`  | `integer`          | required | Counties that met the rule's eligibility checks.           |
| `abstained_counties` | `integer`          | required | Counties where the evidence could not be safely evaluated. |
| `evaluated_counties` | `integer`          | required | Counties that were fully evaluated.                        |
| `rule_coverage`      | object of `string` | required | Each review rule by name, marked `enabled` or `disabled`.  |

## Score [#schema-score]

The Surveillance Gap Score and the signals it combines. Every value runs from 0 to 100. Atlas results are not a diagnosis.

### Operations [#operations-49]

* [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores) — Get county gap scores
* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance

Type: `object`

| Name              | Type     | Required | Description                                                                                                                                                                         |
| ----------------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `score`           | `number` | required | Overall Surveillance Gap Score. A higher value means a higher review priority.                                                                                                      |
| `human_weakness`  | `number` | required | How little human-case surveillance evidence the county has. A higher value means weaker human-case evidence. A county with no published count gets the configured default weakness. |
| `ecological`      | `number` | required | Combined tick and pathogen signal: 60 percent `tick_signal` and 40 percent `pathogen_signal`.                                                                                       |
| `community`       | `number` | required | Combined community signal: 50 percent `svi_signal`, 30 percent `access_signal`, and 20 percent `rural_signal`.                                                                      |
| `tick_signal`     | `number` | required | Signal from the publisher's tick status: 100 for `Established`, 55 for `Reported`, and 0 for `No records` or `Unknown`. Neither 0 case establishes absence.                         |
| `pathogen_signal` | `number` | required | 100 when the publisher reports the Lyme disease bacterium as `Present`, otherwise 0. A 0 does not establish absence.                                                                |
| `svi_signal`      | `number` | required | Social Vulnerability Index percentile of the county, scaled to 0 to 100.                                                                                                            |
| `access_signal`   | `number` | required | Percentile of the county's uninsured share among counties, scaled to 0 to 100.                                                                                                      |
| `rural_signal`    | `number` | required | Rural-Urban Continuum Code of the county, scaled so the most urban code is 0 and the most rural code is 100.                                                                        |

## ScoreCollection [#schema-scorecollection]

Surveillance Gap Scores for every county in the release, for one set of settings.

### Operations [#operations-50]

* [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores) — Get county gap scores

Type: `object`

| Name                          | Type                                                      | Required | Description                                                                                                              |
| ----------------------------- | --------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------ |
| `scoring_methodology_version` | `surveillance-gap-score-v1.1`                             | optional | Version of the Surveillance Gap Score method that produced the score. Scores from different versions are not comparable. |
| `release_id`                  | `string`                                                  | required | Identifies the published data release. Results from different releases are not directly comparable.                      |
| `methodology_version`         | `string`                                                  | required | Version of the release methodology that the scores follow.                                                               |
| `settings`                    | object of `integer`                                       | required | Score settings used for this response, such as `ecological_share`, `smooth_k`, and `missing_human_weakness`.             |
| `counties`                    | array of [CountyScoreSummary](#schema-countyscoresummary) | required | One entry for each county.                                                                                               |

## SituationClassification [#schema-situationclassification]

The surveillance situation class assigned to a county, with how it was produced.

A class describes the pattern of surveillance evidence. It is not a diagnosis and not an
estimate of an individual's risk.

### Operations [#operations-51]

* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations

Type: `object`

| Name                             | Type                                                            | Required | Description                                                                                 |
| -------------------------------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------- |
| `model_id`                       | `string`                                                        | required | Identifies the model that assigned the class.                                               |
| `model_version`                  | `string`                                                        | required | Version of the model.                                                                       |
| `class_id`                       | `string`                                                        | required | Identifies the assigned class.                                                              |
| `class_name`                     | `string`                                                        | required | Display label of the class, exactly as reviewed.                                            |
| `class_description`              | `string`                                                        | required | Explanation of the class, exactly as reviewed.                                              |
| `probabilities`                  | array of [MembershipProbability](#schema-membershipprobability) | required | Membership probability for each of the four classes.                                        |
| `limitations`                    | array of `string`                                               | required | Readings of the class that are not supported. They list what not to conclude, not outcomes. |
| `batch_id`                       | `string`                                                        | required | Identifies the batch of results.                                                            |
| `batch_version`                  | `string`                                                        | required | Version of the batch.                                                                       |
| `county_sha256`                  | `string`                                                        | required | SHA-256 checksum of this county's input record.                                             |
| `dictionary_sha256`              | `string`                                                        | required | SHA-256 checksum of the class dictionary the model used.                                    |
| `input_release_id`               | `string`                                                        | required | Identifies the data release the model read.                                                 |
| `input_bundle_sha256`            | `string`                                                        | required | SHA-256 checksum of the data release the model read.                                        |
| `fit_git_sha`                    | `string`                                                        | required | Commit of the code that fitted the model, for reproducibility.                              |
| `feature_contract`               | `object`                                                        | required | The input features and settings the model used.                                             |
| `model_provenance`               | `object`                                                        | required | Records of how the model was fitted and reviewed.                                           |
| `source_provenance`              | `object`                                                        | required | Sources and source vintages the model used.                                                 |
| `handoff_approval`               | `object`                                                        | required | Record of the review that approved the model output for use.                                |
| `data_publication_authorization` | `object`                                                        | required | Record of the approval to publish the batch.                                                |
| `data_authorization_id`          | `string`                                                        | required | Identifies the approval to publish the batch.                                               |
| `staging_attempt`                | `string`                                                        | required | Identifies the staging run that prepared the batch.                                         |
| `activated_at`                   | `string (date-time)`                                            | required | When the batch became active. It is not the source vintage or the request time.             |

## SituationVariant [#schema-situationvariant]

The result of one situation model for a county, or the reason there is none.

### Operations [#operations-52]

* [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations) — Get county surveillance situations

Type: `object`

| Name                 | Type                                                                                                     | Required | Description                                                                                                                                                                                                                                                                             |
| -------------------- | -------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model_id`           | `string`                                                                                                 | required | Identifies the situation model.                                                                                                                                                                                                                                                         |
| `availability`       | `AVAILABLE \| UNAVAILABLE`                                                                               | required | Whether a published classification exists. `UNAVAILABLE` is not a finding about the county.                                                                                                                                                                                             |
| `unavailable_reason` | `DEACTIVATED \| NOT_PUBLISHED \| UNAPPROVED_BATCH \| INCOMPATIBLE_RELEASE \| MISSING_ASSIGNMENT \| null` | required | Why no classification is published: `NOT_PUBLISHED`, `DEACTIVATED`, `UNAPPROVED_BATCH`, `INCOMPATIBLE_RELEASE`, or `MISSING_ASSIGNMENT`. `null` when `availability` is `AVAILABLE`.                                                                                                     |
| `compatibility`      | `EXACT_INPUT \| ADMITTED_CARRY_FORWARD \| UNAVAILABLE`                                                   | required | How the classification relates to the current data release. `EXACT_INPUT` means the model read the current release. `ADMITTED_CARRY_FORWARD` means a reviewed result computed from an earlier release is published for the current one. `UNAVAILABLE` means there is no classification. |
| `batch_id`           | `string \| null`                                                                                         | required | Identifies the batch of results. `null` when unavailable.                                                                                                                                                                                                                               |
| `batch_version`      | `string \| null`                                                                                         | required | Version of the batch. `null` when unavailable.                                                                                                                                                                                                                                          |
| `input_release_id`   | `string \| null`                                                                                         | required | Identifies the data release the model read. `null` when unavailable.                                                                                                                                                                                                                    |
| `data`               | [SituationClassification](#schema-situationclassification) \| `null`                                     | required | The classification. `null` when unavailable.                                                                                                                                                                                                                                            |

### `availability` values [#availability-values-1]

| Value         | Meaning                        |
| ------------- | ------------------------------ |
| `AVAILABLE`   | No description yet             |
| `UNAVAILABLE` | not a finding about the county |

### `unavailable_reason` values [#unavailable_reason-values]

| Value                  | Meaning            |
| ---------------------- | ------------------ |
| `DEACTIVATED`          | No description yet |
| `NOT_PUBLISHED`        | No description yet |
| `UNAPPROVED_BATCH`     | No description yet |
| `INCOMPATIBLE_RELEASE` | No description yet |
| `MISSING_ASSIGNMENT`   | No description yet |

### `compatibility` values [#compatibility-values]

| Value                    | Meaning                                                                             |
| ------------------------ | ----------------------------------------------------------------------------------- |
| `EXACT_INPUT`            | the model read the current release                                                  |
| `ADMITTED_CARRY_FORWARD` | a reviewed result computed from an earlier release is published for the current one |
| `UNAVAILABLE`            | there is no classification                                                          |

## SourceMetadata [#schema-sourcemetadata]

A source dataset listed in the release metadata.

### Operations [#operations-53]

* [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata) — Get release metadata
* [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty) — Get county detail and provenance

Type: `object`

| Name      | Type     | Required | Description                                          |
| --------- | -------- | -------- | ---------------------------------------------------- |
| `key`     | `string` | required | Stable key of the source within this release.        |
| `label`   | `string` | required | Display name of the source.                          |
| `vintage` | `string` | required | Reference year or period of the source dataset.      |
| `url`     | `string` | required | Web address of the source.                           |
| `note`    | `string` | required | How Atlas uses the source and any limit on that use. |

## StateReview [#schema-statereview]

Counties in a state that merit a closer look, with gaps and coverage.

A review is not a diagnosis and not a disease-risk estimate. An empty result does not
show that no county needs attention.

### Operations [#operations-54]

* [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview) — Review a state's county evidence

Type: `object`

| Name                            | Type                                                                         | Required | Description                                                                                                                                                                                                                                                                           |
| ------------------------------- | ---------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `requested_state`               | `string`                                                                     | required | Two-letter state or District of Columbia code.                                                                                                                                                                                                                                        |
| `methodology_id`                | `string`                                                                     | required | Identifies the review methodology.                                                                                                                                                                                                                                                    |
| `methodology_version`           | `string`                                                                     | required | Version of the review methodology.                                                                                                                                                                                                                                                    |
| `configuration_sha256`          | `string`                                                                     | required | SHA-256 checksum of the review configuration. Use it to confirm which rules ran.                                                                                                                                                                                                      |
| `data_release_version`          | `string`                                                                     | required | Identifies the published data release the review read.                                                                                                                                                                                                                                |
| `evaluated_at`                  | `string (date-time)`                                                         | required | When Atlas ran the review, with a UTC offset. It is not when the publishers last updated their data.                                                                                                                                                                                  |
| `requested_observation_context` | `string \| null`                                                             | required | Observation context the request asked for. `null` when none was asked for.                                                                                                                                                                                                            |
| `effective_observation_context` | `string`                                                                     | required | Observation context the review used.                                                                                                                                                                                                                                                  |
| `result_state`                  | `candidates_found \| insufficient_evidence \| unsupported \| none_stand_out` | required | Overall outcome. `candidates_found` lists counties to review. `insufficient_evidence` means the evidence could not be evaluated. `unsupported` means no review rule is approved. `none_stand_out` means no evaluated county stood out; it does not show that nothing needs attention. |
| `review_candidates`             | array of [Candidate](#schema-candidate)                                      | required | Counties that merit a closer look.                                                                                                                                                                                                                                                    |
| `data_gaps`                     | array of [DataGap](#schema-datagap)                                          | required | Counties Atlas could not evaluate, with the reason.                                                                                                                                                                                                                                   |
| `coverage`                      | [ReviewCoverage](#schema-reviewcoverage)                                     | required | How many counties were assessed.                                                                                                                                                                                                                                                      |
| `limitations`                   | array of `string`                                                            | required | Factual notes on what the review does not show.                                                                                                                                                                                                                                       |

### `result_state` values [#result_state-values]

| Value                   | Meaning                                                                      |
| ----------------------- | ---------------------------------------------------------------------------- |
| `candidates_found`      | lists counties to review                                                     |
| `insufficient_evidence` | the evidence could not be evaluated                                          |
| `unsupported`           | no review rule is approved                                                   |
| `none_stand_out`        | no evaluated county stood out; it does not show that nothing needs attention |

## Tier1CountyPriority [#schema-tier1countypriority]

Model-assisted surveillance review priority for one county.

The priority helps decide where to look first. It is not a measure of disease or clinical
risk, and it is not a diagnosis.

### Operations [#operations-55]

* [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability) — Check surveillance priority availability
* [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority) — Get county surveillance review priority

Type: `object`

| Name                       | Type                                              | Required | Description                                                                                                                                                                                                                                            |
| -------------------------- | ------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `county_fips`              | `string`                                          | required | Five-digit county FIPS code, with leading zeros.                                                                                                                                                                                                       |
| `priority_tier`            | `HIGH \| MEDIUM \| LOW \| null`                   | required | HIGH, MEDIUM, or LOW model-assisted surveillance review priority under the named tier policy; not disease risk. Null for NOT\_ESTIMABLE.                                                                                                               |
| `priority_percentile`      | `number \| null`                                  | required | Within-batch relative position among scored counties for this model and inference batch (0-100). Not a probability or comparable across batches, model versions, populations, or tier policies without a separate validation. Null for NOT\_ESTIMABLE. |
| `raw_model_score`          | `number \| null`                                  | required | Model-native anomaly score; not a probability, incidence estimate, or clinical/disease risk. Its scale is model-specific and is not comparable across versions without validation. Null for NOT\_ESTIMABLE.                                            |
| `evidence_sufficiency`     | `SUFFICIENT \| INSUFFICIENT \| NOT_ESTIMABLE`     | required | Input-data sufficiency state, not calibrated model confidence. NOT\_ESTIMABLE is an abstention with null tier, percentile, and score; SUFFICIENT and INSUFFICIENT both require tier, percentile, and score.                                            |
| `model_version`            | `string`                                          | required | Version of the model that generated this result.                                                                                                                                                                                                       |
| `release_id`               | `string`                                          | required | Identifies the published data release the batch used.                                                                                                                                                                                                  |
| `source_commit`            | `string`                                          | required | Commit of the model code that produced the result, for reproducibility.                                                                                                                                                                                |
| `prediction_batch_version` | `string`                                          | required | Inference batch identity defining the percentile comparison population.                                                                                                                                                                                |
| `tier_policy_version`      | `string`                                          | required | Version of the policy assigning review tiers from scored results.                                                                                                                                                                                      |
| `generated_at_utc`         | `string (date-time)`                              | required | UTC batch generation time, not the request time or source observation date.                                                                                                                                                                            |
| `reasons`                  | array of [PriorityReason](#schema-priorityreason) | required | Up to three reasons for the priority. Empty when none apply.                                                                                                                                                                                           |
| `limitation_ref`           | `string`                                          | required | Reference to the document that lists what this result does not show.                                                                                                                                                                                   |

### `priority_tier` values [#priority_tier-values]

| Value    | Meaning            |
| -------- | ------------------ |
| `HIGH`   | No description yet |
| `MEDIUM` | No description yet |
| `LOW`    | No description yet |

### `evidence_sufficiency` values [#evidence_sufficiency-values]

| Value           | Meaning            |
| --------------- | ------------------ |
| `SUFFICIENT`    | No description yet |
| `INSUFFICIENT`  | No description yet |
| `NOT_ESTIMABLE` | No description yet |

## Tier1CountyPriorityAvailability [#schema-tier1countypriorityavailability]

Whether a Tier 1 result is published for a county, with the result when it is.

`UNAVAILABLE` means no result is published. It is not a finding about the county.

### Operations [#operations-56]

* [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability) — Check surveillance priority availability

Type: `object`

| Name                   | Type                                                         | Required | Description                                                                                                                            |
| ---------------------- | ------------------------------------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `availability`         | `AVAILABLE \| UNAVAILABLE`                                   | required | Whether a published Tier 1 result exists for this county.                                                                              |
| `geography_release_id` | `string`                                                     | required | Identifies the geography release used to confirm the county exists.                                                                    |
| `reason`               | `NO_PUBLISHED_MODEL \| null`                                 | required | Why no result is published. `NO_PUBLISHED_MODEL` means no model result is published for the county. `null` when a result is available. |
| `data`                 | [Tier1CountyPriority](#schema-tier1countypriority) \| `null` | required | The published Tier 1 result, or `null` when none is published.                                                                         |

### `availability` values [#availability-values-2]

| Value         | Meaning            |
| ------------- | ------------------ |
| `AVAILABLE`   | No description yet |
| `UNAVAILABLE` | No description yet |

### `reason` values [#reason-values-1]

| Value                | Meaning                                     |
| -------------------- | ------------------------------------------- |
| `NO_PUBLISHED_MODEL` | no model result is published for the county |

# States (https://onehealthatlas.org/docs/api-reference/states)

> Download state PDF reports.

Generated from the public OpenAPI contract.

Download state PDF reports.

## Download a state report [#downloadStateReport]

`GET /v1/states/{state}/report.pdf`

Operation ID: `downloadStateReport`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport).

## Review a state's county evidence [#getStateReview]

`GET /v1/states/{state}/review`

Operation ID: `getStateReview`

[Parameters, responses, and schema](https://onehealthatlas.org/docs/api-reference/states/getStateReview).

# Download a state report (https://onehealthatlas.org/docs/api-reference/states/downloadStateReport)

> Download a state report

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails).

## GET /v1/states/{state}/report.pdf

Operation ID: `downloadStateReport`.

Download a state report

PDF attachment using the immutable state-v1 registered template by default. State is a two-letter code. Optional dataset_version and score settings bind report inputs. ETag/If-None-Match supports 304; public cache TTL 300 seconds with revalidation. Unknown templates return 422; resource limits 413; renderer failure/timeout 503.

### Parameters

#### state

path, required.

Two-letter uppercase USPS state code, for example `CO`. A malformed value returns 422. A state not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^[A-Z]{2}$` |

Example:

```json
"CO"
```

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

#### template

query, optional.

State report template. The only accepted value is `state-v1`, which is also the default. Any other value returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Default | `state-v1` |
| Pattern | `^[a-z]+-v\d+$` |

Example:

```json
"state-v1"
```

#### ecological_share

query, optional.

Percent of the gap score weighted to ecological evidence (tick and pathogen signals). The rest goes to community vulnerability (social vulnerability, insurance access, and rurality). Use a multiple of 5 from 40 to 85. The default is 65. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `65` |
| Minimum | `40` |
| Maximum | `85` |
| Multiple of | `5` |

Example:

```json
65
```

#### smooth_k

query, optional.

Smoothing constant for the human-case signal. It sets the reported incidence at which the human weakness signal falls to 50: a larger value keeps the signal high for more counties. Use a whole number from 5 to 200. The default is 50. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `50` |
| Minimum | `5` |
| Maximum | `200` |

Example:

```json
50
```

#### missing_human_weakness

query, optional.

Human weakness signal (0-100) that Atlas assumes for a county with no published human case count or incidence. A missing count is not zero. Use a multiple of 5 from 40 to 90. The default is 75. The published score always uses the default. Another value gives a what-if scenario, not the published score. A value outside the accepted range returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `integer` |
| Default | `75` |
| Minimum | `40` |
| Maximum | `90` |
| Multiple of | `5` |

Example:

```json
75
```

#### low_incidence_breakpoint

query, optional.

Deprecated. Do not send it. Any value returns 422. Use `smooth_k` to change how the human-case signal is smoothed.

| Constraint | Value |
| --- | --- |
| Schema | `integer \| null` |

### Responses

#### 200

PDF attachment.

- Media type: `application/pdf`
- Response schema: `string`

##### PDF report (first bytes only)

```json
"%PDF-1.7"
```
- Header `Content-Type`: Media type of the body: `application/pdf`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=300, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `ETag`: Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.
- Header `Content-Disposition`: Marks the body as a download and suggests the file name.
- Header `X-Request-ID`: 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.

#### 304

Not modified. Your `If-None-Match` value matches the current `ETag`. The response has no body.

- Header `ETag`: The matching validator.
- Header `Cache-Control`: The same cache rule as the `200` response.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "State or dataset release not found",
  "instance": "/v1/states/{state}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 413

The report is larger than the API can render. Request a shorter period or fewer measures, then retry.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Error response

```json
{
  "type": "https://onehealthatlas.org/problems/http-413",
  "title": "Request failed",
  "status": 413,
  "detail": "The report exceeds configured resource limits.",
  "instance": "/v1/states/{state}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/states/{state}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/states/{state}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The report renderer is busy or timed out. Wait the number of seconds in `Retry-After`, then retry. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Error response

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "Report rendering timed out. Please try again later.",
  "instance": "/v1/states/{state}/report.pdf",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# Review a state's county evidence (https://onehealthatlas.org/docs/api-reference/states/getStateReview)

> Review a state's county evidence

Error codes, retries, and value states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

Schemas: [Candidate](https://onehealthatlas.org/docs/api-reference/schemas#schema-candidate), [DataGap](https://onehealthatlas.org/docs/api-reference/schemas#schema-datagap), [ProblemDetails](https://onehealthatlas.org/docs/api-reference/schemas#schema-problemdetails), [PublicReviewEvidenceReference](https://onehealthatlas.org/docs/api-reference/schemas#schema-publicreviewevidencereference), [ReviewCoverage](https://onehealthatlas.org/docs/api-reference/schemas#schema-reviewcoverage), [StateReview](https://onehealthatlas.org/docs/api-reference/schemas#schema-statereview).

## GET /v1/states/{state}/review

Operation ID: `getStateReview`.

Review a state's county evidence

Versioned county Review result. Current rules are disabled. Lineage gaps are separate. Public cache TTL is 60 seconds.

### Parameters

#### state

path, required.

Two-letter uppercase USPS state code, for example `CO`. A malformed value returns 422. A state not in the current release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string` |
| Pattern | `^[A-Z]{2}$` |

Example:

```json
"CO"
```

#### observation_context

query, optional.

Optional label for the observation context you are reviewing. Atlas echoes it in the response and does not use it to change the result, which always reflects the current cumulative county status. Use up to 80 characters; a longer value returns 422.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |
| Maximum length | `80` |

Example:

```json
"Current cumulative county status"
```

#### dataset_version

query, optional.

Data release to read, as a `release_id`. Omit it to use the current release. Copy a value from `release_id` in the metadata response. An unknown release returns 404.

| Constraint | Value |
| --- | --- |
| Schema | `string \| null` |

Example:

```json
"governed-2026-10-15-january-climate-prod"
```

### Responses

#### 200

Successful response. This operation ignores `If-None-Match` and always returns 200 with the full body.

- Media type: `application/json`
- Response schema: `StateReview`

##### County review for Colorado, trimmed to two data gaps

```json
{
  "requested_state": "CO",
  "methodology_id": "atlas-county-review",
  "methodology_version": "1.0.0",
  "configuration_sha256": "db6df73f7bce474000165fb2b0bad9767390c21aed160a1377be6a4893004d99",
  "data_release_version": "governed-2026-10-15-january-climate-prod",
  "evaluated_at": "2026-10-25T02:46:14.482274Z",
  "requested_observation_context": null,
  "effective_observation_context": "Current cumulative county status; human snapshot 2023",
  "result_state": "unsupported",
  "review_candidates": [],
  "data_gaps": [
    {
      "county_fips": "08001",
      "code": "SOURCE_NATIVE_LINEAGE_UNAVAILABLE",
      "detail": "Summary statuses lack exact source rows and revisions."
    },
    {
      "county_fips": "08003",
      "code": "SOURCE_NATIVE_LINEAGE_UNAVAILABLE",
      "detail": "Summary statuses lack exact source rows and revisions."
    }
  ],
  "coverage": {
    "assessed_counties": 64,
    "eligible_counties": 0,
    "abstained_counties": 0,
    "evaluated_counties": 0,
    "rule_coverage": {
      "human_emerging": "disabled",
      "vector_transition": "disabled",
      "human_vector_discordance": "disabled",
      "pathogen_present_vector_reported": "disabled"
    }
  },
  "limitations": [
    "Review is not disease risk; no candidate rule is approved in 1.0.0."
  ]
}
```
- Header `Content-Type`: Media type of the body: `application/json`.
- Header `Cache-Control`: How long a client or shared cache can reuse the response: `public, max-age=60, must-revalidate`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.
- Header `X-Request-ID`: 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.

#### 404

The county, state, or dataset release you asked for is not in the current data. `detail` names what is missing. Check the ID or release, then retry with a value the API lists. Most of these responses have no `code`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Release not found

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "State not found in current release",
  "instance": "/v1/states/{state}/review",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```

#### 422

A request value failed validation. The body is Problem Details with an `errors` list that names each invalid input and where it was sent. It has no `code`. Fix each listed value, then retry. The same request fails again.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Path value has the wrong form

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/states/{state}/review",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": [
        "path",
        "fips"
      ],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc",
      "ctx": {
        "pattern": "^\\d{5}$"
      }
    }
  ]
}
```

#### 429

You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### General request limit reached

```json
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Request limit exceeded.",
  "instance": "/v1/states/{state}/review",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

#### 503

The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.

- Media type: `application/problem+json`
- Response schema: `ProblemDetails`

##### Data service unavailable

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/states/{state}/review",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```
- Header `Retry-After`: Seconds to wait before you retry. Wait that long when the header is present.

# The One Health Atlas decision-support workflow (https://onehealthatlas.org/docs/atlas-workflow)

> Follow One Health Atlas from fragmented One Health evidence to a focused epidemiological investigation question.

Epidemiologists use this page to move from released One Health evidence to a bounded investigation question.

Atlas follows this path:

`DATA → SIGNALS → CONTEXT → INTERPRETATION → INVESTIGATION → PUBLIC-HEALTH ACTION`

Each step answers a different question. A visually prominent value is not a complete conclusion.

#### Interpret with care

  Data availability is not disease absence. A missing, suppressed, stale, or
  incomparable value stays different from a measured zero. A signal focuses
  attention. It is not a final epidemiological conclusion.

## 1. Data — what is available? [#1-data--what-is-available]

Check the source, geography, time period, update context, and limitations in the current release. A later governed source is intended to enter through a source-specific adapter and still be read as canonical Atlas evidence, with that source's provenance attached. See [sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence).

## 2. Signals — what stands out? [#2-signals--what-stands-out]

Patterns, ranked counties, and review-priority scores focus attention. Review the inputs and the methodology version. Do not infer that a higher score is a probability, incidence rate, individual risk, or disease-burden estimate unless the evidence and method explicitly say so.

## 3. Context — what else should be considered? [#3-context--what-else-should-be-considered]

Read vector, pathogen, environmental, population, and scientific context with the signal. Association or co-occurrence alone does not establish causation.

## 4. Interpretation — what does the evidence support? [#4-interpretation--what-does-the-evidence-support]

Check geography, time, release currency, definition, denominator, and method. Note missing, suppressed, sparse, stale, or unavailable values. A safe line is conditional: “This area is worth reviewing because these available signals align,” plus the limitations to verify.

## 5. Investigation — what should happen next? [#5-investigation--what-should-happen-next]

Ask one bounded question, such as which source or time period would reduce the most uncertainty. Record geography, release or vintage, methodology, evidence, and unresolved limitations.

## 6. Public-health action — what is appropriate? [#6-public-health-action--what-is-appropriate]

Atlas can help a team decide what deserves investigation. It does not authorize an intervention or make a public-health decision automatically. Action belongs to the responsible epidemiologists, agencies, and partners.

## A repeatable review pattern [#a-repeatable-review-pattern]

1. **Select** a supported geography in [Atlas Explorer](https://onehealthatlas.org/explore).
2. **Scan** the signal and the equivalent table or text.
3. **Inspect** evidence, provenance, methodology, and limitations.
4. **Compare** only aligned measures.
5. **State uncertainty.** Keep missing evidence distinct from a measured zero.
6. **Write** the question and the next evidence needed.
7. **Share** the URL or export with that context.

Boundaries are in [What is One Health Atlas?](https://onehealthatlas.org/docs/what-is-atlas) and [Who is One Health Atlas for?](https://onehealthatlas.org/docs/who-is-atlas-for).

## Where the signed-in workspace places each step [#where-the-signed-in-workspace-places-each-step]

In the signed-in workspace, that path uses the six destinations:

1. **Atlas Explorer** holds the operating picture for the United States or one state, plus county evidence and suggested follow-up on the same address.
2. **Compare** holds two counties. It does not rank them.
3. **Ask Atlas** is the dedicated page for reviewed-literature questions when that service is enabled. It does not open a side panel.
4. **Feed**, **Settings**, and **Docs** stay their own destinations. Feed lists recent items from approved trusted sources when the service returns them. Settings stores a default jurisdiction. Docs opens in a new tab and leaves the workspace URL on the original tab.

Share the workspace URL for the page you mean to hand off. Read [the professional workspace](https://onehealthatlas.org/docs/professional-workspace) for addresses, evidence states, and older bookmarks.

# Current capabilities (https://onehealthatlas.org/docs/current-capabilities)

> See what One Health Atlas supports in the current public release and how each capability contributes to evidence-aware investigation.

Epidemiologists use this page to choose a supported workflow and to keep a planned or experimental idea separate from a released capability.

#### Interpret with care

  A review-priority signal is not a diagnosis, a disease-burden estimate, or an
  individual risk estimate. Atlas does not predict an outbreak with certainty or
  act for a public-health authority.

## Capability status [#capability-status]

Atlas uses four status labels:

* **Available now** — verified in the current public release and appropriate to document as user behavior.
* **Planned** — part of the product direction, but not available to rely on today.
* **Experimental/demo** — available only in a constrained, feature-gated, or validation context. Do not treat it as a production commitment.
* **Not supported** — outside the current product promise or deliberately excluded from the public experience.

## What you can do today [#what-you-can-do-today]

| Capability                      | Status        | Boundary                                                                                                              |
| ------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |
| Front Porch at `/`              | Available now | Public introduction. No county scores, results map, or comparison.                                                    |
| Atlas Explorer                  | Available now | National scope is a bounded picture, not a ranking of every U.S. county.                                              |
| Compare two counties            | Available now | No winner and no five-county comparison.                                                                              |
| Inspect evidence and provenance | Available now | Check source, geography, vintage, release, method, freshness, and limitations.                                        |
| Share a workspace address       | Available now | Record the release and method with the URL. A later release may differ.                                               |
| County PDF                      | Available now | A failed verification check makes the PDF unavailable. That is not a claim that the report contains none of a period. |

## Authenticated professional workspace [#authenticated-professional-workspace]

These routes require sign-in. The [professional workspace](https://onehealthatlas.org/docs/professional-workspace) guide describes each destination. Older public bookmarks open Atlas Explorer after sign-in. They do not keep a separate public map.

| Capability                                              | Status            | How it supports investigation                                                                                              | Important boundary                                                                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Atlas Explorer at [/explore](https://onehealthatlas.org/explore)                  | Available now     | Map, list, county evidence, and suggested follow-up.                                                                       | A default applies only with no scope and no county. A state picture with no county selects the first published review candidate. An invalid county opens with `selection=required` and is not replaced.                                                                                                                                               |
| Model-assisted surveillance review priority             | Available now     | Read a published HIGH, MEDIUM, or LOW tier for the selected county when its release matches the selected evidence release. | Atlas withholds a tier from a different release, and withholds it when the governed release for the page is not known. A withheld, missing, or not-estimable result is not shown as LOW. This is review prioritization, not disease risk or predicted incidence. It is separate from the rules-based county review score. Forecasts are not released. |
| Compare at [/compare](https://onehealthatlas.org/compare)                         | Available now     | Compare two counties on aligned measures.                                                                                  | This page does not rank a winner.                                                                                                                                                                                                                                                                                                                     |
| Settings at [/app/settings](https://onehealthatlas.org/app/settings)              | Available now     | Save United States or a state as the next Atlas Explorer start, plus optional role, organization, and job title.           | Optional fields can stay empty. The default does not change evidence values or block other geographies.                                                                                                                                                                                                                                               |
| Docs from the workspace                                 | Available now     | Open this reference in a new tab.                                                                                          | The original workspace tab keeps its URL. Docs is not in-page help.                                                                                                                                                                                                                                                                                   |
| Ask Atlas at [/askatlas](https://onehealthatlas.org/askatlas)                     | Experimental/demo | Reviewed literature when enabled.                                                                                          | The previous county or comparison is not sent. Service off leaves the other pages usable. No side panel, Structured mode, or Both mode. History stays in this browser.                                                                                                                                                                                |
| Feed at [/app/feed](https://onehealthatlas.org/app/feed)                          | Available now     | Scan recent items from approved trusted sources and open the publisher page.                                               | An empty, disabled, or failed feed is its own state. Feed does not send alerts or keep a saved-article library.                                                                                                                                                                                                                                       |
| Data Provenance at [/data-provenance](https://onehealthatlas.org/data-provenance) | Available now     | Read the current release source catalog and links to the methodology guides.                                               | The page does not replace provenance beside a result, and it does not add sources the release did not return.                                                                                                                                                                                                                                         |
| Evidence brief                                          | Experimental/demo | A direct `plan=evidence-brief` address still opens that brief and returns to county evidence.                              | It is not a workspace destination. Surveillance planning is not released.                                                                                                                                                                                                                                                                             |
| API keys in Settings                                    | Not supported     | Public API reads do not use a key.                                                                                         | Settings does not generate or revoke a key. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access) and the [developer quickstart](https://onehealthatlas.org/docs/develop/quickstart).                                                                                                                                                                                            |

## Capabilities that are not current promises [#capabilities-that-are-not-current-promises]

| Capability                                                                       | Status            | What this means for you                                                                                                                                                              |
| -------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Historical release trends                                                        | Not supported     | The public explorer exposes one active release. A generated date is release metadata, not the observation date.                                                                      |
| Guaranteed outbreak prediction or automated public-health action                 | Not supported     | Atlas surfaces signals and investigation candidates. It does not predict with certainty or act for an authority.                                                                     |
| Clinical diagnosis or person-level exposure risk                                 | Not supported     | Atlas supports population-level review. It is not a clinical or individual-risk tool.                                                                                                |
| Additional clinical, laboratory, jurisdictional, or other governed sources       | Planned           | Future sources are designed to enter the same evidence model. The current release stays open-data-first. See [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence). |
| Live EHR, TEFCA, patient-level, PHI, or production clinical-laboratory ingestion | Not supported     | No live EHR or production clinical-laboratory feed is in this release.                                                                                                               |
| AI-generated findings treated as authoritative                                   | Experimental/demo | Keep AI grounded in approved evidence, show limitations, and retain human review.                                                                                                    |
| Alerts, private feeds, or account-based evidence access                          | Not supported     | An account does not unlock different evidence or change a score. Alerts are not released. Feed lists trusted-source items and does not keep a saved library.                         |
| Separate public map, five-county comparison, or Investigation Workspace          | Not supported     | Older `/overview`, `/geographic_explorer`, and `/investigate` bookmarks open Atlas Explorer after sign-in.                                                                           |

## Where to start [#where-to-start]

  [Atlas Explorer](https://onehealthatlas.org/explore)

Map, county list, county evidence, and suggested follow-up.

  [Compare](https://onehealthatlas.org/compare)

Two counties from the same release.

  [Professional workspace](https://onehealthatlas.org/docs/professional-workspace)

Atlas Explorer, Compare, Ask Atlas, Feed, Settings, and Docs.

  [Investigation workflows](https://onehealthatlas.org/docs/investigation-workflows)

Move from a question to a next step.

  [Evidence and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty)

Read a signal with its provenance.

  [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence)

Separate a future source from today's release.

Also read [AI-enabled decision intelligence](https://onehealthatlas.org/docs/ai-enabled-decision-intelligence), the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics), and the [FAQ](https://onehealthatlas.org/docs/faq-and-troubleshooting). If a model, alert, historical comparison, or export is not listed as available now, leave the question open.

# Developer overview (https://onehealthatlas.org/docs/develop)

> Anonymous REST reads and the guide map.

Make an anonymous HTTPS GET to `https://api.onehealthatlas.org`. Public reads need no API key, signed-in session, SDK, or MCP server. The HTTP contract is `/v1`. OpenAPI `info.version` is a separate application version.

Send the URL and query string. A collection returns `data`, `meta`, and `links`. A single resource returns `data`. Errors use `application/problem+json`.

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. Read limits with the value in [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Choose a guide [#choose-a-guide]

  [Quickstart](https://onehealthatlas.org/docs/develop/quickstart)

Finish one county observation read

  [Errors and retries](https://onehealthatlas.org/docs/develop/errors)

Look up an error code, a retry, or a value_state

  [Integration recipes](https://onehealthatlas.org/docs/develop/recipes)

Load a table, page a collection, and retry

  [REST API](https://onehealthatlas.org/docs/develop/rest)

Page results, handle errors, and tell versions apart

  [Geography](https://onehealthatlas.org/docs/develop/geography)

Identify a county and request display polygons

  [Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

Choose a measure and read value with value_state

  [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

Cite source, methodology, release, and freshness

  [Workflow guides](https://onehealthatlas.org/docs/develop/workflows)

Query, compare, read context, download a PDF, and cite

  [Observation queries](https://onehealthatlas.org/docs/develop/observation-queries)

Choose a checked slice and its time parameters

  [Tier 1 availability](https://onehealthatlas.org/docs/develop/tier1-availability)

Choose availability or the published priority read

  [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients)

Connect a client and copy the interpretation guardrails

  [OpenAPI, GitHub, and support](https://onehealthatlas.org/docs/develop/support)

Open the contract and report a request_id

  [Glossary](https://onehealthatlas.org/docs/glossary)

Read the shared definition for an API term

For a screen, use [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty). MCP status is on [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access). Source design is in [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence).

## Use the API reference [#use-the-api-reference]

Read parameters, schemas, and generated examples in the [API reference](https://onehealthatlas.org/docs/api-reference). The authoritative document is the public [OpenAPI schema](https://api.onehealthatlas.org/openapi.json). [Swagger](https://api.onehealthatlas.org/docs) and [ReDoc](https://api.onehealthatlas.org/redoc) render that document.

Generated pages: [discovery](https://onehealthatlas.org/docs/api-reference/discovery), [observations](https://onehealthatlas.org/docs/api-reference/observations), [provenance](https://onehealthatlas.org/docs/api-reference/provenance), [geographies](https://onehealthatlas.org/docs/api-reference/geographies), [atlas](https://onehealthatlas.org/docs/api-reference/atlas), [counties](https://onehealthatlas.org/docs/api-reference/counties), [states](https://onehealthatlas.org/docs/api-reference/states), and [schemas](https://onehealthatlas.org/docs/api-reference/schemas).

## Read the route family you called [#read-the-route-family-you-called]

| Family                       | Routes                                                                         | Error shape                                            |
| ---------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------ |
| Canonical resources          | Indicators, measures, observations, sources, methodologies, geography identity | Problem details with a stable `code`                   |
| Legacy analytics and exports | County and state review, scores, geometry, rankings, PDF reports               | Statuses such as `422`. A problem body may omit `code` |

Conversational AI, literature retrieval, account, and feedback routes are outside this contract.

## Use example geographies [#use-example-geographies]

Product geography is the lower 48 states and the District of Columbia. Examples use county FIPS `36061` (New York County, New York), `08001` (Adams County, Colorado), `09110` (Capitol Planning Region, Connecticut), and `51013` (Arlington County, Virginia). Preserve leading zeros. Keep five-digit FIPS values as strings.

## Apply the result limit [#apply-the-result-limit]

A query may select up to 10,000 results. A broader query is rejected. The API never truncates results. The public document does not publish a numeric request quota. Honor `Retry-After` on `429` and `503`. See [REST API](https://onehealthatlas.org/docs/develop/rest).

`GET /v1/geographies/{geography_type}/{geography_id}` returns HTTP 200, `availability` `UNAVAILABLE`, `reason` `CANONICAL_GEOGRAPHY_UNPUBLISHED`, `data` null, and no geometry. Polygons are `GET /v1/atlas/geometry`. See [Geography](https://onehealthatlas.org/docs/develop/geography).

January 2025 environmental measures carry `environmental_context`. The catalog includes those daily ids. Slice queries and rejected parameters are in [Observation queries](https://onehealthatlas.org/docs/develop/observation-queries). Optional `surveillance_context` appears only with published surveillance context on a supported slice. See [Workflow guides](https://onehealthatlas.org/docs/develop/workflows).

# What's new (https://onehealthatlas.org/docs/develop/changelog)

> Changes to the public API, newest release first, matching the pinned contract.

Read what changed in the public API. The newest release is first. Each entry has a label: Added, Changed, Deprecated, Fixed, or Breaking. Added is an additive change. Deprecated is a deprecation. Breaking is a breaking change.

Subscribe with the [changelog feed](https://onehealthatlas.org/docs/changelog.xml).

These notes match contract commit `4bc001bb6c03d16aef80762174691fdf9b898707` from `Caraway-Labs/one-health-lyme-gap-atlas-api` file `CHANGELOG.md`.

## Unreleased [#unreleased]

No changes yet.

## 2026-10-25 [#2026-10-25]

Documentation and metadata release. Every change is `additive`. No route, status code, response shape, authentication rule, or data value changed. Generated clients keep working unchanged.

* **Added** — **Landing page**: `info.description` now explains what Atlas is, how to start, how to page, how errors work, and how to read results. It restates the interpretation limits once: results are not a diagnosis and not an estimate of an individual's risk. Read [API reference](https://onehealthatlas.org/docs/api-reference).

* **Added** — **Tags and tag groups**: Operations are grouped under task-focused tags with descriptions, and shown in groups in the served reference. Summaries are shorter and start with a verb. Read [API reference](https://onehealthatlas.org/docs/api-reference).

* **Added** — **Parameters**: Every parameter has a description that states the accepted form, bounds, and defaults. Read [API reference](https://onehealthatlas.org/docs/api-reference).

* **Added** — **Schemas**: Every response schema and field has a description, including how to read `null` and each `value_state`. Read [Schemas](https://onehealthatlas.org/docs/api-reference/schemas).

* **Added** — **Operation descriptions**: Long descriptions are split into headed parts and tables, with the key parameters and common problems for each operation. Affected operations:
  * [`GET /v1/atlas/geometry`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry)
  * [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues)
  * [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata)
  * [`GET /v1/atlas/ranking.csv`](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking)
  * [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores)
  * [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty)
  * [`GET /v1/counties/{fips}/report.pdf`](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport)
  * [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability)
  * [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography)
  * [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability)
  * [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators)
  * [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator)
  * [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures)
  * [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure)
  * [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology)
  * [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations)
  * [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources)
  * [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource)
  * [`GET /v1/states/{state}/report.pdf`](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport)
  * [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview)

* **Added** — **Examples**: Every operation has a real response example for its `200` response. Affected operations:
  * [`GET /v1/atlas/geometry`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry)
  * [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues)
  * [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata)
  * [`GET /v1/atlas/ranking.csv`](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking)
  * [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores)
  * [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty)
  * [`GET /v1/counties/{fips}/report.pdf`](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport)
  * [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability)
  * [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography)
  * [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability)
  * [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators)
  * [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator)
  * [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures)
  * [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure)
  * [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology)
  * [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations)
  * [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources)
  * [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource)
  * [`GET /v1/states/{state}/report.pdf`](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport)
  * [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview)

* **Added** — **Error guidance**: Each error response says why it happens and what to change, and has an example of the Problem Details body for its `code`. Read [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

* **Added** — **Response headers**: Each `200` response lists its headers, including `Cache-Control` and `X-Request-ID`, and `ETag` where the operation supports it. The reference explains rate limits and how to retry a `429` or `503` with `Retry-After`. Read [API reference](https://onehealthatlas.org/docs/api-reference).

* **Added** — **Code samples**: Every operation includes ready-to-run curl, Python, TypeScript, and R samples (`x-codeSamples`). Affected operations:
  * [`GET /v1/atlas/geometry`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasGeometry)
  * [`GET /v1/atlas/map-values`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMapValues)
  * [`GET /v1/atlas/metadata`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasMetadata)
  * [`GET /v1/atlas/ranking.csv`](https://onehealthatlas.org/docs/api-reference/atlas/downloadAtlasRanking)
  * [`GET /v1/atlas/scores`](https://onehealthatlas.org/docs/api-reference/atlas/getAtlasScores)
  * [`GET /v1/counties/{fips}`](https://onehealthatlas.org/docs/api-reference/counties/getCounty)
  * [`GET /v1/counties/{fips}/report.pdf`](https://onehealthatlas.org/docs/api-reference/counties/downloadCountyReport)
  * [`GET /v1/counties/{fips}/surveillance-situations`](https://onehealthatlas.org/docs/api-reference/counties/getCountySurveillanceSituations)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority`](https://onehealthatlas.org/docs/api-reference/counties/getCountyTier1Priority)
  * [`GET /v1/counties/{fips}/tier1-surveillance-priority/availability`](https://onehealthatlas.org/docs/api-reference/counties/checkCountyTier1Availability)
  * [`GET /v1/geographies/{geography_type}/{geography_id}`](https://onehealthatlas.org/docs/api-reference/geographies/getGeography)
  * [`GET /v1/geographies/{geography_type}/{geography_id}/availability`](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability)
  * [`GET /v1/indicators`](https://onehealthatlas.org/docs/api-reference/discovery/listIndicators)
  * [`GET /v1/indicators/{indicator_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getIndicator)
  * [`GET /v1/measures`](https://onehealthatlas.org/docs/api-reference/discovery/listMeasures)
  * [`GET /v1/measures/{measure_id}`](https://onehealthatlas.org/docs/api-reference/discovery/getMeasure)
  * [`GET /v1/methodologies/{methodology_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getMethodology)
  * [`GET /v1/observations`](https://onehealthatlas.org/docs/api-reference/observations/listObservations)
  * [`GET /v1/sources`](https://onehealthatlas.org/docs/api-reference/provenance/listSources)
  * [`GET /v1/sources/{source_id}`](https://onehealthatlas.org/docs/api-reference/provenance/getSource)
  * [`GET /v1/states/{state}/report.pdf`](https://onehealthatlas.org/docs/api-reference/states/downloadStateReport)
  * [`GET /v1/states/{state}/review`](https://onehealthatlas.org/docs/api-reference/states/getStateReview)

* **Added** — **Quality checks**: A reviewed rule set now fails a pull request that adds an undescribed parameter or schema, a missing example, an over-long description, or a banned term. This protects the changes above.

# Errors and retries (https://onehealthatlas.org/docs/develop/errors)

> Look up INVALID_REQUEST, UNSUPPORTED_FILTER, UNSUPPORTED_STRATIFICATION, QUERY_TOO_BROAD, RESOURCE_NOT_FOUND, RATE_LIMITED, HTTP 413, 414, 422, and 503, and read each value_state.

Canonical errors use RFC 9457 `application/problem+json`. Required fields are `type`, `title`, `status`, `detail`, `instance`, and `request_id`. `code` and `errors` are optional. Branch on `code` when it is present. Send `request_id` to support. It matches the `X-Request-ID` response header.

Captured bodies below are production responses with the live `request_id` kept. `RATE_LIMITED` and HTTP 503 use the documented contract example instead, because those responses were not requested.

## Codes [#codes]

| HTTP status | `code`                       | When it applies                                                   | What to do                                                                                |
| ----------- | ---------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| 400         | `INVALID_REQUEST`            | [Missing, malformed, or inconsistent parameter](#invalid_request) | Change the request, then send it again                                                    |
| 400         | `UNSUPPORTED_FILTER`         | [A parameter V1 does not accept](#unsupported_filter)             | Remove that parameter                                                                     |
| 400         | `UNSUPPORTED_STRATIFICATION` | [`stratification` is sent](#unsupported_stratification)           | Omit `stratification`                                                                     |
| 400         | `QUERY_TOO_BROAD`            | [The selection is above 10,000 results](#query_too_broad)         | Narrow the measure, geography, time, or stratification, then request the first page again |
| 404         | `RESOURCE_NOT_FOUND`         | [Unknown canonical resource id](#resource_not_found)              | Check the id against the list operation for that resource                                 |
| 413         | `INVALID_REQUEST`            | [A GET request includes a body](#http-413)                        | Send the request again without a body                                                     |
| 414         | `INVALID_REQUEST`            | [The query string is too long](#http-414)                         | Send fewer or shorter parameter values, then retry                                        |
| 422         | (none)                       | [Legacy validation](#http-422)                                    | Fix each listed value, then retry                                                         |
| 429         | `RATE_LIMITED`               | [Too many requests](#rate_limited)                                | Wait for `Retry-After`, or use the [retry fallback](#retries)                             |
| 503         | `SERVICE_UNAVAILABLE`        | [The data service cannot answer](#http-503)                       | Wait for `Retry-After`, or use the [retry fallback](#retries)                             |

## INVALID\_REQUEST [#invalid_request]

A parameter is missing, malformed, or inconsistent with the other parameters. Read `detail` and `errors`. Change the request, then send it again. The same request fails again.

Observations without `year` and without both `start_date` and `end_date` returned this body. `errors` is null. The reason is in `detail`.

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Invalid public query",
  "status": 400,
  "detail": "Supply a year or both start_date and end_date.",
  "instance": "/v1/observations",
  "request_id": "d85c5512-20c6-4d43-af48-c87f37ca289c",
  "code": "INVALID_REQUEST",
  "errors": null
}
```

HTTP 413 and HTTP 414 use the same `code` at a different status. See [HTTP 413](#http-413) and [HTTP 414](#http-414).

## UNSUPPORTED\_FILTER [#unsupported_filter]

The request includes a parameter V1 does not accept, including `sort`, `aggregation`, or an unknown query name. Remove that parameter. The same request fails again.

An observations request that added `sort` returned this body.

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-filter",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This query filter is not supported in V1.",
  "instance": "/v1/observations",
  "request_id": "0c23cfac-0adf-485f-bea5-aa458a7a483a",
  "code": "UNSUPPORTED_FILTER",
  "errors": null
}
```

## UNSUPPORTED\_STRATIFICATION [#unsupported_stratification]

The request sends `stratification`. The current release has no governed strata. Omit `stratification`. The same request fails again.

```json
{
  "type": "https://onehealthatlas.org/problems/unsupported-stratification",
  "title": "Invalid public query",
  "status": 400,
  "detail": "This release has no governed strata.",
  "instance": "/v1/observations",
  "request_id": "196fcd1b-87f0-46f1-8666-861daaa77b5e",
  "code": "UNSUPPORTED_STRATIFICATION",
  "errors": null
}
```

## QUERY\_TOO\_BROAD [#query_too_broad]

The selection is above the result limit. Narrow the measure, geography, time, or stratification, then request the first page again. The public overview states a default result limit of 10,000, and that limit is not truncation. The API does not return a partial page for the rejected selection.

A daily weather query whose county and day selection exceeded that limit returned this body.

```json
{
  "type": "https://onehealthatlas.org/problems/query-too-broad",
  "title": "Invalid public query",
  "status": 400,
  "detail": "Narrow measure, geography, time, or stratification selection.",
  "instance": "/v1/observations",
  "request_id": "0008ef8f-6899-465d-9ca0-a21057a1d548",
  "code": "QUERY_TOO_BROAD",
  "errors": null
}
```

## RESOURCE\_NOT\_FOUND [#resource_not_found]

The resource id, or the selection, is not in the current release. `detail` names what is missing. Check the id against the list operation for that resource. Retrying the same request returns the same response.

`GET /v1/measures/not_a_real_measure` returned this body.

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "Measure not found.",
  "instance": "/v1/measures/not_a_real_measure",
  "request_id": "3d18c2eb-1d79-4331-8811-12a42e4086b6",
  "code": "RESOURCE_NOT_FOUND",
  "errors": null
}
```

A legacy route can return HTTP 404 with no `code`. `GET /v1/counties/00000` returned this body. Do not require `code` on every problem body.

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "County or dataset release not found",
  "instance": "/v1/counties/00000",
  "request_id": "b8681b50-c33f-486e-be5b-19c8502d7010",
  "errors": null
}
```

An empty observation page is HTTP 200 with `data` set to `[]`. That is not HTTP 404.

## RATE\_LIMITED [#rate_limited]

Too many requests arrived in a short time. A `429` or `503` can carry `Retry-After` in seconds; wait that long. Without it, use the [retry fallback](#retries). Spread later requests out, or reuse a cached response. The public document does not publish a per-key quota.

The contract documents this body and a `Retry-After` header. It was not requested from production. The `request_id` in the example is the contract sample. Send the `request_id` from the response you received.

```json
{
  "type": "https://onehealthatlas.org/problems/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Public request limit reached.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "RATE_LIMITED"
}
```

Some legacy routes document HTTP 429 with `Retry-After` and no `code`. Wait on the header the same way. Do not require `code` before you back off.

## HTTP 413 [#http-413]

The request is a GET with a body. `code` is `INVALID_REQUEST`. Send the request again without a body, and put every value in the query string.

`GET /v1/indicators` with a body returned this response.

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "Payload too large",
  "status": 413,
  "detail": "GET request bodies are unsupported.",
  "instance": "/v1/indicators",
  "request_id": "a69c57ce-a318-41fd-9224-632305df5302",
  "code": "INVALID_REQUEST"
}
```

## HTTP 414 [#http-414]

The query string is longer than the API accepts. `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry. This status is separate from HTTP 400.

```json
{
  "type": "https://onehealthatlas.org/problems/invalid-request",
  "title": "URI too long",
  "status": 414,
  "detail": "Query string is too long.",
  "instance": "/v1/indicators",
  "request_id": "06e27123-0183-42ee-aeb7-282286f4e359",
  "code": "INVALID_REQUEST"
}
```

## HTTP 422 [#http-422]

Legacy routes, including county and state review, scores, geometry, rankings, and PDF reports, return HTTP 422 when a request value fails validation. The body is Problem Details with an `errors` list and no `code`. Each entry names the invalid input and where it was sent. Fix each listed value, then retry. The same request fails again.

`GET /v1/counties/abc` returned this body.

```json
{
  "type": "https://onehealthatlas.org/problems/validation",
  "title": "Invalid request",
  "status": 422,
  "detail": "One or more request values are invalid.",
  "instance": "/v1/counties/abc",
  "request_id": "f1f47351-4b84-4599-ab24-5f40a4f0642f",
  "errors": [
    {
      "type": "string_pattern_mismatch",
      "loc": ["path", "fips"],
      "msg": "String should match pattern '^\\d{5}$'",
      "input": "abc"
    }
  ]
}
```

## HTTP 503 [#http-503]

The Atlas data service cannot answer right now. `code` is `SERVICE_UNAVAILABLE`. A `429` or `503` can carry `Retry-After` in seconds; wait that long. Without it, use the [retry fallback](#retries). Check `Content-Type` before you parse the body. Parse it as Problem Details only when the media type is `application/problem+json`.

The contract documents this body. It was not requested from production. `detail` can differ by route. The county report renderer, for example, documents a timeout detail with the same `code`. Send the `request_id` from the response you received.

```json
{
  "type": "https://onehealthatlas.org/problems/http-503",
  "title": "Service unavailable",
  "status": 503,
  "detail": "The governed Atlas data service is temporarily unavailable.",
  "instance": "/v1/indicators/{indicator_id}",
  "request_id": "3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93",
  "code": "SERVICE_UNAVAILABLE"
}
```

Geography identity that is still unpublished is HTTP 200 with `availability` `UNAVAILABLE` and `reason` `CANONICAL_GEOGRAPHY_UNPUBLISHED`. That response is not HTTP 503.

## Retries [#retries]

The public contract states: "A `429` or `503` can carry `Retry-After` in seconds; wait that long. Without it, wait 1 second, double after each failure up to 60 seconds, add jitter, and stop after a few attempts. Do not retry a `400`, `404`, or `422`." That fallback applies to both HTTP 429 and HTTP 503 when `Retry-After` is absent. The header description is "Seconds to wait before you retry. Wait that long when the header is present."

HTTP 413 and HTTP 414 also fail again when the request is unchanged. Change the request before you send it again.

A 5xx body is not always JSON. Read the `Content-Type` response header before parsing. Parse Problem Details only when the media type is `application/problem+json`. Any other media type is not a problem document. Do not invent a `code` from it. Honor `Retry-After` when the header is present. Without it, wait 1 second, double after each failure up to 60 seconds, add jitter, and stop after a few attempts.

## Value states [#value-states]

Read value only together with value\_state and `unit`. Show these states differently from each other. Never turn `null` into zero.

| State                     | Meaning                                                   | What to do                                |
| ------------------------- | --------------------------------------------------------- | ----------------------------------------- |
| `OBSERVED`                | Nonzero value the publisher reported                      | [Use `value` as given](#observed)         |
| `ZERO`                    | Reported numeric zero. Different from a missing value     | [Keep the zero](#zero)                    |
| `MISSING`                 | No value was reported. `value` is null. It is not zero    | [Leave `value` null](#missing)            |
| `SUPPRESSED`              | Withheld. `value` is null. It is not zero                 | [Do not estimate it](#suppressed)         |
| `UNAVAILABLE`             | No published result. `value` is null. Not zero or absence | [Leave `value` null](#unavailable)        |
| `NO_COUNTY_LINKED_RECORD` | Text `no_county_linked_record`. Neither null nor zero     | [Keep the text](#no_county_linked_record) |
| `NO_RECORDS`              | Publisher literal `No records`                            | [Keep the text](#no_records)              |

### OBSERVED [#observed]

A nonzero value the publisher reported. Use `value` as given.

### ZERO [#zero]

A reported numeric zero. It is different from a missing value. Keep the zero.

### MISSING [#missing]

No value was reported, and `value` is null. It is not zero. Leave `value` null. Do not substitute zero.

### SUPPRESSED [#suppressed]

The value exists but is withheld, and `value` is null. It is not zero. Do not estimate it.

### UNAVAILABLE [#unavailable]

Atlas has no published result for this selection, and `value` is null. It does not mean zero or absence. Leave `value` null.

### NO\_COUNTY\_LINKED\_RECORD [#no_county_linked_record]

A governed status meaning no record is linked to the county. `value` is the text `no_county_linked_record`. It is neither null nor zero, and it is not evidence of absence. Keep that text.

### NO\_RECORDS [#no_records]

The publisher's literal "No records" result. `value` is the text `No records`. It does not establish biological absence. Keep that text.

# Geography (https://onehealthatlas.org/docs/develop/geography)

> Identify Atlas counties by FIPS, read the typed geography identity response, and request display polygons separately.

Atlas joins public records on geography identity. Identity is a type plus an id. It is independent of map polygons.

## Identity [#identity]

`GeographyIdentity` has two required fields:

| Field            | Values                                                                                                  |
| ---------------- | ------------------------------------------------------------------------------------------------------- |
| `geography_type` | `county` or `state`                                                                                     |
| `geography_id`   | FIPS string with leading zeros. Five digits for a county. Two digits for a state |

`GeographyType` does not include tracts, ZCTAs, or other units. `geography_type=tract` on the observations query returned HTTP 400 `INVALID_REQUEST`.

These guides use the lower 48 states and the District of Columbia. Keep FIPS in a string so a leading zero survives JSON and CSV.

| Example id | Place                                | Role in these guides                                                    |
| ---------- | ------------------------------------ | ----------------------------------------------------------------------- |
| `36061`    | New York County, New York            | Quickstart observation                                                  |
| `08001`    | Adams County, Colorado               | Comparison row that can be `MISSING` while another county is `OBSERVED` |
| `09110`    | Capitol Planning Region, Connecticut | Selected land-cover geography named by that measure                     |
| `51013`    | Arlington County, Virginia           | The other selected land-cover geography named by that measure           |

`09110` is a Connecticut planning-region geography. The land-cover measure limitations say it has no historical Connecticut county crosswalk. Use the FIPS the measure names. Do not rewrite it to an older county id.

## Observations are county queries [#observations-are-county-queries]

`GET /v1/observations` requires `geography_type=county` and 1 to 500 `geography_id` values. Repeat the parameter once per county. The service orders rows by measure id, county FIPS, period start, and observation id. It does not accept a caller sort.

A five-digit id that matches no row can still return HTTP 200 and `data: []`. That happened for `geography_id=99999` with `case_count_floor_2023` and `year=2023`. Empty is a successful query with no observation.

## Typed geography identity [#typed-geography-identity]

The public contract declares:

```text
GET /v1/geographies/{geography_type}/{geography_id}
```

Typed HTTP 200, canonical identity unpublished, at the last production check, 25 October 2026. Production API, 25 October 2026. This records a dated check. This is not a live health indicator.

The operation summary is "Get geography identity (delivery pending)". A county or state FIPS with the right shape returns HTTP `200` and `application/json`. While canonical identity delivery is unpublished, that body is `GeographyUnavailable`. Callers do not receive a `Geography` label or parent from this route. Responses use `Cache-Control: no-store`.

`availability` is `UNAVAILABLE`. That names a publication boundary: this capability has not published canonical geography metadata. It does not say the county has no disease, no ticks, or no observations.

`reason` is `CANONICAL_GEOGRAPHY_UNPUBLISHED`.

`data` is `null`. The route does not fill in a geography resource.

`geography` echoes the requested identity. The identity is validated for shape only. A five-digit county id or a two-digit state id is enough. This response does not assert membership in the current release.

`limitations` is a non-empty list of publication and representation boundaries.

The `200` schema is a union of `ResourceEnvelope_Geography_` and `GeographyUnavailable`. The operation also documents `400`, `404` `RESOURCE_NOT_FOUND`, `413`, `414`, and `429` with `Retry-After`.

A sample `GET /v1/geographies/county/08001` returned HTTP 200. The origin status was 200. The JSON body was:

```json
{
  "availability": "UNAVAILABLE",
  "reason": "CANONICAL_GEOGRAPHY_UNPUBLISHED",
  "data": null,
  "geography": {
    "geography_type": "county",
    "geography_id": "08001"
  },
  "limitations": [
    "Canonical geography identity delivery is not published by this API capability.",
    "The requested identity is validated for shape only; membership in the current release is not asserted (use the county availability route for that). No canonical, display, or analysis geometry is returned or inferred."
  ]
}
```

The badge records the 25 October 2026 production check. It is not a live health indicator.

## County membership [#county-membership]

The identity route does not say whether a county is in the governed directory. Ask that with the county availability route:

```text
GET /v1/geographies/{geography_type}/{geography_id}/availability
```

That route is counties only. A state id returns HTTP `400`. The operation is [Check county geography availability](https://onehealthatlas.org/docs/api-reference/geographies/checkGeographyAvailability).

## Polygons are a different resource [#polygons-are-a-different-resource]

The geography identity route does not return a polygon. When you need a county outline, call the display-geometry route:

```text
GET /v1/atlas/geometry
```

```
curl -fsS 'https://api.onehealthatlas.org/v1/atlas/geometry'
```

A sample of that request returned HTTP 200 `application/geo+json`. The response used `Cache-Control: public, max-age=31536000, immutable` and an `ETag`. The body was a GeoJSON FeatureCollection of 3,144 features. Each feature carried `fips` and a polygon. `36061` and `11001` were in the collection. That count is a national display inventory. These guides still use the lower 48 states and the District of Columbia. The operation is [Get county display geometry](https://onehealthatlas.org/docs/api-reference/atlas#getAtlasGeometry).

The contract describes that response as display GeoJSON, EPSG:4326, with an immutable cache and an `ETag`. It is a generalized display boundary for maps. It is not the FIPS join key and it is not the analysis geometry used to build measures. `environmental_context.geometry_version`, when that object is present, names analysis geometry and still contains no polygons.

County analytics, including `in_contiguous_tick_scope`, are on `GET /v1/counties/{fips}` together with release metadata. That route is separate from `GET /v1/observations`. Its `404` body can omit `code`. Score query parameters on that route belong to the legacy county operation; they are not observation filters.

## State ids [#state-ids]

`state` is a legal `geography_type` for geography identity. The observations query documented here asks for county FIPS. The measure `state_unallocated_records_2023` uses state geography semantics and keeps records that are not assigned to a county. Read that measure's own definition before treating it as a county total. County-linked values and state-unallocated records stay separate.

# MCP clients (https://onehealthatlas.org/docs/develop/mcp-clients)

> Connect Claude Desktop, Cursor, or a custom client to production Atlas MCP.

Connect to one anonymous Streamable HTTP endpoint. Arguments stay in the [public evidence tool contract](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/main/docs/public-evidence-tools.md). Reading rules: [evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Transport and auth [#transport-and-auth]

| Item      | Supported                                    | Sample                                                                               |
| --------- | -------------------------------------------- | ------------------------------------------------------------------------------------ |
| Endpoint  | `https://mcp.onehealthatlas.org/mcp`         | HTTP 200                                                                             |
| Transport | Streamable HTTP, stateless JSON              | JSON body. No `Mcp-Session-Id`. Send `notifications/initialized`                     |
| Accept    | `application/json` and `text/event-stream`   | Both                                                                                 |
| Protocol  | `2025-06-18`                                 | `protocolVersion` `2025-06-18`, `serverInfo` `atlas-lyme-mcp` `0.1.0`                |
| Auth      | None                                         | Works without a credential. Do not send an API key, OAuth client, or Settings secret |
| Health    | `GET https://mcp.onehealthatlas.org/healthz` | HTTP 200 `{"status":"ok"}`. Not an MCP tool                                          |

`GET /mcp` stays `text/event-stream`. Calls are POST. `GET /sse` and `POST /messages` returned HTTP 404. Production does not publish a stdio endpoint.

`tools/list` returned exactly four tools: `atlas_discover_indicators`, `atlas_get_county_profile`, `atlas_get_evidence_provenance`, `atlas_resolve_geographies`. `resources/list` and `prompts/list` were empty. `server_status` and `atlas_smoke_test` returned `Unknown tool: server_status` and `Unknown tool: atlas_smoke_test`. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access).

## Claude Desktop [#claude-desktop]

Use a custom connector. `claude_desktop_config.json` is for local stdio. Do not add this URL there, and do not select SSE.

Free, Pro, and Max: **Customize**, **Connectors**, **Add custom connector**. Team and Enterprise owners add it under **Organization settings**, **Connectors**. Free accounts allow one custom connector.

| Field                 | Value                                |
| --------------------- | ------------------------------------ |
| Name                  | One Health Lyme Gap Atlas            |
| Remote MCP server URL | `https://mcp.onehealthatlas.org/mcp` |
| Authentication        | No sign in                           |
| Request headers       | None                                 |

Claude reaches the connector from Anthropic's cloud. Keep the server public. Managed `transport` `http` is Streamable HTTP. Omit `oauth`, `headers`, and `headersHelper`.

```json
{
  "name": "one-health-lyme-gap-atlas",
  "transport": "http",
  "url": "https://mcp.onehealthatlas.org/mcp"
}
```

## Cursor [#cursor]

Add the server to `~/.cursor/mcp.json`, or a project `.cursor/mcp.json`. Keep existing servers. `type` `http` is Streamable HTTP. Do not set `sse` or `streamable-http`. Do not add `headers` or an `auth` object.

```json
{
  "mcpServers": {
    "one-health-lyme-gap-atlas": {
      "type": "http",
      "url": "https://mcp.onehealthatlas.org/mcp"
    }
  }
}
```

Reload MCP and confirm the four names. `atlas_resolve_geographies` with `{"geographies":[{"county_fips":"01001"}]}` checks identity only. A resolved county is not an observation.

## Custom client [#custom-client]

Send one JSON-RPC message per POST. Do not send a credential. The sample initialize response omitted `Mcp-Session-Id`. If that header appears, send it later.

After `initialize`, send `notifications/initialized` before anything else. It has no `id`. A sample returned HTTP 202 and an empty body. Send `MCP-Protocol-Version: 2025-06-18` on that notification and every later request.

```sh
curl -fsS \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -X POST 'https://mcp.onehealthatlas.org/mcp' \
  --data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example","version":"0.0.0"}}}'
```

```sh
curl -fsS \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-06-18' \
  -X POST 'https://mcp.onehealthatlas.org/mcp' \
  --data '{"jsonrpc":"2.0","method":"notifications/initialized"}'
```

```sh
curl -fsS \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-06-18' \
  -X POST 'https://mcp.onehealthatlas.org/mcp' \
  --data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
```

The repository check client is `python -m atlas_lyme_mcp.check_client` with `MCP_URL=https://mcp.onehealthatlas.org/mcp`. It is not required for a REST read.

## Interpretation guardrails [#interpretation-guardrails]

Copy this block into the agent instructions that call these tools.

#### Interpret with care

```text
Atlas interpretation guardrails:
- Missing is not zero. MISSING, UNAVAILABLE, SUPPRESSED, NO_COUNTY_LINKED_RECORD, an empty selection, and a failed request are not a published zero. A published ZERO stays a real zero. NO_RECORDS does not establish biological absence.
- A gap or a review priority is not risk or a diagnosis. A priority score is not individual risk, a disease-burden estimate, or proof of causation. County identity is not evidence that an observation exists, and discovery is not county availability.
- Cite the release id, methodology id and version, semantic version, source vintage, and limitations from the response you received. Do not invent a release id when it is null. A successful call does not mean every page was retrieved.
```

Keep the same fields a REST client keeps. [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance) names them, including provenance. Replace example identifiers with the tool result.

# Observation queries (https://onehealthatlas.org/docs/develop/observation-queries)

> Checked slices and the time parameter each one accepts.

Choose a checked slice and send only its time parameter. The browser stores the tab. Successful rows use release `governed-2026-10-15-january-climate-prod`.

Examples use FIPS `36061` (New York County, New York). Product geography is the lower 48 states and the District of Columbia. Preserve leading zeros.

#### Interpret with care

  Atlas results are not a diagnosis. A percentile, status, or floor is not
  individual risk. An empty page is not a zero. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

A sample `GET /v1/measures?page_size=100` returned 25 measures and `next_page_token` null. A later release can change ids. Read `temporal_semantics`. Parameters are on [Observations](https://onehealthatlas.org/docs/api-reference/observations) and in the [OpenAPI schema](https://api.onehealthatlas.org/openapi.json).

## Checked requests [#checked-requests]

  

### Annual surveillance

    ### Annual surveillance [#annual-surveillance]

    `case_count_floor_2023` is a privacy-protected floor in `cases`.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'
```

    Sample: HTTP 200, one row, `temporal_grain` `YEAR`, 2023-01-01 through 2023-12-31, `OBSERVED`, a numeric `value`, `unit` `cases`, null `environmental_context` and `surveillance_context`. The same dates without `year` returned the same kind of row. `year` 2022 returned HTTP 200, empty `data`, availability `UNAVAILABLE`, and `reason` `NO_PUBLISHED_RESULTS`.
  

  

### Cumulative vector and pathogen

    ### Cumulative vector and pathogen [#cumulative-vector-and-pathogen]

    Checked measures: `scapularis_status` and `burgdorferi_status`. `pacificus_status` is in the catalog and was not checked. Both checked measures use `start_date` and `end_date` 2025-12-31. `temporal_grain` was `CUMULATIVE`, a published cumulative point rather than an annual collection.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=scapularis_status&geography_type=county&geography_id=36061&start_date=2025-12-31&end_date=2025-12-31'
```

    Scapularis sample: HTTP 200, publisher value Established, `OBSERVED`, `unit` `status`, source tick, `surveillance_context.evidence.normalized_state` `established`. Burgdorferi on the same dates: HTTP 200, publisher value No records, `NO_RECORDS`, source pathogen, `normalized_state` `unknown`. `No records` does not establish absence. County status does not establish abundance or prevalence. `year` 2025, and 2025-01-01 through 2025-12-31, returned HTTP 400 `UNSUPPORTED_FILTER` and detail `CDC status is cumulative as published; omit year and use start_date=end_date=2025-12-31.`
  

  

### January 2025 environment

    ### January 2025 environment [#january-2025-environment]

    Checked measure: `nclimgrid_tavg_county_day` on `climate_temperature`. `nclimgrid_tmax_county_day`, `nclimgrid_tmin_county_day`, and `nclimgrid_prcp_county_day` were not the checked observation. The limitation is January 2025 descriptive weather only, with no Lyme causal, risk, or ML claim. `environmental_context` is coverage for that weather value.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=nclimgrid_tavg_county_day&geography_type=county&geography_id=36061&start_date=2025-01-17&end_date=2025-01-17'
```

    Sample: HTTP 200, grain DAY, 2025-01-17, `OBSERVED`, unit degree Celsius, `environmental_context.coverage_status` `COMPLETE`. The labeled 24-hour period ends in the early morning and is not a midnight calendar day. `year` 2025 returned 31 daily rows, 2025-01-01 through 2025-01-31, not one annual value. 1 January through 31 January also returned 31 rows. 2025-02-01 returned HTTP 200, empty `data`, `UNAVAILABLE`, and `NO_PUBLISHED_RESULTS`.
  

  

### Land cover

    ### Land cover [#land-cover]

    `nlcd_forest_area_share_county_year` on `land_cover_context` uses unit `fraction` and temporal semantics 2025. A true zero stays zero. An unselected county has no observation. Limitations name TIGER geographies 09110 and 51013 only. This is separate from January weather.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=nlcd_forest_area_share_county_year&geography_type=county&geography_id=36061&year=2025'
```

    FIPS 36061 is outside that set. The sample, the 2025 date range without `year`, and `year` 2023 each returned HTTP 200, empty `data`, `UNAVAILABLE`, and `NO_PUBLISHED_RESULTS`. A selected geography is a different request. See [Workflow guides](https://onehealthatlas.org/docs/develop/workflows).
  

  

### 2022 SVI and ACS

    ### 2022 SVI and ACS [#2022-svi-and-acs]

    Send `vintage_year` 2022. Checked measure: `svi_percentile_2022`. `population_2022` and `uninsured_percent_2022` also returned HTTP 200. The period is 2018-01-01 through 2022-12-31, `temporal_grain` `PERIOD`, one window rather than five annual observations. A percentile rank is not a percentage of people.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=svi_percentile_2022&geography_type=county&geography_id=36061&vintage_year=2022'
```

    Sample: HTTP 200, `OBSERVED`, unit percentile, `county_context.vintage_year` 2022, `county_context.source_field` `RPL_THEMES`, `category_label` null. `environmental_context` and `surveillance_context` were null. `year` 2022, the ACS dates, and a request with no time parameter each returned HTTP 400 `INVALID_REQUEST` and detail `Supply vintage_year for county context.` `vintage_year` 2023 returned HTTP 400 `UNSUPPORTED_FILTER` and detail `Unsupported county context time selection.`
  

  

### 2023 RUCC

    ### 2023 RUCC [#2023-rucc]

    Send `vintage_year` 2023 and `rucc_2023`. The code is a vintage category, not an annual rate or an ordered distance. Period dates on the checked row were null.

    ```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=rucc_2023&geography_type=county&geography_id=36061&vintage_year=2023'
```

    Sample: HTTP 200, `temporal_grain` `VINTAGE_YEAR`, `value` 1, `OBSERVED`, `unit` `code`, `county_context.vintage_year` 2023, `county_context.source_field` `RUCC_2023`, `category_label` `Metro: area population at least 1 million`. Codes 1 through 9 are vintage-specific. Do not substitute an older vintage. `year` 2023 and the 2023 calendar dates returned detail `Supply vintage_year for county context.` `vintage_year` 2022 returned detail `Unsupported county context time selection.`
  

## Choose a time parameter [#choose-a-time-parameter]

Supported means HTTP 200 with a row or, where noted, an explicit empty page. Rejected means HTTP 400 before a row. Empty `data` is not zero and does not establish absence. `vintage_year` on surveillance, vector, environment, and land cover returns `UNSUPPORTED_FILTER` and detail `This measure does not support vintage_year.` A missing period on those slices returns `INVALID_REQUEST` and detail `Supply a year or both start_date and end_date.` Sending `year` with both dates returns detail `Use year or a date range, not both.` Any `stratification` returns `UNSUPPORTED_STRATIFICATION`. The annual age check used detail `This release has no governed strata.`

| Slice                          | `year`                                               | `start_date` and `end_date`                                      | `vintage_year`                | `stratification` |
| ------------------------------ | ---------------------------------------------------- | ---------------------------------------------------------------- | ----------------------------- | ---------------- |
| Annual surveillance            | 2023 supported. 2022 was an empty page               | 2023-01-01 through 2023-12-31. Not with `year`                   | Rejected                      | Rejected         |
| Cumulative vector and pathogen | Rejected                                             | Only both dates 2025-12-31. A wider 2025 range was rejected      | Rejected                      | Rejected         |
| January 2025 environment       | 2025 means 31 January days, not one annual value     | One January day, or 1–31 January. 1 February was an empty page   | Rejected                      | Rejected         |
| Land cover                     | 2025 and 2023 accepted as empty pages for FIPS 36061 | 2025-01-01 through 2025-12-31 was an empty page. Not with `year` | Rejected                      | Rejected         |
| 2022 SVI and ACS               | Rejected. `INVALID_REQUEST`                          | Rejected. `INVALID_REQUEST`                                      | 2022 supported. 2023 rejected | Rejected         |
| 2023 RUCC                      | Rejected. `INVALID_REQUEST`                          | Rejected. `INVALID_REQUEST`                                      | 2023 supported. 2022 rejected | Rejected         |

You cannot sort or aggregate. `sort`, `aggregation`, and an unknown parameter are `UNSUPPORTED_FILTER`. See [Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources).

## Leave unsupported selections empty [#leave-unsupported-selections-empty]

* Surveillance years other than 2023. The 2022 sample was empty, `NO_PUBLISHED_RESULTS`.
* A CDC `year`, or any CDC range other than both dates 2025-12-31.
* An environmental day outside January 2025.
* `year` or a date range on SVI, ACS, or RUCC.
* A vintage other than 2022 for SVI and ACS, or 2023 for RUCC.
* Any `stratification`. The checked release has no governed strata.
* Counties outside the lower 48 and the District of Columbia. Coverage outside that set is unavailable. Do not add a request for it.

January environment is weather. Land cover is the annual series. An unselected county stays an empty page.

# Provenance and evidence (https://onehealthatlas.org/docs/develop/provenance)

> Cite value state, source, methodology, release, and freshness together.

Cite a row with its value, value\_state, and provenance together. Leave a null timestamp null.

`meta.response_at` is the response time. The response time shows when Atlas built the response. It does not show when the publisher last updated the data.

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. Published human values are privacy-protected floors, not
  complete incidence counts. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Follow a citation [#follow-a-citation]

Diagram: Source, then methodology, then observation, then citation fields.

1. **Source.** The publisher record. Cite `source_id`. It differs from `lineage_source_id` and `dataset_id`.
2. **Methodology.** The transformation record. `methodology_id` is null when no methodology resource applies.
3. **Observation.** The measured row. Read `value` with `value_state`. Null is not zero.
4. **Citation fields.** Keep `value`, `value_state`, source, methodology, `release_id`, and `limitations` together. `provenance_ref` is not a literature citation. `meta.response_at` is when Atlas built the response. It does not show when the publisher last updated the data.

## Keep fields with the value [#keep-fields-with-the-value]

| Field                                                            | Role                                                                  |
| ---------------------------------------------------------------- | --------------------------------------------------------------------- |
| `observation_id`                                                 | Id and provenance reference                                           |
| `measure_id`                                                     | Exact measure                                                         |
| `geography`                                                      | Type and `geography_id`                                               |
| `period_start`, `period_end`, `temporal_grain`                   | Inclusive period and grain                                            |
| `value`, `value_state`, `unit`, `denominator`                    | One set. Null is not zero                                             |
| `source_id`                                                      | Public source key                                                     |
| `lineage_source_id`, `dataset_id`                                | Not `source_id`                                                       |
| methodology\_id                 | Null when ungoverned                                                  |
| `methodology_version`                                            | Transformation version                                                |
| `release_methodology_version`                                    | On some rows                                                          |
| `semantic_version`                                               | Contract version                                                      |
| `release_id`                                                     | Not comparable across releases                                        |
| `provenance_ref`                                                 | Not a literature citation                                             |
| `source_vintage`, `source_label`, `source_url`                   | Publisher context, including vintage |
| `source_published_at`, `atlas_acquired_at`, `atlas_processed_at` | Observation clocks. Null is unknown                                   |
| `limitations`                                                    | Keep limitations with the value         |
| `evidence`                                                       | Type, id, optional source, version, release, uri                      |
| `surveillance_context`                                           | Optional. Null has no comparability or lag claim                      |

In the synthetic example, `evidence.resource_type` is `observation` and `resource_id` repeats the observation id. On the sample case-floor row, `provenance_ref` equals `observation_id`. That match is not a second citation format.

## Cite from discovery [#cite-from-discovery]

Discover, observe one county, then resolve that row's ids. A null on the measure is not a null on the observation.

### Discover

```
curl -fsS 'https://api.onehealthatlas.org/v1/sources?page_size=100'
```

```
curl -fsS 'https://api.onehealthatlas.org/v1/measures/case_count_floor_2023'
```

### Observe

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=08001&year=2023'
```

### Resolve

```
curl -fsS 'https://api.onehealthatlas.org/v1/sources/human'
```

```
curl -fsS 'https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1'
```

## Read a null value [#read-a-null-value]

`MISSING`, `SUPPRESSED`, and `UNAVAILABLE` require null `value`. Keep `limitations`. `NO_COUNTY_LINKED_RECORD` is not evidence of absence. `NO_RECORDS` does not establish biological absence. States: [Errors and retries](https://onehealthatlas.org/docs/develop/errors#value-states).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `atlas_acquired_at` | date-time \| null | no | When Atlas retrieved the data from the publisher. Includes a UTC offset. \`null\` when not recorded. |
| `atlas_processed_at` | date-time \| null | no | When Atlas processed the data. Includes a UTC offset. It is not the response time. \`null\` when not recorded. |
| `denominator` | string \| null | yes | What the value is measured against, such as a population. \`null\` means Atlas supplies no denominator; do not infer one. |
| `limitations` | string[] | yes | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `methodology_id` | string \| null | yes | Identifies the methodology resource. Use it with \`/v1/methodologies/{methodology_id}\`. \`null\` when no methodology resource applies. |
| `source_published_at` | date-time \| null | no | When the publisher published the data. Includes a UTC offset. \`null\` when not recorded; do not assume the data is fresh. |
| `value` | number \| string \| null | yes | The reported value. Read it with \`value_state\` and \`unit\`. \`null\` never means zero. |
| `value_state` | ValueState | yes | How to read \`value\`. The \`ValueState\` schema explains each state and what a client should do. Never treat a \`null\` value as zero. |

Sample release `governed-2026-10-15-january-climate-prod`, measure `case_count_floor_2023`, year 2023: FIPS `08001` is `MISSING` and `36061` is `OBSERVED`. Limitations matched. `atlas_acquired_at` was present. `source_published_at` and `atlas_processed_at` were null.

```json title="Checked gap observation fields"
{
  "observation_id": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
  "geography": {
    "geography_type": "county",
    "geography_id": "08001"
  },
  "value": null, // [!code highlight]
  "value_state": "MISSING", // [!code word:MISSING]
  "source_label": "CDC Lyme surveillance",
  "source_published_at": null, // [!code highlight]
  "atlas_acquired_at": "2026-09-07T17:21:14.768948-07:00",
  "atlas_processed_at": null, // [!code highlight]
  "methodology_id": "human_confirmed_probable_case_floor_v1",
  "methodology": "x5j9 confirmed plus probable",
  "methodology_version": "semantic_county_assembly_v1",
  "release_methodology_version": "semantic-2.0.0",
  "release_id": "governed-2026-10-15-january-climate-prod",
  "provenance_ref": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
  "limitations": [
    "Published surveillance values are privacy-protected floors, not complete incidence estimates.", // [!code highlight]
    "Privacy-protected floor.", // [!code highlight]
    "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission." // [!code highlight]
  ],
  "evidence": {
    "resource_type": "observation",
    "resource_id": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
    "source_id": "human",
    "provenance_ref": "43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273",
    "semantic_version": "2.0.0",
    "methodology_version": "semantic_county_assembly_v1",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "uri": null // [!code highlight]
  }
}
```

```json title="Checked observed value"
{
  "geography": {
    "geography_type": "county",
    "geography_id": "36061"
  },
  "value": 1114.0, // [!code highlight]
  "value_state": "OBSERVED", // [!code word:OBSERVED]
  "unit": "cases"
}
```

## Tell paired names apart [#tell-paired-names-apart]

Paired names are different properties.

| Field | Schema | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `source_id` | Observation | Source.source_id | yes | Public key of the source resource. Use it with \`/v1/sources/{source_id}\`. It differs from \`lineage_source_id\` and \`dataset_id\`. |
| `source_label` | Observation | Source.label | no | Display name of the source. \`null\` when none is published. The source resource field with this value is label. |
| `source_published_at` | Observation | Source.published_at | no | When the publisher published the data. Includes a UTC offset. \`null\` when not recorded; do not assume the data is fresh. |
| `published_at` | Source | date-time \| null | no | Deprecated. Use \`upstream_updated_at\`. When the publisher published the data. The observation publisher timestamp is source_published_at. |
| `atlas_acquired_at` | Observation | Source.atlas_acquired_at | no | When Atlas retrieved the data from the publisher. Includes a UTC offset. \`null\` when not recorded. Deprecated on Source. Not deprecated on Observation. |
| `atlas_processed_at` | Observation | date-time \| null | no | When Atlas processed the data. Includes a UTC offset. It is not the response time. \`null\` when not recorded. Source has no atlas_processed_at. |
| `upstream_updated_at` | Source | date-time \| null | no | When the publisher last updated the data. \`null\` when unavailable. Do not use the response time in its place. |
| `source_retrieved_at` | Source | date-time \| null | no | When Atlas last retrieved the data from the publisher. \`null\` when unavailable. |
| `lineage_source_id` | Observation | Source.lineage_source_id | no | Identifies the source in Atlas lineage records. It differs from \`source_id\`. Nullable and not required on Observation. Required string on Source. |
| `dataset_id` | Observation | Source.dataset_id | no | Identifies the publisher's dataset. It differs from \`source_id\`. Nullable and not required on Observation. Required string on Source. |
| `release_id` | Observation | Source.release_version | yes | Identifies the published data release the result came from. Results from different releases are not directly comparable. |
| `methodology_id` | Observation | Methodology.methodology_id | yes | Identifies the methodology resource. Use it with \`/v1/methodologies/{methodology_id}\`. \`null\` when no methodology resource applies. |
| `methodology` | Observation | Methodology.description | no | Short name of the method that produced the value. The methodology resource field with this text is description. |
| `methodology_version` | Observation | string | yes | Version of the transformation applied to this observation. It is separate from the version of the methodology resource. |
| `release_methodology_version` | Observation | Methodology.version | no | Version of the methodology as published in this release. \`null\` when none. The methodology resource version is Methodology.version. |
| `limitations` | Observation | string[] | yes | Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it. |
| `provenance_ref` | Observation | EvidenceReference.provenance_ref | yes | Identifies the provenance record for this observation. It is not a literature citation. |

```json title="Checked source resource"
{
  "source_id": "human",
  "label": "CDC Lyme surveillance", // [!code word:label]
  "publisher": "Centers for Disease Control and Prevention",
  "lineage_source_id": "cdc_lyme",
  "dataset_id": "x5j9-wybp",
  "release_version": "governed-2026-10-15-january-climate-prod", // [!code word:release_version]
  "source_version": null, // [!code highlight]
  "published_at": null, // [!code highlight]
  "atlas_acquired_at": null, // [!code highlight]
  "upstream_updated_at": null, // [!code highlight]
  "source_retrieved_at": null, // [!code highlight]
  "limitations": [
    "County-of-residence surveillance. County-linked values are published privacy-protected floors, not complete incidence estimates." // [!code highlight]
  ]
}
```

```json title="Checked methodology resource"
{
  "methodology_id": "human_confirmed_probable_case_floor_v1",
  "version": "semantic-2.0.0", // [!code word:version]
  "description": "x5j9 confirmed plus probable", // [!code word:description]
  "limitations": [
    "Privacy-protected floor." // [!code highlight]
  ],
  "release_version": "governed-2026-10-15-january-climate-prod"
}
```

## Resolve source and methodology [#resolve-source-and-methodology]

Replace ids from [Cite from discovery](#cite-from-discovery) with ids on your row. A source adds `publisher`, `release_version`, `source_version`, `published_at`, `upstream_updated_at`, and `source_retrieved_at`. On sample `human`, `publisher` was set and those four timestamps were null. Observation `atlas_acquired_at` is separate and was present.

<section aria-labelledby="deprecated-source-timestamps">
  ## Deprecated source timestamps [#deprecated-source-timestamps]

  The [Source](https://onehealthatlas.org/docs/api-reference/schemas#schema-source) schema marks `published_at` and `atlas_acquired_at` deprecated. Those fields belong to the source. An [Observation](https://onehealthatlas.org/docs/api-reference/schemas#schema-observation) keeps its own timestamps, and the contract does not mark that set deprecated.

  | Object      | Field                 | Mark       | What it measures                  |
  | ----------- | --------------------- | ---------- | --------------------------------- |
  | Source      | `published_at`        | Deprecated | Former publisher time             |
  | Source      | `atlas_acquired_at`   | Deprecated | Former acquisition time           |
  | Source      | `upstream_updated_at` | Current    | Publisher update. Null if unknown |
  | Source      | `source_retrieved_at` | Current    | Retrieval. Null if unknown        |
  | Observation | `source_published_at` | Current    | Publisher time. Null is unknown   |
  | Observation | `atlas_acquired_at`   | Current    | Acquisition, when governed        |
  | Observation | `atlas_processed_at`  | Current    | Processing, when governed         |

  Only the Source `atlas_acquired_at` is deprecated.

  A sample `GET /v1/sources` returned six sources, each with `published_at`, `atlas_acquired_at`, `upstream_updated_at`, and `source_retrieved_at` null. The `human` source still named its publisher. A sample county `36061` row had `source_published_at` null, `atlas_acquired_at` 2026-09-07T17:21:14.768948-07:00, and `atlas_processed_at` null. A null source field does not clear the observation timestamp.

  Methodology `version` is the resource version. Observation `methodology_version` is the transformation version. Keep both, with `methodology_id`, `measure_id`, `description`, `limitations`, `semantic_version`, and `release_version`. Unknown ids return HTTP 404 `RESOURCE_NOT_FOUND`. Matching `If-None-Match` returns HTTP 304 and an empty body.
</section>

## Read the other clocks [#read-the-other-clocks]

| Clock                                          | What it measures                                         |
| ---------------------------------------------- | -------------------------------------------------------- |
| `period_start` and `period_end`                | Governed period                                          |
| `source_vintage`                               | Vintage label. Not an annual value                       |
| `meta.response_at`                             | When the response was built                              |
| `environmental_context.upstream_date_modified` | Upstream modification metadata. Not original publication |

A generated timestamp does not become the surveillance date. `environmental_context` is descriptive weather coverage. A null object does not supply it. `normalized_state` is a Data-owned state (`established`, `detected`, `unknown`, or null). The original publisher value stays in `value`.

## Keep source identity after normalization [#keep-source-identity-after-normalization]

An adapter and a terminology mapping can still emit this observation shape. The mapping may annotate meaning. It does not replace `source_id`, `lineage_source_id`, `dataset_id`, or `source_vintage`. `MISSING`, `SUPPRESSED`, and `UNAVAILABLE` are not rewritten into `ZERO`.

Fields: [OpenAPI schema](https://api.onehealthatlas.org/openapi.json) and [provenance reference](https://onehealthatlas.org/docs/api-reference/provenance). atlas\_get\_evidence\_provenance reads a current source or methodology. atlas\_get\_county\_profile reads explicit selections. Both keep value state, source identity, and limitations. atlas\_resolve\_geographies does not establish that an observation exists. Contract: [public-evidence-tools.md](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/public-evidence-tools.md). The September 2026 smoke-only receipt is historical. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access) and [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence).

## Read source and methodology results [#read-source-and-methodology-results]

Status codes, including `QUERY_TOO_BROAD` above 10,000 results, are in [REST API](https://onehealthatlas.org/docs/develop/rest). The API never truncates results. `GET /v1/sources` can return HTTP 200 and `data: []` on an exhausted page. Null timestamps and a null `methodology_id` stay null.

# Quickstart (https://onehealthatlas.org/docs/develop/quickstart)

> Send one anonymous observation request, read the response, and handle the first problems.

Send one anonymous request for the 2023 published case-count floor for New York County. The measure id `case_count_floor_2023` is the example on the public observations operation. County FIPS `36061` is in the lower 48.

Use an HTTPS client. Skip the account and the API key. These client tabs stay in sync with the workflow guides and the REST pagination example: curl, Python httpx, R httr2, or TypeScript fetch. The choice remains after a reload.

  
    ### Make a request [#make-a-request]

    #### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/observations",
    params={
        "measure_id": "case_count_floor_2023",
        "geography_type": "county",
        "geography_id": "36061",
        "year": "2023",
    },
    timeout=30.0,
)
response.raise_for_status()
body = response.json()
```

#### R

```
library(httr2)

observations <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(
    measure_id = "case_count_floor_2023",
    geography_type = "county",
    geography_id = "36061",
    year = "2023"
  ) |>
  req_timeout(30) |>
  req_perform()
observations_body <- resp_body_json(observations)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/observations");
url.searchParams.append("measure_id", "case_count_floor_2023");
url.searchParams.append("geography_type", "county");
url.searchParams.append("geography_id", "36061");
url.searchParams.append("year", "2023");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: unknown = await response.json();
```

    `curl -f` hides error bodies. Drop `-f` when you need to read a problem response.

    #### Try this request [#try-this-request]

    This playground sends that anonymous GET through the docs site. It adds no API key and leaves the response unchanged.

    Anonymous read-only playground. One example request:

```
GET https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023
```
  

  
    ### Read the response [#read-the-response]

    A successful body is a collection. Check value\_state before you read value. Read `value` with `unit`.

    

#### Interpret with care

      `case_count_floor_2023` is a privacy-protected surveillance floor, in `cases`.
      A case floor is not a diagnosis, a complete count, or an individual risk.
    

    | Field                  | Meaning                                                                                                          |
    | ---------------------- | ---------------------------------------------------------------------------------------------------------------- |
    | `data`                 | Observation records for this query. An empty array means this page has no rows.                                  |
    | `value_state`          | How to read `value` on each row. Check it before you read `value`.                                               |
    | `meta.next_page_token` | Opaque continuation. `null` means this query is exhausted. Send it unchanged with the same filters.              |
    | `meta.response_at`     | When Atlas built the response, in UTC. It does not date the publisher update or the observation.                 |
    | `meta.availability`    | Whether this selection has published availability. Read it before you use `data`. |
    | `links.self`           | Link to this page. The contract allows `null`.                                                                   |

    Keep limitations with the value you store. This sample is trimmed from a response for release `governed-2026-10-15-january-climate-prod`. Read `value` and release\_id from your own response. A later release can change them.

    
      

#### Show example response

        ```json
        {
          "data": [
            {
              "measure_id": "case_count_floor_2023",
              "geography": { "geography_type": "county", "geography_id": "36061" },
              "temporal_grain": "YEAR",
              "period_start": "2023-01-01",
              "period_end": "2023-12-31",
              "value": 1114.0,
              "value_state": "OBSERVED",
              "unit": "cases",
              "denominator": null,
              "strata": {},
              "source_id": "human",
              "methodology_id": "human_confirmed_probable_case_floor_v1",
              "semantic_version": "2.0.0",
              "release_id": "governed-2026-10-15-january-climate-prod",
              "environmental_context": null
            }
          ],
          "meta": {
            "next_page_token": null,
            "response_at": "2026-10-26T00:54:40.549206Z",
            "availability": "AVAILABLE",
            "release_id": "governed-2026-10-15-january-climate-prod",
            "limitations": []
          },
          "links": { "self": null }
        }
        ```
      
    
  

  
    ### Follow provenance [#follow-provenance]

    Copy source\_id and methodology\_id from the observation you received. Keep the provenance reference with that row. The example uses `human` and `human_confirmed_probable_case_floor_v1`.

    #### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/sources/human'
curl -fsS 'https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1'
```

#### Python

```
import httpx

with httpx.Client(timeout=30.0) as client:
    human = client.get(
        "https://api.onehealthatlas.org/v1/sources/human",
    )
    human.raise_for_status()
    human_body = human.json()
    human_confirmed_probable_case_floor_v1 = client.get(
        "https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1",
    )
    human_confirmed_probable_case_floor_v1.raise_for_status()
    human_confirmed_probable_case_floor_v1_body = human_confirmed_probable_case_floor_v1.json()
```

#### R

```
library(httr2)

human <- request("https://api.onehealthatlas.org/v1/sources/human") |>
  req_timeout(30) |>
  req_perform()
human_body <- resp_body_json(human)

human_confirmed_probable_case_floor_v1 <- request("https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1") |>
  req_timeout(30) |>
  req_perform()
human_confirmed_probable_case_floor_v1_body <- resp_body_json(human_confirmed_probable_case_floor_v1)
```

#### TypeScript

```
const humanUrl = new URL("https://api.onehealthatlas.org/v1/sources/human");
const humanResponse = await fetch(humanUrl);
if (!humanResponse.ok) {
  throw new Error(`Atlas HTTP ${humanResponse.status}`);
}
const humanBody: unknown = await humanResponse.json();

const human_confirmed_probable_case_floor_v1Url = new URL("https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1");
const human_confirmed_probable_case_floor_v1Response = await fetch(human_confirmed_probable_case_floor_v1Url);
if (!human_confirmed_probable_case_floor_v1Response.ok) {
  throw new Error(`Atlas HTTP ${human_confirmed_probable_case_floor_v1Response.status}`);
}
const human_confirmed_probable_case_floor_v1Body: unknown = await human_confirmed_probable_case_floor_v1Response.json();
```

    Detail routes return `data`. An unknown id returns HTTP 404 `RESOURCE_NOT_FOUND`. A matching `If-None-Match` on a source or methodology returns HTTP 304 and an empty body. This observation collection ignores `If-None-Match` and returns HTTP 200.
  

  
    ### Handle problems [#handle-problems]

    Use this table for the quickstart URL, and for the same query with another county FIPS, period, or extra parameter. Handle an empty page, a bad request, and a retry before you look up the other codes.

    
      

#### Observed value — record the value with its unit, period, and release

        HTTP 200, a row, `value_state` `OBSERVED`, numeric `value`. Record `value`,
        `unit`, the period, `release_id`, and `semantic_version`.
      

      

#### Zero or gap — keep numeric zero and leave a gap null

        HTTP 200 and `value_state` `ZERO`, or `value` null with `MISSING`,
        `SUPPRESSED`, or `UNAVAILABLE`. Keep `ZERO` as numeric zero. Leave a gap
        null. Do not substitute zero.
      

      

#### Empty page — an empty page is not HTTP 404

        HTTP 200, `data` `[]`. First query: `meta.availability` `UNAVAILABLE` and
        `reason` `NO_PUBLISHED_RESULTS`. A later empty page stays `AVAILABLE`. An
        empty page does not establish source coverage or biological absence, and it
        is not HTTP 404.
      

      

#### Bad request — change the request and send it again

        HTTP 400. Read `code`, `detail`, and `errors`. Change the request and send
        it again. For this annual measure, send `year` or both `start_date` and
        `end_date`, and do not send both. `INVALID_REQUEST` covers a missing or
        inconsistent parameter. Send `geography_type=county`. `state` returns
        `UNSUPPORTED_FILTER`.
      

      

#### Retry — wait for Retry-After, then send the same request

        HTTP 429 `RATE_LIMITED`, or HTTP 503 `SERVICE_UNAVAILABLE`, with header
        `Retry-After`. Wait the seconds in `Retry-After` when the header is present,
        then send the same request again. Without the header, follow
        [Retries](https://onehealthatlas.org/docs/develop/errors#retries). The public document does not
        publish a numeric quota.
      
    

    The other codes and states are in [Errors and retries](https://onehealthatlas.org/docs/develop/errors): [Value states](https://onehealthatlas.org/docs/develop/errors#value-states), [INVALID\_REQUEST](https://onehealthatlas.org/docs/develop/errors#invalid_request), [UNSUPPORTED\_FILTER](https://onehealthatlas.org/docs/develop/errors#unsupported_filter), [UNSUPPORTED\_STRATIFICATION](https://onehealthatlas.org/docs/develop/errors#unsupported_stratification), [QUERY\_TOO\_BROAD](https://onehealthatlas.org/docs/develop/errors#query_too_broad), [RESOURCE\_NOT\_FOUND](https://onehealthatlas.org/docs/develop/errors#resource_not_found), [RATE\_LIMITED](https://onehealthatlas.org/docs/develop/errors#rate_limited), [HTTP 413](https://onehealthatlas.org/docs/develop/errors#http-413), [HTTP 414](https://onehealthatlas.org/docs/develop/errors#http-414), [HTTP 503](https://onehealthatlas.org/docs/develop/errors#http-503), and [Retries](https://onehealthatlas.org/docs/develop/errors#retries).
  

  
    ### Next steps [#next-steps]

    Release notes for the pinned contract are in [What's new](https://onehealthatlas.org/docs/develop/changelog).

    
      [What's new](https://onehealthatlas.org/docs/develop/changelog)

See what changed in the public API.

      [Errors and retries](https://onehealthatlas.org/docs/develop/errors)

Look up a code, a retry, or a value state.

      [Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

Choose a measure and read each value state.

      [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

Cite the source, methodology, and release with the value.

      [REST API](https://onehealthatlas.org/docs/develop/rest)

Page a collection and read every problem code.

      [Workflow guides](https://onehealthatlas.org/docs/develop/workflows)

Query, compare, and cite a county.
    

    Open the [workflow guides](https://onehealthatlas.org/docs/develop/workflows).

# Integration recipes (https://onehealthatlas.org/docs/develop/recipes)

> Load county observations into a table, page until next_page_token is null, and retry 429 and 503.

Send these scripts to `https://api.onehealthatlas.org`. Public reads need no API key. Leave the ATLAS\_API\_BASE\_URL environment variable unset for production. Set it only when the script should use another origin.

Each script keeps county FIPS as a 5-character string, leaves a null `value` null, and prints `release_id` with the rows. `release_id` names the data release. It is not the response time. A `400`, `404`, or `422` is not retried. `429` and `503` wait for `Retry-After` when that header is present. Without it, the script waits 1 second, doubles after each failure up to 60 seconds, adds jitter, and stops after 4 attempts. Read the media type before parsing a problem body. Do not invent a `code` when the media type is not `application/problem+json`.

#### Interpret with care

  A null `value` is not zero. `MISSING`, `SUPPRESSED`, and `UNAVAILABLE` stay
  null. A case floor is not a diagnosis or an individual risk. Read the limit in
  [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

Codes, retries, and value states are on [Errors and retries](https://onehealthatlas.org/docs/develop/errors). Parameters and the observation schema are on [Observations](https://onehealthatlas.org/docs/api-reference/observations).

The samples below are from release `governed-2026-10-15-january-climate-prod`. The Python and TypeScript snippets print the captured sample. The R scripts print the same columns.

## Load several counties [#load-several-counties]

Request `case_count_floor_2023` for FIPS `01001`, `08001`, and `36061` in 2023. Load the rows into a table. `01001` keeps its leading zero. In this release, `01001` and `08001` are `MISSING` and `value` is null. `36061` is `OBSERVED`.

Python uses httpx and pandas. R uses httr2 and dplyr. TypeScript uses fetch.

<RecipeLanguageTabs>
  

### Python

    ```python title="county-table.py"
    import json
    import os
    import random
    import time

    import httpx
    import pandas as pd

    NULL_STATES = {"MISSING", "SUPPRESSED", "UNAVAILABLE"}
    MAX_ATTEMPTS = 4
    BASE_URL = os.environ.get(
        "ATLAS_API_BASE_URL", "https://api.onehealthatlas.org"
    ).rstrip("/")

    def retry_delay_seconds(header: str | None, attempt: int) -> float:
        if header is not None and header.strip() != "":
            seconds = float(header)
            if seconds >= 0:
                return seconds
        base = min(60.0, float(2 ** (attempt - 1)))
        return min(60.0, base + random.uniform(0, min(1.0, base * 0.1)))

    def main() -> str:
        notes, rows = fetch_observations(
            [
                ("measure_id", "case_count_floor_2023"),
                ("geography_type", "county"),
                ("geography_id", "01001"),
                ("geography_id", "08001"),
                ("geography_id", "36061"),
                ("year", "2023"),
            ]
        )
        frame = table_frame(rows)
        assert_fips(frame)
        assert_null_states(frame)
        return "".join(notes) + render_table(frame)

    def fetch_observations(
        params: list[tuple[str, str]],
    ) -> tuple[list[str], list[dict[str, object]]]:
        notes: list[str] = []
        with httpx.Client(timeout=30.0) as client:
            for attempt in range(1, MAX_ATTEMPTS + 1):
                response = client.get(f"{BASE_URL}/v1/observations", params=params)
                if response.status_code in {429, 503}:
                    code = problem_code(response)
                    delay = retry_delay_seconds(
                        response.headers.get("Retry-After"), attempt
                    )
                    code_text = f" {code}" if code else ""
                    notes.append(
                        f"retry: {response.status_code}{code_text} {format_delay(delay)}\n"
                    )
                    if attempt == MAX_ATTEMPTS:
                        raise RuntimeError(
                            f"Atlas HTTP {response.status_code} after {MAX_ATTEMPTS} attempts"
                        )
                    time.sleep(delay)
                    continue
                if response.status_code >= 400:
                    raise RuntimeError(
                        f"Atlas HTTP {response.status_code} {problem_detail(response)}"
                    )
                return notes, read_rows(response)
        raise RuntimeError("Atlas retry loop ended")

    def read_rows(response: httpx.Response) -> list[dict[str, object]]:
        assert_media(response, "application/json")
        body = response.json()
        return [read_observation(item) for item in body["data"]]

    def read_observation(item: dict[str, object]) -> dict[str, object]:
        geography = item["geography"]
        if not isinstance(geography, dict):
            raise RuntimeError("Atlas observation is missing geography")
        return {
            "geography_id": geography["geography_id"],
            "release_id": item["release_id"],
            "value": item["value"],
            "value_state": item["value_state"],
        }

    def table_frame(rows: list[dict[str, object]]) -> pd.DataFrame:
        frame = pd.DataFrame.from_records(
            rows,
            columns=["geography_id", "value", "value_state", "release_id"],
        )
        frame["geography_id"] = pd.Series(frame["geography_id"], dtype="string")
        frame["value"] = pd.Series(
            [None if value is None else value for value in rows_value(rows)],
            dtype="object",
        )
        frame["value_state"] = pd.Series(frame["value_state"], dtype="string")
        frame["release_id"] = pd.Series(frame["release_id"], dtype="string")
        return frame

    def rows_value(rows: list[dict[str, object]]) -> list[object]:
        return [row["value"] for row in rows]

    def assert_fips(frame: pd.DataFrame) -> None:
        for geography_id in frame["geography_id"].tolist():
            if not isinstance(geography_id, str) or len(geography_id) != 5:
                raise RuntimeError(
                    f"FIPS must stay a 5-character string, got {geography_id!r}"
                )
            if not geography_id.isdigit():
                raise RuntimeError(
                    f"FIPS must stay a 5-character string, got {geography_id!r}"
                )

    def assert_null_states(frame: pd.DataFrame) -> None:
        for row in frame.to_dict("records"):
            if row["value_state"] not in NULL_STATES:
                continue
            value = row["value"]
            if value is None or (not isinstance(value, str) and pd.isna(value)):
                continue
            raise RuntimeError(
                f"{row['value_state']} for {row['geography_id']} was {value!r}, not null"
            )

    def render_table(frame: pd.DataFrame) -> str:
        release_id = frame["release_id"].iloc[0]
        lines = [
            f"release_id: {release_id}",
            "geography_id,value,value_state,release_id",
        ]
        for row in frame.to_dict("records"):
            lines.append(
                f"{row['geography_id']},{format_value(row['value'])},{row['value_state']},{row['release_id']}"
            )
        return "\n".join(lines) + "\n"

    def format_value(value: object) -> str:
        if value is None or (not isinstance(value, str) and pd.isna(value)):
            return "null"
        if isinstance(value, bool):
            raise RuntimeError("Atlas value was a boolean")
        if isinstance(value, int):
            return str(value)
        if isinstance(value, float):
            if value.is_integer():
                return str(int(value))
            return json.dumps(value)
        if isinstance(value, str):
            return value
        raise RuntimeError(f"Unexpected Atlas value {value!r}")

    def format_delay(delay: float) -> str:
        if float(delay).is_integer():
            return str(int(delay))
        return str(delay)

    def problem_code(response: httpx.Response) -> str | None:
        problem = problem_body(response)
        code = problem.get("code") if problem else None
        return code if isinstance(code, str) else None

    def problem_detail(response: httpx.Response) -> str:
        problem = problem_body(response)
        detail = problem.get("detail") if problem else None
        return detail if isinstance(detail, str) else ""

    def problem_body(response: httpx.Response) -> dict[str, object] | None:
        if media_type(response) != "application/problem+json":
            return None
        body = response.json()
        if isinstance(body, dict):
            return body
        return None

    def assert_media(response: httpx.Response, expected: str) -> None:
        actual = media_type(response)
        if actual != expected:
            raise RuntimeError(f"Atlas Content-Type was {actual or 'missing'}")

    def media_type(response: httpx.Response) -> str | None:
        header = response.headers.get("Content-Type")
        if header is None:
            return None
        return header.split(";", 1)[0].strip().lower()

    if __name__ == "__main__":
        print(main(), end="")

    ```
  

  

### R

    ```r title="county-table.R"
    library(httr2)
    library(dplyr)

    null_states <- c("MISSING", "SUPPRESSED", "UNAVAILABLE")
    base_url <- sub(
      "/+$",
      "",
      Sys.getenv("ATLAS_API_BASE_URL", unset = "https://api.onehealthatlas.org")
    )

    retry_delay_seconds <- function(header, attempt) {
      if (!is.null(header) && nzchar(header)) {
        seconds <- suppressWarnings(as.numeric(header))
        if (!is.na(seconds) && seconds >= 0) {
          return(seconds)
        }
      }
      base <- min(60, 2^(attempt - 1))
      min(60, base + stats::runif(1, 0, min(1, base * 0.1)))
    }

    format_delay <- function(delay) {
      if (isTRUE(all.equal(delay, round(delay)))) {
        sprintf("%.0f", delay)
      } else {
        as.character(delay)
      }
    }

    numeric_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return(NA_real_)
      }
      if (is.numeric(value)) {
        return(as.numeric(value[[1]]))
      }
      text <- value[[1]]
      if (is.character(text) && grepl("^-?[0-9]*\\.?[0-9]+$", text)) {
        return(as.numeric(text))
      }
      stop("Atlas value is not a number or null")
    }

    format_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return("null")
      }
      number <- as.numeric(value[[1]])
      if (isTRUE(all.equal(number, round(number)))) {
        return(sprintf("%.0f", number))
      }
      text <- format(number, digits = 16, scientific = FALSE, trim = TRUE)
      if (as.numeric(text) != number) {
        text <- format(number, digits = 17, scientific = FALSE, trim = TRUE)
      }
      text
    }

    problem_fields <- function(response) {
      if (!identical(resp_content_type(response), "application/problem+json")) {
        return(list(code = "", detail = ""))
      }
      problem <- resp_body_json(response, simplifyVector = FALSE)
      list(
        code = if (is.null(problem$code)) "" else as.character(problem$code),
        detail = if (is.null(problem$detail)) "" else as.character(problem$detail)
      )
    }

    atlas_get <- function(params) {
      notes <- character()
      for (attempt in seq_len(4)) {
        response <- request(paste0(base_url, "/v1/observations")) |>
          req_url_query(!!!params, .multi = "explode") |>
          req_timeout(30) |>
          req_error(is_error = function(resp) FALSE) |>
          req_perform()
        status <- resp_status(response)
        if (status %in% c(429, 503)) {
          fields <- problem_fields(response)
          delay <- retry_delay_seconds(resp_header(response, "Retry-After"), attempt)
          code_text <- if (nzchar(fields$code)) paste0(" ", fields$code) else ""
          notes <- c(
            notes,
            paste0("retry: ", status, code_text, " ", format_delay(delay))
          )
          if (attempt == 4) {
            stop(paste("Atlas HTTP", status, "after 4 attempts"))
          }
          Sys.sleep(delay)
          next
        }
        if (status >= 400) {
          fields <- problem_fields(response)
          stop(paste("Atlas HTTP", status, fields$detail))
        }
        if (!identical(resp_content_type(response), "application/json")) {
          stop(paste("Atlas Content-Type was", resp_content_type(response)))
        }
        return(list(response = response, notes = notes))
      }
      stop("Atlas retry loop ended")
    }

    read_rows <- function(response) {
      body <- resp_body_json(response, simplifyVector = FALSE)
      bind_rows(lapply(body$data, function(item) {
        list(
          geography_id = as.character(item$geography$geography_id),
          value = numeric_value(item$value),
          value_state = as.character(item$value_state),
          release_id = as.character(item$release_id)
        )
      }))
    }

    params <- list(
      measure_id = "case_count_floor_2023",
      geography_type = "county",
      geography_id = c("01001", "08001", "36061"),
      year = "2023"
    )
    result <- atlas_get(params)
    frame <- read_rows(result$response) |>
      mutate(
        geography_id = as.character(geography_id),
        null_state = value_state %in% null_states
      )

    if (!is.numeric(frame$value)) {
      stop("value must stay numeric so a JSON null stays NA")
    }
    if (any(nchar(frame$geography_id) != 5) || any(!grepl("^[0-9]{5}$", frame$geography_id))) {
      stop("FIPS must stay a 5-character string")
    }
    if (any(frame$null_state & !is.na(frame$value) & frame$value == 0)) {
      stop("null value was coerced to zero")
    }
    if (any(frame$null_state & !is.na(frame$value))) {
      stop("null value_state returned a value")
    }

    lines <- frame |>
      mutate(
        line = paste(
          geography_id,
          vapply(value, format_value, character(1)),
          value_state,
          release_id,
          sep = ","
        )
      ) |>
      pull(line)
    if (length(result$notes) > 0) {
      cat(paste(result$notes, collapse = "\n"))
      cat("\n")
    }
    cat(paste0("release_id: ", frame$release_id[[1]], "\n"))
    cat("geography_id,value,value_state,release_id\n")
    cat(paste(lines, collapse = "\n"))
    cat("\n")

    ```
  

  

### TypeScript

    ```ts title="county-table.ts"
    import { setTimeout as delay } from "node:timers/promises";
    import { pathToFileURL } from "node:url";

    const NULL_STATES = new Set(["MISSING", "SUPPRESSED", "UNAVAILABLE"]);
    const MAX_ATTEMPTS = 4;

    interface ObservationRecord {
      geographyId: string;
      releaseId: string;
      value: number | string | null;
      valueState: string;
    }

    export function retryDelaySeconds(
      header: string | null,
      attempt: number
    ): number {
      if (header !== null && header.trim() !== "") {
        const seconds = Number(header);
        if (Number.isFinite(seconds) && seconds >= 0) return seconds;
      }
      const base = Math.min(60, 2 ** (attempt - 1));
      const jitter = Math.random() * Math.min(1, base * 0.1);
      return Math.min(60, base + jitter);
    }

    export async function runCountyTable(): Promise<string> {
      const { notes, rows } = await fetchObservations([
        ["measure_id", "case_count_floor_2023"],
        ["geography_type", "county"],
        ["geography_id", "01001"],
        ["geography_id", "08001"],
        ["geography_id", "36061"],
        ["year", "2023"],
      ]);
      assertFips(rows);
      assertNullStates(rows);
      return `${notes.join("")}${renderTable(rows)}`;
    }

    async function fetchObservations(
      params: readonly (readonly [string, string])[]
    ): Promise<{ notes: string[]; rows: ObservationRecord[] }> {
      const notes: string[] = [];
      for (let attempt = 1; attempt <= MAX_ATTEMPTS; attempt += 1) {
        const response = await fetch(collectionUrl(params), {
          signal: AbortSignal.timeout(30_000),
        });
        if (response.status === 429 || response.status === 503) {
          const code = await problemCode(response);
          const header = response.headers.get("Retry-After");
          const delay = retryDelaySeconds(header, attempt);
          const codeText = code === undefined ? "" : ` ${code}`;
          notes.push(
            `retry: ${response.status}${codeText} ${formatDelay(delay)}\n`
          );
          if (attempt === MAX_ATTEMPTS) {
            throw new Error(
              `Atlas HTTP ${response.status} after ${MAX_ATTEMPTS} attempts`
            );
          }
          await delaySeconds(delay);
          continue;
        }
        if (!response.ok) {
          throw new Error(
            `Atlas HTTP ${response.status} ${await problemDetail(response)}`
          );
        }
        return { notes, rows: await readRows(response) };
      }
      throw new Error("Atlas retry loop ended");
    }

    function collectionUrl(params: readonly (readonly [string, string])[]): URL {
      const base = (
        process.env.ATLAS_API_BASE_URL ?? "https://api.onehealthatlas.org"
      ).replace(/\/$/u, "");
      const url = new URL("/v1/observations", `${base}/`);
      for (const [name, value] of params) url.searchParams.append(name, value);
      return url;
    }

    async function readRows(response: Response): Promise<ObservationRecord[]> {
      assertMedia(response, "application/json");
      const body: unknown = await response.json();
      if (!isRecord(body) || !Array.isArray(body.data) || !isRecord(body.meta)) {
        throw new Error("Atlas response is missing data or meta");
      }
      return body.data.map(readObservation);
    }

    function readObservation(value: unknown): ObservationRecord {
      if (!isRecord(value) || !isRecord(value.geography)) {
        throw new Error("Atlas observation is missing geography");
      }
      const geographyId = value.geography.geography_id;
      const releaseId = value.release_id;
      const valueState = value.value_state;
      if (
        typeof geographyId !== "string" ||
        typeof releaseId !== "string" ||
        typeof valueState !== "string"
      ) {
        throw new TypeError(
          "Atlas observation is missing geography_id, value_state, or release_id"
        );
      }
      return {
        geographyId,
        releaseId,
        value: readReportedValue(value.value),
        valueState,
      };
    }

    function readReportedValue(value: unknown): number | string | null {
      if (
        value === null ||
        typeof value === "number" ||
        typeof value === "string"
      ) {
        return value;
      }
      throw new Error("Atlas value is not a number, string, or null");
    }

    async function problemCode(response: Response): Promise<string | undefined> {
      const problem = await problemBody(response);
      return typeof problem?.code === "string" ? problem.code : undefined;
    }

    async function problemDetail(response: Response): Promise<string> {
      const problem = await problemBody(response);
      return typeof problem?.detail === "string" ? problem.detail : "";
    }

    async function problemBody(
      response: Response
    ): Promise<Record<string, unknown> | undefined> {
      const media = mediaType(response);
      if (media !== "application/problem+json") return undefined;
      const body: unknown = await response.json();
      return isRecord(body) ? body : undefined;
    }

    function assertMedia(response: Response, expected: string): void {
      if (mediaType(response) !== expected) {
        throw new Error(
          `Atlas Content-Type was ${mediaType(response) ?? "missing"}`
        );
      }
    }

    function mediaType(response: Response): string | undefined {
      return response.headers
        .get("Content-Type")
        ?.split(";", 1)[0]
        ?.trim()
        .toLowerCase();
    }

    function assertFips(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!/^\d{5}$/u.test(row.geographyId)) {
          throw new Error(
            `FIPS must stay a 5-character string, got ${row.geographyId}`
          );
        }
      }
    }

    function assertNullStates(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!NULL_STATES.has(row.valueState)) continue;
        if (row.value === null) continue;
        throw new Error(
          `${row.valueState} for ${row.geographyId} was ${String(row.value)}, not null`
        );
      }
    }

    function renderTable(rows: readonly ObservationRecord[]): string {
      const releaseId = rows[0]?.releaseId;
      if (!releaseId) throw new Error("Atlas response had no rows");
      const lines = [
        `release_id: ${releaseId}`,
        "geography_id,value,value_state,release_id",
      ];
      for (const row of rows) {
        lines.push(
          `${row.geographyId},${formatValue(row.value)},${row.valueState},${row.releaseId}`
        );
      }
      return `${lines.join("\n")}\n`;
    }

    function formatValue(value: number | string | null): string {
      if (value === null) return "null";
      if (typeof value === "string") return value;
      if (!Number.isFinite(value)) throw new Error("Atlas value is not finite");
      if (Number.isInteger(value)) return String(value);
      return JSON.stringify(value);
    }

    function formatDelay(delay: number): string {
      return Number.isInteger(delay) ? String(delay) : String(delay);
    }

    function delaySeconds(seconds: number): Promise<void> {
      return delay(seconds * 1000);
    }

    function isRecord(value: unknown): value is Record<string, unknown> {
      return typeof value === "object" && value !== null && !Array.isArray(value);
    }

    function isDirectExecution(): boolean {
      const entry = process.argv[1];
      if (!entry) return false;
      return import.meta.url === pathToFileURL(entry).href;
    }

    if (isDirectExecution()) {
      try {
        process.stdout.write(await runCountyTable());
      } catch (error: unknown) {
        const message = error instanceof Error ? error.message : String(error);
        process.stderr.write(`${message}\n`);
        process.exitCode = 1;
      }
    }

    ```
  
</RecipeLanguageTabs>

Expected output for the captured sample:

```text title="county-table.txt"
release_id: governed-2026-10-15-january-climate-prod
geography_id,value,value_state,release_id
01001,null,MISSING,governed-2026-10-15-january-climate-prod
08001,null,MISSING,governed-2026-10-15-january-climate-prod
36061,1114,OBSERVED,governed-2026-10-15-january-climate-prod

```

## Page until the token is null [#page-until-the-token-is-null]

Request January 2025 average temperature for FIPS `36061` with `page_size` 2. Send `meta.next_page_token` back as `page_token` with the same filters. Stop when `next_page_token` is null. Do not parse the token. The loop also stops after 100 pages if a token never clears.

The captured sample has two pages. The second page in the sample has `next_page_token` null, so the script stops after 2025-01-04. A live January query keeps paging until the API returns null.

<RecipeLanguageTabs>
  

### Python

    ```python title="page-collection.py"
    import json
    import os
    import random
    import time

    import httpx
    import pandas as pd

    NULL_STATES = {"MISSING", "SUPPRESSED", "UNAVAILABLE"}
    MAX_ATTEMPTS = 4
    MAX_PAGES = 100
    BASE_URL = os.environ.get(
        "ATLAS_API_BASE_URL", "https://api.onehealthatlas.org"
    ).rstrip("/")

    def main() -> str:
        filters = [
            ("measure_id", "nclimgrid_tavg_county_day"),
            ("geography_type", "county"),
            ("geography_id", "36061"),
            ("year", "2025"),
            ("page_size", "2"),
        ]
        notes: list[str] = []
        rows: list[dict[str, object]] = []
        token: str | None = None
        pages = 0
        release_id = ""
        while True:
            if pages >= MAX_PAGES:
                raise RuntimeError(
                    "Stopped after 100 pages because next_page_token was still set"
                )
            params = list(filters)
            if token is not None:
                params.append(("page_token", token))
            page_notes, page_rows, release_id, token = fetch_page(params)
            notes.extend(page_notes)
            rows.extend(page_rows)
            pages += 1
            if token is None:
                break
        frame = table_frame(rows)
        assert_fips(frame)
        assert_null_states(frame)
        lines = [
            *notes,
            f"release_id: {release_id}",
            f"pages: {pages}",
            "next_page_token: null",
            "period_start,geography_id,value,value_state,release_id",
        ]
        for row in frame.to_dict("records"):
            lines.append(
                f"{row['period_start']},{row['geography_id']},{format_value(row['value'])},{row['value_state']},{row['release_id']}"
            )
        return "\n".join(lines) + "\n"

    def fetch_page(
        params: list[tuple[str, str]],
    ) -> tuple[list[str], list[dict[str, object]], str, str | None]:
        notes: list[str] = []
        with httpx.Client(timeout=30.0) as client:
            for attempt in range(1, MAX_ATTEMPTS + 1):
                response = client.get(f"{BASE_URL}/v1/observations", params=params)
                if response.status_code in {429, 503}:
                    code = problem_code(response)
                    delay = retry_delay_seconds(
                        response.headers.get("Retry-After"), attempt
                    )
                    code_text = f" {code}" if code else ""
                    notes.append(
                        f"retry: {response.status_code}{code_text} {format_delay(delay)}"
                    )
                    if attempt == MAX_ATTEMPTS:
                        raise RuntimeError(
                            f"Atlas HTTP {response.status_code} after {MAX_ATTEMPTS} attempts"
                        )
                    time.sleep(delay)
                    continue
                if response.status_code >= 400:
                    raise RuntimeError(
                        f"Atlas HTTP {response.status_code} {problem_detail(response)}"
                    )
                rows, release_id, token = read_page(response)
                return notes, rows, release_id, token
        raise RuntimeError("Atlas retry loop ended")

    def read_page(
        response: httpx.Response,
    ) -> tuple[list[dict[str, object]], str, str | None]:
        assert_media(response, "application/json")
        body = response.json()
        meta = body["meta"]
        token = meta["next_page_token"]
        if token is not None and not isinstance(token, str):
            raise RuntimeError("Atlas next_page_token is not a string or null")
        release_id = meta["release_id"]
        if not isinstance(release_id, str):
            raise RuntimeError("Atlas response is missing release_id")
        rows = [read_observation(item) for item in body["data"]]
        return rows, release_id, token

    def read_observation(item: dict[str, object]) -> dict[str, object]:
        geography = item["geography"]
        if not isinstance(geography, dict):
            raise RuntimeError("Atlas observation is missing geography")
        return {
            "geography_id": geography["geography_id"],
            "period_start": item["period_start"],
            "release_id": item["release_id"],
            "value": item["value"],
            "value_state": item["value_state"],
        }

    def table_frame(rows: list[dict[str, object]]) -> pd.DataFrame:
        frame = pd.DataFrame.from_records(
            rows,
            columns=[
                "period_start",
                "geography_id",
                "value",
                "value_state",
                "release_id",
            ],
        )
        frame["geography_id"] = pd.Series(frame["geography_id"], dtype="string")
        frame["value"] = pd.Series([row["value"] for row in rows], dtype="object")
        frame["value_state"] = pd.Series(frame["value_state"], dtype="string")
        frame["release_id"] = pd.Series(frame["release_id"], dtype="string")
        frame["period_start"] = pd.Series(frame["period_start"], dtype="string")
        return frame

    def assert_fips(frame: pd.DataFrame) -> None:
        for geography_id in frame["geography_id"].tolist():
            if (
                not isinstance(geography_id, str)
                or len(geography_id) != 5
                or not geography_id.isdigit()
            ):
                raise RuntimeError(
                    f"FIPS must stay a 5-character string, got {geography_id!r}"
                )

    def assert_null_states(frame: pd.DataFrame) -> None:
        for row in frame.to_dict("records"):
            if row["value_state"] not in NULL_STATES:
                continue
            value = row["value"]
            if value is None or (not isinstance(value, str) and pd.isna(value)):
                continue
            raise RuntimeError(
                f"{row['value_state']} for {row['geography_id']} was {value!r}, not null"
            )

    def format_value(value: object) -> str:
        if value is None or (not isinstance(value, str) and pd.isna(value)):
            return "null"
        if isinstance(value, bool):
            raise RuntimeError("Atlas value was a boolean")
        if isinstance(value, int):
            return str(value)
        if isinstance(value, float):
            if value.is_integer():
                return str(int(value))
            return json.dumps(value)
        if isinstance(value, str):
            return value
        raise RuntimeError(f"Unexpected Atlas value {value!r}")

    def retry_delay_seconds(header: str | None, attempt: int) -> float:
        if header is not None and header.strip() != "":
            seconds = float(header)
            if seconds >= 0:
                return seconds
        base = min(60.0, float(2 ** (attempt - 1)))
        return min(60.0, base + random.uniform(0, min(1.0, base * 0.1)))

    def format_delay(delay: float) -> str:
        if float(delay).is_integer():
            return str(int(delay))
        return str(delay)

    def problem_code(response: httpx.Response) -> str | None:
        problem = problem_body(response)
        code = problem.get("code") if problem else None
        return code if isinstance(code, str) else None

    def problem_detail(response: httpx.Response) -> str:
        problem = problem_body(response)
        detail = problem.get("detail") if problem else None
        return detail if isinstance(detail, str) else ""

    def problem_body(response: httpx.Response) -> dict[str, object] | None:
        if media_type(response) != "application/problem+json":
            return None
        body = response.json()
        if isinstance(body, dict):
            return body
        return None

    def assert_media(response: httpx.Response, expected: str) -> None:
        actual = media_type(response)
        if actual != expected:
            raise RuntimeError(f"Atlas Content-Type was {actual or 'missing'}")

    def media_type(response: httpx.Response) -> str | None:
        header = response.headers.get("Content-Type")
        if header is None:
            return None
        return header.split(";", 1)[0].strip().lower()

    if __name__ == "__main__":
        print(main(), end="")

    ```
  

  

### R

    ```r title="page-collection.R"
    library(httr2)
    library(dplyr)

    null_states <- c("MISSING", "SUPPRESSED", "UNAVAILABLE")
    base_url <- sub(
      "/+$",
      "",
      Sys.getenv("ATLAS_API_BASE_URL", unset = "https://api.onehealthatlas.org")
    )

    retry_delay_seconds <- function(header, attempt) {
      if (!is.null(header) && nzchar(header)) {
        seconds <- suppressWarnings(as.numeric(header))
        if (!is.na(seconds) && seconds >= 0) {
          return(seconds)
        }
      }
      base <- min(60, 2^(attempt - 1))
      min(60, base + stats::runif(1, 0, min(1, base * 0.1)))
    }

    format_delay <- function(delay) {
      if (isTRUE(all.equal(delay, round(delay)))) {
        sprintf("%.0f", delay)
      } else {
        as.character(delay)
      }
    }

    numeric_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return(NA_real_)
      }
      if (is.numeric(value)) {
        return(as.numeric(value[[1]]))
      }
      text <- value[[1]]
      if (is.character(text) && grepl("^-?[0-9]*\\.?[0-9]+$", text)) {
        return(as.numeric(text))
      }
      stop("Atlas value is not a number or null")
    }

    format_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return("null")
      }
      number <- as.numeric(value[[1]])
      if (isTRUE(all.equal(number, round(number)))) {
        return(sprintf("%.0f", number))
      }
      text <- format(number, digits = 16, scientific = FALSE, trim = TRUE)
      if (as.numeric(text) != number) {
        text <- format(number, digits = 17, scientific = FALSE, trim = TRUE)
      }
      text
    }

    problem_fields <- function(response) {
      if (!identical(resp_content_type(response), "application/problem+json")) {
        return(list(code = "", detail = ""))
      }
      problem <- resp_body_json(response, simplifyVector = FALSE)
      list(
        code = if (is.null(problem$code)) "" else as.character(problem$code),
        detail = if (is.null(problem$detail)) "" else as.character(problem$detail)
      )
    }

    atlas_get <- function(params) {
      notes <- character()
      for (attempt in seq_len(4)) {
        response <- request(paste0(base_url, "/v1/observations")) |>
          req_url_query(!!!params, .multi = "explode") |>
          req_timeout(30) |>
          req_error(is_error = function(resp) FALSE) |>
          req_perform()
        status <- resp_status(response)
        if (status %in% c(429, 503)) {
          fields <- problem_fields(response)
          delay <- retry_delay_seconds(resp_header(response, "Retry-After"), attempt)
          code_text <- if (nzchar(fields$code)) paste0(" ", fields$code) else ""
          notes <- c(
            notes,
            paste0("retry: ", status, code_text, " ", format_delay(delay))
          )
          if (attempt == 4) {
            stop(paste("Atlas HTTP", status, "after 4 attempts"))
          }
          Sys.sleep(delay)
          next
        }
        if (status >= 400) {
          fields <- problem_fields(response)
          stop(paste("Atlas HTTP", status, fields$detail))
        }
        if (!identical(resp_content_type(response), "application/json")) {
          stop(paste("Atlas Content-Type was", resp_content_type(response)))
        }
        return(list(response = response, notes = notes))
      }
      stop("Atlas retry loop ended")
    }

    read_rows <- function(response) {
      body <- resp_body_json(response, simplifyVector = FALSE)
      list(
        frame = bind_rows(lapply(body$data, function(item) {
          list(
            period_start = as.character(item$period_start),
            geography_id = as.character(item$geography$geography_id),
            value = numeric_value(item$value),
            value_state = as.character(item$value_state),
            release_id = as.character(item$release_id)
          )
        })),
        next_page_token = body$meta$next_page_token,
        release_id = as.character(body$meta$release_id)
      )
    }

    filters <- list(
      measure_id = "nclimgrid_tavg_county_day",
      geography_type = "county",
      geography_id = "36061",
      year = "2025",
      page_size = "2"
    )
    notes <- character()
    frames <- list()
    token <- NULL
    pages <- 0
    release_id <- ""
    repeat {
      if (pages >= 100) {
        stop("Stopped after 100 pages because next_page_token was still set")
      }
      params <- filters
      if (!is.null(token)) {
        params$page_token <- token
      }
      result <- atlas_get(params)
      page <- read_rows(result$response)
      notes <- c(notes, result$notes)
      frames <- c(frames, list(page$frame))
      release_id <- page$release_id
      token <- page$next_page_token
      pages <- pages + 1
      if (is.null(token)) {
        break
      }
    }

    frame <- bind_rows(frames) |>
      mutate(
        geography_id = as.character(geography_id),
        null_state = value_state %in% null_states
      )
    if (!is.numeric(frame$value)) {
      stop("value must stay numeric so a JSON null stays NA")
    }
    if (any(nchar(frame$geography_id) != 5) || any(!grepl("^[0-9]{5}$", frame$geography_id))) {
      stop("FIPS must stay a 5-character string")
    }
    if (any(frame$null_state & !is.na(frame$value) & frame$value == 0)) {
      stop("null value was coerced to zero")
    }
    if (any(frame$null_state & !is.na(frame$value))) {
      stop("null value_state returned a value")
    }

    lines <- frame |>
      mutate(
        line = paste(
          period_start,
          geography_id,
          vapply(value, format_value, character(1)),
          value_state,
          release_id,
          sep = ","
        )
      ) |>
      pull(line)
    if (length(notes) > 0) {
      cat(paste(notes, collapse = "\n"))
      cat("\n")
    }
    cat(paste0("release_id: ", release_id, "\n"))
    cat(paste0("pages: ", pages, "\n"))
    cat("next_page_token: null\n")
    cat("period_start,geography_id,value,value_state,release_id\n")
    cat(paste(lines, collapse = "\n"))
    cat("\n")

    ```
  

  

### TypeScript

    ```ts title="page-collection.ts"
    import { setTimeout as delay } from "node:timers/promises";
    import { pathToFileURL } from "node:url";

    const NULL_STATES = new Set(["MISSING", "SUPPRESSED", "UNAVAILABLE"]);
    const MAX_ATTEMPTS = 4;
    const MAX_PAGES = 100;

    interface ObservationRecord {
      geographyId: string;
      periodStart: string;
      releaseId: string;
      value: number | string | null;
      valueState: string;
    }

    export async function runPageCollection(): Promise<string> {
      const filters: (readonly [string, string])[] = [
        ["measure_id", "nclimgrid_tavg_county_day"],
        ["geography_type", "county"],
        ["geography_id", "36061"],
        ["year", "2025"],
        ["page_size", "2"],
      ];
      const notes: string[] = [];
      const rows: ObservationRecord[] = [];
      let pageToken: string | null = null;
      let pages = 0;
      let releaseId = "";
      do {
        if (pages >= MAX_PAGES) {
          throw new Error(
            "Stopped after 100 pages because next_page_token was still set"
          );
        }
        const params = [...filters];
        if (pageToken !== null) params.push(["page_token", pageToken]);
        const page = await fetchPage(params, notes);
        pages += 1;
        rows.push(...page.rows);
        releaseId = page.releaseId;
        pageToken = page.nextPageToken;
      } while (pageToken !== null);
      assertFips(rows);
      assertNullStates(rows);
      const lines = [
        ...notes,
        `release_id: ${releaseId}`,
        `pages: ${pages}`,
        "next_page_token: null",
        "period_start,geography_id,value,value_state,release_id",
        ...rows.map(
          (row) =>
            `${row.periodStart},${row.geographyId},${formatValue(row.value)},${row.valueState},${row.releaseId}`
        ),
      ];
      return `${lines.join("\n")}\n`;
    }

    async function fetchPage(
      params: readonly (readonly [string, string])[],
      notes: string[]
    ): Promise<{
      nextPageToken: string | null;
      releaseId: string;
      rows: ObservationRecord[];
    }> {
      for (let attempt = 1; attempt <= MAX_ATTEMPTS; attempt += 1) {
        const response = await fetch(collectionUrl(params), {
          signal: AbortSignal.timeout(30_000),
        });
        if (response.status === 429 || response.status === 503) {
          const code = await problemCode(response);
          const delay = retryDelaySeconds(
            response.headers.get("Retry-After"),
            attempt
          );
          const codeText = code === undefined ? "" : ` ${code}`;
          notes.push(`retry: ${response.status}${codeText} ${formatDelay(delay)}`);
          if (attempt === MAX_ATTEMPTS) {
            throw new Error(
              `Atlas HTTP ${response.status} after ${MAX_ATTEMPTS} attempts`
            );
          }
          await delaySeconds(delay);
          continue;
        }
        if (!response.ok) {
          throw new Error(
            `Atlas HTTP ${response.status} ${await problemDetail(response)}`
          );
        }
        return readPage(response);
      }
      throw new Error("Atlas retry loop ended");
    }

    function retryDelaySeconds(header: string | null, attempt: number): number {
      if (header !== null && header.trim() !== "") {
        const seconds = Number(header);
        if (Number.isFinite(seconds) && seconds >= 0) return seconds;
      }
      const base = Math.min(60, 2 ** (attempt - 1));
      const jitter = Math.random() * Math.min(1, base * 0.1);
      return Math.min(60, base + jitter);
    }

    function collectionUrl(params: readonly (readonly [string, string])[]): URL {
      const base = (
        process.env.ATLAS_API_BASE_URL ?? "https://api.onehealthatlas.org"
      ).replace(/\/$/u, "");
      const url = new URL("/v1/observations", `${base}/`);
      for (const [name, value] of params) url.searchParams.append(name, value);
      return url;
    }

    async function readPage(response: Response): Promise<{
      nextPageToken: string | null;
      releaseId: string;
      rows: ObservationRecord[];
    }> {
      assertMedia(response, "application/json");
      const body: unknown = await response.json();
      if (!isRecord(body) || !Array.isArray(body.data) || !isRecord(body.meta)) {
        throw new Error("Atlas response is missing data or meta");
      }
      const releaseId = body.meta.release_id;
      const nextPageToken = body.meta.next_page_token;
      if (typeof releaseId !== "string") {
        throw new TypeError("Atlas response is missing release_id");
      }
      if (nextPageToken !== null && typeof nextPageToken !== "string") {
        throw new Error("Atlas next_page_token is not a string or null");
      }
      return {
        nextPageToken,
        releaseId,
        rows: body.data.map(readObservation),
      };
    }

    function readObservation(value: unknown): ObservationRecord {
      if (!isRecord(value) || !isRecord(value.geography)) {
        throw new Error("Atlas observation is missing geography");
      }
      const geographyId = value.geography.geography_id;
      const periodStart = value.period_start;
      const releaseId = value.release_id;
      const valueState = value.value_state;
      if (
        typeof geographyId !== "string" ||
        typeof periodStart !== "string" ||
        typeof releaseId !== "string" ||
        typeof valueState !== "string"
      ) {
        throw new TypeError("Atlas observation is missing a required field");
      }
      return {
        geographyId,
        periodStart,
        releaseId,
        value: readReportedValue(value.value),
        valueState,
      };
    }

    function readReportedValue(value: unknown): number | string | null {
      if (
        value === null ||
        typeof value === "number" ||
        typeof value === "string"
      ) {
        return value;
      }
      throw new Error("Atlas value is not a number, string, or null");
    }

    async function problemCode(response: Response): Promise<string | undefined> {
      const problem = await problemBody(response);
      return typeof problem?.code === "string" ? problem.code : undefined;
    }

    async function problemDetail(response: Response): Promise<string> {
      const problem = await problemBody(response);
      return typeof problem?.detail === "string" ? problem.detail : "";
    }

    async function problemBody(
      response: Response
    ): Promise<Record<string, unknown> | undefined> {
      if (mediaType(response) !== "application/problem+json") return undefined;
      const body: unknown = await response.json();
      return isRecord(body) ? body : undefined;
    }

    function assertMedia(response: Response, expected: string): void {
      if (mediaType(response) !== expected) {
        throw new Error(
          `Atlas Content-Type was ${mediaType(response) ?? "missing"}`
        );
      }
    }

    function mediaType(response: Response): string | undefined {
      return response.headers
        .get("Content-Type")
        ?.split(";", 1)[0]
        ?.trim()
        .toLowerCase();
    }

    function assertFips(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!/^\d{5}$/u.test(row.geographyId)) {
          throw new Error(
            `FIPS must stay a 5-character string, got ${row.geographyId}`
          );
        }
      }
    }

    function assertNullStates(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!NULL_STATES.has(row.valueState) || row.value === null) continue;
        throw new Error(
          `${row.valueState} for ${row.geographyId} was ${String(row.value)}, not null`
        );
      }
    }

    function formatValue(value: number | string | null): string {
      if (value === null) return "null";
      if (typeof value === "string") return value;
      if (!Number.isFinite(value)) throw new Error("Atlas value is not finite");
      if (Number.isInteger(value)) return String(value);
      return JSON.stringify(value);
    }

    function formatDelay(delay: number): string {
      return Number.isInteger(delay) ? String(delay) : String(delay);
    }

    function delaySeconds(seconds: number): Promise<void> {
      return delay(seconds * 1000);
    }

    function isRecord(value: unknown): value is Record<string, unknown> {
      return typeof value === "object" && value !== null && !Array.isArray(value);
    }

    function isDirectExecution(): boolean {
      const entry = process.argv[1];
      if (!entry) return false;
      return import.meta.url === pathToFileURL(entry).href;
    }

    if (isDirectExecution()) {
      try {
        process.stdout.write(await runPageCollection());
      } catch (error: unknown) {
        const message = error instanceof Error ? error.message : String(error);
        process.stderr.write(`${message}\n`);
        process.exitCode = 1;
      }
    }

    ```
  
</RecipeLanguageTabs>

Expected output for the captured sample:

```text title="page-collection.txt"
release_id: governed-2026-10-15-january-climate-prod
pages: 2
next_page_token: null
period_start,geography_id,value,value_state,release_id
2025-01-01,36061,7.744015461888341,OBSERVED,governed-2026-10-15-january-climate-prod
2025-01-02,36061,6.788281929151528,OBSERVED,governed-2026-10-15-january-climate-prod
2025-01-03,36061,3.995322054093146,OBSERVED,governed-2026-10-15-january-climate-prod
2025-01-04,36061,1.6377173882177052,OBSERVED,governed-2026-10-15-january-climate-prod

```

## Read value\_state and retry [#read-value_state-and-retry]

Request `case_count_floor_2023` for FIPS `08001` and `36061`. Read `value` only with `value_state`. On `429` or `503`, wait for `Retry-After`, then send the same request again. The captured sample returns `429` with `Retry-After: 0` and `code` `RATE_LIMITED`, then the rows. Rules for other statuses: [Errors and retries](https://onehealthatlas.org/docs/develop/errors#retries). Value states: [Errors and retries](https://onehealthatlas.org/docs/develop/errors#value-states).

<RecipeLanguageTabs>
  

### Python

    ```python title="value-state.py"
    import json
    import os
    import random
    import time

    import httpx
    import pandas as pd

    NULL_STATES = {"MISSING", "SUPPRESSED", "UNAVAILABLE"}
    RETRYABLE_STATUSES = {429, 503}
    MAX_ATTEMPTS = 4
    BASE_URL = os.environ.get(
        "ATLAS_API_BASE_URL", "https://api.onehealthatlas.org"
    ).rstrip("/")

    def retry_delay_seconds(header: str | None, attempt: int) -> float:
        if header is not None and header.strip() != "":
            seconds = float(header)
            if seconds >= 0:
                return seconds
        base = min(60.0, float(2 ** (attempt - 1)))
        return min(60.0, base + random.uniform(0, min(1.0, base * 0.1)))

    def main() -> str:
        notes, rows = fetch_observations(
            [
                ("measure_id", "case_count_floor_2023"),
                ("geography_type", "county"),
                ("geography_id", "08001"),
                ("geography_id", "36061"),
                ("year", "2023"),
            ]
        )
        frame = table_frame(rows)
        assert_fips(frame)
        assert_null_states(frame)
        return "".join(notes) + render_table(frame)

    def fetch_observations(
        params: list[tuple[str, str]],
    ) -> tuple[list[str], list[dict[str, object]]]:
        notes: list[str] = []
        with httpx.Client(timeout=30.0) as client:
            for attempt in range(1, MAX_ATTEMPTS + 1):
                response = client.get(f"{BASE_URL}/v1/observations", params=params)
                if response.status_code in RETRYABLE_STATUSES:
                    code = problem_code(response)
                    delay = retry_delay_seconds(
                        response.headers.get("Retry-After"), attempt
                    )
                    code_text = f" {code}" if code else ""
                    notes.append(
                        f"retry: {response.status_code}{code_text} {format_delay(delay)}\n"
                    )
                    if attempt == MAX_ATTEMPTS:
                        raise RuntimeError(
                            f"Atlas HTTP {response.status_code} after {MAX_ATTEMPTS} attempts"
                        )
                    time.sleep(delay)
                    continue
                if response.status_code >= 400:
                    raise RuntimeError(
                        f"Atlas HTTP {response.status_code} {problem_detail(response)}"
                    )
                return notes, read_rows(response)
        raise RuntimeError("Atlas retry loop ended")

    def read_rows(response: httpx.Response) -> list[dict[str, object]]:
        assert_media(response, "application/json")
        body = response.json()
        return [read_observation(item) for item in body["data"]]

    def read_observation(item: dict[str, object]) -> dict[str, object]:
        geography = item["geography"]
        if not isinstance(geography, dict):
            raise RuntimeError("Atlas observation is missing geography")
        return {
            "geography_id": geography["geography_id"],
            "release_id": item["release_id"],
            "value": item["value"],
            "value_state": item["value_state"],
        }

    def table_frame(rows: list[dict[str, object]]) -> pd.DataFrame:
        frame = pd.DataFrame.from_records(
            rows,
            columns=["geography_id", "value", "value_state", "release_id"],
        )
        frame["geography_id"] = pd.Series(frame["geography_id"], dtype="string")
        frame["value"] = pd.Series([row["value"] for row in rows], dtype="object")
        frame["value_state"] = pd.Series(frame["value_state"], dtype="string")
        frame["release_id"] = pd.Series(frame["release_id"], dtype="string")
        return frame

    def assert_fips(frame: pd.DataFrame) -> None:
        for geography_id in frame["geography_id"].tolist():
            if (
                not isinstance(geography_id, str)
                or len(geography_id) != 5
                or not geography_id.isdigit()
            ):
                raise RuntimeError(
                    f"FIPS must stay a 5-character string, got {geography_id!r}"
                )

    def assert_null_states(frame: pd.DataFrame) -> None:
        for row in frame.to_dict("records"):
            if row["value_state"] not in NULL_STATES:
                continue
            value = row["value"]
            if value is None or (not isinstance(value, str) and pd.isna(value)):
                continue
            raise RuntimeError(
                f"{row['value_state']} for {row['geography_id']} was {value!r}, not null"
            )

    def render_table(frame: pd.DataFrame) -> str:
        release_id = frame["release_id"].iloc[0]
        lines = [
            f"release_id: {release_id}",
            "geography_id,value,value_state,release_id",
        ]
        for row in frame.to_dict("records"):
            lines.append(
                f"{row['geography_id']},{format_value(row['value'])},{row['value_state']},{row['release_id']}"
            )
        return "\n".join(lines) + "\n"

    def format_value(value: object) -> str:
        if value is None or (not isinstance(value, str) and pd.isna(value)):
            return "null"
        if isinstance(value, bool):
            raise RuntimeError("Atlas value was a boolean")
        if isinstance(value, int):
            return str(value)
        if isinstance(value, float):
            if value.is_integer():
                return str(int(value))
            return json.dumps(value)
        if isinstance(value, str):
            return value
        raise RuntimeError(f"Unexpected Atlas value {value!r}")

    def format_delay(delay: float) -> str:
        if float(delay).is_integer():
            return str(int(delay))
        return str(delay)

    def problem_code(response: httpx.Response) -> str | None:
        problem = problem_body(response)
        code = problem.get("code") if problem else None
        return code if isinstance(code, str) else None

    def problem_detail(response: httpx.Response) -> str:
        problem = problem_body(response)
        detail = problem.get("detail") if problem else None
        return detail if isinstance(detail, str) else ""

    def problem_body(response: httpx.Response) -> dict[str, object] | None:
        if media_type(response) != "application/problem+json":
            return None
        body = response.json()
        if isinstance(body, dict):
            return body
        return None

    def assert_media(response: httpx.Response, expected: str) -> None:
        actual = media_type(response)
        if actual != expected:
            raise RuntimeError(f"Atlas Content-Type was {actual or 'missing'}")

    def media_type(response: httpx.Response) -> str | None:
        header = response.headers.get("Content-Type")
        if header is None:
            return None
        return header.split(";", 1)[0].strip().lower()

    if __name__ == "__main__":
        print(main(), end="")

    ```
  

  

### R

    ```r title="value-state.R"
    library(httr2)
    library(dplyr)

    null_states <- c("MISSING", "SUPPRESSED", "UNAVAILABLE")
    base_url <- sub(
      "/+$",
      "",
      Sys.getenv("ATLAS_API_BASE_URL", unset = "https://api.onehealthatlas.org")
    )

    retry_delay_seconds <- function(header, attempt) {
      if (!is.null(header) && nzchar(header)) {
        seconds <- suppressWarnings(as.numeric(header))
        if (!is.na(seconds) && seconds >= 0) {
          return(seconds)
        }
      }
      base <- min(60, 2^(attempt - 1))
      min(60, base + stats::runif(1, 0, min(1, base * 0.1)))
    }

    format_delay <- function(delay) {
      if (isTRUE(all.equal(delay, round(delay)))) {
        sprintf("%.0f", delay)
      } else {
        as.character(delay)
      }
    }

    numeric_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return(NA_real_)
      }
      if (is.numeric(value)) {
        return(as.numeric(value[[1]]))
      }
      text <- value[[1]]
      if (is.character(text) && grepl("^-?[0-9]*\\.?[0-9]+$", text)) {
        return(as.numeric(text))
      }
      stop("Atlas value is not a number or null")
    }

    format_value <- function(value) {
      if (is.null(value) || length(value) == 0 || is.na(value[[1]])) {
        return("null")
      }
      number <- as.numeric(value[[1]])
      if (isTRUE(all.equal(number, round(number)))) {
        return(sprintf("%.0f", number))
      }
      text <- format(number, digits = 16, scientific = FALSE, trim = TRUE)
      if (as.numeric(text) != number) {
        text <- format(number, digits = 17, scientific = FALSE, trim = TRUE)
      }
      text
    }

    problem_fields <- function(response) {
      if (!identical(resp_content_type(response), "application/problem+json")) {
        return(list(code = "", detail = ""))
      }
      problem <- resp_body_json(response, simplifyVector = FALSE)
      list(
        code = if (is.null(problem$code)) "" else as.character(problem$code),
        detail = if (is.null(problem$detail)) "" else as.character(problem$detail)
      )
    }

    atlas_get <- function(params) {
      notes <- character()
      for (attempt in seq_len(4)) {
        response <- request(paste0(base_url, "/v1/observations")) |>
          req_url_query(!!!params, .multi = "explode") |>
          req_timeout(30) |>
          req_error(is_error = function(resp) FALSE) |>
          req_perform()
        status <- resp_status(response)
        if (status %in% c(429, 503)) {
          fields <- problem_fields(response)
          delay <- retry_delay_seconds(resp_header(response, "Retry-After"), attempt)
          code_text <- if (nzchar(fields$code)) paste0(" ", fields$code) else ""
          notes <- c(
            notes,
            paste0("retry: ", status, code_text, " ", format_delay(delay))
          )
          if (attempt == 4) {
            stop(paste("Atlas HTTP", status, "after 4 attempts"))
          }
          Sys.sleep(delay)
          next
        }
        if (status >= 400) {
          fields <- problem_fields(response)
          stop(paste("Atlas HTTP", status, fields$detail))
        }
        if (!identical(resp_content_type(response), "application/json")) {
          stop(paste("Atlas Content-Type was", resp_content_type(response)))
        }
        return(list(response = response, notes = notes))
      }
      stop("Atlas retry loop ended")
    }

    read_rows <- function(response) {
      body <- resp_body_json(response, simplifyVector = FALSE)
      bind_rows(lapply(body$data, function(item) {
        list(
          geography_id = as.character(item$geography$geography_id),
          value = numeric_value(item$value),
          value_state = as.character(item$value_state),
          release_id = as.character(item$release_id)
        )
      }))
    }

    params <- list(
      measure_id = "case_count_floor_2023",
      geography_type = "county",
      geography_id = c("08001", "36061"),
      year = "2023"
    )
    result <- atlas_get(params)
    frame <- read_rows(result$response) |>
      mutate(
        geography_id = as.character(geography_id),
        null_state = value_state %in% null_states
      )

    if (!is.numeric(frame$value)) {
      stop("value must stay numeric so a JSON null stays NA")
    }
    if (any(nchar(frame$geography_id) != 5) || any(!grepl("^[0-9]{5}$", frame$geography_id))) {
      stop("FIPS must stay a 5-character string")
    }
    if (any(frame$null_state & !is.na(frame$value) & frame$value == 0)) {
      stop("null value was coerced to zero")
    }
    if (any(frame$null_state & !is.na(frame$value))) {
      stop("null value_state returned a value")
    }

    lines <- frame |>
      mutate(
        line = paste(
          geography_id,
          vapply(value, format_value, character(1)),
          value_state,
          release_id,
          sep = ","
        )
      ) |>
      pull(line)
    if (length(result$notes) > 0) {
      cat(paste(result$notes, collapse = "\n"))
      cat("\n")
    }
    cat(paste0("release_id: ", frame$release_id[[1]], "\n"))
    cat("geography_id,value,value_state,release_id\n")
    cat(paste(lines, collapse = "\n"))
    cat("\n")

    ```
  

  

### TypeScript

    ```ts title="value-state.ts"
    import { setTimeout as delay } from "node:timers/promises";
    import { pathToFileURL } from "node:url";

    const NULL_STATES = new Set(["MISSING", "SUPPRESSED", "UNAVAILABLE"]);
    const RETRYABLE_STATUSES = new Set([429, 503]);
    const MAX_ATTEMPTS = 4;

    interface ObservationRecord {
      geographyId: string;
      releaseId: string;
      value: number | string | null;
      valueState: string;
    }

    export const retryableStatuses = RETRYABLE_STATUSES;

    export function retryDelaySeconds(
      header: string | null,
      attempt: number
    ): number {
      if (header !== null && header.trim() !== "") {
        const seconds = Number(header);
        if (Number.isFinite(seconds) && seconds >= 0) return seconds;
      }
      const base = Math.min(60, 2 ** (attempt - 1));
      const jitter = Math.random() * Math.min(1, base * 0.1);
      return Math.min(60, base + jitter);
    }

    export async function runValueState(): Promise<string> {
      const { notes, rows } = await fetchObservations([
        ["measure_id", "case_count_floor_2023"],
        ["geography_type", "county"],
        ["geography_id", "08001"],
        ["geography_id", "36061"],
        ["year", "2023"],
      ]);
      assertFips(rows);
      assertNullStates(rows);
      return `${notes.join("")}${renderTable(rows)}`;
    }

    async function fetchObservations(
      params: readonly (readonly [string, string])[]
    ): Promise<{ notes: string[]; rows: ObservationRecord[] }> {
      const notes: string[] = [];
      for (let attempt = 1; attempt <= MAX_ATTEMPTS; attempt += 1) {
        const response = await fetch(collectionUrl(params), {
          signal: AbortSignal.timeout(30_000),
        });
        if (RETRYABLE_STATUSES.has(response.status)) {
          const code = await problemCode(response);
          const delay = retryDelaySeconds(
            response.headers.get("Retry-After"),
            attempt
          );
          const codeText = code === undefined ? "" : ` ${code}`;
          notes.push(
            `retry: ${response.status}${codeText} ${formatDelay(delay)}\n`
          );
          if (attempt === MAX_ATTEMPTS) {
            throw new Error(
              `Atlas HTTP ${response.status} after ${MAX_ATTEMPTS} attempts`
            );
          }
          await delaySeconds(delay);
          continue;
        }
        if (!response.ok) {
          throw new Error(
            `Atlas HTTP ${response.status} ${await problemDetail(response)}`
          );
        }
        return { notes, rows: await readRows(response) };
      }
      throw new Error("Atlas retry loop ended");
    }

    function collectionUrl(params: readonly (readonly [string, string])[]): URL {
      const base = (
        process.env.ATLAS_API_BASE_URL ?? "https://api.onehealthatlas.org"
      ).replace(/\/$/u, "");
      const url = new URL("/v1/observations", `${base}/`);
      for (const [name, value] of params) url.searchParams.append(name, value);
      return url;
    }

    async function readRows(response: Response): Promise<ObservationRecord[]> {
      assertMedia(response, "application/json");
      const body: unknown = await response.json();
      if (!isRecord(body) || !Array.isArray(body.data) || !isRecord(body.meta)) {
        throw new Error("Atlas response is missing data or meta");
      }
      return body.data.map(readObservation);
    }

    function readObservation(value: unknown): ObservationRecord {
      if (!isRecord(value) || !isRecord(value.geography)) {
        throw new Error("Atlas observation is missing geography");
      }
      const geographyId = value.geography.geography_id;
      const releaseId = value.release_id;
      const valueState = value.value_state;
      if (
        typeof geographyId !== "string" ||
        typeof releaseId !== "string" ||
        typeof valueState !== "string"
      ) {
        throw new TypeError(
          "Atlas observation is missing geography_id, value_state, or release_id"
        );
      }
      return {
        geographyId,
        releaseId,
        value: readReportedValue(value.value),
        valueState,
      };
    }

    function readReportedValue(value: unknown): number | string | null {
      if (
        value === null ||
        typeof value === "number" ||
        typeof value === "string"
      ) {
        return value;
      }
      throw new Error("Atlas value is not a number, string, or null");
    }

    async function problemCode(response: Response): Promise<string | undefined> {
      const problem = await problemBody(response);
      return typeof problem?.code === "string" ? problem.code : undefined;
    }

    async function problemDetail(response: Response): Promise<string> {
      const problem = await problemBody(response);
      return typeof problem?.detail === "string" ? problem.detail : "";
    }

    async function problemBody(
      response: Response
    ): Promise<Record<string, unknown> | undefined> {
      if (mediaType(response) !== "application/problem+json") return undefined;
      const body: unknown = await response.json();
      return isRecord(body) ? body : undefined;
    }

    function assertMedia(response: Response, expected: string): void {
      if (mediaType(response) !== expected) {
        throw new Error(
          `Atlas Content-Type was ${mediaType(response) ?? "missing"}`
        );
      }
    }

    function mediaType(response: Response): string | undefined {
      return response.headers
        .get("Content-Type")
        ?.split(";", 1)[0]
        ?.trim()
        .toLowerCase();
    }

    function assertFips(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!/^\d{5}$/u.test(row.geographyId)) {
          throw new Error(
            `FIPS must stay a 5-character string, got ${row.geographyId}`
          );
        }
      }
    }

    function assertNullStates(rows: readonly ObservationRecord[]): void {
      for (const row of rows) {
        if (!NULL_STATES.has(row.valueState) || row.value === null) continue;
        throw new Error(
          `${row.valueState} for ${row.geographyId} was ${String(row.value)}, not null`
        );
      }
    }

    function renderTable(rows: readonly ObservationRecord[]): string {
      const releaseId = rows[0]?.releaseId;
      if (!releaseId) throw new Error("Atlas response had no rows");
      const lines = [
        `release_id: ${releaseId}`,
        "geography_id,value,value_state,release_id",
      ];
      for (const row of rows) {
        lines.push(
          `${row.geographyId},${formatValue(row.value)},${row.valueState},${row.releaseId}`
        );
      }
      return `${lines.join("\n")}\n`;
    }

    function formatValue(value: number | string | null): string {
      if (value === null) return "null";
      if (typeof value === "string") return value;
      if (!Number.isFinite(value)) throw new Error("Atlas value is not finite");
      if (Number.isInteger(value)) return String(value);
      return JSON.stringify(value);
    }

    function formatDelay(delay: number): string {
      return Number.isInteger(delay) ? String(delay) : String(delay);
    }

    function delaySeconds(seconds: number): Promise<void> {
      return delay(seconds * 1000);
    }

    function isRecord(value: unknown): value is Record<string, unknown> {
      return typeof value === "object" && value !== null && !Array.isArray(value);
    }

    function isDirectExecution(): boolean {
      const entry = process.argv[1];
      if (!entry) return false;
      return import.meta.url === pathToFileURL(entry).href;
    }

    if (isDirectExecution()) {
      try {
        process.stdout.write(await runValueState());
      } catch (error: unknown) {
        const message = error instanceof Error ? error.message : String(error);
        process.stderr.write(`${message}\n`);
        process.exitCode = 1;
      }
    }

    ```
  
</RecipeLanguageTabs>

Expected output for the captured sample:

```text title="value-state.txt"
retry: 429 RATE_LIMITED 0
release_id: governed-2026-10-15-january-climate-prod
geography_id,value,value_state,release_id
08001,null,MISSING,governed-2026-10-15-january-climate-prod
36061,1114,OBSERVED,governed-2026-10-15-january-climate-prod

```

# Indicators, measures, and observations (https://onehealthatlas.org/docs/develop/resources)

> Discover indicators and measures, then read county observations with value states.

Discover ids, then query one measure for a county and period. An indicator groups measures. A measure is one variable. An observation is that variable for one place and period. Use an example id only when discovery returns it.

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Discover ids [#discover-ids]

```sh
curl -fsS 'https://api.onehealthatlas.org/v1/indicators?page_size=100'
curl -fsS 'https://api.onehealthatlas.org/v1/measures?indicator_id=human_disease_burden&page_size=100'
curl -fsS 'https://api.onehealthatlas.org/v1/measures/case_count_floor_2023'
```

Indicator filters are optional `indicator_id`, `page_size`, and `page_token`. Measure filters are optional `measure_id`, `indicator_id`, `geography_type`, `page_size`, and `page_token`. Unknown path ids return HTTP 404 `RESOURCE_NOT_FOUND`.

A sample collection at `page_size=20` returned seven indicators and `next_page_token` null. The human-disease id was `human_disease_burden`, with measures `case_count_floor_2023`, `human_status`, `incidence_floor_2023`, and `state_unallocated_records_2023`. A later release can add or remove ids. Page until `next_page_token` is null.

Required fields: `measure_id`, `indicator_id`, `label`, `definition`, `semantic_version`. Also read `unit`, `denominator`, `geography_semantics`, `temporal_semantics`, `missingness_semantics`, `allowed_value_states`, `allowed_strata`, `methodology_id`, `source_ids`, and `limitations` when present. A null `denominator` was not supplied. Do not invent one.

## Query observations [#query-observations]

`GET /v1/observations` requires:

| Parameter                   | Rule                                              |
| --------------------------- | ------------------------------------------------- |
| `measure_id`                | Exact id from discovery                           |
| `geography_type`            | `county` for this query                           |
| `geography_id`              | 1 to 500 five-digit county FIPS strings           |
| `year`                      | 1900 through 2100, or omit it and send both dates |
| `start_date` and `end_date` | Inclusive. Send both, and omit `year`             |
| `stratification`            | Optional. The current release has no strata       |
| `page_size`                 | Optional. 1 to 500. Default 100                   |
| `page_token`                | Opaque token from the previous page               |

`case_count_floor_2023` uses 2023. Current land-cover measures use `2025`. Read `temporal_semantics`. Other enabled series can use other periods. See [Observation queries](https://onehealthatlas.org/docs/develop/observation-queries).

```sh
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'
```

The same county and measure, with `start_date` 2023-01-01 and `end_date` 2023-12-31 and no `year`, returns the same kind of HTTP 200 row. You cannot sort or aggregate. `sort=value`, `aggregation=sum`, and an unknown parameter each return HTTP 400 `UNSUPPORTED_FILTER`.

## Read value\_state [#read-value_state]

value\_state says how to read `value`. `value` is a
number, a string, or null. Null never means zero. Each state and what to do:
[Errors and retries](https://onehealthatlas.org/docs/develop/errors#value-states).

A sample case-floor `strata` value was an empty object, not a breakdown.

Also keep period, unit, denominator, source, methodology, `semantic_version`, `release_id`, `provenance_ref`, `limitations`, and `evidence`. Optional `environmental_context` is reviewed environmental context only. Optional `surveillance_context` is published surveillance context on a supported slice. Omitted or null carries no evidence-state, comparability, or lag claim. Present objects have `evidence`, `methodology_comparison`, and `temporal_alignment`. `normalized_state` is a Data-owned state (`established`, `detected`, `unknown`, or null). The original publisher value stays in `value`. Missing context does not establish absence or temporal comparability. Types are in the [schema reference](https://onehealthatlas.org/docs/api-reference/schemas).

## Match a response to an action [#match-a-response-to-an-action]

Shared status codes, including `QUERY_TOO_BROAD` above 10,000 results, live in [REST API](https://onehealthatlas.org/docs/develop/rest). The API never truncates results. Observation-specific results:

* HTTP 200 `data: []` when no row matches, including sample FIPS `99999`. An unmatched county can be an empty page instead of HTTP 404 `RESOURCE_NOT_FOUND`.
* HTTP 400 `INVALID_REQUEST` for a missing period, `year` plus dates, `page_size` below 1, or `geography_type` other than `county` or `state`.
* HTTP 400 `UNSUPPORTED_FILTER` or `UNSUPPORTED_STRATIFICATION` for a rejected filter or stratum.
* `MISSING`, `SUPPRESSED`, `UNAVAILABLE`, `NO_COUNTY_LINKED_RECORD`, `NO_RECORDS`, null `environmental_context`, and null or omitted `surveillance_context` stay as returned.
* Detail HTTP 304 with an empty body when `If-None-Match` matches the `ETag`.

# REST API (https://onehealthatlas.org/docs/develop/rest)

> Page anonymous Atlas collections and handle errors, caches, and versions.

Send GET requests to `https://api.onehealthatlas.org` under `/v1`. No API key is used. See the [OpenAPI schema](https://api.onehealthatlas.org/openapi.json) and the [API reference](https://onehealthatlas.org/docs/api-reference).

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Read collections and resources [#read-collections-and-resources]

Indicators, measures, observations, and sources
return `data`, `meta`, and `links`. One indicator, measure, source, or
methodology returns `data`. Legacy routes use
their own schemas.

```json
{
  "data": [],
  "meta": { "next_page_token": null, "response_at": "2026-01-01T00:00:00Z" },
  "links": { "self": null }
}
```

That JSON is the contract's illustrative empty page. A null `links.self` can appear while `data` contains rows. A null `self` does not mean the page failed.

## Page through results [#page-through-results]

`page_size` defaults to 100, with a minimum of 1 and a maximum of 500. `page_size=0` on observations returns HTTP 400 `INVALID_REQUEST`. The `errors` entry says the value must be at least 1.

Send `meta.next_page_token` back as page\_token with the other parameters unchanged. The token is opaque, bound to the query and the release, and it can expire on restart. `null` means the collection is exhausted. A page token is not a citation and not a release id.

A sample `GET /v1/indicators?page_size=2` returned two indicators, then the next two with that `page_token`. A sample `nclimgrid_tavg_county_day` query for county `36061`, year 2025, and `page_size` 2 returned 2025-01-01 and 2025-01-02, then 2025-01-03 and 2025-01-04. `page_token` alone returned HTTP 400 `INVALID_REQUEST` and detail `One or more request values are invalid.` because `measure_id`, `geography_type`, and `geography_id` were missing. Those three filters without a year returned detail `Supply a year or both start_date and end_date.`

Do not invent a token.

#### curl

```
url='https://api.onehealthatlas.org/v1/observations?measure_id=nclimgrid_tavg_county_day&geography_type=county&geography_id=36061&year=2025&page_size=2'
first=$(curl -fsS "$url")
token=$(printf '%s' "$first" | python3 -c 'import json,sys,urllib.parse; token=json.load(sys.stdin)["meta"]["next_page_token"]; print("" if token is None else urllib.parse.quote(token, safe=""))')
if [ -n "$token" ]; then
  curl -fsS "$url&page_token=$token"
fi
```

#### Python

```
import httpx

filters = {
    "measure_id": "nclimgrid_tavg_county_day",
    "geography_type": "county",
    "geography_id": "36061",
    "year": "2025",
    "page_size": "2",
}
with httpx.Client(timeout=30.0) as client:
    first = client.get("https://api.onehealthatlas.org/v1/observations", params=filters)
    first.raise_for_status()
    token = first.json()["meta"]["next_page_token"]
    if token is not None:
        continued = client.get(
            "https://api.onehealthatlas.org/v1/observations",
            params={**filters, "page_token": token},
        )
        continued.raise_for_status()
        page = continued.json()
```

#### R

```
library(httr2)

filters <- list(
  measure_id = "nclimgrid_tavg_county_day",
  geography_type = "county",
  geography_id = "36061",
  year = "2025",
  page_size = "2"
)

first <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(!!!filters) |>
  req_timeout(30) |>
  req_perform()

token <- resp_body_json(first)$meta$next_page_token
if (!is.null(token)) {
  continued <- request("https://api.onehealthatlas.org/v1/observations") |>
    req_url_query(!!!filters, page_token = token) |>
    req_timeout(30) |>
    req_perform()
  page <- resp_body_json(continued)
}
```

#### TypeScript

```
function readNextPageToken(body: unknown): string | null {
  if (typeof body !== "object" || body === null || !("meta" in body)) {
    throw new Error("Atlas response is missing meta");
  }
  const { meta } = body;
  if (typeof meta !== "object" || meta === null || !("next_page_token" in meta)) {
    throw new Error("Atlas response is missing next_page_token");
  }
  const { next_page_token: nextPageToken } = meta;
  if (nextPageToken === null) {
    return null;
  }
  if (typeof nextPageToken !== "string") {
    throw new Error("Atlas next_page_token is not a string");
  }
  return nextPageToken;
}

const endpoint = "https://api.onehealthatlas.org/v1/observations";
const filters: [string, string][] = [
  ["measure_id", "nclimgrid_tavg_county_day"],
  ["geography_type", "county"],
  ["geography_id", "36061"],
  ["year", "2025"],
  ["page_size", "2"],
];

function atlasUrl(pageToken?: string): URL {
  const url = new URL(endpoint);
  for (const [name, value] of filters) {
    url.searchParams.append(name, value);
  }
  if (pageToken !== undefined) {
    url.searchParams.append("page_token", pageToken);
  }
  return url;
}

const firstResponse = await fetch(atlasUrl());
if (!firstResponse.ok) {
  throw new Error(`Atlas HTTP ${firstResponse.status}`);
}
const token = readNextPageToken(await firstResponse.json());
if (token !== null) {
  const continuedResponse = await fetch(atlasUrl(token));
  if (!continuedResponse.ok) {
    throw new Error(`Atlas HTTP ${continuedResponse.status}`);
  }
  const page: unknown = await continuedResponse.json();
}
```

## Honor rate limits [#honor-rate-limits]

`429` and `503` can include `Retry-After`. No numeric quota, concurrency cap, or fixed range is published. Wait, then retry. Keep `request_id`. Rules: [Errors and retries](https://onehealthatlas.org/docs/develop/errors#retries).

## Handle errors [#handle-errors]

Canonical errors use RFC 9457 `application/problem+json`. Required fields: `type`, `title`, `status`, `detail`, `instance`, `request_id`. Optional: `code`, and `errors` as objects. Codes, HTTP 413, HTTP 414, HTTP 422, and retries: [Errors and retries](https://onehealthatlas.org/docs/develop/errors).

## Tell versions apart [#tell-versions-apart]

| Identifier             | Where                                                | What it names                                                            |
| ---------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------ |
| `/v1`                  | URL path                                             | HTTP contract. Breaking changes need a migration plan. V1 may add fields |
| OpenAPI `info.version` | Schema document                                      | Application version, separate from `/v1`                                 |
| `semantic_version`     | Indicator, measure, observation, source, methodology | Semantic contract version                                                |
| `release_id`           | Observation                                          | Row release. Different releases are not directly comparable              |
| `release_version`      | Indicator, measure, source, methodology              | Current-release relationship                                             |
| `methodology_version`  | Observation                                          | Transformation version                                                   |
| Methodology `version`  | Methodology resource                                 | Resource version, distinct from `methodology_version`                    |

These routes read the current release. The same URL can return a different `release_id` later. Save the response, or a checksum, with the request URL.

## Cache and revalidate [#cache-and-revalidate]

Discovery responses use `Cache-Control: public, max-age=60, must-revalidate`, including a sample indicators response. Send the detail `ETag` as `If-None-Match` for HTTP 304 and an empty body. `GET /v1/sources/human` did that.

Legacy metadata uses a 300-second public cache. That `ETag` does not implement conditional `304`. `meta.response_at` is the response time. The response time shows when Atlas built the response. It does not show when the publisher last updated the data.

# OpenAPI, GitHub, and support (https://onehealthatlas.org/docs/develop/support)

> Open the public Atlas contract, the repositories that own it, and the fields to include in a support report.

Open the contract on the API service. Report a failed read with the fields below.

## Open the contract [#open-the-contract]

| Surface             | Status                      | URL                                                         |
| ------------------- | --------------------------- | ----------------------------------------------------------- |
| Production API      | Available                   | `https://api.onehealthatlas.org`                            |
| OpenAPI schema      | Available                   | [openapi.json](https://api.onehealthatlas.org/openapi.json) |
| Swagger reference   | Available                   | [Swagger reference](https://api.onehealthatlas.org/docs)    |
| ReDoc reference     | Available                   | [ReDoc reference](https://api.onehealthatlas.org/redoc)     |
| Generated reference | From the pinned public spec | [API reference](https://onehealthatlas.org/docs/api-reference)                        |

Parameters and examples stay in that reference: [discovery](https://onehealthatlas.org/docs/api-reference/discovery), [observations](https://onehealthatlas.org/docs/api-reference/observations), [provenance](https://onehealthatlas.org/docs/api-reference/provenance), [geographies](https://onehealthatlas.org/docs/api-reference/geographies), [atlas](https://onehealthatlas.org/docs/api-reference/atlas), [counties](https://onehealthatlas.org/docs/api-reference/counties), [states](https://onehealthatlas.org/docs/api-reference/states), and [schemas](https://onehealthatlas.org/docs/api-reference/schemas). Task wording is in [the developer overview](https://onehealthatlas.org/docs/develop).

## Read machine-readable docs [#read-machine-readable-docs]

[llms.txt](https://onehealthatlas.org/llms.txt) indexes current pages. [llms-full.txt](https://onehealthatlas.org/llms-full.txt) joins them. [Support page as Markdown](https://onehealthatlas.org/docs/develop/support.md) and [Support page as MDX](https://onehealthatlas.org/docs/develop/support.mdx) export the support URL. Add md or mdx to a page URL. The index is [docs.md](https://onehealthatlas.org/docs.md) and [docs.mdx](https://onehealthatlas.org/docs.mdx). Home: [https://onehealthatlas.org/docs](https://onehealthatlas.org/docs).

These exports are separate from the OpenAPI contract. `/v1` and OpenAPI `info.version` are different identifiers.

## Find the owning repository [#find-the-owning-repository]

| Repository                                                                                     | What it owns                                |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [one-health-lyme-gap-atlas-api](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-api) | Public HTTP contract and `openapi.json`     |
| [one-health-lyme-gap-atlas-web](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-web) | Documentation site and web application      |
| [one-health-lyme-gap-atlas-mcp](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp) | MCP server, separate from public REST reads |

Contract questions go to the API repository. Guide wording goes to the web repository. [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access) records the MCP boundary. [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients) has the Streamable HTTP recipes. The September 2026 smoke-only receipt is historical.

## Report a failed read [#report-a-failed-read]

* Full request URL, with no Authorization header. Public reads do not use one.
* HTTP status and `content-type`.
* `request_id` from the problem body.
* `Retry-After` when the status is `429` or `503`.
* For an observation, `measure_id`, `geography_id`, period, `value_state`, `release_id`, and `semantic_version`.

There is no API key to rotate and no SDK version to report.

## Check what the contract omits [#check-what-the-contract-omits]

| Item                                                       | Status                                                                                                                                    |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Numeric quota and concurrency cap                          | Not in the public OpenAPI document. Honor `Retry-After`                                                                                   |
| Geography identity payload                                 | HTTP `200` `GeographyUnavailable` (`CANONICAL_GEOGRAPHY_UNPUBLISHED`, `data` null) and no geometry. Polygons are `GET /v1/atlas/geometry` |
| Daily environmental measure                                | In the current catalog. Checked id: `nclimgrid_tavg_county_day`. See [Observation queries](https://onehealthatlas.org/docs/develop/observation-queries)             |
| API keys, required SDKs, required MCP                      | Outside anonymous public reads                                                                                                            |
| Account, feedback, conversational AI, literature retrieval | Excluded from the public OpenAPI document                                                                                                 |

# Tier 1 availability (https://onehealthatlas.org/docs/develop/tier1-availability)

> Choose availability or the published priority read.

Call availability before you render a Tier 1 result.

#### Interpret with care

  This is surveillance review priority, not Lyme disease risk, predicted
  incidence, probability, clinical risk, or diagnosis. `LOW` is a scored tier.
  `INSUFFICIENT` records input sufficiency, not absence of disease. A null score
  is not zero, and a missing result is not low priority.

Samples are from `https://api.onehealthatlas.org`. Parameters: [priority](https://onehealthatlas.org/docs/api-reference/counties#getCountyTier1Priority), [availability](https://onehealthatlas.org/docs/api-reference/counties#checkCountyTier1Availability). Screens: [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## When to call each route [#when-to-call-each-route]

  

#### Membership and a published model, or not

    `GET /v1/counties/{fips}/tier1-surveillance-priority/availability`. HTTP
    200\. `AVAILABLE` fills `data`. `NO_PUBLISHED_MODEL` nulls `data`. HTTP 404:
    FIPS outside the release.
  

  

#### The object after the county is supported

    `GET /v1/counties/{fips}/tier1-surveillance-priority`. HTTP 200 and the
    object. HTTP 404: no current result, not a geography answer.
  

Use availability when the FIPS comes from outside Atlas. `09001` still fails. The release uses ids such as `09110`. Both routes use HTTP 422 for a bad FIPS, HTTP 429 with `Retry-After`, and HTTP 503 for a failed read. A 503 is not `UNAVAILABLE` and not a tier.

## Read the availability envelope [#read-the-availability-envelope]

HTTP 200 uses `availability`, `geography_release_id`, `reason`, and `data`. Samples sent `Cache-Control: public, max-age=60`. `geography_release_id` and `data.release_id` differed here. `generated_at_utc` is batch time, not the request or the observation date. `priority_percentile` is position inside `prediction_batch_version`, not a probability and not comparable across batches. `raw_model_score` is not incidence or a probability. `limitation_ref` is not a URL on this site.

## Read a sufficient result [#read-a-sufficient-result]

`GET /v1/counties/09110/tier1-surveillance-priority/availability` returned HTTP 200 for Capitol Planning Region. `AVAILABLE`, null `reason`, `SUFFICIENT`, tier `HIGH`. Percentile and score are present, which `SUFFICIENT` and `INSUFFICIENT` require. At most three reason objects. The human-floor text says the magnitude is a lower bound. The priority route returned this `data` object alone. Batch fields matched.

```json
{
  "availability": "AVAILABLE",
  "geography_release_id": "governed-2026-10-15-january-climate-prod",
  "reason": null,
  "data": {
    "county_fips": "09110",
    "priority_tier": "HIGH",
    "priority_percentile": 98.56824689786828,
    "raw_model_score": 2.0739835966635036,
    "evidence_sufficiency": "SUFFICIENT",
    "model_version": "tier1-statistical-reference-v1",
    "release_id": "governed-2026-09-18-unknown-coverage",
    "source_commit": "024bbbf74a7da8e54566bd60e8e762d85a51e24f",
    "prediction_batch_version": "tier1-review-priority-5536b5caad95cf47",
    "tier_policy_version": "tier1-review-percentile-v1",
    "generated_at_utc": "2026-10-07T02:14:24Z",
    "reasons": [
      {
        "code": "PUBLISHED_HUMAN_FLOOR",
        "text": "Published county-linked human count-floor signal is present; its magnitude is a lower bound."
      },
      {
        "code": "PATHOGEN_PRESENT",
        "text": "Publisher reports pathogen Present."
      }
    ],
    "limitation_ref": "docs/contracts/tier1-persisted-output-v1.md"
  }
}
```

## Read an insufficient result [#read-an-insufficient-result]

`GET /v1/counties/01001/tier1-surveillance-priority/availability` returned HTTP 200 for Autauga County, Alabama. Batch ids match the sufficient sample. `INSUFFICIENT` is still published. `LOW` is a scored tier, not a safe county and not a zero. The human reason uses a placeholder. The pathogen reason says no records are not evidence of absence.

```json
{
  "availability": "AVAILABLE",
  "geography_release_id": "governed-2026-10-15-january-climate-prod",
  "reason": null,
  "data": {
    "county_fips": "01001",
    "priority_tier": "LOW",
    "priority_percentile": 30.734966592427615,
    "raw_model_score": 0.6000441944790827,
    "evidence_sufficiency": "INSUFFICIENT",
    "model_version": "tier1-statistical-reference-v1",
    "release_id": "governed-2026-09-18-unknown-coverage",
    "source_commit": "024bbbf74a7da8e54566bd60e8e762d85a51e24f",
    "prediction_batch_version": "tier1-review-priority-5536b5caad95cf47",
    "tier_policy_version": "tier1-review-percentile-v1",
    "generated_at_utc": "2026-10-07T02:14:24Z",
    "reasons": [
      {
        "code": "NO_COUNTY_HUMAN_RECORD",
        "text": "No county-linked human record is available; the model uses an explicit placeholder."
      },
      {
        "code": "PATHOGEN_NO_RECORDS",
        "text": "Publisher reports No records; this is not evidence of absence."
      }
    ],
    "limitation_ref": "docs/contracts/tier1-persisted-output-v1.md"
  }
}
```

`GET /v1/counties/01001/tier1-surveillance-priority` returned that same inner object and no envelope.

```json
{
  "county_fips": "01001",
  "priority_tier": "LOW",
  "priority_percentile": 30.734966592427615,
  "raw_model_score": 0.6000441944790827,
  "evidence_sufficiency": "INSUFFICIENT",
  "model_version": "tier1-statistical-reference-v1",
  "release_id": "governed-2026-09-18-unknown-coverage",
  "source_commit": "024bbbf74a7da8e54566bd60e8e762d85a51e24f",
  "prediction_batch_version": "tier1-review-priority-5536b5caad95cf47",
  "tier_policy_version": "tier1-review-percentile-v1",
  "generated_at_utc": "2026-10-07T02:14:24Z",
  "reasons": [
    {
      "code": "NO_COUNTY_HUMAN_RECORD",
      "text": "No county-linked human record is available; the model uses an explicit placeholder."
    },
    {
      "code": "PATHOGEN_NO_RECORDS",
      "text": "Publisher reports No records; this is not evidence of absence."
    }
  ],
  "limitation_ref": "docs/contracts/tier1-persisted-output-v1.md"
}
```

## NOT\_ESTIMABLE abstention [#not_estimable-abstention]

`NOT_ESTIMABLE` is published. It is not `UNAVAILABLE` or HTTP 404. Require `AVAILABLE`, null `reason`, and null tier, percentile, and score. `SUFFICIENT` or `INSUFFICIENT` is invalid if any of those three is null. `NOT_ESTIMABLE` is invalid if any is present.

There is no retrieved abstention payload. A sample `GET /v1/atlas/scores` returned 3,144 counties. This was a national API inventory, outside the lower-48-and-DC scope used by the geography guide. Keep that geography scope when you select counties. `AVAILABLE` reports a published result, not product-scope eligibility. See [Geography](https://onehealthatlas.org/docs/develop/geography). The scores release id matched `geography_release_id` above. Every FIPS returned HTTP 200, `AVAILABLE`, and null `reason`: 651 `SUFFICIENT` (315 `HIGH`, 336 `MEDIUM`) and 2,493 `INSUFFICIENT` (292 `MEDIUM`, 2,201 `LOW`). None was `NOT_ESTIMABLE`. Those counts describe this batch only. If a later batch abstains, do not substitute `LOW`, zero, or "no disease." Keep version, release, batch, policy, `generated_at_utc`, and `limitation_ref`.

## UNAVAILABLE and NO\_PUBLISHED\_MODEL [#unavailable-and-no_published_model]

`UNAVAILABLE` is HTTP 200 after geography and the Tier 1 projection are both read. `reason` is `NO_PUBLISHED_MODEL`, `data` is null, and `geography_release_id` remains. Null stays null. This is not `NOT_ESTIMABLE`, HTTP 404, or HTTP 503.

There is no retrieved `NO_PUBLISHED_MODEL` payload. That inventory had no `UNAVAILABLE` body. Do not invent a county. A null `data` value is not low priority.

## Handle a FIPS outside the release [#handle-a-fips-outside-the-release]

`GET /v1/counties/99999/tier1-surveillance-priority/availability` returned HTTP 404 `application/problem+json` and a private cache directive. `00000` and `09001` matched this status and detail.

```json
{
  "type": "https://onehealthatlas.org/problems/resource-not-found",
  "title": "Invalid public query",
  "status": 404,
  "detail": "County is not in the current geography release.",
  "instance": "/v1/counties/99999/tier1-surveillance-priority/availability",
  "request_id": "91af7989-a353-48e6-af9b-812727c66747",
  "code": "RESOURCE_NOT_FOUND",
  "errors": null
}
```

`status` 404 and `code` `RESOURCE_NOT_FOUND` mean the county is outside the release, not that a tier was assigned. `request_id` changes on the next call.

A non-five-digit path skips that check. `GET /v1/counties/0911/tier1-surveillance-priority/availability` returned HTTP 422, detail `One or more request values are invalid.`, and an `errors` pattern failure on `fips`. Send `09110`, not `9110`.

The priority route does not answer geography. `GET /v1/counties/99999/tier1-surveillance-priority` returned HTTP 404 and no `code`:

```json
{
  "type": "https://onehealthatlas.org/problems/http-404",
  "title": "Not found",
  "status": 404,
  "detail": "No current Tier 1 county result",
  "instance": "/v1/counties/99999/tier1-surveillance-priority",
  "request_id": "c57750de-fca5-4ed2-8bbb-2d45f422cf97",
  "errors": null
}
```

HTTP 404 is also used when no published result exists. This sample had no such county. Do not treat that 404 as a failed geography check or as `LOW`.

## Keep these states apart [#keep-these-states-apart]

| State                | What to do                                                              |
| -------------------- | ----------------------------------------------------------------------- |
| `SUFFICIENT` `HIGH`  | Do not say: The county is high risk, or the percentile is a probability |
| `INSUFFICIENT` `LOW` | Do not say: Safe county, placeholder zero, or absence                   |
| `NOT_ESTIMABLE`      | Do not say: Low priority, or no disease                                 |
| `NO_PUBLISHED_MODEL` | Do not say: Null data is zero or a low tier                             |
| Availability 404     | Do not say: No Lyme activity                                            |
| Priority 404         | Do not say: Geography failed, or the county is low priority             |
| HTTP 422             | Do not say: The county was looked up and found missing                  |
| HTTP 503             | Do not say: The failure is an evidence tier                             |

# Workflow guides (https://onehealthatlas.org/docs/develop/workflows)

> Query, compare, read context, download a PDF, and cite the row.

Each workflow is an anonymous GET for a county in the lower 48 states or the District of Columbia. Replace ids when discovery returns different ones.

#### Interpret with care

  Atlas results are not a diagnosis. Atlas results are not an estimate of an
  individual's risk. See [Evidence, provenance, and
  uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

## Query a county [#query-a-county]

Retrieve one county's current-release case-count floor.

#### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/observations",
    params={
        "measure_id": "case_count_floor_2023",
        "geography_type": "county",
        "geography_id": "36061",
        "year": "2023",
    },
    timeout=30.0,
)
response.raise_for_status()
body = response.json()
```

#### R

```
library(httr2)

observations <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(
    measure_id = "case_count_floor_2023",
    geography_type = "county",
    geography_id = "36061",
    year = "2023"
  ) |>
  req_timeout(30) |>
  req_perform()
observations_body <- resp_body_json(observations)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/observations");
url.searchParams.append("measure_id", "case_count_floor_2023");
url.searchParams.append("geography_type", "county");
url.searchParams.append("geography_id", "36061");
url.searchParams.append("year", "2023");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: unknown = await response.json();
```

Open `source_id` and `methodology_id` from that body:

#### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/sources/human'
curl -fsS 'https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1'
```

#### Python

```
import httpx

with httpx.Client(timeout=30.0) as client:
    human = client.get(
        "https://api.onehealthatlas.org/v1/sources/human",
    )
    human.raise_for_status()
    human_body = human.json()
    human_confirmed_probable_case_floor_v1 = client.get(
        "https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1",
    )
    human_confirmed_probable_case_floor_v1.raise_for_status()
    human_confirmed_probable_case_floor_v1_body = human_confirmed_probable_case_floor_v1.json()
```

#### R

```
library(httr2)

human <- request("https://api.onehealthatlas.org/v1/sources/human") |>
  req_timeout(30) |>
  req_perform()
human_body <- resp_body_json(human)

human_confirmed_probable_case_floor_v1 <- request("https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1") |>
  req_timeout(30) |>
  req_perform()
human_confirmed_probable_case_floor_v1_body <- resp_body_json(human_confirmed_probable_case_floor_v1)
```

#### TypeScript

```
const humanUrl = new URL("https://api.onehealthatlas.org/v1/sources/human");
const humanResponse = await fetch(humanUrl);
if (!humanResponse.ok) {
  throw new Error(`Atlas HTTP ${humanResponse.status}`);
}
const humanBody: unknown = await humanResponse.json();

const human_confirmed_probable_case_floor_v1Url = new URL("https://api.onehealthatlas.org/v1/methodologies/human_confirmed_probable_case_floor_v1");
const human_confirmed_probable_case_floor_v1Response = await fetch(human_confirmed_probable_case_floor_v1Url);
if (!human_confirmed_probable_case_floor_v1Response.ok) {
  throw new Error(`Atlas HTTP ${human_confirmed_probable_case_floor_v1Response.status}`);
}
const human_confirmed_probable_case_floor_v1Body: unknown = await human_confirmed_probable_case_floor_v1Response.json();
```

`GET /v1/counties/{fips}` is the legacy county document, including release metadata. A sample `GET /v1/counties/00000` returned HTTP 404, detail `County or dataset release not found`, and no `code`. Use observations for value\_state. FIPS `36061`, `year=2023`, was `OBSERVED`. FIPS `99999` was HTTP 200 and `data: []`. FIPS `08001` was `MISSING` with `value` null.

## Compare geographies [#compare-geographies]

Repeat `geography_id` for one measure and period, up to 500 counties. There is no rank field. Do not send `sort` or `aggregation`.

#### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=08001&geography_id=36061&year=2023'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/observations",
    params={
        "measure_id": "case_count_floor_2023",
        "geography_type": "county",
        "geography_id": ["08001", "36061"],
        "year": "2023",
    },
    timeout=30.0,
)
response.raise_for_status()
body = response.json()
```

#### R

```
library(httr2)

observations <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(
    measure_id = "case_count_floor_2023",
    geography_type = "county",
    geography_id = c("08001", "36061"),
    year = "2023",
    .multi = "explode"
  ) |>
  req_timeout(30) |>
  req_perform()
observations_body <- resp_body_json(observations)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/observations");
url.searchParams.append("measure_id", "case_count_floor_2023");
url.searchParams.append("geography_type", "county");
url.searchParams.append("geography_id", "08001");
url.searchParams.append("geography_id", "36061");
url.searchParams.append("year", "2023");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: unknown = await response.json();
```

Order is measure id, county FIPS, period start, then observation id. A sample HTTP 200 page had FIPS `08001` `MISSING` with `value` null, then FIPS `36061` `OBSERVED` with a numeric `value`. Both shared `measure_id`, `unit` `cases`, year 2023, and `release_id`. Compare `value_state` before `value`. A county missing from `data` is not a zero. Follow `next_page_token` with the same filters. The checked 404 is an unknown measure path.

## Retrieve environmental context [#retrieve-environmental-context]

`environmental_context` is optional, only for reviewed environmental context, and descriptive weather only: no causal, disease-risk, or ML claim. `surveillance_context` appears only with published surveillance context on a supported slice. Omitted or null context carries no evidence-state, comparability, or lag claim, and it does not establish absence.

Read `coverage_status` first: `COMPLETE`, `PARTIAL_COVERAGE`, `SOURCE_MISSING`, or `OUT_OF_SOURCE_COVERAGE`, independent of `value_state`. `day_convention` is the labeled 24-hour period. `source_coverage_fraction` is monthly source-supported area over legal area. `valid_fraction_of_supported_area` is daily valid area over source-supported area, threshold 0.95. Areas may be numbers or strings. `geometry_version` names analysis geometry and has no polygons.

The catalog includes the January 2025 daily measures. Rejected parameters are in [Observation queries](https://onehealthatlas.org/docs/develop/observation-queries). Do not invent an id.

Land cover (`land_cover_context`) is published for `09110` and `51013` only. A true zero stays zero. An unselected county has no observation. Limitations are land-cover context only, with no Lyme causal or risk estimate.

#### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=nlcd_forest_area_share_county_year&geography_type=county&geography_id=09110&year=2025'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/observations",
    params={
        "measure_id": "nlcd_forest_area_share_county_year",
        "geography_type": "county",
        "geography_id": "09110",
        "year": "2025",
    },
    timeout=30.0,
)
response.raise_for_status()
body = response.json()
```

#### R

```
library(httr2)

observations <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(
    measure_id = "nlcd_forest_area_share_county_year",
    geography_type = "county",
    geography_id = "09110",
    year = "2025"
  ) |>
  req_timeout(30) |>
  req_perform()
observations_body <- resp_body_json(observations)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/observations");
url.searchParams.append("measure_id", "nlcd_forest_area_share_county_year");
url.searchParams.append("geography_type", "county");
url.searchParams.append("geography_id", "09110");
url.searchParams.append("year", "2025");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: unknown = await response.json();
```

That request returned HTTP 200, `value_state` `OBSERVED`, `unit` `fraction`, temporal grain `YEAR`, and `environmental_context` null. The land-cover row is not a weather object.

#### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/observations?measure_id=nlcd_forest_area_share_county_year&geography_type=county&geography_id=08001&year=2025'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/observations",
    params={
        "measure_id": "nlcd_forest_area_share_county_year",
        "geography_type": "county",
        "geography_id": "08001",
        "year": "2025",
    },
    timeout=30.0,
)
response.raise_for_status()
body = response.json()
```

#### R

```
library(httr2)

observations <- request("https://api.onehealthatlas.org/v1/observations") |>
  req_url_query(
    measure_id = "nlcd_forest_area_share_county_year",
    geography_type = "county",
    geography_id = "08001",
    year = "2025"
  ) |>
  req_timeout(30) |>
  req_perform()
observations_body <- resp_body_json(observations)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/observations");
url.searchParams.append("measure_id", "nlcd_forest_area_share_county_year");
url.searchParams.append("geography_type", "county");
url.searchParams.append("geography_id", "08001");
url.searchParams.append("year", "2025");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: unknown = await response.json();
```

FIPS `08001` is outside the selected geographies. The request returned HTTP 200 and `data: []`. The empty page is not a zero share.

## Read common response states [#read-common-response-states]

HTTP 200 can be a row, `data: []`, or a partial set. An absent county is not a zero. Read `value_state` first. HTTP 404 `RESOURCE_NOT_FOUND` is declared, and a legacy 404 can omit `code`. HTTP 400 is `INVALID_REQUEST`, `UNSUPPORTED_FILTER`, `UNSUPPORTED_STRATIFICATION`, or `QUERY_TOO_BROAD` above 10,000 results. The API never truncates results. HTTP 429 and 503 include `Retry-After`. Keep `request_id`. Codes and retries: [Errors and retries](https://onehealthatlas.org/docs/develop/errors). Limited rows stay `MISSING`, `SUPPRESSED`, `UNAVAILABLE`, or `NO_COUNTY_LINKED_RECORD`, with a null area or null context left null. `PARTIAL_COVERAGE`, `SOURCE_MISSING`, and `OUT_OF_SOURCE_COVERAGE` are coverage gaps.

## Reproduce and cite an observation [#reproduce-and-cite-an-observation]

Save one response so you can explain it after the release moves. See [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance#cite-from-discovery).

1. Save the request URL and the body, or a checksum.
2. Save `value_state`, `release_id`, `semantic_version`, methodology ids and versions, source id, lineage source id, dataset id, source vintage, and `limitations`.
3. Save the source, and the methodology when `methodology_id` is not null.
4. Save `meta.response_at` apart from `period_start`, `source_vintage`, and `source_published_at`. The response time shows when Atlas built the response. It does not show when the publisher last updated the data.

Name Atlas, `/v1`, measure, FIPS, period, `release_id`, `semantic_version`, retrieval time, publisher, and dataset. `provenance_ref` is not a literature citation. A `page_token` is not a citation. The URL is the current release, so the saved body is the record. A 400 body is not an observation. Cite a gap by `value_state` and the null or literal value.

## Download a county report [#download-a-county-report]

Use `GET /v1/counties/{fips}/report.pdf` for one county in the lower 48 states or the District of Columbia. `template` defaults to `county-v1`. A sample for FIPS `11001` returned HTTP 200. A scoring PDF is a review-priority report. An evidence PDF repeats observations, lineage, value states, and limitations. Parameters are in the [county report reference](https://onehealthatlas.org/docs/api-reference/counties#downloadCountyReport).

  

### county-v1 scoring

    `county-v1` scores the report. `dataset_version` is optional. These settings are optional:

    | Parameter                | Default | Bounds               |
    | ------------------------ | ------- | -------------------- |
    | `ecological_share`       | 65      | 40–85, multiple of 5 |
    | `smooth_k`               | 50      | 5–200                |
    | `missing_human_weakness` | 75      | 40–90, multiple of 5 |

    `period_start`, `period_end`, and `measure_id` are forbidden on `county-v1`. One of them returns HTTP `422` `application/problem+json`. Sample for FIPS `36061`:

    ```json
    {
      "type": "https://onehealthatlas.org/problems/http-422",
      "title": "Request failed",
      "status": 422,
      "detail": "Observation context requires county-v2.",
      "instance": "/v1/counties/36061/report.pdf",
      "request_id": "example-request-id",
      "errors": null
    }
    ```

    A pattern-matching unknown template returns HTTP `422` and detail `The requested county report template is not available.` Any other template returns HTTP `422` and detail `One or more request values are invalid.`

    Success is `application/pdf` and `Cache-Control: public, max-age=300, must-revalidate`. `If-None-Match` can return `304`.

    #### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/counties/36061/report.pdf?template=county-v1'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/counties/36061/report.pdf",
    params={
        "template": "county-v1",
    },
    timeout=30.0,
)
response.raise_for_status()
payload = response.content
```

#### R

```
library(httr2)

report_pdf <- request("https://api.onehealthatlas.org/v1/counties/36061/report.pdf") |>
  req_url_query(
    template = "county-v1"
  ) |>
  req_timeout(30) |>
  req_perform()
report_pdf_body <- resp_body_raw(report_pdf)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/counties/36061/report.pdf");
url.searchParams.append("template", "county-v1");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: ArrayBuffer = await response.arrayBuffer();
```
  

  

### county-v2 evidence

    `county-v2` requires `dataset_version` (the observation `release_id`), exact `period_start` and `period_end`, and 1–20 distinct `measure_id` values, repeated or comma-separated. A missing release, period, or measure list, a duplicate id, more than 20 ids, or a reversed period returns HTTP `422`. Sample:

    ```json
    {
      "type": "https://onehealthatlas.org/problems/http-422",
      "title": "Request failed",
      "status": 422,
      "detail": "county-v2 requires release, exact period and distinct measures.",
      "instance": "/v1/counties/36061/report.pdf",
      "request_id": "example-request-id",
      "errors": null
    }
    ```

    An unresolved `dataset_version` returns HTTP `404`, detail `County or dataset release not found`. An unknown measure returns HTTP `404` `RESOURCE_NOT_FOUND`, detail `Measure has no published county observations.` Missing or mismatched provenance returns HTTP `503`. A report over the resource limit returns HTTP `413`.

    County-v1 score settings still apply. A sample that also sent `ecological_share=65` returned HTTP `200` and `Cache-Control: no-store`. Success uses `Cache-Control: no-store`. The service revalidates context before a cached response or `304`. `ETag` remains. Replace the release id below with the `release_id` you cite.

    #### curl

```
curl -fsS 'https://api.onehealthatlas.org/v1/counties/36061/report.pdf?template=county-v2&dataset_version=governed-2026-10-15-january-climate-prod&period_start=2023-01-01&period_end=2023-12-31&measure_id=case_count_floor_2023'
```

#### Python

```
import httpx

response = httpx.get(
    "https://api.onehealthatlas.org/v1/counties/36061/report.pdf",
    params={
        "template": "county-v2",
        "dataset_version": "governed-2026-10-15-january-climate-prod",
        "period_start": "2023-01-01",
        "period_end": "2023-12-31",
        "measure_id": "case_count_floor_2023",
    },
    timeout=30.0,
)
response.raise_for_status()
payload = response.content
```

#### R

```
library(httr2)

report_pdf <- request("https://api.onehealthatlas.org/v1/counties/36061/report.pdf") |>
  req_url_query(
    template = "county-v2",
    dataset_version = "governed-2026-10-15-january-climate-prod",
    period_start = "2023-01-01",
    period_end = "2023-12-31",
    measure_id = "case_count_floor_2023"
  ) |>
  req_timeout(30) |>
  req_perform()
report_pdf_body <- resp_body_raw(report_pdf)
```

#### TypeScript

```
const url = new URL("https://api.onehealthatlas.org/v1/counties/36061/report.pdf");
url.searchParams.append("template", "county-v2");
url.searchParams.append("dataset_version", "governed-2026-10-15-january-climate-prod");
url.searchParams.append("period_start", "2023-01-01");
url.searchParams.append("period_end", "2023-12-31");
url.searchParams.append("measure_id", "case_count_floor_2023");
const response = await fetch(url);
if (!response.ok) {
  throw new Error(`Atlas HTTP ${response.status}`);
}
const body: ArrayBuffer = await response.arrayBuffer();
```

# Evidence, provenance, and uncertainty (https://onehealthatlas.org/docs/evidence-and-uncertainty)

> Learn how to read One Health Atlas signals, distinguish missing evidence from low observed signal, and decide what remains unknown.

Epidemiologists use this page to read a signal, separate missing evidence from a low observed value, and name what the release leaves unknown.

One Health Atlas helps you find places where available tick, vector, and related One Health evidence may warrant review. A signal starts an investigation question.

#### Interpret with care

  Atlas does not provide clinical advice, person-level exposure or disease-risk
  predictions, causal proof, guaranteed outbreak forecasts, or an automatic
  public-health decision.

## What an Atlas output means [#what-an-atlas-output-means]

| Term                        | Meaning                                                                                                                                           | How to use it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Observed signal**         | A value or status from an approved source, such as a published county-linked human-surveillance value, tick status, or pathogen detection status. | Name what the source reported, with its geography and time or vintage.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Derived measure**         | A value calculated from released inputs, such as a county review score or evidence-completeness percentage.                                       | Use it to focus review. It is not a diagnosis, a complete disease-burden estimate, a confidence interval, or individual risk.                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Contextual evidence**     | Background that helps you read a result, such as population, access, rurality, habitat, climate, or scientific context.                           | Keep its own source, coverage, geography, vintage, and limitations.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Modeled output**          | An estimate, forecast, classification, or other model result, rather than a directly published observation.                                       | Require the model version, inputs, validation, uncertainty, and human review. The current public explorer does not promise an authoritative modeled outbreak or individual-risk output. Signed-in Atlas Explorer can show a published model-assisted surveillance review priority when its release matches the selected evidence release. Atlas withholds a tier from a different release, and withholds it when the governed release for the page is not known. That tier is review prioritization, not disease risk or predicted incidence. |
| **Investigation candidate** | A geography or pattern selected because the available evidence, or an evidence gap, merits a bounded follow-up question.                          | State what to check next and what evidence could change the interpretation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |

[Atlas Explorer](https://onehealthatlas.org/explore) labels the county review score and evidence completeness as analytical signals. The active release is shown in the application. [Current capabilities](https://onehealthatlas.org/docs/current-capabilities) describes the release boundary.

## Start with provenance [#start-with-provenance]

Record these facts before you interpret a signal:

* **Source and publisher:** who produced or published the input, and the link or citation.
* **Release and vintage:** the active Atlas release and the source observation, reporting, or publication period.
* **Geography:** county, state, sampling location, boundary, and records not allocated to a county.
* **Method and version:** the methodology, calculation, or model version behind the displayed value.
* **Freshness and processing context:** source retrieval, release generation, and data load times when the application provides them.
* **Limitations:** coverage, missingness, suppression, comparability, uncertainty, and known data-quality constraints.

The evidence snapshot summarizes source periods, scoring methodology, and processing times. Exact IDs sit behind **Inspect provenance**. A generated date is the release, not necessarily the observation date. See [Releases and methodology labels](https://onehealthatlas.org/docs/releases-and-methodology).

A later governed source can use the same concepts and still keep its publisher, vintage, geography, period, transformation, and limitations. A shared model does not make two sources equivalent. Missing, suppressed, unavailable, and uncertain inputs stay visible as the states below. See [sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence).

## Read value states carefully [#read-value-states-carefully]

These states answer different questions. Keep them separate.

| State                               | What it can mean                                                                         | What you should say                                                                        |
| ----------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| **Observed or published**           | A source published a value or status for the stated geography and period.                | “This source reports…” and include the source context.                                     |
| **Zero**                            | The source explicitly reported zero for the stated measure and period.                   | “The published value is zero for this release.” Coverage and method still bound that zero. |
| **Missing or no record**            | No county-linked row or value is available in the release.                               | “No county record is available.” Do not call this absence.                                 |
| **Suppressed or privacy-protected** | A publisher withheld or transformed a value to protect privacy or meet a reporting rule. | Name the protection. Do not reconstruct a precise count.                                   |
| **Unavailable or not reported**     | The source, field, geography, or period is not in this release.                          | Treat it as an evidence gap, not as zero or no activity.                                   |
| **Stale**                           | The vintage or retrieval is too old for the question.                                    | Name the time limitation and confirm the current source.                                   |
| **Sparse or incomplete**            | Coverage, sampling, reporting, or scored inputs are limited.                             | State what the records can and cannot support.                                             |
| **Disagreement**                    | Two sources or signals point in different directions.                                    | Keep both observations and make the disagreement the question.                             |

Atlas Explorer uses “No records,” “Unavailable,” and completeness indicators in context. “No records” describes published evidence availability. It does not establish that ticks, pathogens, or disease are absent.

After a successful response, the workspace uses **Available** (including a published zero), **Limited** (a signal plus a documented constraint), and **Unavailable** (absent or out of scope, shown as that word rather than zero). Loading and error are not the Unavailable label. See [the professional workspace](https://onehealthatlas.org/docs/professional-workspace).

## Low signal is not the same as insufficient surveillance [#low-signal-is-not-the-same-as-insufficient-surveillance]

A low observed signal means a source reported a low value or status under its method and coverage. **Insufficient surveillance** means the evidence is too incomplete, unrepresentative, outdated, or incomparable to tell whether the underlying activity is low.

A county with no county-linked published Lyme case record may have zero cases, suppressed records, unallocated records, a reporting-boundary mismatch, or another publication limitation. Atlas does not treat that missing record as zero by default. A tick table with no county record does not prove ticks are absent.

When evidence is incomplete, use the safer statement: “The current release does not establish this.” Then name the source or coverage check that would tell you more.

## Why signals may not agree [#why-signals-may-not-agree]

Inputs can differ in design, boundaries, periods, definitions, coverage, and suppression. That does not prove one source caused another. Compare provenance first. Do not average away a disagreement.

## Read the evidence before acting [#read-the-evidence-before-acting]

Name the question and the output. Check provenance, value state, and comparability. State what remains unknown. Choose source validation, local review, a time-bounded analysis, expert consultation, or no action. Record the handoff with the [investigation workflows](https://onehealthatlas.org/docs/investigation-workflows).

[Atlas Explorer](https://onehealthatlas.org/explore) shows the map and the county list for the same release. If the map is unavailable, use the list. For an AI-enabled experience, keep the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics) in view.

# FAQ and troubleshooting (https://onehealthatlas.org/docs/faq-and-troubleshooting)

> Get practical answers about One Health Atlas interpretation, loading, filters, data availability, and the public HelpDocs experience.

Epidemiologists use this page to answer a common interpretation or workspace question, then open the guide that owns the longer explanation.

## Product and interpretation [#product-and-interpretation]

### What is One Health Atlas? [#what-is-one-health-atlas]

Atlas is an **Epidemiologist Decision Intelligence Platform** for Lyme disease and other tick-borne diseases. It brings One Health evidence together so you can see what is happening and decide what deserves review. Start with [What is One Health Atlas?](https://onehealthatlas.org/docs/what-is-atlas), then open [Atlas Explorer](https://onehealthatlas.org/explore).

### Is the current Atlas score an AI prediction? [#is-the-current-atlas-score-an-ai-prediction]

No. It is a transparent, adjustable follow-up-priority calculation over released inputs. It is not a predictive model, diagnosis, disease-burden estimate, causal conclusion, or individual-risk prediction. See [evidence guidance](https://onehealthatlas.org/docs/evidence-and-uncertainty).

### Does Atlas connect to an electronic health record or a clinical laboratory? [#does-atlas-connect-to-an-electronic-health-record-or-a-clinical-laboratory]

No. The current release is open public data. A future adapter is not a live EHR connection, a TEFCA connection, patient-level data, or a production clinical-laboratory feed. Read [sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence).

### Does a high score mean that a county is high risk? [#does-a-high-score-mean-that-a-county-is-high-risk]

No. The released inputs or evidence gaps made the county a review candidate under the displayed methodology. Check source, vintage, geography, method, completeness, limitations, and uncertainty first.

### Why does Atlas show a signal when evidence is missing? [#why-does-atlas-show-a-signal-when-evidence-is-missing]

Missing can be a reason to review a question. Missing is not zero, and no record is not absence. A low observed value and insufficient surveillance are different states. Read [evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).

### Can Atlas tell me whether an outbreak will happen? [#can-atlas-tell-me-whether-an-outbreak-will-happen]

No. Atlas does not guarantee outbreak prediction, causation, individual risk, diagnosis, or automatic public-health action. It helps you name a bounded investigation question.

### What does “AI-enabled” mean today? [#what-does-ai-enabled-mean-today]

It is the direction: organize, compare, synthesize, or explain governed evidence with sources and limits. The public score is deterministic. When literature chat is enabled, `/assistant` calls the model-backed literature service and returns cited evidence. When it is off, the assistant says the service is unavailable. See [AI-enabled decision intelligence](https://onehealthatlas.org/docs/ai-enabled-decision-intelligence) and the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics).

## Using Atlas [#using-atlas]

### The Atlas is loading or says it is temporarily unavailable. What should I do? [#the-atlas-is-loading-or-says-it-is-temporarily-unavailable-what-should-i-do]

Use **Try again** or refresh once. If it continues, record the time, route, and any release or request reference. A loading or error state is not evidence about a county.

### No counties match my filters. Did Atlas find no risk? [#no-counties-match-my-filters-did-atlas-find-no-risk]

No. The filters may exclude every county. Review state, name or FIPS search, evidence filter, view, and score controls, then use **Clear filters**. An empty result is not a public-health conclusion.

### The map is unavailable or difficult to use. Can I still review results? [#the-map-is-unavailable-or-difficult-to-use-can-i-still-review-results]

Yes. In [Atlas Explorer](https://onehealthatlas.org/explore), use the county list and the text summaries. The list is the non-map path.

### How do I compare counties? [#how-do-i-compare-counties]

In [Compare](https://onehealthatlas.org/compare), choose two counties from the same release. The comparison is descriptive. Do not treat a difference as causation or individual risk. Atlas does not offer a five-county comparison page.

### Why is a county’s case value not shown as zero? [#why-is-a-countys-case-value-not-shown-as-zero]

The source may have no county-linked record, suppressed or unallocated records, or no report for that geography or period. Atlas does not convert missing evidence into zero. A published zero is still bounded by the source and method.

### Why can two signals point in different directions? [#why-can-two-signals-point-in-different-directions]

Sources can differ in boundaries, definitions, sampling, periods, publishers, and update schedules. Compare provenance first. Do not average away the difference.

### How do I share what I reviewed? [#how-do-i-share-what-i-reviewed]

Share the URL or export, and record the release, methodology version, geography, filters, and limitations. A URL preserves supported analytical state. A later release may differ.

## HelpDocs and policy [#helpdocs-and-policy]

### How do I find the right documentation page? [#how-do-i-find-the-right-documentation-page]

Open the [documentation home](https://onehealthatlas.org/docs) and search. **Docs** opens this site in a new tab and leaves the workspace URL on the original tab.

### I am in the professional workspace. Which page should I use? [#i-am-in-the-professional-workspace-which-page-should-i-use]

Use [Atlas Explorer](https://onehealthatlas.org/explore), [Compare](https://onehealthatlas.org/compare), and [Ask Atlas](https://onehealthatlas.org/askatlas) for their own jobs. Saved chats stay in this browser. The request is a message plus optional conversation history. There is no Structured mode and no Both mode. Feed lists trusted-source items. An empty, disabled, or failed feed is its own state. Settings saves a default jurisdiction. See [the professional workspace](https://onehealthatlas.org/docs/professional-workspace).

### Can I create an API key in Settings? [#can-i-create-an-api-key-in-settings]

No. Public reads do not use an API key, and Settings does not generate one. Use [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access), the [developer quickstart](https://onehealthatlas.org/docs/develop/quickstart), and the [OpenAPI schema](https://api.onehealthatlas.org/openapi.json). Production MCP reads bounded public evidence without a key. The September 2026 smoke-only development receipt is historical. That service is not a live EHR connection.

### Why did my default jurisdiction not change the Review page I already had open? [#why-did-my-default-jurisdiction-not-change-the-review-page-i-already-had-open]

A saved default applies the next time Atlas Explorer opens without `scope` or `county`. An address that already names a place stays as it is. Optional role, organization, and job title can stay empty.

### Where are privacy and AI policy commitments documented? [#where-are-privacy-and-ai-policy-commitments-documented]

Use the [Privacy page](https://onehealthatlas.org/privacy) and the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics). HelpDocs links to those sources. It does not replace or expand them.

### Can HelpDocs change a data value or score? [#can-helpdocs-change-a-data-value-or-score]

No. HelpDocs explains the release. It does not edit source data, change methodology, or authorize an interpretation.

### What if an AI or analytical explanation conflicts with the evidence panel? [#what-if-an-ai-or-analytical-explanation-conflicts-with-the-evidence-panel]

Prefer the governed source and the in-product provenance. Record the disagreement and ask a qualified reviewer to validate it. Treat an unsupported explanation as unavailable. Keep the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics) in view.

# Glossary (https://onehealthatlas.org/docs/glossary)

> Definitions for value_state, release, vintage, FIPS, measure, indicator, methodology, provenance, limitation, and availability.

These definitions use the public API's own sentences. Each entry links to the guide that explains the term in depth.

## availability

Whether Atlas has published results for the selection. It does not describe biological presence.

[Observation queries](https://onehealthatlas.org/docs/develop/observation-queries)

## denominator

What the value is measured against, such as a population. `null` means Atlas supplies no denominator; do not infer one.

[Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

## evidence

Compact pointer to the Atlas resource that backs this observation.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## FIPS

Five-digit county FIPS code, with leading zeros.

[Geography](https://onehealthatlas.org/docs/develop/geography)

## generated_at

When the release was built, with a UTC offset. It is not when the publishers last updated their data.

[Releases and methodology](https://onehealthatlas.org/docs/releases-and-methodology)

## geography_id

FIPS code with leading zeros: five digits for a county, two for a state. Example: `08001`.

[Geography](https://onehealthatlas.org/docs/develop/geography)

## geography_type

Kind of place. `county` uses five-digit FIPS and `state` uses two-digit FIPS.

[Geography](https://onehealthatlas.org/docs/develop/geography)

## indicator

A public-health concept that groups related measures.

[Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

## limitations

Factual notes on what the result does not show or where its evidence is bounded. Keep them with the value when you display or store it.

[Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty)

## loaded_at

When Atlas loaded the release for serving, with a UTC offset. It is not when the publishers last updated their data.

[Releases and methodology](https://onehealthatlas.org/docs/releases-and-methodology)

## measure

One variable you can query, such as a case count. It belongs to one indicator.

[Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

## methodology

The method Atlas used to produce or interpret a measure's values.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## methodology_id

Identifies the methodology. Use it with `/v1/methodologies/{methodology_id}`.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## next_page_token

Send this value as `page_token` to get the next page, with the same filters. Do not parse it.

[REST API](https://onehealthatlas.org/docs/develop/rest)

## observation

One value for a measure, a county, and a period, with its state and provenance.

[Observation queries](https://onehealthatlas.org/docs/develop/observation-queries)

## observation_id

Stable identifier of the observation. It also serves as the provenance reference.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## page_token

Opaque next_page_token; retain query filters and release.

[REST API](https://onehealthatlas.org/docs/develop/rest)

## provenance_ref

Identifies the provenance record for this observation. It is not a literature citation.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## release

The data release this record came from.

[Releases and methodology](https://onehealthatlas.org/docs/releases-and-methodology)

## release_id

Identifies the published data release the result came from. Results from different releases are not directly comparable.

[Releases and methodology](https://onehealthatlas.org/docs/releases-and-methodology)

## response_at

When Atlas built this response, in UTC. It is not when the publisher last updated the data and not when the observation was made.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## semantic_version

Version of the data contract the value follows. It is separate from the API version and the application version.

[REST API](https://onehealthatlas.org/docs/develop/rest)

## source

The organization and dataset a value came from.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## source_id

Public key of the source resource. It differs from `lineage_source_id` and `dataset_id`.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## source_vintage

Reference year or period of the source dataset, such as `ACS 2018-2022`. It is not an annual value.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

## strata

Breakdown the value applies to, such as an age group. Empty when the release has no strata.

[Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

## temporal_grain

Time interval the value covers, such as `YEAR` or `DAY`.

[Observation queries](https://onehealthatlas.org/docs/develop/observation-queries)

## unit

Unit of `value`, such as `count` or `mm`.

[Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources)

## value

The reported value. `null` never means zero.

[Value states](https://onehealthatlas.org/docs/develop/errors#value-states)

## value_state

How to read `value`. Never treat a `null` value as zero.

[Value states](https://onehealthatlas.org/docs/develop/errors#value-states)

## vintage

Reference year or period of the source dataset.

[Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

# Investigation workflows (https://onehealthatlas.org/docs/investigation-workflows)

> Use One Health Atlas to move from a surveillance question to a bounded, evidence-backed investigation next step.

Epidemiologists use this page to turn a broad surveillance question into a reviewable next step in the signed-in workspace.

[Atlas Explorer](https://onehealthatlas.org/explore) holds the operating picture, county evidence, and suggested follow-up. [Compare](https://onehealthatlas.org/compare) holds two counties. The [professional workspace](https://onehealthatlas.org/docs/professional-workspace) guide lists the six destinations. For status, see [current capabilities](https://onehealthatlas.org/docs/current-capabilities). For the product model, see [the decision-support workflow](https://onehealthatlas.org/docs/atlas-workflow).

#### Interpret with care

  A rank or score focuses attention. It does not mean the county has the highest
  disease burden, that missing evidence means zero, or that a cause has been
  identified.

  
    ## 1. Find a geography or signal for review [#1-find-a-geography-or-signal-for-review]

    **Question:** Where should the team look first in this release?

    1. Open [Atlas Explorer](https://onehealthatlas.org/explore) and choose the United States, a state, or a county.
    2. Read the map and the county list. Open county evidence. Suggested follow-up is on that page.
    3. If the map is unavailable, use the county list. It is the non-map path.
    4. Record the release, methodology version, geography, and the evidence that made the signal worth reviewing.

    **Next step:** Name the source and time period to validate before you request follow-up.
  

  
    ## 2. Compare a county with surrounding or peer geographies [#2-compare-a-county-with-surrounding-or-peer-geographies]

    **Question:** Does this signal also appear in another county in the same release?

    1. Open [Compare](https://onehealthatlas.org/compare) and choose two counties. The page accepts two.
    2. Read each value with its source, release, method, and completeness.
    3. Record why you selected each county.

    **Evidence check:** The comparison is descriptive. A score difference is not causation, a statistical test, or a person-level risk difference. Reporting practice, geography, vintage, and missingness can make a difference hard to compare.

    **Next step:** State what new evidence would change the interpretation.
  

  
    ## 3. Inspect evidence before deciding what to investigate next [#3-inspect-evidence-before-deciding-what-to-investigate-next]

    **Question:** What supports this result, and what remains uncertain?

    1. Open county evidence in [Atlas Explorer](https://onehealthatlas.org/explore).
    2. Read **source, release, and methodology context**.
    3. Keep “no record available” distinct from “zero.”
    4. Write the gap with the question. Example: “The county is a review candidate in release X; validate the human-disease source vintage and vector coverage before interpreting the signal.”

    **Evidence check:** Measures can come from different publishers, schedules, years, and scales. A result is only as interpretable as its provenance and limitations.

    **Next step:** Ask a qualified reviewer to validate local meaning, then choose more analysis, field investigation, coordination, or no action.
  

## Record and share the review [#record-and-share-the-review]

Record the URL and date, release id, methodology version, geography, filters, score assumptions, provenance, limitations, and the next decision. The URL preserves supported analytical state. It does not reproduce a later release.

Keep the [AI Ethics commitments](https://onehealthatlas.org/ai-ethics) nearby for an experimental experience, and use [current capabilities](https://onehealthatlas.org/docs/current-capabilities) to separate a released behavior from a planned one. Your organization remains accountable for interpretation, validation, and action.

# Professional workspace (https://onehealthatlas.org/docs/professional-workspace)

> Use the signed-in workspace for Atlas Explorer, Compare, Ask Atlas, Feed, Settings, and Docs.

Epidemiologists use this page to open the signed-in workspace, keep a shared review address, and read each evidence state as its own state.

The navigation has six destinations: **Atlas Explorer**, **Compare**, **Ask Atlas**, **Feed**, **Settings**, and **Docs**. It also opens **Data Provenance** and **Resources**. Atlas Explorer is the map, the county list, expandable county evidence, and suggested follow-up on one address. Compare and Ask Atlas stay dedicated pages. There is no separate Review, Explore, Investigate, or Action destination, and Ask Atlas does not open a side panel.

#### Interpret with care

  A review-priority signal focuses follow-up. It is not a diagnosis, a
  disease-burden estimate, or an individual risk.

Sign-in is required. A signed-out visit to a workspace address goes to sign-in and comes back to the address you asked for. An older bookmark is then opened as the matching Atlas Explorer state. Reading these docs does not require a sign-in.

Use [current capabilities](https://onehealthatlas.org/docs/current-capabilities) for what is released, planned, experimental, or not supported.

## Open Docs from the workspace [#open-docs-from-the-workspace]

**Docs** opens this site in a new browser tab. The workspace tab keeps its page and URL, including geography, release, and compare context. Docs opens at the documentation home. Search and the sidebar move you through this reference. A heading link stays on that heading after you reload the documentation tab. Return to the original workspace tab to resume the review.

## Workspace destinations [#workspace-destinations]

| Destination     | Address                              | Status            | What you can do                                                                                        |
| --------------- | ------------------------------------ | ----------------- | ------------------------------------------------------------------------------------------------------ |
| Atlas Explorer  | [/explore](https://onehealthatlas.org/explore)                 | Available now     | See a national or one-state picture, then open county evidence or suggested follow-up on that address. |
| Compare         | [/compare](https://onehealthatlas.org/compare)                 | Available now     | Compare two counties on aligned measures. The page does not rank a winner.                             |
| Ask Atlas       | [/askatlas](https://onehealthatlas.org/askatlas)               | Experimental/demo | Ask reviewed-literature questions when that service is enabled.                                        |
| Feed            | [/app/feed](https://onehealthatlas.org/app/feed)               | Available now     | Scan recent items from approved trusted sources. The sidebar label is Research & News.                 |
| Resources       | [/resources](https://onehealthatlas.org/resources)             | Available now     | Open CDC guidance, state programs, and regional centers.                                               |
| Data Provenance | [/data-provenance](https://onehealthatlas.org/data-provenance) | Available now     | Read where the current release's evidence comes from.                                                  |
| Settings        | [/app/settings](https://onehealthatlas.org/app/settings)       | Available now     | Save a default jurisdiction and optional profile details.                                              |
| Docs            | [/docs](https://onehealthatlas.org/docs)                       | Available now     | Open this reference in a new tab.                                                                      |

`/app/review`, `/app/compare`, and `/app/assistant` permanently open `/explore`, `/compare`, and `/askatlas`. Supported details on those addresses stay. Older addresses such as `/overview`, `/geographic_explorer`, `/investigate`, `/app/explore`, `/app/investigate`, and `/app/action` are not extra destinations. After sign-in they open Atlas Explorer. A valid county on an old investigation address opens county evidence. A valid county on an old action address opens suggested follow-up. An address with no county opens that scope's picture. On a state picture, Atlas Explorer then selects the first published review candidate and writes that county into the address. An address that names a county which does not validate opens with `selection=required` and does not substitute another county.

One saved evidence-brief address, `plan=evidence-brief` on `/app/action`, still opens that brief. It is not a navigation destination. **Return to county evidence** goes back to Atlas Explorer with the county, scope, release, and period that brief was using. Surveillance planning is not a released workflow.

The footer links to the [Privacy page](https://onehealthatlas.org/privacy) and to [AI / Responsible Use](https://onehealthatlas.org/ai-ethics).

## How context travels [#how-context-travels]

| Detail      | What it selects                                                                                                             |
| ----------- | --------------------------------------------------------------------------------------------------------------------------- |
| **scope**   | United States or one state.                                                                                                 |
| **county**  | One five-digit county FIPS code.                                                                                            |
| **compare** | Up to two county FIPS codes.                                                                                                |
| **dataset** | The governed release id, when the page has one.                                                                             |
| **period**  | A calendar date, when the page supports one.                                                                                |
| **mode**    | Atlas Explorer only. Omit it for the map and list. `evidence` opens county evidence. `follow-up` opens suggested follow-up. |

Atlas Explorer, Compare, and Ask Atlas keep the details that destination accepts. A compare pair stays with the county when you open county evidence. Feed, Resources, Data Provenance, and Settings do not carry this context. Docs leaves it on the original workspace tab. Sort and page position stay on Atlas Explorer browse.

## Atlas Explorer [#atlas-explorer]

Choose **United States** or one state. National scope is a bounded picture. It is not a ranking of every U.S. county. The map and the county list describe the same release. Use the list when the map is unavailable. **View county evidence** stays on this address. **Back to map** returns to the map and list. **Compare this county** opens Compare. **Ask Atlas** opens the dedicated page. **Suggested follow-up** reads that county's review result. It does not start an intervention.

A saved default jurisdiction applies only when the address has no `scope` or `county`. An address that already names a place stays there. Changing the default does not rewrite an open page and does not hide other places.

### Loading, empty, unavailable, and error [#loading-empty-unavailable-and-error]

| State           | What it means                                                                                                             |
| --------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Loading**     | Request in progress. Not an evidence label and not a score.                                                               |
| **Empty**       | No row returned. Atlas does not invent a county or a next step.                                                           |
| **Available**   | Governed inputs exist, including a published zero.                                                                        |
| **Limited**     | A signal exists, and a documented limitation constrains how to read it.                                                   |
| **Unavailable** | Absent, invalid, or out of scope. Atlas shows Unavailable, not zero.                                                      |
| **Unknown**     | Stays unknown. Not inferred from a source date.                                                                           |
| **Error**       | Request failed. Retry does not create Unavailable evidence. A failed refresh does not keep the previous facts as current. |

## Compare [#compare]

Choose **First county** and **Second county**. Each row keeps that county's unit, period, and availability. A withheld comparison explains why the values were not treated as a simple difference. The page does not produce a winner, a combined score, or a rank. **View first county evidence** and **View second county evidence** open Atlas Explorer. **Ask Atlas about this comparison** opens Ask Atlas. Opening Ask Atlas from Compare does not ask the service to compare counties.

A loading list, a failed county list, and failed evidence are request states. Feed can be empty, disabled, or failed. It does not send alerts or keep a saved-article library. Data Provenance opens without a sign-in. Provenance beside a result stays on that result.

## Settings [#settings]

Settings at [/app/settings](https://onehealthatlas.org/app/settings) stores a profile for future Atlas Explorer sessions.

* **Default jurisdiction** is **United States** or one state from the current Atlas state list.
* **Role**, **organization**, and **job title** are optional and can stay empty. Roles include preferring not to say, general public citizen, and district, state, state-director, and national epidemiologist roles.
* **Save profile** confirms the default only after the account profile accepts it. If not, the form keeps what you typed and says the save was not confirmed. The default applies the next time Atlas Explorer opens without a scope in the URL.
* **Sign out**, **Export**, and **Remove all data** are the account actions. Privacy stays on the [Privacy page](https://onehealthatlas.org/privacy).

Settings does not generate or revoke an API key, and it does not manage saved comparisons, saved investigations, or alerts. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access).

## Ask Atlas [#ask-atlas]

**Ask Atlas** opens the [Ask Atlas page](https://onehealthatlas.org/askatlas). It does not open a side panel or a dialog. Atlas Explorer and Compare open this page. They do not display the previous county or comparison. The county, comparison, or release on the previous page is not sent with the question. Old `page_ref` links open this page without that reference.

Enabled literature chat shows cited evidence or an explicit unavailable-evidence outcome. When chat is off, Ask Atlas is unavailable and the other pages stay usable. That is a service state, not missing county evidence. Ask Atlas does not change filters or maps, run a workflow, or offer Structured or Both mode. Opening Ask Atlas from Compare does not ask the service to compare counties. History stays in this browser for up to 30 days. [/assistant](https://onehealthatlas.org/assistant) is a separate public route. See [AI-enabled decision intelligence](https://onehealthatlas.org/docs/ai-enabled-decision-intelligence).

## County PDF [#county-pdf]

A county PDF is offered when the measures share one county, release, and period, and Atlas can verify the file against the county, observations, sources, period, and caveats on screen. If that check cannot be completed, the PDF is unavailable. That is not a statement that the report contains none of a period, and it is not a claim that the county has no evidence. A failed download stays an error. The file is not reused from an earlier attempt. Read [evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty) before you treat a label as a conclusion.

# Releases and methodology labels (https://onehealthatlas.org/docs/releases-and-methodology)

> Plain-language definitions for Atlas release snapshots, source periods, processing times, and scoring methodology versions.

Epidemiologists use this page to explain an evidence snapshot, a source period, and a methodology version without mixing those clocks.

Atlas shows a short **evidence snapshot** on [Atlas Explorer](https://onehealthatlas.org/explore) and [Compare](https://onehealthatlas.org/compare) before technical release identifiers. Technical identifiers sit inside **Inspect provenance**.

## Release semantics [#release-semantics]

| Label                                  | What it means                                                                                |
| -------------------------------------- | -------------------------------------------------------------------------------------------- |
| **Evidence snapshot**                  | Geography in scope, source periods, and the county-review methodology version.               |
| **Selected release**                   | The county bundle on screen. An assembly date is not an observation date.                    |
| **Evidence scope**                     | Counties or geographies this release includes or excludes.                                   |
| **Source periods**                     | Upstream observation, reporting, or publication periods. Not when Atlas built the release.   |
| **Scoring methodology**                | Versioned rules for the county review score. Separate from source periods and assembly time. |
| **Release generated**                  | When Atlas finished the bundle. Not a case date.                                             |
| **Release loaded**                     | When the public API served this release. It may differ from generation time.                 |
| **Methodology version (technical ID)** | Scoring-rule id. Missing metadata shows **Unavailable**. The app does not infer a version.   |
| **Release ID (technical ID)**          | Bundle id for links, exports, and support.                                                   |

Open **Inspect provenance** on Atlas Explorer for exact IDs and timestamps.

## How county scoring works [#how-county-scoring-works]

The county review score is a **derived follow-up-priority measure**. It highlights where published Lyme surveillance, tick and pathogen evidence, and selected contextual inputs may warrant review together. It is not a diagnosis, individual exposure estimate, proof of underreporting, or forecast of future cases.

**Deterministic scoring methodology** applies fixed, inspectable rules. **Semantic scoring methodology** uses a newer ruleset named in metadata. Compare counties inside one release and one methodology version. Keep source periods, release generated or loaded, and methodology version separate. An absent or invalid value shows **Unavailable**. Atlas does not invent a retrieval date.

For value states and uncertainty language, continue with [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty). [Sources and canonical evidence](https://onehealthatlas.org/docs/sources-and-canonical-evidence) explains how a future governed source is intended to keep this same source period, method version, and provenance when it is normalized.

# Sources and canonical evidence (https://onehealthatlas.org/docs/sources-and-canonical-evidence)

> How Atlas is designed to adapt governed sources into one canonical evidence model for the Web product, REST API, and MCP, and which of that design is released.

Epidemiologists, REST clients, and MCP clients use this page to see how a governed source becomes canonical Atlas evidence, and which of that design is released today.

Public-health evidence arrives in different systems, formats, vintages, terminologies, geographies, and publication processes. Atlas is designed so a new governed source can be added without a separate data model for every source.

The intended path is:

`source system → source-specific adapter → terminology/semantic mapping → canonical Atlas evidence and provenance → REST API / MCP / product workflows`

#### Interpret with care

  A shared model keeps provenance and uncertainty attached. It is not a claim
  that two sources measured the same thing, covered the same people or ticks, or
  can be compared without their limitations.

## What is released and what is intent [#what-is-released-and-what-is-intent]

Use the same status labels as [current capabilities](https://onehealthatlas.org/docs/current-capabilities).

| Capability                                                                                         | Status        | What you can rely on                                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Open public evidence in the current release                                                        | Available now | Observations, sources, and methodologies on `/v1`. See [API, MCP, and access](https://onehealthatlas.org/docs/api-mcp-and-access), the [API reference](https://onehealthatlas.org/docs/api-reference), and [evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty).                                                                                                                                                                            |
| Source-specific adapters for later governed sources                                                | Planned       | One adapter per source. Patterns include CSV, XLSX, an API, a scientific file, and other governed inputs. A file type is not a released source.                                                                                                                                                                                                                                                            |
| CDC Lyme/TBRD Message Mapping Guide (MMG) and PHIN VADS                                            | Planned       | Direction for surveillance concepts where a mapping uses them. Not a certification.                                                                                                                                                                                                                                                                                                                        |
| USCDI, FHIR R4 / US Core, Bulk FHIR, and LOINC                                                     | Planned       | Direction for a future authorized clinical or laboratory source. Not a released feed.                                                                                                                                                                                                                                                                                                                      |
| Live EHR connectivity, TEFCA, patient-level data, PHI, or production clinical-laboratory ingestion | Not supported | Naming a standard does not grant access, authority, certification, or a connection.                                                                                                                                                                                                                                                                                                                        |
| Bounded anonymous MCP evidence reads                                                               | Available now | `atlas_discover_indicators`, `atlas_get_county_profile`, and `atlas_get_evidence_provenance` return public evidence. `atlas_resolve_geographies` resolves county identity and does not establish that evidence exists. See the [public evidence tool contract](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/public-evidence-tools.md). |

The current MVP is open-data-first. Each result still names its source. This page does not publish a second source catalog.

`server_status` and `atlas_smoke_test` are not in the current production tool list. The September 2026 receipt that covered smoke tools only is historical. See [MCP clients](https://onehealthatlas.org/docs/develop/mcp-clients) and [Public evidence tools](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/adr/0003-public-evidence-tools.md). Those tools are not a live EHR, TEFCA, patient-level, PHI, or production clinical-laboratory connection.

## How a source becomes Atlas evidence [#how-a-source-becomes-atlas-evidence]

1. **Source system.** The publisher's system, file, or feed.
2. **Source-specific adapter.** A governed adapter reads that source. It is not a universal parser and not permission to collect the source.
3. **Terminology and semantic mapping.** A mapping annotates source meaning. It keeps the original source identity, version, and limitations.
4. **Canonical Atlas evidence and provenance.** Readers receive governed observations, sources, and methodologies, with provenance attached.
5. **REST API, MCP, and product workflows.** Consumers use that canonical evidence where the public contract supports it.

A county value can remain missing, suppressed, unavailable, or uncertain after normalization. Transport format and source authorization are separate. Support for a format, or alignment with a named standard, is not access, legal authority, interoperability certification, or a live connection. Bulk FHIR is a possible future transport. It is not a connection Atlas operates today.

## What normalization preserves [#what-normalization-preserves]

Heterogeneous records are normalized into stable Atlas concepts. The public contract does not expose a different downstream model for every source. These facts stay with the evidence:

| Preserved fact                                          | What it answers                                                                                  |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| Source and publisher                                    | Who produced or published the input.                                                             |
| Dataset, version, and vintage                           | Which release of that dataset the value came from.                                               |
| Geography                                               | Which governed county or state the value describes.                                              |
| Observation period                                      | The inclusive period and grain, distinct from when Atlas loaded the release.                     |
| Units and denominators                                  | The measure's unit and any governed denominator. A missing denominator is not invented.          |
| Transformation and method                               | The methodology and version that produced the Atlas value.                                       |
| Missing, suppressed, unavailable, and uncertain meaning | Whether a number was published, withheld, absent, or too limited to treat as a confident result. |
| Quality and limitations                                 | Coverage, comparability, and other governed limits.                                              |
| Lineage and provenance                                  | How the row traces to the source record and the Atlas release.                                   |

Field names and types for the current release live in the public OpenAPI contract. Read them in [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance), the generated [provenance reference](https://onehealthatlas.org/docs/api-reference/provenance), [observations](https://onehealthatlas.org/docs/api-reference/observations), and the generated [schemas](https://onehealthatlas.org/docs/api-reference/schemas). This page does not copy those schemas.

Product geography for the developer guides is the lower 48 states and the District of Columbia. See [Geography](https://onehealthatlas.org/docs/develop/geography).

## Missing, suppressed, unavailable, and uncertain [#missing-suppressed-unavailable-and-uncertain]

Normalization keeps these states distinct. Do not collapse them into zero, and do not collapse them into one another.

| State                       | What remains true after normalization                                                                                                                                                                                                                      |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Observed**                | The source published a value or status for the stated geography and period. The public code is `OBSERVED`.                                                                                                                                                 |
| **Zero**                    | The source published a numeric zero. The public code is `ZERO`. Coverage and method still bound that zero.                                                                                                                                                 |
| **Missing**                 | No governed value was published for that geography and period. The public code is `MISSING`. Missing is not zero and not biological absence.                                                                                                               |
| **Suppressed**              | The publisher withheld the value, including for privacy or a reporting rule. The public code is `SUPPRESSED`. Do not reconstruct a precise count.                                                                                                          |
| **Unavailable**             | The source, field, geography, or period is not in this release. The public code is `UNAVAILABLE`. Unavailable is an evidence gap.                                                                                                                          |
| **No county-linked record** | No county-linked row is in the release. The public code is `NO_COUNTY_LINKED_RECORD`. The contract treats this as not evidence of absence.                                                                                                                 |
| **Uncertain**               | A governed limitation, sparse coverage, a stale vintage, or disagreement limits how far the value can be read. Uncertainty stays attached as that limitation. It is not rewritten into a confident number, and it is not an extra public value-state code. |

`MISSING`, `SUPPRESSED`, and `UNAVAILABLE` require a null value in the public contract. A null value is not zero. The signed-in workspace shows **Available**, **Limited**, and **Unavailable** after a successful response. **Suppressed** stays visible as suppression. Loading and request failures are not evidence states.

Plain-language rules and workspace labels are in [Evidence, provenance, and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty). The contract table, in enum order, is in [Indicators, measures, and observations](https://onehealthatlas.org/docs/develop/resources). Release time, source period, and methodology version stay separate in [Releases and methodology labels](https://onehealthatlas.org/docs/releases-and-methodology).

## Standards, where they apply [#standards-where-they-apply]

These standards are selected directions for particular sources. They are not a universal data standard, and they are not a requirement that every future source must be FHIR. Naming one does not certify a feed or open a live connection.

| Standard                                                | Where it applies                                                                                                     |
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| CDC Lyme/TBRD Message Mapping Guide (MMG) and PHIN VADS | Surveillance concepts, when a governed mapping uses them.                                                            |
| USCDI                                                   | A future clinical or laboratory data-element anchor. Not in the current release.                                     |
| FHIR R4 and US Core                                     | Future authorized clinical or laboratory semantics, when that source uses them.                                      |
| Bulk FHIR                                               | A possible authorized population-scale transport. Not permission, and not an operating feed.                         |
| LOINC                                                   | Laboratory terminology for a source that already uses it. Current open-data measures are not claimed as LOINC-coded. |

A mapping annotates source meaning. The observation still carries its source, dataset, vintage, geography, period, method, value state, and limitations.

## What Web, REST, and MCP consume [#what-web-rest-and-mcp-consume]

Where the public contract already presents canonical evidence, use that governed contract rather than a source-specific schema.

| Consumer    | Authority                                                                                                                                                                                                                                                                                  | Current boundary                                                                                                                                                                             |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Web product | Released experience. Provenance stays beside the result.                                                                                                                                                                                                                                   | Current open public evidence. The [professional workspace](https://onehealthatlas.org/docs/professional-workspace) adds no private clinical feed.                                                                      |
| REST API    | Public OpenAPI document. The [API reference](https://onehealthatlas.org/docs/api-reference) links the raw [OpenAPI schema](https://api.onehealthatlas.org/openapi.json).                                                                                                                                             | Anonymous reads of indicators, measures, observations, sources, and methodologies. Legacy county and state analytics are a separate route family in the [developer overview](https://onehealthatlas.org/docs/develop). |
| MCP         | The [public evidence tool contract](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp/blob/d26ef2b72a2f9203a26ff45a3ad13f0f2ac104c9/docs/public-evidence-tools.md) and its tests in the [Atlas MCP repository](https://github.com/Caraway-Labs/one-health-lyme-gap-atlas-mcp). | Bounded anonymous read-only surface. The three evidence tools return canonical public evidence. `atlas_resolve_geographies` returns county identity only.                                    |

Semantic and provenance meaning stays with the observation, source, and methodology resources. This site does not maintain a second HTTP schema, a second MCP tool list, or a second semantic contract.

## Where to go next [#where-to-go-next]

  [Evidence and uncertainty](https://onehealthatlas.org/docs/evidence-and-uncertainty)

Read a result, including missing evidence and low observed signal.

  [Releases and methodology](https://onehealthatlas.org/docs/releases-and-methodology)

Keep source period, processing time, and methodology version apart.

  [Provenance and evidence](https://onehealthatlas.org/docs/develop/provenance)

Cite the fields that stay with an API value.

  [Observations](https://onehealthatlas.org/docs/api-reference/observations)

Query observations in the generated reference.

  [Current capabilities](https://onehealthatlas.org/docs/current-capabilities)

See the broader release boundary for the product.

# What is One Health Atlas? (https://onehealthatlas.org/docs/what-is-atlas)

> Learn what One Health Atlas is, what it helps epidemiologists investigate, and where its evidence boundaries apply.

Epidemiologists use this page to see what One Health Atlas can do and which conclusions it leaves to the reviewer.

One Health Atlas is an **Epidemiologist Decision Intelligence Platform** for Lyme disease and other tick-borne diseases. It brings One Health evidence into one place so you can recognize patterns, read the context, and decide what deserves investigation.

The product vision is:

> From fragmented surveillance data to timely, interpretable, evidence-backed public-health action.

The North Star is:

> A system that identifies what matters, explains why it matters, communicates uncertainty, and helps epidemiologists decide what deserves investigation.

#### Interpret with care

  A visible signal means “review this question with the available evidence.”
  Atlas is not a clinical diagnostic tool or a substitute for medical advice; an
  individual exposure, infection, or disease-risk predictor; a direct measure of
  disease burden merely because a place ranks highly; proof that a vector,
  pathogen, environment, or population factor caused an outcome; a guarantee
  that an outbreak will or will not occur; or a replacement for epidemiologists,
  public-health analysts, local knowledge, or domain experts.

## Why Atlas exists [#why-atlas-exists]

Human disease, ticks, pathogens, climate, habitat, population, and literature often come from different publishers, on different schedules, at different scales. Atlas joins those perspectives and keeps the context you need to interpret them.

## What Atlas helps you do [#what-atlas-helps-you-do]

Depending on the release, you can review geographic patterns, bring human, ecological, environmental, pathogen, and population context into one investigation, inspect source, time, methodology, and limitations, compare supported geographies, and turn a broad question into a smaller one. You remain responsible for interpretation, follow-up, and action.

## What “AI-enabled” means here [#what-ai-enabled-means-here]

AI-enabled is the product direction: find patterns, connect evidence, summarize context, and ask a better follow-up question. An AI-assisted experience must stay grounded in approved evidence, show its sources and limitations, and keep a human review step. The public application does not treat an AI output as an authoritative finding. A generated explanation is a prompt for review, not a diagnosis, causal conclusion, or automatic public-health decision.

The current release is an early public prototype and situational-awareness foundation.

## A public, evidence-first platform [#a-public-evidence-first-platform]

You can explore the public experience without an account. A signed-in profile can store a default jurisdiction for the next Review session. That preference does not change evidence, scores, or which geographies you can open. Public results stay readable on the map and in an equivalent table or text path, with provenance and limitations kept close to the result.

  [Professional workspace](https://onehealthatlas.org/docs/professional-workspace)

Open the six signed-in destinations.

  [Decision-support workflow](https://onehealthatlas.org/docs/atlas-workflow)

Move from a signal to an investigation question.

  [Atlas Explorer](https://onehealthatlas.org/explore)

Sign in and start a review.

# Who is One Health Atlas for? (https://onehealthatlas.org/docs/who-is-atlas-for)

> See which public-health users One Health Atlas is designed to support and the questions it can help them investigate.

Epidemiologists and public-health analysts use this page to see which questions Atlas can help them frame, and which decisions stay with their organization.

## Primary users [#primary-users]

Atlas is primarily for:

* epidemiologists and disease-surveillance teams;
* public-health analysts who need geographic and One Health context;
* researchers investigating relationships among disease, vectors, pathogens, environment, and populations; and
* public-health partners who need a common, reviewable starting point for discussion.

The product is built around expert review. It does not assume that every user has the same data access, local knowledge, surveillance mandate, or decision authority.

## Questions Atlas can help frame [#questions-atlas-can-help-frame]

1. **What is happening, and where?**
2. **What might help explain it?**
3. **How strong is the evidence?** Check source, vintage, geography, methodology, completeness, and limitations.
4. **What deserves a closer look?**

Atlas helps when several imperfect sources need to be reviewed together. It is less useful for a clinical diagnosis, a person-level risk assessment, or an answer the public data cannot support.

## A typical user session [#a-typical-user-session]

In [Atlas Explorer](https://onehealthatlas.org/explore), choose a state or county and read the map, list, and county detail together. Inspect evidence before you interpret a signal, and share the URL so another reviewer can reproduce the geography and filters. Coverage depends on the release. See [current capabilities](https://onehealthatlas.org/docs/current-capabilities).

## Who makes the decision? [#who-makes-the-decision]

The reviewer and their organization validate the source, add local knowledge, decide whether follow-up is appropriate, and communicate action through the responsible authority. A rank, score, map color, or AI-assisted explanation does not transfer that responsibility to Atlas.

## Access and trust boundaries [#access-and-trust-boundaries]

The public Atlas experience stays usable without signing in. In the professional workspace, a saved default jurisdiction chooses the next Review start when the address has no scope. It does not unlock evidence, change a score, or limit which geographies you can open.

Pair every important result with its [evidence and provenance context](https://onehealthatlas.org/docs/index#start-with-provenance). Read [the AI Ethics commitments](https://onehealthatlas.org/ai-ethics) for the approved boundaries around AI-assisted experiences.
