One Health Atlas documentation
States
View source

Download a state report

Download a state report

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

Schemas: ProblemDetails.

GET
/v1/states/{state}/report.pdf
OpenAPI schema

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.

state*State

Two-letter uppercase USPS state code, for example CO. A malformed value returns 422. A state not in the current release returns 404.

Match^[A-Z]{2}$
dataset_version?|

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.

template?Template

State report template. The only accepted value is state-v1, which is also the default. Any other value returns 422.

Match^[a-z]+-v\d+$
Default"state-v1"
ecological_share?Ecological Share

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.

Multiple Of5
Range40 <= value <= 85
Default65
smooth_k?Smooth K

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.

Range5 <= value <= 200
Default50
missing_human_weakness?Missing Human Weakness

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.

Multiple Of5
Range40 <= value <= 90
Default75
low_incidence_breakpoint?|Deprecated

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

Response Body

PDF attachment.

response?fileapplication/pdf
Formatbinary

Response Headers

  • Content-Type

    Schema string

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

  • Cache-Control

    Schema string

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

  • ETag

    Schema string

    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.

  • Content-Disposition

    Schema string

    Marks the body as a download and suggests the file name.

  • X-Request-ID

    Schema string

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

Example Request
curl -X GET 'https://api.onehealthatlas.org/v1/states/CO/report.pdf'
Example ResponseSchema

Response headers: Content-Type: application/pdf, Content-Disposition: attachment; filename="lyme-gap-atlas-co-governed-2026-10-15-january-climate-prod.pdf", a weak ETag, and Cache-Control: public, max-age=300, must-revalidate. The body is a binary PDF; only its first bytes are shown.

"%PDF-1.7"

Last updated on