{"openapi":"3.1.0","info":{"title":"WxAlerts API","description":"Public weather alert API. Alert data is served from the NWS_EMQX PostGIS store, which is fed by NWWS-OI, api.weather.gov and EMWIN.","version":"2.0.0"},"paths":{"/health":{"get":{"tags":["health"],"summary":"Liveness","description":"Answers `{\"status\": \"ok\"}` whenever the API process is up. It never touches the database, so a database problem does not show here: use `/health/deep` for that.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"},"example":{"status":"ok"}}}}}}},"/health/deep":{"get":{"tags":["health"],"summary":"Readiness: checks Postgres, PostGIS and ingest freshness","description":"Exercises the dependencies and asserts them. `status` is `ok` only when Postgres and PostGIS answer, the newest ingested product is younger than `checks.ingest.threshold_seconds`, and the write protection check passes. Otherwise `status` is `degraded` and the response is a 503 with the same body, so a monitor can read either the status code or `status`. `checks.feeds` reports how recently each text product feed delivered, for information only: it never turns the status to `degraded`. `checks.ingest.staleness_seconds` is a deprecated alias of `checks.ingest.alert_staleness_seconds`.","operationId":"health_deep_health_deep_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Deep Health Deep Get"},"example":{"status":"ok","checks":{"postgres":{"ok":true,"version":"PostgreSQL 16.4 on x86_64-pc-linux-gnu"},"postgis":{"ok":true,"version":"3.4.2"},"ingest":{"ok":true,"last_product_at":"2026-11-09T19:12:01.123456+00:00","product_age_seconds":4.2,"threshold_seconds":900,"active_alerts":212,"last_alert_update":"2026-11-09T19:11:48.000000+00:00","alert_staleness_seconds":17.3,"staleness_seconds":17.3},"feeds":{"ok":true,"covers":"text product feeds (NWWS, EMWIN)","note":"api.weather.gov delivers decoded CAP rather than raw products, so it records no receipt and is not listed here","threshold_seconds":1800,"up":2,"total":2,"sources":{"nwws":{"ok":true,"last_at":"2026-11-09T19:12:01+00:00","age_seconds":4.2},"emwin":{"ok":true,"last_at":"2026-11-09T19:11:55+00:00","age_seconds":10.2}}},"ingest_write_protection":{"ok":true,"detail":"read-only on public as expected"}}}}}},"503":{"description":"A check failed. The body has the same shape as the 200 response with `status` set to `degraded` and the failing check marked `ok: false`."}}}},"/alerts/active":{"get":{"tags":["alerts"],"summary":"Active alerts, no geometry","description":"Every active alert in the country, without geometry, newest issued first.\n\nServed only under `/v1`, with an API key (`alerts:read`). Paging is `limit`\nand `offset` over a stable order (issue time, then `id`) with no total\ncount: keep going until a page comes back shorter than `limit`. The active\nset is a few hundred alerts on a typical day, so `limit=2000` usually takes\nit in one request, which also avoids the set changing between pages. Alerts\nwith no shape are included here.","operationId":"active_alerts_alerts_active_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'. A typo returns an empty list, not an error.","title":"Event"},"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'. A typo returns an empty list, not an error."},{"name":"office","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Issuing office, exact: 'KBRO', not 'BRO'","title":"Office"},"description":"Issuing office, exact: 'KBRO', not 'BRO'"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor","title":"Severity"},"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most alerts to return, 1 to 2000","default":500,"title":"Limit"},"description":"Most alerts to return, 1 to 2000"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Alerts to skip, for paging","default":0,"title":"Offset"},"description":"Alerts to skip, for paging"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertSummary"},"title":"Response Active Alerts Alerts Active Get"},"example":[{"id":28449246,"vtec_key":"PAFC.BZ.W.0014.2026","event":"Blizzard Warning","office":"PAFC","phenomena":"BZ","significance":"W","etn":14,"status":"active","severity":"Severe","urgency":"Immediate","certainty":"Observed","issued_at":"2026-11-09T14:15:00Z","onset":"2026-11-09T20:00:00Z","expires":"2026-11-10T01:00:00Z","ends":"2026-11-10T21:00:00Z","ugc":["AKZ732"],"same":["002063"],"headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","instruction":"A Blizzard Warning means severe winter weather conditions are ...","geom_source":"ugc","sources":["api","emwin","nwws"],"updated_at":"2026-11-09T19:06:52.767357Z","short_id":"8k3wWa9l"}]}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/alerts/active/geojson":{"get":{"tags":["alerts"],"summary":"Active alerts as GeoJSON, geometry minified","description":"Every active alert that has a shape, as one GeoJSON FeatureCollection.\n\nNewest issued first, with no `area` property to keep it small, and no\npaging. This is the whole national geometry set, often a few megabytes, so\nit has a tighter rate limit of its own. Responses carry `Cache-Control`\nand an `ETag`, and a request with `If-None-Match` gets an empty `304` until\nthe set actually changes. Served only under `/v1`, with an API key\n(`alerts:read`).","operationId":"active_alerts_geojson_alerts_active_geojson_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'","title":"Event"},"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor","title":"Severity"},"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's own, tighter limit. It returns the whole national geometry set. Wait `Retry-After` seconds and respect `Cache-Control` and `ETag` instead of re-polling.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"304":{"description":"Nothing changed since the `ETag` sent in `If-None-Match`. The body is empty."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/alerts/in-bounds":{"get":{"tags":["alerts"],"summary":"Active alerts intersecting a bounding box","description":"Active alerts whose shape touches a box, as a GeoJSON FeatureCollection.\n\nMost serious first, the order a sidebar list is read in. This is what the\nlive map polls. A bad box (`west >= east` or `south >= north`) is a `422`\nthat says which rule it broke. Responses carry `Cache-Control` and an\n`ETag`: send the tag back as `If-None-Match` and you get `304 Not Modified`\nwith no body until something in the active set changes.","operationId":"alerts_in_bounds_alerts_in_bounds_get","parameters":[{"name":"west","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"West edge of the box, longitude -180 to 180. Must be less than `east`","title":"West"},"description":"West edge of the box, longitude -180 to 180. Must be less than `east`"},{"name":"south","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"South edge of the box, latitude -90 to 90. Must be less than `north`","title":"South"},"description":"South edge of the box, latitude -90 to 90. Must be less than `north`"},{"name":"east","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported","title":"East"},"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported"},{"name":"north","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"North edge of the box, latitude -90 to 90","title":"North"},"description":"North edge of the box, latitude -90 to 90"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's per-address limit. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"304":{"description":"Nothing changed since the `ETag` sent in `If-None-Match`. The body is empty."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/ended-in-bounds":{"get":{"tags":["alerts"],"summary":"Alerts in a bounding box that ended recently, for the radar loop","description":"Alerts in a box that ended within the last `minutes`, for a radar loop.\n\nThe live set only holds what is in effect now, so a warning that expired\ntwenty minutes ago would be missing from every frame it was in force for.\nMerge this with `/alerts/in-bounds` and a frame at time T can show what was\nout at T. Same FeatureCollection shape, most serious first, at most 500\nfeatures. `status` is `expired` or `cancelled`, and each feature adds\n`ended_at`: the earlier of `ends` and `expires`, or for a cancellation the\ntime the cancelling product arrived. An alert was in force at time T when\nit was issued before T and `ended_at` is after T.","operationId":"alerts_ended_in_bounds_alerts_ended_in_bounds_get","parameters":[{"name":"west","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"West edge of the box, longitude -180 to 180. Must be less than `east`","title":"West"},"description":"West edge of the box, longitude -180 to 180. Must be less than `east`"},{"name":"south","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"South edge of the box, latitude -90 to 90. Must be less than `north`","title":"South"},"description":"South edge of the box, latitude -90 to 90. Must be less than `north`"},{"name":"east","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported","title":"East"},"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported"},{"name":"north","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"North edge of the box, latitude -90 to 90","title":"North"},"description":"North edge of the box, latitude -90 to 90"},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back to look, in minutes, 1 to 180","default":70,"title":"Minutes"},"description":"How far back to look, in minutes, 1 to 180"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's per-address limit. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/highest-severity":{"get":{"tags":["alerts"],"summary":"The most serious active alerts, ranked","description":"The most serious alerts active anywhere, ranked.\n\nRanked by significance, then by hazard (tornado and tsunami first, down\nthrough winter, fire and flood to marine and beach hazards), then by CAP\nurgency, then newest. Built for a \"what matters right now\" strip: no\ngeometry and no text, just enough to label a row and frame a map on it.\n`bbox` is `[west, south, east, north]` of the alert's shape, or null for an\nalert with no shape.","operationId":"highest_severity_alerts_highest_severity_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most alerts to return, 1 to 25","default":3,"title":"Limit"},"description":"Most alerts to return, 1 to 25"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HighestSeverityResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/focus":{"get":{"tags":["alerts"],"summary":"An automatically framed view of the most significant activity","description":"A map view chosen for you, with only the alerts inside it, most serious first.\n\nUseful for a kiosk, a small teaser map or a screenshot bot. `highest-severity`\nframes the top-ranked active warning (advisories and watches are never the\nanchor). `most-alerts` frames the office with the most active warnings and\nwatches, or all alerts if nothing but advisories is out. `auto` tries\n`highest-severity` and falls back to `most-alerts` when no warning is in\neffect. `focus.reason` says which rule chose the view. With nothing to frame\nit is `none` and the response is the lower 48 with no features, not an\nerror. The `bbox` is padded around the anchor and at least two degrees on a\nside. `truncated: true` means more alerts were in the view than `limit`, and\nthe least serious were dropped.","operationId":"focused_alerts_alerts_focus_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Most features to return, 1 to 100","default":25,"title":"Limit"},"description":"Most features to return, 1 to 100"},{"name":"strategy","in":"query","required":false,"schema":{"enum":["auto","highest-severity","most-alerts"],"type":"string","description":"auto = severity then density; most-alerts = busiest office; highest-severity = top-ranked warning only","default":"auto","title":"Strategy"},"description":"auto = severity then density; most-alerts = busiest office; highest-severity = top-ranked warning only"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusedAlertsResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/at":{"get":{"tags":["alerts"],"summary":"Active alerts covering a point","description":"Every active alert covering a point, without geometry, newest issued first.\n\nThe call for \"is anything in effect here\". An empty list means nothing is in\neffect at that point. Alerts with no shape never match a point.","operationId":"alerts_at_point_alerts_at_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude, degrees north, -90 to 90","title":"Lat"},"description":"Latitude, degrees north, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude, degrees east, -180 to 180","title":"Lon"},"description":"Longitude, degrees east, -180 to 180"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertSummary"},"title":"Response Alerts At Point Alerts At Get"},"example":[{"id":28449246,"vtec_key":"PAFC.BZ.W.0014.2026","event":"Blizzard Warning","office":"PAFC","phenomena":"BZ","significance":"W","etn":14,"status":"active","severity":"Severe","urgency":"Immediate","certainty":"Observed","issued_at":"2026-11-09T14:15:00Z","onset":"2026-11-09T20:00:00Z","expires":"2026-11-10T01:00:00Z","ends":"2026-11-10T21:00:00Z","ugc":["AKZ732"],"same":["002063"],"headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","instruction":"A Blizzard Warning means severe winter weather conditions are ...","geom_source":"ugc","sources":["api","emwin","nwws"],"updated_at":"2026-11-09T19:06:52.767357Z","short_id":"8k3wWa9l"}]}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/page/{short_id}":{"get":{"tags":["alerts"],"summary":"One alert for its public page, live or ended, by short id","description":"One alert by its short id, live or ended: what the alert pages are built from.\n\nThe alert object plus `area`, `slug`, `path`, `bbox` and `geometry`. Ended\nalerts are kept for 30 days and say so in `status`. A short id that never\nexisted is `404`. One whose alert has passed the retention window is\n`410 Gone`, so \"this link was always wrong\" is told apart from \"this alert\nis over and deleted\". An active alert's page is cached for 30 seconds, an\nended one for a day.","operationId":"alert_page_alerts_page__short_id__get","parameters":[{"name":"short_id","in":"path","required":true,"schema":{"type":"string","description":"The alert's eight-character public id, the `short_id` of any alert object","examples":["8k3wWa9l"],"title":"Short Id"},"description":"The alert's eight-character public id, the `short_id` of any alert object"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertPage"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert was ever issued under this id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"410":{"description":"The alert existed and has passed the retention window","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/page/{short_id}/rundown":{"get":{"tags":["alerts"],"summary":"The storm cell behind a warning, and the places in its path","description":"For a storm-based warning, the storm cell behind it and the places in its path.\n\nOnly Tornado, Severe Thunderstorm, Extreme Wind and Special Marine warnings\nwith a shape get a cell. Anything else answers `200` with\n`reason: \"not-a-cell-warning\"` and everything empty. `places` and `pois`\nare filled only while the warning is active and the storm is still tracked,\nand each carries `minutes` from `valid_time` until the storm's leading edge\narrives. The numbers move every scan, so this is cached for 30 seconds even\nfor an ended warning.","operationId":"alert_rundown_page_alerts_page__short_id__rundown_get","parameters":[{"name":"short_id","in":"path","required":true,"schema":{"type":"string","description":"The alert's eight-character public id, the `short_id` of any alert object","examples":["9FNqeXAD"],"title":"Short Id"},"description":"The alert's eight-character public id, the `short_id` of any alert object"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRundown"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert under this id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/pages":{"get":{"tags":["alerts"],"summary":"Every alert with a public page, newest first, for the sitemap","description":"Every alert with a public page, newest first, for building a sitemap.\n\nA sitemap file holds at most 50,000 URLs, which is the default and the\nceiling for `limit`. Cached for 15 minutes.","operationId":"alert_pages_alerts_pages_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"description":"Most pages to return, 1 to 50000","default":50000,"title":"Limit"},"description":"Most pages to return, 1 to 50000"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertPageIndex"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/{identifier}":{"get":{"tags":["alerts"],"summary":"One alert by VTEC key, CAP id, or numeric id","description":"One alert, in the alert object shape, by VTEC key, CAP id or numeric id.\n\nUnlike the search routes this also answers for alerts that have ended, while\nthey are retained.","operationId":"get_alert_alerts__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","description":"A VTEC key such as PAFC.BZ.W.0014.2026, a CAP id (urn:oid:...) or the numeric `id`. Special Weather Statements have no VTEC key, so look those up by CAP id","examples":["PAFC.BZ.W.0014.2026"],"title":"Identifier"},"description":"A VTEC key such as PAFC.BZ.W.0014.2026, a CAP id (urn:oid:...) or the numeric `id`. Special Weather Statements have no VTEC key, so look those up by CAP id"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSummary"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert matches this identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stats/summary":{"get":{"tags":["stats"],"summary":"Active alert and lightning counters","description":"Active alert counts and the GLM lightning window. No parameters.\n\nCached for 15 seconds, which is about the data's own cadence, so polling\nfaster gets the same answer. The lightning window is whatever the live store\nholds, measured and not assumed: read its length from `window_seconds`, and\nbranch on `covers_full_day` before calling the count a day's worth. Even\nthen it is a rolling window and never a calendar day, so do not label it\n\"today\". For lightning per day use `/v1/stats/lightning/daily`.","operationId":"summary_stats_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryStats"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}}}},"/stats/lightning/daily":{"get":{"tags":["stats"],"summary":"Per-day GLM flash counts, bucketed in any time zone","description":"GLM flash counts per day, with days cut in any time zone.\n\nServed only under `/v1`, with an API key (`alerts:read`). Pick the zone your\nreaders live in: a UTC day ends in the evening across the Americas, so in\nUTC an evening storm lands on the next day. Days come newest first: today\nand the whole days before it, cut at midnight in `timezone`. A day with no\nflashes at all has no row. Today's row is still filling in, so use\n`hours_observed` to tell a partial day from a complete one. Finished days\nnever change; the response is cached for an hour. An unknown zone is a\n`422`, never a silent fall back to UTC.","operationId":"lightning_daily_stats_lightning_daily_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":400,"minimum":1,"description":"How far back to look, in days from now, 1 to 400","default":30,"title":"Days"},"description":"How far back to look, in days from now, 1 to 400"},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","description":"IANA zone name to bucket days in, e.g. America/Chicago. A UTC day boundary falls in the evening across the Americas, which puts an evening storm on the following day.","examples":["UTC","America/Chicago"],"default":"UTC","title":"Timezone"},"description":"IANA zone name to bucket days in, e.g. America/Chicago. A UTC day boundary falls in the evening across the Americas, which puts an evening storm on the following day."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LightningHistory"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/stats/latency":{"get":{"tags":["stats"],"summary":"How fast each alert feed delivers, measured against the others","description":"How fast each alert feed delivers, measured against the others.\n\nThe same hazards arrive from three feeds (nwws, emwin and api) and each\nfeed's first delivery of each hazard is recorded. Sources come most wins\nfirst. The relative figures (`wins`, `win_share`, `median_behind_seconds`\nand friends) are exact to the millisecond and are the fair way to rank the\nfeeds. `median_issuance_lag_seconds` is measured from the NWS issuance\nstamp, which is quantized to the minute, so treat it as an order of\nmagnitude. Cached for 60 seconds.","operationId":"feed_latency_stats_latency_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"Window to report over. The ingest prunes receipts on a rolling schedule, so asking for more than it keeps returns a short answer rather than an error.","default":24,"title":"Hours"},"description":"Window to report over. The ingest prunes receipts on a rolling schedule, so asking for more than it keeps returns a short answer rather than an error."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LatencyStats"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lightning/flashes":{"get":{"tags":["lightning"],"summary":"GLM flashes in a box over the last hour or so, for the radar loop","description":"Lightning flashes seen from orbit by the Geostationary Lightning Mapper on GOES-19, in a bounding box over a recent window, oldest first. GLM is an optical sensor at about 8 km resolution that sees in-cloud and cloud-to-ground lightning alike and does not tell them apart. Flashes also arrive live over the MQTT lightning feed; this route reads the same flashes back so a radar loop or a newly opened page can draw the last hour and then carry on from MQTT. The time to the millisecond and the position to four decimals are the identity the MQTT feed uses, so a flash heard live and the same flash read here match exactly. The window is `since < t <= until`. About a day is kept, so a window ending further back comes back empty rather than as an error. Cached for 20 seconds.","operationId":"recent_flashes_lightning_flashes_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","description":"Bounding box as `minLon,minLat,maxLon,maxLat` in degrees (west, south, east, north). Each must be inside -180 to 180 and -90 to 90, with min below max. A box crossing the antimeridian is not supported.","examples":["-98.5,32.0,-96.0,33.5"],"title":"Bbox"},"description":"Bounding box as `minLon,minLat,maxLon,maxLat` in degrees (west, south, east, north). Each must be inside -180 to 180 and -90 to 90, with min below max. A box crossing the antimeridian is not supported."},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back from `until` to reach, in minutes, 1 to 180. The default of 70 is a radar loop's hour plus the ten minutes its oldest frame draws behind it.","default":70,"title":"Minutes"},"description":"How far back from `until` to reach, in minutes, 1 to 180. The default of 70 is a radar loop's hour plus the ten minutes its oldest frame draws behind it."},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO 8601 end of the window. Defaults to now. A time without a zone is read as UTC. Up to 5 minutes in the future is accepted for clock skew, and anything later is pulled back to now plus 5 minutes.","title":"Until"},"description":"ISO 8601 end of the window. Defaults to now. A time without a zone is read as UTC. Up to 5 minutes in the future is accepted for clock skew, and anything later is pulled back to now plus 5 minutes."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":60000,"minimum":1,"description":"Return at most this many flashes, 1 to 60000. When there are more, the newest are kept and `truncated` is true.","default":30000,"title":"Limit"},"description":"Return at most this many flashes, 1 to 60000. When there are more, the newest are kept and `truncated` is true."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashHistory"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storms/active":{"get":{"tags":["storms"],"summary":"Storm cells being tracked right now, without geometry","description":"Every storm cell NOAA's ProbSevere is tracking over the CONUS, as plain JSON without geometry: probabilities, fitted motion, the cone's starting size and the alert state. Cells are ordered by ProbTor, then ProbSevere, highest first, so `limit` keeps the ones that matter. Check `feed_age_seconds`: an empty response looks the same whether the sky is quiet or the feed stopped. Responses are cached for 30 seconds. Served only under `/v1`, needing the `storms:read` scope.","operationId":"active_storms_active_get","parameters":[{"name":"west","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"West"},"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"south","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"South"},"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"east","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"East"},"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"north","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"North"},"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"min_prob_tor","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only storms at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: most objects sit at ProbTor 0 on an ordinary day and about 70 is the practical ceiling. 30 is the notification threshold; 10 is a reasonable 'show me anything rotating'.","title":"Min Prob Tor"},"description":"Only storms at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: most objects sit at ProbTor 0 on an ordinary day and about 70 is the practical ceiling. 30 is the notification threshold; 10 is a reasonable 'show me anything rotating'."},{"name":"min_prob_severe","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only storms at or above this ProbSevere, 0 to 100.","title":"Min Prob Severe"},"description":"Only storms at or above this ProbSevere, 0 to 100."},{"name":"alerted_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only storms currently over the notification threshold.","default":false,"title":"Alerted Only"},"description":"Only storms currently over the notification threshold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Return at most this many storms, 1 to 500. Highest ProbTor first.","default":500,"title":"Limit"},"description":"Return at most this many storms, 1 to 500. Highest ProbTor first."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/storms/active/geojson":{"get":{"tags":["storms"],"summary":"Cells, tracks, forecast lines and uncertainty cones as one FeatureCollection","description":"Everything a map layer needs in one GeoJSON FeatureCollection: cells, their tracks, forecast lines and cones, and the rotations (couplets) with theirs. One request rather than several, so a cone never belongs to a cell that has since moved. Every feature carries `properties.kind`: `cell`, `cone`, `turn-cone`, `forecast-track`, `track`, `couplet`, `couplet-cone`, `couplet-forecast` or `couplet-track`. A cell or rotation with no motion fit yet gets no cone or forecast line. Responses are cached for 30 seconds.","operationId":"active_geojson_storms_active_geojson_get","parameters":[{"name":"west","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"West"},"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"south","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"South"},"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"east","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"East"},"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"north","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"North"},"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"min_prob_tor","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only cells at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: about 70 is the practical ceiling, so 30 is a strong filter.","title":"Min Prob Tor"},"description":"Only cells at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: about 70 is the practical ceiling, so 30 is a strong filter."},{"name":"min_prob_severe","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only cells at or above this ProbSevere, 0 to 100.","title":"Min Prob Severe"},"description":"Only cells at or above this ProbSevere, 0 to 100."},{"name":"alerted_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only cells currently over the notification threshold.","default":false,"title":"Alerted Only"},"description":"Only cells currently over the notification threshold."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":0,"description":"Cone and forecast line lead time in minutes, 0 to 60. Capture holds above 92% out to 60, but area grows about 5 times between 10 and 60, so lead is the real tuning knob. 0 omits cones and forecast lines.","default":30,"title":"Lead"},"description":"Cone and forecast line lead time in minutes, 0 to 60. Capture holds above 92% out to 60, but area grows about 5 times between 10 and 60, so lead is the real tuning knob. 0 omits cones and forecast lines."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% of storms inside the cone at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% of storms inside the cone at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422."},{"name":"track_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":0,"description":"Minutes of history behind each cell, 0 to 180. 0 omits track features.","default":60,"title":"Track Minutes"},"description":"Minutes of history behind each cell, 0 to 180. 0 omits track features."},{"name":"cones","in":"query","required":false,"schema":{"type":"boolean","description":"False omits the `cone` and `turn-cone` features.","default":true,"title":"Cones"},"description":"False omits the `cone` and `turn-cone` features."},{"name":"detail_min_prob_tor","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"description":"Tracks, cones and forecast lines are built only for cells at or above this ProbTor, 0 to 100. Cells themselves are always returned for everything in view. Most objects sit at zero on an ordinary day, and a cone on each of them is unreadable. Set 0 for a cone on every cell.","default":10,"title":"Detail Min Prob Tor"},"description":"Tracks, cones and forecast lines are built only for cells at or above this ProbTor, 0 to 100. Cells themselves are always returned for everything in view. Most objects sit at zero on an ordinary day, and a cone on each of them is unreadable. Set 0 for a cone on every cell."},{"name":"couplets","in":"query","required":false,"schema":{"type":"boolean","description":"Include tracked velocity couplets (rotations) and their own tracks, as `couplet` and `couplet-track` features. False omits all four couplet kinds. Independent of the cells: a cell can hold several, and the rotation sits a median 5 km from its center.","default":true,"title":"Couplets"},"description":"Include tracked velocity couplets (rotations) and their own tracks, as `couplet` and `couplet-track` features. False omits all four couplet kinds. Independent of the cells: a cell can hold several, and the rotation sits a median 5 km from its center."},{"name":"couplet_lead","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":0,"description":"Lead time for the rotation's own cone and forecast line, in minutes, 0 to 25. Cones are drawn for couplets that have alerted. Drawn at no more than 20 (21 to 25 are accepted and drawn at 20): past that the couplet cone is bigger than the cell cone, because a rotation's position is less predictable than a storm outline's even though the rotation is smaller. 0 omits them.","default":15,"title":"Couplet Lead"},"description":"Lead time for the rotation's own cone and forecast line, in minutes, 0 to 25. Cones are drawn for couplets that have alerted. Drawn at no more than 20 (21 to 25 are accepted and drawn at 20): past that the couplet cone is bigger than the cell cone, because a rotation's position is less predictable than a storm outline's even though the rotation is smaller. 0 omits them."},{"name":"forecast","in":"query","required":false,"schema":{"type":"boolean","description":"Include the plot line down the middle of each cone, as `forecast-track` and `couplet-forecast` features, with a tick about every 15 minutes out to the lead. Gated by the same `lead` and `couplet_lead` as the cones they bisect, and by `detail_min_prob_tor` on the cell side.","default":true,"title":"Forecast"},"description":"Include the plot line down the middle of each cone, as `forecast-track` and `couplet-forecast` features, with a tick about every 15 minutes out to the lead. Gated by the same `lead` and `couplet_lead` as the cones they bisect, and by `detail_min_prob_tor` on the cell side."},{"name":"emerging_couplets","in":"query","required":false,"schema":{"type":"boolean","description":"Also return rotations that have not yet held for three scans (state `emerging`). Off by default: a shear maximum seen once is noise, and drawing it puts a tornado glyph on something that may not exist next scan.","default":false,"title":"Emerging Couplets"},"description":"Also return rotations that have not yet held for three scans (state `emerging`). Off by default: a shear maximum seen once is noise, and drawing it puts a tornado glyph on something that may not exist next scan."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Return at most this many cells, 1 to 500. Highest ProbTor first.","default":500,"title":"Limit"},"description":"Return at most this many cells, 1 to 500. Highest ProbTor first."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storms/couplets/{couplet_id}/cone":{"get":{"tags":["storms"],"summary":"Where this rotation might be, out to a lead time","description":"A rotation's own cone, as a GeoJSON Feature, for any couplet id whatever its state or alert status (the bulk feed draws couplet cones only for alerting rotations). It is fitted from couplet tracks, not cell tracks: a rotation starts tighter, spreads faster, may travel none of its predicted distance, and can re-form behind where it was, which is why this cone has a rear margin and a cell's does not. `lead_minutes` in the result is the lead actually drawn, so `lead=25` comes back as 20. Served only under `/v1`, needing the `storms:read` scope.","operationId":"couplet_cone_storms_couplets__couplet_id__cone_get","parameters":[{"name":"couplet_id","in":"path","required":true,"schema":{"type":"integer","description":"Id of a tracked rotation, as `couplet_id` on a `couplet` feature.","title":"Couplet Id"},"description":"Id of a tracked rotation, as `couplet_id` on a `couplet` feature."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Cone lead time in minutes, 1 to 25. Drawn at no more than 20: 21 to 25 are accepted and drawn at 20.","default":15,"title":"Lead"},"description":"Cone lead time in minutes, 1 to 25. Drawn at no more than 20: 21 to 25 are accepted and drawn at 20."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% capture) or `tight` (about 90%, for roughly two thirds of the area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% capture) or `tight` (about 90%, for roughly two thirds of the area). Anything else is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Couplet Cone Storms Couplets  Couplet Id  Cone Get"},"example":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-96.99,25.55],[-96.74,25.74],[-96.64,25.6],[-96.88,25.42],[-96.99,25.55]]]},"properties":{"kind":"couplet-cone","couplet_id":96829,"storm_id":297366,"state":"confirmed","alerted":false,"lead_minutes":15,"profile":"wide","shear":0.00800000037997961,"vrot_ms":3.3,"diameter_km":0.82,"prob_tor":0,"speed_kmh":8.3,"bearing_deg":180,"area_km2":301}}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No couplet has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The couplet exists but has no fitted motion yet, so it has no cone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/storms/{storm_id}":{"get":{"tags":["storms"],"summary":"One storm in full","description":"One storm in full: everything in the active list plus its polygon and the diagnostics behind the score, including the feed's own properties for the newest scan. Any id ever issued is accepted, so a client holding an id from earlier still gets an answer. Served only under `/v1`, needing the `storms:read` scope.","operationId":"detail_storms__storm_id__get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/wxalerts_api__schemas__storms__StormDetail"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/storms/{storm_id}/track":{"get":{"tags":["storms"],"summary":"Where this storm has been","description":"Where one storm has been: every scan in the last `minutes`, oldest first, across every ProbSevere ID it has worn. The window is counted back from now, so a storm that ended long ago returns an empty list. An unknown id is also an empty list, not a 404. `jumped` marks a scan whose centroid moved more than 10 km, a real observation that is left out of the motion fit.","operationId":"track_storms__storm_id__track_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back to reach, in minutes, 1 to 180.","default":60,"title":"Minutes"},"description":"How far back to reach, in minutes, 1 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormTrack"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storms/{storm_id}/forecast-track":{"get":{"tags":["storms"],"summary":"Where this storm is headed, as a line with time ticks","description":"The cone's axis on its own, as a GeoJSON LineString Feature with time ticks, for a caller that wants the line and not the area. Works for any storm, including the ones below the bulk feed's ProbTor gate that it draws no line for. There is no `profile`: the line is the prediction itself and both profiles share it. The line is drawn at `cone_speed_kmh`; `speed_kmh` is the raw track speed. Read positions and times from `ticks`, whose `at` is the absolute time each stands for.","operationId":"forecast_track_storms__storm_id__forecast_track_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"description":"How far ahead to draw the line, in minutes, 1 to 60.","default":30,"title":"Lead"},"description":"How far ahead to draw the line, in minutes, 1 to 60."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Forecast Track Storms  Storm Id  Forecast Track Get"},"example":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-96.92262,25.58543],[-96.86167,25.63361]]},"properties":{"kind":"forecast-track","storm_id":297397,"lead_minutes":20,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"valid_time":"2026-11-09T19:04:34Z","ticks":[{"minutes":20,"lon":-96.86167,"lat":25.63361,"at":"2026-11-09T19:24:34Z"}]}}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The storm has no fitted motion yet, so it has no forecast track.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storms/{storm_id}/cone":{"get":{"tags":["storms"],"summary":"Where this storm might be, out to a lead time","description":"One storm's uncertainty cone, as a GeoJSON Polygon Feature. `steered` is true when the cone is drawn at the HRRR blended speed with the steered profile. `area_km2` is the main cone's area. `turn_cone` is the geometry of the turn lobe when the storm has one, else null; it overlaps the main cone, so the two areas do not add.","operationId":"cone_storms__storm_id__cone_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"description":"Cone lead time in minutes, 1 to 60.","default":30,"title":"Lead"},"description":"Cone lead time in minutes, 1 to 60."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% of storms inside at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% of storms inside at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cone Storms  Storm Id  Cone Get"},"example":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-96.99,25.55],[-96.74,25.74],[-96.64,25.6],[-96.88,25.42],[-96.99,25.55]]]},"properties":{"kind":"cone","storm_id":297397,"lead_minutes":30,"profile":"wide","steered":true,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"area_km2":4407,"turn_cone":{"type":"Polygon","coordinates":[[[-96.92,25.58],[-96.7,25.8],[-96.6,25.62],[-96.92,25.58]]]}}}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The storm has no fitted motion yet, so it has no cone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outlooks":{"get":{"tags":["outlooks"],"summary":"Which outlooks are currently issued, and what is in them","description":"The Storm Prediction Center's map products (Day 1 to 3 categorical, and the Day 1 tornado, hail and wind probabilities) without geometry, ordered by day and then hazard. Build a product picker from this rather than a hard-coded list: a product that has never been fetched is absent, and one whose polling is failing says so in `stale` and `last_error`. `areas` zero with an `empty_label` is no risk, which is different from no data. An outlook is not a warning: a Moderate Risk says organized severe storms are likely somewhere in a large area over many hours, not that anything is happening at a given place now.","operationId":"index_outlooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookIndex"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}}}},"/outlooks/{product}/geojson":{"get":{"tags":["outlooks"],"summary":"One outlook's risk areas as a FeatureCollection","description":"One outlook's risk areas as GeoJSON, lowest risk first, which is also the order to draw them, in SPC's own colors (`stroke` and `fill`). The collection adds `server_time` and `outlook`, the same summary object `/outlooks` returns. On the tornado, hail and wind outlooks the hatched significant-severe area is the last feature with `significant` true: hatch it rather than filling it. An outlook with nothing to draw returns zero features with a 200, and the summary's `empty_label` tells no risk from no data. There is no bounding box parameter: an outlook is a handful of national polygons. Besides the six map products listed by `/outlooks`, the route serves severe-day4 to severe-day8, fire-day1 to fire-day8, drythunder-day1 to drythunder-day8 and md (mesoscale discussions).","operationId":"geojson_outlooks__product__geojson_get","parameters":[{"name":"product","in":"path","required":true,"schema":{"type":"string","description":"The product slug, e.g. day1-categorical, day2-categorical, day3-categorical, day1-tornado, day1-hail or day1-wind.","examples":["day1-categorical"],"title":"Product"},"description":"The product slug, e.g. day1-categorical, day2-categorical, day3-categorical, day1-tornado, day1-hail or day1-wind."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"Not a product slug. The detail lists every valid one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"503":{"description":"A real product that has never been fetched on this deployment. Retry later rather than dropping it from a menu.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tropical/storms":{"get":{"tags":["tropical"],"summary":"Active tropical cyclones in the Atlantic and the eastern and central Pacific","description":"Every active tropical system as the National Hurricane Center advises on it, for the Atlantic (AL), the eastern Pacific (EP) and the central Pacific (CP), sorted by basin and then id. Everything is NHC's forecast restated, never a forecast of our own. Speeds are mph and pressures millibars, converted from NHC's knots with NHC's own rounding. Times are UTC. The list is empty when there are no active systems, which is most of the year.","operationId":"storms_tropical_storms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/wxalerts_api__schemas__tropical__StormSummary"},"type":"array","title":"Response Storms Tropical Storms Get"},"example":[{"id":"CP042026","name":"Pena","classification":"TS","basin":"CP","advisory_number":"12","issued_at":"2026-11-09T15:00:00Z","lat":11.4,"lon":-159.5,"max_wind_mph":40,"gusts_mph":50,"min_pressure_mb":1004,"movement_dir_deg":265,"movement_mph":9,"headline":"PENA PERSISTS AS A TROPICAL CYCLONE FOR NOW"}]}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"x-key-only":true}},"/tropical/storms/{storm_id}":{"get":{"tags":["tropical"],"summary":"One storm: latest advisory, forecast track, cone, watches and warnings","description":"Every field of the storm list plus NHC's official forecast track, the cone of uncertainty, the coastal watches and warnings in effect, the storm's past track and links to NHC's own products. A storm NHC has stopped advising on is still served for 30 days with `active` false. After that, and for an id that was never stored, the answer is a 404.","operationId":"storm_tropical_storms__storm_id__get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"string","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive.","examples":["CP042026"],"title":"Storm Id"},"description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/wxalerts_api__schemas__tropical__StormDetail"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm with this id is stored, or it ended more than 30 days ago.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/tropical/storms/{storm_id}/models":{"get":{"tags":["tropical"],"summary":"One storm's guidance: each model's forecast track at the latest cycle","description":"The model tracks NHC publishes in its public guidance file for the newest cycle stored, consensus first. NHC's official forecast is not among them; it is `/tropical/storms/{storm_id}`. A storm with no guidance yet answers with a null `cycle` and no models, not a 404. Positions are every 6 or 12 hours from tau 0 and longitudes stay in -180 to 180, so a track crossing the date line jumps from -178.7 to 178.8. Wind is in knots, as the models give it.","operationId":"storm_models_tropical_storms__storm_id__models_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"string","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive.","examples":["CP042026"],"title":"Storm Id"},"description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormModels"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm with this id is stored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/tropical/outlook":{"get":{"tags":["tropical"],"summary":"The seven-day tropical weather outlook: where storms may form","description":"NHC's tropical weather outlook: the areas where a storm may form in the next seven days, across all three basins, with NHC's chance of formation in 48 hours and in seven days. NHC numbers areas afresh in every issuance, so an area id names an area within one outlook only. `areas` is empty when NHC expects nothing to form.","operationId":"outlook_tropical_outlook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outlook"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"x-key-only":true}},"/tropical/for-place":{"get":{"tags":["tropical"],"summary":"Active storms that reach a point, and how","description":"Each active storm whose cone, 34 kt wind probability (5 percent or more) or coastal watch or warning (within 60 km) reaches the point, nearest first. The list is empty when nothing does, which is the answer almost everywhere almost always. Being in the cone says where the center may go, not what will happen at the place. For an inland US place the NWS watches and warnings on the alerts routes are the authority; `in_watch_or_warning` is a basin-wide approximation.","operationId":"for_place_tropical_for_place_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlaceThreat"},"title":"Response For Place Tropical For Place Get"},"example":[{"storm_id":"CP042026","name":"Pena","in_cone":true,"closest_approach_mi":16,"closest_approach_at":"2026-11-10T20:15:00Z","ts_wind_prob_pct":30,"earliest_ts_wind_at":"2026-11-10T16:00:00Z"}]}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/winter/at":{"get":{"tags":["winter"],"summary":"Winter weather at one place","description":"What the Weather Prediction Center expects at one point: the Winter Storm Severity Index (WSSI) for Days 1 to 3, the odds of heavy snow or freezing rain for Days 1 to 3 where the chance is 10 percent or more, and the winter hazards of the Day 3 to 7 outlook, with a one sentence headline. The point is rounded to 0.01 degree before it is looked up. A WSSI category is an impact forecast, not a warning: use the alerts routes for what the NWS has issued at a place now. Out of season the lists are empty and the headline is null, which is a normal answer. Credit NOAA's Weather Prediction Center where you show the data.","operationId":"at_winter_at_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterAt"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/winter/wssi":{"get":{"tags":["winter"],"summary":"WSSI polygons for one day and component","description":"The Winter Storm Severity Index as GeoJSON for a map: one polygon feature per impact category present, lowest first so drawing in order leaves the most severe on top. Each feature's properties add `component`, `category` (the same as `level`, e.g. `major`) and `rank` 1 to 5 to the common ones. The index forecasts how much disruption winter weather may cause, not how much falls. It is not a warning. `features` is empty out of season.","operationId":"wssi_winter_wssi_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"description":"Forecast day, 1 to 3. Day 1 is the current period.","default":1,"title":"Day"},"description":"Forecast day, 1 to 3. Day 1 is the current period."},{"name":"component","in":"query","required":false,"schema":{"enum":["overall","snow_amount","snow_load","ice_accumulation","blowing_snow"],"type":"string","description":"Which layer: overall, snow_amount, snow_load (weight of snow on trees and power lines), ice_accumulation or blowing_snow.","default":"overall","title":"Component"},"description":"Which layer: overall, snow_amount, snow_load (weight of snow on trees and power lines), ice_accumulation or blowing_snow."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[-120.161,48.6807],[-120.1607,48.6883],[-120.1,48.7]]]]},"properties":{"product":"wssi-overall-day1","family":"wssi","day":1,"level":"winter_weather_area","rank":1,"label":"Winter Weather Area","issued_at":"2026-11-09T17:15:00Z","valid_from":"2026-11-09T17:00:00Z","valid_to":"2026-11-10T12:00:00Z","component":"overall","category":"winter_weather_area"}}],"issued_at":"2026-11-09T17:15:00Z","attribution":"NOAA Weather Prediction Center"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/winter/odds":{"get":{"tags":["winter"],"summary":"PWPF probability contours for one day, kind and threshold","description":"The Probabilistic Winter Precipitation Forecast as GeoJSON for a map: WPC's chance that a 24 hour period brings at least a given amount of snow, or of freezing rain accretion. Each feature is one contour, with `kind`, `threshold_in` and `pct` added to the common properties (`rank` equals `pct`). The contours nest, so a place inside the 30 percent contour is also inside the 20: draw in order and the highest wins. When WPC forecasts nothing at 1 percent or more, `features` is empty and `issued_at` is that of the newest issuance.","operationId":"odds_winter_odds_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"description":"Forecast day, 1 to 3. Day 1 is the current period.","default":1,"title":"Day"},"description":"Forecast day, 1 to 3. Day 1 is the current period."},{"name":"kind","in":"query","required":false,"schema":{"enum":["snow","ice"],"type":"string","description":"`snow`, or `ice`, which means freezing rain accretion.","default":"snow","title":"Kind"},"description":"`snow`, or `ice`, which means freezing rain accretion."},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","description":"Inches the 24 hour amount must reach: 4, 8 or 12 for snow; 0.01, 0.1 or 0.25 for ice. A threshold that does not belong to the kind is a 422.","default":4.0,"title":"Threshold"},"description":"Inches the 24 hour amount must reach: 4, 8 or 12 for snow; 0.01, 0.1 or 0.25 for ice. A threshold that does not belong to the kind is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-121.22,48.29],[-121.15,48.33],[-121.1,48.2]]]},"properties":{"product":"pwpf-snow-4-day1","family":"pwpf","day":1,"level":"1","rank":1,"label":"1%","issued_at":"2026-11-09T08:45:00Z","valid_from":"2026-11-09T12:00:00Z","valid_to":"2026-11-10T12:00:00Z","kind":"snow","threshold_in":4.0,"pct":1}}],"issued_at":"2026-11-09T08:45:00Z","attribution":"NOAA Weather Prediction Center"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/winter/hazards":{"get":{"tags":["winter"],"summary":"Winter hazards from WPC's Day 3 to 7 hazards outlook","description":"The winter areas of WPC's Day 3 to 7 hazards outlook as GeoJSON, keeping only heavy_snow, freezing_rain and hazardous_cold, and only those whose `end_date` is today (UTC) or later. Each feature's properties add `hazard`, `start_date` and `end_date`; `rank` is 1 for hazardous_cold, 2 for freezing_rain and 3 for heavy_snow. WPC attaches no probability to the product. A hazard drawn for two separate stretches of the week comes as two features. `features` is empty when there are none.","operationId":"hazards_winter_hazards_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[-110.0,45.0],[-109.0,45.0],[-109.5,44.0]]]]},"properties":{"product":"hazards-prcp","family":"hazards","level":"heavy_snow","rank":3,"label":"Heavy Snow","issued_at":"2026-11-09T18:15:20Z","valid_from":"2026-11-12T00:00:00Z","valid_to":"2026-11-14T00:00:00Z","hazard":"heavy_snow","start_date":"2026-11-12","end_date":"2026-11-13"}}],"issued_at":"2026-11-09T18:15:20Z","attribution":"NOAA Weather Prediction Center"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"x-key-only":true}},"/lsr/reports":{"get":{"tags":["lsr"],"summary":"Official NWS local storm reports","description":"The National Weather Service's local storm reports: what an office has confirmed happened, from spotters, emergency managers, the public and automated stations. Each report is a point, a time, the office's own event wording and, where there is one, a measured or estimated magnitude. These are official NWS records, not the unofficial reports people file through wxalerts.org. Filters combine: a report has to pass every one given. The window is on `valid_at`, when the weather happened, not when the report arrived, so a report issued hours late can already be outside a short window. Reports come back newest first as a plain array with no paging, at most 1,000, and past that the oldest in the window are the ones left out. Responses carry `Cache-Control: public, max-age=60` on the unprefixed path.","operationId":"list_reports_lsr_reports_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":72,"minimum":1,"description":"How far back to look, in hours, 1 to 72. Default 6.","default":6,"title":"Hours"},"description":"How far back to look, in hours, 1 to 72. Default 6."},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"minLon,minLat,maxLon,maxLat in degrees. Only reports inside the box. Four numbers or a 422.","examples":["-103,33,-94,37"],"title":"Bbox"},"description":"minLon,minLat,maxLon,maxLat in degrees. Only reports inside the box. Four numbers or a 422."},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. Case does not matter. An unknown name is a 422, not an empty list.","examples":["tornado,hail"],"title":"Categories"},"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. Case does not matter. An unknown name is a 422, not an empty list."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated two-letter states or territories, such as `TX,OK` or `PR`. Case does not matter.","examples":["TX,OK"],"title":"State"},"description":"Comma separated two-letter states or territories, such as `TX,OK` or `PR`. Case does not matter."},{"name":"office","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated issuing offices as the four-letter ID the product carries, such as `KOUN` or `PAJK`. Case does not matter, but the three-letter form (`OUN`) matches nothing.","examples":["KOUN"],"title":"Office"},"description":"Comma separated issuing offices as the four-letter ID the product carries, such as `KOUN` or `PAJK`. Case does not matter, but the three-letter form (`OUN`) matches nothing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LsrSummary"},"title":"Response List Reports Lsr Reports Get"},"example":[{"id":34564,"valid_at":"2026-11-09T18:41:00Z","event":"Flood","category":"flood","office":"KEWX","lat":29.83,"lon":-100.4,"city":"16 N Kickapoo Cavern St","county":"Edwards","state":"TX","source":"Emergency Manager","magnitude_trace":false,"remarks":"EM report of water over area roadways in Edwards County including Highway 377 and RR 674 following prolonged steady rain. Location is approximate."},{"id":34563,"valid_at":"2026-11-09T18:05:00Z","event":"Non-Tstm Wnd Gst","category":"wind","office":"PAJK","lat":57.05,"lon":-135.36,"city":"1 W Sitka","county":"Sitka","state":"AK","source":"ASOS/AWOS","magnitude":54.0,"magnitude_unit":"MPH","magnitude_method":"measured","magnitude_trace":false}]}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/locations/search":{"get":{"tags":["locations"],"summary":"Fuzzy search over US states, counties, cities and ZIPs","description":"Free text search over US states, counties, cities, unincorporated communities and ZIP codes, for a search box. Each result carries an `id` that other endpoints accept as `location_id`, a centroid and a suggested map zoom. The gazetteer changes about once a year, so results are cacheable for a day on the unprefixed path.","operationId":"search_locations_locations_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"description":"Free text: place, ZIP or state, 1 to 120 characters","examples":["pensacola"],"title":"Q"},"description":"Free text: place, ZIP or state, 1 to 120 characters"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most results to return, 1 to 25. Default 8.","default":8,"title":"Limit"},"description":"Most results to return, 1 to 25. Default 8."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationSearchResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/locations/popular":{"get":{"tags":["locations"],"summary":"The places most searched for a forecast over the last week","description":"The places people have most searched for a forecast over the last week, most searched first. The list is empty until enough people have searched, so a client should keep defaults of its own for that case.","operationId":"popular_locations_locations_popular_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most places to return, 1 to 25. Default 5.","default":5,"title":"Limit"},"description":"Most places to return, 1 to 25. Default 5."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PopularPlacesResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forecast":{"get":{"tags":["forecast"],"summary":"Forecast for a point, a saved location, or a place name","description":"The full forecast for a point: every field the models publish, unreduced.\n\nGive `lat` and `lon`, or `location_id`, or `q`. `hourly` and `daily` come\nfrom the National Blend of Models (about 10 km, to about 11 days). `nowcast`\nand `current` come from the HRRR (about 6 km, 18 hours) and carry radar\nreflectivity and pressure, plus severe weather and upper air fields on\nrequest with `include`. The two models are never blended, and `models` names\neach run, its age and how far it reaches. `units` names the unit of every\nfield in both series.\n\n`coverage` says what was filled: `full` in the lower 48 and its\nsurroundings, `nbm_only` in Alaska, Hawaii, Puerto Rico and Guam (no\nnowcast), `outside_domain` anywhere else (every series empty, not an\nerror). Each step carries `valid_time`, local time and offset, and\n`forecast_hour`; order by `valid_time`. `narrative` is the forecast in\nsentences, written by rules from the same numbers, and any active alert\nleads it. Responses carry `Cache-Control: max-age=300`.","operationId":"point_forecast_forecast_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"description":"Extra HRRR fields on the nowcast, comma separated: `severe` (CAPE/CIN variants, helicity, shear, storm motion, updraft helicity) and `upper_air` (925, 850, 700, 500 and 250 mb). CONUS only, like the nowcast itself. Any other value is a 422.","title":"Include"},"description":"Extra HRRR fields on the nowcast, comma separated: `severe` (CAPE/CIN variants, helicity, shear, storm motion, updraft helicity) and `upper_air` (925, 850, 700, 500 and 250 mb). CONUS only, like the nowcast itself. Any other value is a 422."},{"name":"explain","in":"query","required":false,"schema":{"type":"boolean","description":"When true, also return `facts`, the derived facts the narrative was written from, for seeing why a sentence appeared. Not a stable interface. Default false.","default":false,"title":"Explain"},"description":"When true, also return `facts`, the derived facts the narrative was written from, for seeing why a sentence appeared. Not a stable interface. Default false."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forecast/sounding":{"get":{"tags":["forecast"],"summary":"HRRR point sounding: pressure levels and surface, every hour of a run","description":"The HRRR column at the grid point nearest a location, for every forecast hour of the newest cycle that has at least f00 and f01. 39 pressure levels bottom up (1000 to 125 hPa every 25, then 100, 75, 50), each with geopotential height, temperature, dew point and wind; plus a surface block (2 m temperature and dew point, surface pressure, 10 m and 80 m wind, boundary-layer height). Raw SI: K, m, m/s, with pressures in hPa. Levels whose pressure is greater than that hour's surface pressure are below ground: they stay in the array with `below_ground: true` and every value null. Winds are earth-relative. Outside the HRRR grid is a 404; no cycle on disk is a 503.","operationId":"point_sounding_forecast_sounding_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"hours","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":49,"minimum":1},{"type":"null"}],"description":"At most this many hours, from 1 to 49, the earliest on hand first (after `valid_from` and `valid_to` are applied). Default all available.","title":"Hours"},"description":"At most this many hours, from 1 to 49, the earliest on hand first (after `valid_from` and `valid_to` are applied). Default all available."},{"name":"valid_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only hours valid at or after this time (ISO 8601, inclusive). A time without an offset is UTC. A window outside the newest run returns an empty `hours` list, not an error.","title":"Valid From"},"description":"Only hours valid at or after this time (ISO 8601, inclusive). A time without an offset is UTC. A window outside the newest run returns an empty `hours` list, not an error."},{"name":"valid_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only hours valid at or before this time (ISO 8601, inclusive). A time without an offset is UTC.","title":"Valid To"},"description":"Only hours valid at or before this time (ISO 8601, inclusive). A time without an offset is UTC."},{"name":"wind","in":"query","required":false,"schema":{"enum":["both","uv","speeddir"],"type":"string","description":"Which wind fields to include. `uv`: the u and v components only. `speeddir`: speed and direction only. `both` (the default): all four. Fields not asked for are left out rather than sent as null.","default":"both","title":"Wind"},"description":"Which wind fields to include. `uv`: the u and v components only. `speeddir`: speed and direction only. `both` (the default): all four. Fields not asked for are left out rather than sent as null."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoundingResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Rate limited: 5 calls in any 60 seconds per account, shared by every key on the account and with /v1/forecast/raw; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place, or a point outside the HRRR grid (the contiguous United States and its surroundings).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"503":{"description":"No HRRR sounding run is on hand yet, or the account limit could not be counted (`rate_limit_unavailable`). Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/visibility":{"get":{"tags":["visibility"],"summary":"Low visibility areas in a bounding box, as GeoJSON","description":"The newest low visibility analysis (every 15 minutes) as polygons by category, clipped to the bbox. Categories: 1 reduced (3 to 5 mi), 2 low (1 to 3 mi), 3 very_low (1/4 to 1 mi), 4 near_zero (under 1/4 mi); no polygon means normal. Each feature carries its `cause` (fog, marine_fog, smoke), `confidence` (low, medium, high), the `sources` that agreed (analysis, station, advisory, reports), whether it was created by a cluster of driver reports (`reported`) and the lowest analysed visibility in metres (`vis_m_min`). WxAlerts sets no thresholds: filter on category and confidence yourself. bbox at most 30 degrees a side. No run published yet is a 503.","operationId":"visibility_areas_visibility_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","maxLength":100,"description":"west,south,east,north in degrees, west less than east and south less than north, at most 30 degrees a side","examples":["-88.6,30.1,-86.4,31.2"],"title":"Bbox"},"description":"west,south,east,north in degrees, west less than east and south less than north, at most 30 degrees a side"},{"name":"min_category","in":"query","required":false,"schema":{"type":"integer","maximum":4,"minimum":1,"description":"Only areas this bad or worse, 1 (reduced) to 4 (near_zero)","default":1,"title":"Min Category"},"description":"Only areas this bad or worse, 1 (reduced) to 4 (near_zero)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityFeatureCollection"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"503":{"description":"No visibility analysis has been published yet. Retry shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/visibility/point":{"get":{"tags":["visibility"],"summary":"Low visibility at a point: the analysis, the nearest station, advisories, HRRR","description":"Everything the product knows at one place. `current` is the worst current area covering the point, or category 0 `normal` when none does (null, with a `message`, before the first run is published). `station` is the nearest airport (METAR) or buoy (NDBC) within 25 km that reported a visibility in the last 90 minutes. `advisories` are the active NWS Dense Fog, Marine Dense Fog, Freezing Fog and Dense Smoke Advisories covering the point. `outlook` is HRRR visibility for the next 6 hours with each hour's category (null outside the HRRR grid). Visibility in metres. Give lat and lon, or q, or location_id.","operationId":"visibility_point_visibility_point_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude in degrees. Give with `lon`.","examples":[37.62],"title":"Lat"},"description":"Latitude in degrees. Give with `lon`."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude in degrees, negative west. Give with `lat`.","examples":[-122.38],"title":"Lon"},"description":"Longitude in degrees, negative west. Give with `lat`."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, resolved through /locations/search. Used when `lat` and `lon` are not both given.","title":"Q"},"description":"Place name, ZIP or state, resolved through /locations/search. Used when `lat` and `lon` are not both given."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"id from a /locations/search result. Used when `lat` and `lon` are not both given.","title":"Location Id"},"description":"id from a /locations/search result. Used when `lat` and `lon` are not both given."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityPointResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"The `location_id` is unknown, or the `q` text matched no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-key-only":true}},"/visibility/reports":{"post":{"tags":["visibility"],"summary":"Driver fog reports, for integrations by arrangement","description":"Up to 500 reports per call, authenticated with a shared token in `X-Visibility-Token`. Each report's `observed_at` must be within the last 6 hours and no more than 5 minutes ahead, or the whole call is a 422. The reporter token is stored only as an HMAC; a report_id already stored is not stored again. Each report comes back with a status: `corroborated` (inside a current area of category 2 or worse, or 10 or more distinct reporters within 2 km and 30 minutes, this one included), `contradicted` (no area at the point and a station within 15 km read 8000 m or more in the last 90 minutes), or `uncorroborated`. Individual reports never change the product; only clusters of 10 or more distinct reporters do, on the next run.","operationId":"post_reports_visibility_reports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityReportBatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityReportResponse"}}}},"401":{"description":"Missing or wrong `X-Visibility-Token` (detail `invalid_token`). Under `/v1` a missing or bad API key is the coded `api_key_required` or `api_key_invalid` instead."},"429":{"description":"Rate limited (about 60 a minute per client); see Retry-After"},"503":{"description":"Report intake is not enabled on this deployment (detail `visibility_reports_disabled`)."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conditions":{"get":{"tags":["observations"],"summary":"Observed conditions at a point, assembled from nearby stations","description":"Measured surface conditions at a point, with every field credited to its own station.\n\nThis is not a forecast and does not blend with one. Give `lat` and `lon`, or\n`location_id`, or `q`. The nearest stations are ranked once (distance,\nweighted by how much the network is trusted and by the age of the reading)\nand each field takes the best ranked station that reports it, so the\ntemperature can come from a backyard station and the visibility from an\nairfield. Stations are never averaged. Every field names the station it came\nfrom, how far away that station is and how old the reading was.\n\nThere is no distance cap: a point in the open ocean is answered from the\nnearest airfield, however far, so check `distance_m` before showing a number\nas \"here\". `candidates_considered` of 0 means nothing has reported nearby\nwithin `max_age_minutes`. Sea state is returned separately in `marine`. A\nfield absent from `fields` had no station reporting it.","operationId":"conditions_conditions_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"A place name, used instead of `lat` and `lon`. The best match from `/locations/search` is used. No match is a 404.","title":"Q"},"description":"A place name, used instead of `lat` and `lon`. The best match from `/locations/search` is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"A place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"A place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"max_age_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"description":"Ignore stations whose last report is older than this many minutes, from 5 to 1440.","default":120,"title":"Max Age Minutes"},"description":"Ignore stations whose last report is older than this many minutes, from 5 to 1440."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"How many of the nearest stations to rank, from 1 to 50. More fills more fields, from further away.","default":12,"title":"Limit"},"description":"How many of the nearest stations to rank, from 1 to 50. More fills more fields, from further away."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionsResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stations":{"get":{"tags":["observations"],"summary":"Reporting stations inside a viewport","description":"Every station in a map viewport that has reported recently, with its latest reading.\n\nFor drawing a map. Stations that reported within `max_age_minutes` are\nreturned, airfields and buoys first, then the most recent. Filter with\n`sources`, `domain` or `reports_sea`. For a marine layer use\n`reports_sea=true` rather than `domain=marine`: nearly half the stations\nthat report sea state (piers, C-MAN towers, tide gauges) are in the land\ndomain. `truncated` is true when the box held more stations than `limit`.\nA field that disagrees badly with the station's neighbors is set to null and\nnamed in `withheld`, so the station stays on the map.","operationId":"stations_in_bounds_stations_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","description":"The viewport as `west,south,east,north` in degrees: the map's current extent. At most 30 degrees a side, or up to 180 when `sources=metar` is the only source. Does not cross the antimeridian. A malformed, inverted or oversized box is a 422 saying which.","examples":["-97.9,32.4,-96.3,33.4"],"title":"Bbox"},"description":"The viewport as `west,south,east,north` in degrees: the map's current extent. At most 30 degrees a side, or up to 180 when `sources=metar` is the only source. Does not cross the antimeridian. A malformed, inverted or oversized box is a 422 saying which."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most stations to return, from 1 to 2000. `truncated` says when the viewport held more.","default":400,"title":"Limit"},"description":"Most stations to return, from 1 to 2000. `truncated` says when the viewport held more."},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated feeds to include: `metar`, `aprs`, `ndbc`, `fawn`, `pws`. Default is all. An unknown name matches nothing rather than failing.","title":"Sources"},"description":"Comma separated feeds to include: `metar`, `aprs`, `ndbc`, `fawn`, `pws`. Default is all. An unknown name matches nothing rather than failing."},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"enum":["land","marine"],"type":"string"},{"type":"null"}],"description":"Whether the station may speak for conditions ashore. Marine platforms (buoys, offshore rigs) are excluded from land composition because air measured over open water is not the air on the beach.","title":"Domain"},"description":"Whether the station may speak for conditions ashore. Marine platforms (buoys, offshore rigs) are excluded from land composition because air measured over open water is not the air on the beach."},{"name":"reports_sea","in":"query","required":false,"schema":{"type":"boolean","description":"Only stations measuring the water: sea surface temperature or wave height. This is NOT the same as domain=marine, and a marine map layer wants this one: a C-MAN tower on a pier is in the land domain, because its air temperature is the air ashore, and it still reports the water beside it. Nearly half of all sea-state observations come from stations in the land domain.","default":false,"title":"Reports Sea"},"description":"Only stations measuring the water: sea surface temperature or wave height. This is NOT the same as domain=marine, and a marine map layer wants this one: a C-MAN tower on a pier is in the land domain, because its air temperature is the air ashore, and it still reports the water beside it. Nearly half of all sea-state observations come from stations in the land domain."},{"name":"max_age_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"description":"Leave out stations whose last report is older than this many minutes, from 5 to 1440.","default":120,"title":"Max Age Minutes"},"description":"Leave out stations whose last report is older than this many minutes, from 5 to 1440."},{"name":"detail","in":"query","required":false,"schema":{"enum":["full","minimal"],"type":"string","description":"`full` (the default) returns the whole row for each station. `minimal` returns only what is needed to place and color a point: position, one reading and the age. That reading is the air temperature, or, with `reports_sea=true` or `domain=marine`, the water temperature and wave height. For a client drawing a field rather than a list: over a continent the full rows are most of a megabyte, nearly all of it raw reports nobody will click.","default":"full","title":"Detail"},"description":"`full` (the default) returns the whole row for each station. `minimal` returns only what is needed to place and color a point: position, one reading and the age. That reading is the air temperature, or, with `reports_sea=true` or `domain=marine`, the water temperature and wave height. For a client drawing a field rather than a list: over a continent the full rows are most of a megabyte, nearly all of it raw reports nobody will click."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationsResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stations/{station_id}":{"get":{"tags":["observations"],"summary":"One station and its latest reading","description":"One station: who it is, where it is and its latest reading.\n\n`latest` holds only the fields this station reports; an absent key means\nthe station has no such sensor. `position_source` says where the\ncoordinates came from. A station on the roster that has not sent anything\nyet has `observed_at`, `age_seconds` and `raw` null and `latest` empty.","operationId":"station_detail_stations__station_id__get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9","title":"Station Id"},"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9"},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationDetailResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No station has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stations/{station_id}/history":{"get":{"tags":["observations"],"summary":"One station's recent readings","description":"One station's readings over the last `hours`, oldest first.\n\nEach sample carries `observed_at` and only the fields that reading had. A\nknown station with nothing in the window returns an empty list, not an\nerror; an id no station has is a 404.","operationId":"station_history_stations__station_id__history_get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9","title":"Station Id"},"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9"},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"How far back to look, in hours, from 1 to 168.","default":24,"title":"Hours"},"description":"How far back to look, in hours, from 1 to 168."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most samples to return, from 1 to 2000. When the window holds more, the newest `limit` are kept, so a `count` equal to `limit` means the start of the window was cut.","default":500,"title":"Limit"},"description":"Most samples to return, from 1 to 2000. When the window holds more, the newest `limit` are kept, so a `count` equal to `limit` means the start of the window was cut."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationHistoryResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No station has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather":{"get":{"tags":["weather"],"summary":"Current conditions and forecast for a point, ready to display","description":"Measured conditions now and the forecast from here, sized for a screen.\n\nGive `lat` and `lon`, or `location_id`, or `q`. `current` is measured by the\nnearest surface stations and is null when none within 50 miles has reported\nin the last two hours. `hourly` and `daily` are the National Blend of Models,\ncut to start now and today. The two are never blended and can disagree: an\nobservation is a fact about this minute and a forecast is a guess about the\nnext one. `sky` and `icon` are one decision made on the server so every\nclient draws the same picture.\n\nThe forecast covers the United States and its territories. A point outside\nit returns 200 with `hourly` and `daily` empty, not a 404, and `current` can\nstill be filled because stations are worldwide. For every field credited to\nits own instrument use `/conditions`; for every field the models publish use\n`/forecast`. Responses are cached for 60 seconds.","operationId":"weather_weather_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"Steps of `hourly` to return, from 1 to 168. A step is one forecast step, not one clock hour: the series is hourly for about two days and coarser after that. A panel showing the next twelve should ask for twelve rather than paying for the whole series.","default":24,"title":"Hours"},"description":"Steps of `hourly` to return, from 1 to 168. A step is one forecast step, not one clock hour: the series is hourly for about two days and coarser after that. A panel showing the next twelve should ask for twelve rather than paying for the whole series."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":1,"description":"Daily buckets to return, from 1 to 8, starting today.","default":7,"title":"Days"},"description":"Daily buckets to return, from 1 to 8, starting today."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeatherResponse"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/donations/checkout":{"post":{"tags":["donations"],"summary":"Start a donation: returns a Stripe Checkout URL to redirect to","operationId":"create_checkout_donations_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/donations/stats":{"get":{"tags":["donations"],"summary":"Supporter count and funding progress for the support page","operationId":"support_stats_donations_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportStats"}}}}}}},"/billing/checkout":{"post":{"tags":["billing"],"summary":"Start checkout for a plan, or say it is already held","operationId":"start_checkout_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutOut"}}}},"400":{"description":"Not a plan we sell"},"503":{"description":"Billing is not configured, so nothing would be granted"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/store/sync":{"post":{"tags":["billing"],"summary":"Re-read this account's App Store and Google Play purchases now","description":"Called by the app after a purchase or a restore.\n\nThe same refresh the webhook does, for the caller only, so access is\nimmediate. No body: the account is the signed-in one and RevenueCat is\nasked, so nothing the app says about a purchase is trusted.","operationId":"store_sync_billing_store_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncOut"}}}},"429":{"description":"Too many syncs"},"502":{"description":"RevenueCat could not be reached"},"503":{"description":"RevenueCat is not configured on this deployment"}}}},"/billing/store/eligibility":{"get":{"tags":["billing"],"summary":"Whether the app should offer the store plan and the capacity pack","description":"The double billing guard, asked before the paywall is shown.\n\nAn account with a live web (Stripe) plan is told not to be offered the\nstore plan, with the reason to show. A store purchase made anyway is\nhonoured (the account simply holds two plans) and support resolves it\n(docs/in-app-subscriptions.md, \"Double billing\").","operationId":"store_eligibility_billing_store_eligibility_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityOut"}}}}}}},"/auth/login":{"get":{"tags":["auth"],"summary":"Begin sign-in","operationId":"login_auth_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/step-up":{"get":{"tags":["auth"],"summary":"Re-authenticate for a sensitive admin action","description":"Send the browser to authentik to prove, again, who it is.\n\n`prompt=login` and a short `max_age` make authentik ask for credentials\neven though it holds an SSO session (see STEP_UP_PARAMS for why max_age is\nnot 0). The callback does not take that on trust either: it checks the\nreturned `auth_time` is fresh (see `_complete_step_up`).\n\nRequires a signed-in session, and binds the step-up to it: the session id\nrides in the encrypted login cookie, and the callback refuses to stamp any\nother session. Not restricted to admins, because a step-up grants nothing\nby itself; it only satisfies `require_step_up` on routes that already\npassed every other admin check.","operationId":"step_up_auth_step_up_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/callback":{"get":{"tags":["auth"],"summary":"Complete sign-in","operationId":"callback_auth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/logout":{"post":{"tags":["auth"],"summary":"Sign out","description":"End the session here, and hand back authentik's end-session URL.\n\nDeleting the row is what actually signs the user out - the cookie is\ncleared as a courtesy, and a copy kept by an attacker stops working either\nway. Ending the authentik SSO session is a separate step the browser must\nperform by navigating, which is why the URL is returned rather than\nfollowed.","operationId":"logout_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/me":{"get":{"tags":["auth"],"summary":"The signed-in user","description":"Identity only.\n\nDeliberately not a dumping ground for account data: places, channels and\nbilling each have their own endpoint with their own shape and caching. This\nis what the page header needs to render, and nothing about the session\nitself - no expiry, no token state, nothing an attacker could use to tell a\nlive cookie from a dead one.","operationId":"me_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Auth Me Get"}}}}}}},"/auth/reauth":{"get":{"tags":["auth"],"summary":"Sign in again, then come back to the site","description":"The site's step-up: authentik asks for the password again whatever SSO\nsession it holds, and the browser comes back to `next` (same allow-list as\n/auth/login). Used before deleting the account.\n\nWith a live session it is a step-up bound to that session, exactly as\n/auth/step-up is for the admin panel (`_complete_step_up` checks the same\nthree things) except for where it returns to. Without one it is an\nordinary sign-in with the same forced prompt, which is just as fresh.","operationId":"reauth_auth_reauth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/me/delete":{"get":{"tags":["auth"],"summary":"Whether this account can be deleted right now","description":"`fresh` says the last real sign-in is recent enough\n(ACCOUNT_DELETE_REAUTH_MINUTES). When it is not, a browser is given\n`reauth_url` to send the person through first, with its own `?next=`; the\nphone signs in again itself, with prompt=login.","operationId":"deletion_check_auth_me_delete_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Deletion Check Auth Me Delete Get"}}}}}},"post":{"tags":["auth"],"summary":"Delete this account","description":"Delete the signed-in account. See services/account_deletion.py.\n\nNeeds a sign-in within ACCOUNT_DELETE_REAUTH_MINUTES (403\n`reauth_required`) and `confirm` set to DELETE or the account's email (400\n`confirmation_required`). An account holding admin access is refused (409\n`admin_account`).\n\nSigns the account out everywhere and stops its alerts before anything else,\nthen purges. 200 `deleted` when every step finished; 202 `pending` when one\n(authentik, Stripe, the photo store, the email) will be retried in the\nbackground. Either way the account is gone from the person's side, and the\nsession cookie is cleared.","operationId":"delete_me_auth_me_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccount"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/connections":{"get":{"tags":["auth"],"summary":"Social sign-ins and whether each is linked","description":"One row per enabled authentik OAuth source: `slug`, `name`,\n`connected`, and `can_disconnect`, which is false when unlinking it would\nleave the account no way to sign in.","operationId":"connections_auth_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Connections Auth Connections Get"}}}}}}},"/auth/connections/{slug}/connect":{"get":{"tags":["auth"],"summary":"Link a social sign-in to this account","description":"A navigation from the account page. Runs an OIDC round trip so the\nbrowser holds an authentik session for THIS account (silent when it\nalready does), then sends it to authentik's source URL, which links the\nprovider to that session's user. Signed out, it is an ordinary sign-in\nthat comes back to the account page.","operationId":"connect_auth_connections__slug__connect_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/connections/{slug}":{"delete":{"tags":["auth"],"summary":"Unlink a social sign-in from this account","description":"Refused with 409 `last_sign_in_method` when it is the account's only\nway in. Answers with the updated list.","operationId":"disconnect_auth_connections__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Disconnect Auth Connections  Slug  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/l2-token":{"get":{"tags":["auth"],"summary":"A token for l2.wxalerts.org","description":"Hand the browser its own authentik access token, for l2 only.\n\n## Why this exists at all\n\nl2.wxalerts.org serves NEXRAD Level II chunks from nginx, and every\n`/nexrad/` path is gated by an `auth_request` to the chunk consumer, which\nvalidates an authentik access token offline against the provider's JWKS.\nThe browser has to present that token itself: the chunks are fetched with\n`fetch()` straight from the page, seventy-odd per volume, and proxying that\nthrough this API would put a 400 MB/day radar stream through a process\nwhose job is JSON.\n\n## Why it is a deliberate exception and not a drift\n\nThe rest of this module exists so the browser never holds a token - it gets\nan opaque HttpOnly cookie and every authentik credential stays here,\nencrypted. This endpoint breaks that on purpose, and the reasons it is\nacceptable are specific rather than general:\n\n  * **Narrow audience.** The token's `aud` is `wxalerts-web`. The\n    consumer's allow-list is what decides whether l2 accepts it, and this\n    API's own Bearer check deliberately refuses that audience (see\n    `oidc.verify_access_token`), so a token leaked from the page cannot be\n    turned around and used as a credential here.\n  * **Short lifetime.** The web provider issues five-minute access tokens.\n    A token scraped out of a page is useful for minutes, not days.\n  * **Refreshable, and the refresh token stays here.** The valuable\n    credential is the refresh token, which mints new access tokens until\n    revoked. It is never returned. The browser comes back to this endpoint,\n    with its cookie, to get the next one.\n  * **Revocable.** Deleting the session row stops the browser getting\n    another token, and the current one dies on its own within minutes.\n\n## What would make this wrong\n\n  * If `wxalerts-web` ever gained scopes or an audience that reached\n    anything but l2. The token is as powerful as that provider is, so\n    widening the provider silently widens this.\n  * If the access-token validity were raised much past five minutes. The\n    whole argument rests on the window being short.\n  * If `offline_access` reached the browser, or the refresh token were\n    returned \"for convenience\". That is the credential this is built\n    around not handing over.\n  * If anything cached the response. Hence `no-store` below, and the CSRF\n    header requirement: a shared or proxy cache holding one account's token\n    and serving it to the next caller would be the whole exposure at once.\n\n## Why the CSRF header on a GET\n\n`require_csrf` exempts safe methods, so the check is made here by hand.\nThis GET is not safe in the sense that exemption assumes: its response body\nis a credential. CORS is the real control - another origin cannot read the\nbody - but requiring a header a plain `<img>`, `<script>` or form cannot\nset means a no-cors prefetch from somewhere else does not even get to warm\na cache with it.","operationId":"l2_token_auth_l2_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response L2 Token Auth L2 Token Get"}}}}}}},"/auth/entitlements":{"get":{"tags":["auth"],"summary":"What this account is allowed","description":"The account's tier and its ceilings.\n\nIts own endpoint rather than more fields on /me, for the reason /me gives\nfor staying small: this has a different shape and a different lifetime. A\nname changes when somebody edits it in authentik; a tier changes when a\ncard is charged or declined, which is why this is `no-store` and /me need\nnot be.\n\n`channels` is what the account can actually be reached on today, not what\nthe tier grants on paper - a client rendering a toggle for a channel with\nno dispatcher behind it is offering a switch that does nothing.\n\n`level2` is NEXRAD Level II live radar, true for every signed in account.\n\nAnswers the browser's session and the app's Bearer token alike\n(`CurrentUserDep`). The app sells nothing and reads its monthly SMS and\ncall figures and its top-up pack count here, so a cookie-only dependency\nwould leave it with nothing to show.","operationId":"entitlements_for_me_auth_entitlements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Entitlements For Me Auth Entitlements Get"}}}}}}},"/admin/me":{"get":{"tags":["admin"],"summary":"The signed-in administrator","description":"What the UI builds its navigation from.\n\nPresentation only: every route checks again on its own, so a UI that showed\na module it should not have would collect a 403 rather than any data.\n`writable_modules` is beyond the contract's first draft, for the one case\nwhere a module can be opened but not acted in (wx-audit-viewer), so the UI\ncan hide the export button instead of offering it and failing.\n\n`assignable_groups` (clarification 2) is what PUT /admin/users/{id}/groups\naccepts: the panel's own groups plus the configured super groups, less\nauthentik's own superuser group (authz.IDP_SUPERUSER_GROUPS), so the\ngroups editor is built from the same list the server enforces. Everybody\ngets it; only a super admin can use it, and the route says so.","operationId":"admin_me_admin_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Admin Me Admin Me Get"}}}}}}},"/admin/dashboard":{"get":{"tags":["admin"],"summary":"Tiles and attention items for the caller's modules","operationId":"dashboard_admin_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Dashboard Admin Dashboard Get"}}}}}}},"/admin/audit/recent":{"get":{"tags":["admin"],"summary":"The last audit rows the caller may see","description":"Rows from the modules the caller can open. A team manager (teams\nwithout a group grant) sees only the `teams` rows of the teams they\nmanage. `ip` and `user_agent` are for super admins only.","operationId":"audit_recent_admin_audit_recent_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Audit Recent Admin Audit Recent Get"}}}}}}},"/admin/users":{"get":{"tags":["admin"],"summary":"Accounts","description":"Newest first. `q` matches email or name (substring, any case), the\nexact `sub`, or the numeric id. `groups` is from the latest session; see\nservices/admin_users.py.","operationId":"list_users_admin_users_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Q"}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Filter"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Users Admin Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}":{"get":{"tags":["admin"],"summary":"One account","description":"The list row plus devices, teams, live sessions, comps, and what authentik\nsays: its pk, the direct groups, whether it is active, and the MFA\nmethods enrolled. `authentik` says how that went (`ok`, `not_configured`,\n`not_found`, `unreachable`); without it the authentik fields are empty and\nthe rest still answers.","operationId":"get_user_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get User Admin Users  User Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/deliveries":{"get":{"tags":["admin"],"summary":"Recent alert deliveries and outcomes","description":"The latest alert texts, contact texts, emails and calls for this account,\neach with what we did and what the provider reported afterwards, plus any\nof its email contacts on the suppression list. Destinations are masked:\nthis answers \"did it arrive\", not \"where did it go\".","operationId":"user_deliveries_admin_users__user_id__deliveries_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response User Deliveries Admin Users  User Id  Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/plan-groups/sync":{"post":{"tags":["admin"],"summary":"Apply billing to their groups now","description":"Run the subscription to group sync for this account now, the same\nsync the webhook and the reconcile worker run (services/plan_group_sync.py):\nmanaged groups only, each change audited with this admin as the actor.\n\nWrite access and no step-up, and no super-admin guard on an administrator:\nit grants nothing billing has not already granted, it removes nothing\nbilling has not already ended, and it cannot touch an admin group (a\nmapping naming one turns the sync off). 503 `not_configured` with no\nmapping or no authentik, also for a mapping the sync refuses; 404 when\nauthentik has no user for this account; 502 when authentik fails.","operationId":"sync_plan_groups_admin_users__user_id__plan_groups_sync_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sync Plan Groups Admin Users  User Id  Plan Groups Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/password-reset":{"post":{"tags":["admin"],"summary":"Email a password reset link","description":"authentik mails its recovery link through AUTHENTIK_RECOVERY_EMAIL_STAGE\n(503 `not_configured` without one).","operationId":"password_reset_admin_users__user_id__password_reset_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Password Reset Admin Users  User Id  Password Reset Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/verification-email":{"post":{"tags":["admin"],"summary":"Resend email verification","description":"Not possible on this deployment, and said plainly rather than faked.\n\nauthentik 2026.5's API has no \"send a verification email\" call: the only\nmail it sends on request is the recovery link (`recovery_email`), which\nresets a password and does not verify anything. Verification happens in\nauthentik's enrollment flow. Until a verification flow and an API to start\nit exist, this answers 501.","operationId":"verification_email_admin_users__user_id__verification_email_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/revoke-sessions":{"post":{"tags":["admin"],"summary":"Sign them out everywhere","description":"Ends this API's sessions first, in their own audited transaction, so\nthey are gone even if authentik is down; then authentik's. A failure on\nthe authentik half is reported as such, after ours are already ended.","operationId":"revoke_sessions_admin_users__user_id__revoke_sessions_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Sessions Admin Users  User Id  Revoke Sessions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/disable":{"post":{"tags":["admin"],"summary":"Disable the account","operationId":"disable_user_admin_users__user_id__disable_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Disable User Admin Users  User Id  Disable Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/enable":{"post":{"tags":["admin"],"summary":"Enable the account","operationId":"enable_user_admin_users__user_id__enable_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Enable User Admin Users  User Id  Enable Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/groups":{"put":{"tags":["admin"],"summary":"Change admin group membership","description":"Add or remove admin groups in authentik.\n\nOnly `assignable_groups` (authz.ASSIGNABLE_GROUPS plus the super groups,\nless authentik's own superuser group, which is granted in authentik).\n\nSerialized by a Postgres advisory lock held across the whole change, so\ntwo super admins removing each other at the same moment cannot both pass\nthe last-super-admin check; the second waits, then sees the first's\nresult, or gives up with 409 after GROUPS_LOCK_WAIT_SECONDS.\nA removal also takes the group off the person's stored sessions at once,\nso losing access does not wait for their next sign-in; an addition takes\neffect at their next sign-in or step-up, when the groups claim is read.","operationId":"change_groups_admin_users__user_id__groups_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Groups Admin Users  User Id  Groups Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/export":{"post":{"tags":["admin"],"summary":"Download their data","description":"A JSON attachment of everything WxAlerts stores about the person. The\naudit row is committed before the archive is built and returned.","operationId":"export_user_admin_users__user_id__export_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/delete":{"post":{"tags":["admin"],"summary":"Delete the account","description":"The same deletion the person can run themselves (services/\naccount_deletion.py), for a request that came by email.\n\nStep-up, and `confirm` set to DELETE or the account's email. Refused for\nyour own account (use the account page), for an account holding admin\naccess (409 `admin_account`), and while a safety case on it is open (409\n`legal_hold`). On an account already being deleted it resumes the job,\nwhich is how a deletion stuck on a step is retried by hand.\n\nThe audit row names the account by id only: once the purge has run, the\nlog is the one place left that could tie the number to a person, and it\nshould not. 200 with `status` `deleted`, or 202 `pending` when a step will\nbe retried.","operationId":"delete_user_admin_users__user_id__delete_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUser"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete User Admin Users  User Id  Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/account-deletions":{"get":{"tags":["admin"],"summary":"Deletions still in progress","description":"Every deletion that has not finished, oldest first, with the step it\nis stuck on. A finished one is a tombstone and is not listed.","operationId":"pending_deletions_admin_account_deletions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pending Deletions Admin Account Deletions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/devices/{device_id}":{"delete":{"tags":["admin"],"summary":"Stop push to a device","description":"Forget the device and its FCM token.\n\n\"Invalidate\" here means the token is deleted from the only place that\nsends to it. FCM's HTTP v1 API has no server-side call to revoke a\nregistration token (only the app can delete its own), so removing the row\nis the whole of what a server can do: nothing pushes to that token again.\nIf the app is still installed it re-registers on its next launch, which is\nthe right outcome for a stale or misbehaving registration; to stop a person\nreceiving push for good, disable the account.","operationId":"delete_device_admin_users__user_id__devices__device_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"device_id","in":"path","required":true,"schema":{"type":"integer","title":"Device Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/api-keys":{"get":{"tags":["admin"],"summary":"API keys: sorted, filtered and paged","operationId":"list_api_keys_admin_api_keys_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"description":"Label, prefix or owner email","title":"Q"},"description":"Label, prefix or owner email"},{"name":"state","in":"query","required":false,"schema":{"enum":["live","expired","revoked","all"],"type":"string","default":"live","title":"State"}},{"name":"owner","in":"query","required":false,"schema":{"enum":["any","system","account"],"type":"string","default":"any","title":"Owner"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"User Id"}},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Scope"}},{"name":"service","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Service"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["created_at","last_used_at","expires_at","label","owner","prefix","requests_30d"],"type":"string","default":"created_at","title":"Sort"}},{"name":"order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","default":"desc","title":"Order"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Make an API key, for an account or for nobody","operationId":"create_api_key_admin_api_keys_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/api-keys":{"post":{"tags":["admin"],"summary":"Make an API key for an account","operationId":"create_user_api_key_admin_users__user_id__api_keys_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserApiKeyCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/api-keys/{key_id}":{"patch":{"tags":["admin"],"summary":"Rename an API key or set its service flag","operationId":"update_api_key_admin_api_keys__key_id__patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKey"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/api-keys/{key_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke an API key","operationId":"revoke_api_key_admin_api_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKeyRevoke"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminApiKey"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/certificates":{"get":{"tags":["admin"],"summary":"Issued certificates","description":"Newest first. `status` is derived; `expiring` means good until a date\nwithin the next 30 days (services/admin_certs.EXPIRING_DAYS).","operationId":"list_certificates_admin_certificates_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Certificates Admin Certificates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/certificates/{cert_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke a certificate","description":"Withdraw it. /verify answers `revoked` from the next request on, the\nholder's PDF stops being drawn, and they can no longer file or share a\nposition. The reason stays in the audit log and on the row; it is not\nshown publicly.","operationId":"revoke_certificate_admin_certificates__cert_id__revoke_post","parameters":[{"name":"cert_id","in":"path","required":true,"schema":{"type":"integer","title":"Cert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Certificate Admin Certificates  Cert Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/certificates/{cert_id}/reissue":{"post":{"tags":["admin"],"summary":"Reissue a certificate","description":"Lift a revocation and recompute the row through the exam's own writer,\nrefreshing the printed name. The credential number does not change.","operationId":"reissue_certificate_admin_certificates__cert_id__reissue_post","parameters":[{"name":"cert_id","in":"path","required":true,"schema":{"type":"integer","title":"Cert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reissue Certificate Admin Certificates  Cert Id  Reissue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads":{"get":{"tags":["admin"],"summary":"Certificate uploads","description":"`spot_check=queued` is the spot-check list: the sample, and every\nupload the reading could not vouch for.","operationId":"list_uploads_admin_cert_uploads_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"spot_check","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spot Check"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Uploads Admin Cert Uploads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}":{"get":{"tags":["admin"],"summary":"One NWS certificate upload","operationId":"get_upload_admin_cert_uploads__upload_id__get","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Upload Admin Cert Uploads  Upload Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/file":{"get":{"tags":["admin"],"summary":"The uploaded file","description":"Stream the file out of the private bucket.\n\nThe bytes came from a member of the public, so they are never rendered as\na page on the API's origin: `nosniff`, a CSP that allows nothing, and a PDF\ngoes out as an attachment. The response passes through the app's CORS\nmiddleware like any other, with credentials, and `Content-Disposition` is\nalready in its exposed headers, so a fetch from the panel keeps the name.","operationId":"get_upload_file_admin_cert_uploads__upload_id__file_get","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/approve":{"post":{"tags":["admin"],"summary":"Approve an NWS certificate","description":"For an upload still `pending` from before uploads were accepted on\narrival: rung 2 and the NWS standing, until its office's expiry. No\ntrust boost. A completion date in the future is 422, the public upload\nroute's rule.","operationId":"approve_upload_admin_cert_uploads__upload_id__approve_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Approve"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Upload Admin Cert Uploads  Upload Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/reject":{"post":{"tags":["admin"],"summary":"Reject an NWS certificate","description":"The reason is shown to the person on their own upload status\n(GET /training/nws-certificate). No email is sent yet.","operationId":"reject_upload_admin_cert_uploads__upload_id__reject_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reject Upload Admin Cert Uploads  Upload Id  Reject Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/request-reupload":{"post":{"tags":["admin"],"summary":"Ask for a better copy","operationId":"request_reupload_admin_cert_uploads__upload_id__request_reupload_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Request Reupload Admin Cert Uploads  Upload Id  Request Reupload Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/spot-check/approve":{"post":{"tags":["admin"],"summary":"It stands","description":"The reviewer looked at the file and the reading and it stands.\n\nEntering a date or office works the expiry out again, which can lengthen\nhow long the person counts, so that asks for a fresh sign-in; a plain\napproval does not, because it grants nothing the upload had not already.","operationId":"spot_check_approve_admin_cert_uploads__upload_id__spot_check_approve_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SpotApprove"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Spot Check Approve Admin Cert Uploads  Upload Id  Spot Check Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/cert-uploads/{upload_id}/spot-check/flag":{"post":{"tags":["admin"],"summary":"Flag a concern","description":"Record a concern with a reason. Deletes nothing and does not change the\nperson's standing; revoke under Certificates if they should no longer\ncount. The reason is the reviewers', not shown to the person.","operationId":"spot_check_flag_admin_cert_uploads__upload_id__spot_check_flag_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"integer","title":"Upload Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Spot Check Flag Admin Cert Uploads  Upload Id  Spot Check Flag Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/teams":{"get":{"tags":["admin"],"summary":"Spotter teams","description":"Teams newest first. A team manager sees only the teams they manage.\n\n`kinds` rides along with the page (clarification 3) so the filter is built\nfrom the model rather than hardcoded in the UI.","operationId":"list_teams_admin_teams_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Kind"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Teams Admin Teams Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/teams/kinds":{"get":{"tags":["admin"],"summary":"The org kinds the teams filter takes","operationId":"team_kinds_admin_teams_kinds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Team Kinds Admin Teams Kinds Get"}}}}}}},"/admin/teams/{team_id}/members":{"get":{"tags":["admin"],"summary":"A team's roster","description":"Members newest first. Removed members are history and are left out\nunless asked for. Pending invitations are shown to platform admins only\n(see _visible_member).","operationId":"list_members_admin_teams__team_id__members_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"integer","title":"Team Id"}},{"name":"include_removed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Removed"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Members Admin Teams  Team Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Add somebody to a team, or invite them","description":"Two different operations, by who is asking.\n\nA platform admin adds by user id or by email, `active` unless they ask for\n`pending`; a removed or suspended member is reactivated on their existing\nrow, an active one is a 409, and the answer is the member row.\n\nA team manager may only INVITE, by email, as `member` or `operator`. The\nanswer is 202 `{\"invited\": true}` whatever happened: whether the address\nhas an account, is already on the team, or matches two accounts is not\nsomething a manager learns here, because a manager is not trusted with\nthe user directory. The person accepts or declines from their own account\n(POST /spotter/orgs/{id}/invitation/accept or /decline), and a pending\nmembership confers nothing until they do.","operationId":"add_member_admin_teams__team_id__members_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"integer","title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberAdd"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Member Admin Teams  Team Id  Members Post"}}}},"202":{"description":"A team manager's invitation by email"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/teams/{team_id}/members/{user_id}":{"put":{"tags":["admin"],"summary":"Change a member's role","operationId":"change_role_admin_teams__team_id__members__user_id__put","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"integer","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRole"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Role Admin Teams  Team Id  Members  User Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Remove somebody from a team","description":"Sets the membership to `removed`; the row stays as history.","operationId":"remove_member_admin_teams__team_id__members__user_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"integer","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Member Admin Teams  Team Id  Members  User Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/reports":{"get":{"tags":["admin"],"summary":"Spotter reports, newest first, with their moderation","operationId":"list_reports_admin_reports_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"visibility","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Reports Admin Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/reports/{report_id}/moderate":{"post":{"tags":["admin"],"summary":"Publish, hide, escalate or clear a report, or settle its remarks","operationId":"moderate_report_admin_reports__report_id__moderate_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModerateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Moderate Report Admin Reports  Report Id  Moderate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/campaigns":{"get":{"tags":["admin"],"summary":"The email this service sends, and who asked it to stop","operationId":"campaigns_admin_campaigns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Campaigns Admin Campaigns Get"}}}}}}},"/admin/ops/status":{"get":{"tags":["admin"],"summary":"Ingest freshness, Prometheus tiles and the Grafana link","operationId":"ops_status_admin_ops_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Ops Status Admin Ops Status Get"}}}}}}},"/admin/security/decisions":{"get":{"tags":["admin"],"summary":"CrowdSec decisions in force, and a summary","operationId":"list_decisions_admin_security_decisions_get","parameters":[{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(all|crowdsec|cscli|CAPI|lists)$"},{"type":"null"}],"title":"Origin"}},{"name":"ip","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ip"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Decisions Admin Security Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Ban an address or range (step-up)","operationId":"add_decision_admin_security_decisions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Decision Admin Security Decisions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/security/decisions/{decision_id}":{"delete":{"tags":["admin"],"summary":"Lift a decision (step-up)","operationId":"delete_decision_admin_security_decisions__decision_id__delete","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(crowdsec|cscli|CAPI|lists)$"},{"type":"null"}],"title":"Origin"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Decision Admin Security Decisions  Decision Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/audit":{"get":{"tags":["admin"],"summary":"Audit log rows, newest first","operationId":"list_audit_admin_audit_get","parameters":[{"name":"module","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Module"}},{"name":"step_up","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Step Up"}},{"name":"actor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Audit Admin Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/audit/export.csv":{"post":{"tags":["admin"],"summary":"The audit log as CSV (step-up)","operationId":"export_audit_admin_audit_export_csv_post","parameters":[{"name":"module","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Module"}},{"name":"step_up","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Step Up"}},{"name":"actor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/billing/summary":{"get":{"tags":["admin"],"summary":"Recurring revenue, this month's gifts, failed renewals","operationId":"billing_summary_admin_billing_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Billing Summary Admin Billing Summary Get"}}}}}}},"/admin/billing/payments":{"get":{"tags":["admin"],"summary":"Recent payments (gifts), newest first","operationId":"billing_payments_admin_billing_payments_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Payments Admin Billing Payments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/billing/failed":{"get":{"tags":["admin"],"summary":"Past-due and unpaid subscriptions","operationId":"billing_failed_admin_billing_failed_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Failed Admin Billing Failed Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/billing/payments/{payment_id}/refund":{"post":{"tags":["admin"],"summary":"Refund a payment (step-up)","operationId":"refund_payment_admin_billing_payments__payment_id__refund_post","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Refund Payment Admin Billing Payments  Payment Id  Refund Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/comps":{"get":{"tags":["admin"],"summary":"Complimentary plans this account has had","operationId":"list_comps_admin_users__user_id__comps_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Comps Admin Users  User Id  Comps Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Grant a complimentary plan (step-up)","operationId":"grant_comp_admin_users__user_id__comps_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Grant Comp Admin Users  User Id  Comps Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/comps/{comp_id}/revoke":{"post":{"tags":["admin"],"summary":"End a complimentary plan now","operationId":"revoke_comp_admin_users__user_id__comps__comp_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"comp_id","in":"path","required":true,"schema":{"type":"integer","title":"Comp Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Comp Admin Users  User Id  Comps  Comp Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases":{"get":{"tags":["admin"],"summary":"Flagged uploads","operationId":"list_cases_admin_safety_cases_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"State"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Cases Admin Safety Cases Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}":{"get":{"tags":["admin"],"summary":"One flagged upload","operationId":"get_case_admin_safety_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Case Admin Safety Cases  Case Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}/file":{"get":{"tags":["admin"],"summary":"Open the flagged file","description":"The preserved original, for a reviewer ruling out a false positive.\n\nCounted and audited, and the count committed, before a byte is sent, so\na viewing is on the record whether or not the response arrives. The\nresponse is never cached anywhere and never rendered as a page on the\nAPI's origin: `no-store`, `nosniff`, and a CSP that allows nothing.","operationId":"get_case_file_admin_safety_cases__case_id__file_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}/confirm":{"post":{"tags":["admin"],"summary":"Confirm the match","description":"The match stands. The account stays disabled, and the uploader is told.","operationId":"confirm_case_admin_safety_cases__case_id__confirm_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Decision"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Confirm Case Admin Safety Cases  Case Id  Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}/clear":{"post":{"tags":["admin"],"summary":"Clear as a false positive","description":"Restore the account, the profile and the report, and tell the uploader.","operationId":"clear_case_admin_safety_cases__case_id__clear_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clearing"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Clear Case Admin Safety Cases  Case Id  Clear Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}/cybertip":{"post":{"tags":["admin"],"summary":"Record a CyberTipline report","description":"A report filed by hand at report.cybertip.org, and its number.","operationId":"record_cybertip_admin_safety_cases__case_id__cybertip_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CyberTip"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Record Cybertip Admin Safety Cases  Case Id  Cybertip Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/safety/cases/{case_id}/notify":{"post":{"tags":["admin"],"summary":"Send the uploader's notice again","description":"The under-review notice while the case is pending, the outcome after.","operationId":"resend_notice_admin_safety_cases__case_id__notify_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resend Notice Admin Safety Cases  Case Id  Notify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/spotters/{user_id}/profile-hide":{"post":{"tags":["admin"],"summary":"Hide a public spotter profile","operationId":"hide_profile_admin_spotters__user_id__profile_hide_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileHideRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Hide Profile Admin Spotters  User Id  Profile Hide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Unhide a public spotter profile","operationId":"unhide_profile_admin_spotters__user_id__profile_hide_delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Unhide Profile Admin Spotters  User Id  Profile Hide Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists/requests":{"get":{"tags":["admin"],"summary":"Meteorologist requests","description":"Oldest submission first, the order they should be worked in. Without a\nstatus, the ones waiting on an admin (pending and needs_info).","operationId":"list_requests_admin_meteorologists_requests_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminMeteorologistRequest"},"title":"Response List Requests Admin Meteorologists Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists/requests/{request_id}":{"get":{"tags":["admin"],"summary":"One meteorologist request","operationId":"get_request_admin_meteorologists_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeteorologistRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists/requests/{request_id}/checklist":{"patch":{"tags":["admin"],"summary":"Update the admin's checklist on a request","description":"Merged into what is there, key by key; a null value removes a key.\nValues are booleans, numbers or short strings: it is a checklist, and a\nnested document would be a second form nobody designed.","operationId":"update_checklist_admin_meteorologists_requests__request_id__checklist_patch","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeteorologistRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists/requests/{request_id}/decide":{"post":{"tags":["admin"],"summary":"Approve, deny or ask for more on a request","description":"Approve grants (step-up, and a display label is required: it is how\ntheir public remarks will be signed). Deny and needs_info close or return\nthe request with a note the requester reads, so the note is required.","operationId":"decide_request_admin_meteorologists_requests__request_id__decide_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRequestDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeteorologistRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists":{"get":{"tags":["admin"],"summary":"Meteorologists, live and revoked","operationId":"list_meteorologists_admin_meteorologists_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminMeteorologist"},"type":"array","title":"Response List Meteorologists Admin Meteorologists Get"}}}}}}},"/admin/meteorologists/{user_id}/grant":{"post":{"tags":["admin"],"summary":"Grant the meteorologist type","description":"A grant without a request, or reinstating a revoked one. If the person\nhas a request open it is closed as approved and linked to the grant, so it\ndoes not linger in the queue.","operationId":"grant_meteorologist_admin_meteorologists__user_id__grant_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminGrant"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeteorologist"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/meteorologists/{user_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke the meteorologist type","description":"Stamps the grant revoked (their earlier marks stay attributable) and\nrevokes every personal placefile key they hold.","operationId":"revoke_meteorologist_admin_meteorologists__user_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRevoke"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeteorologist"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/requests":{"get":{"tags":["admin"],"summary":"EOC operator requests","description":"Oldest submission first. Without a status, the ones waiting on an\nadmin (pending and needs_info).","operationId":"list_requests_admin_eoc_requests_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminEocRequest"},"title":"Response List Requests Admin Eoc Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/requests/{request_id}":{"get":{"tags":["admin"],"summary":"One EOC operator request","operationId":"get_request_admin_eoc_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/requests/{request_id}/checklist":{"patch":{"tags":["admin"],"summary":"Update the admin's checklist on a request","description":"Merged key by key; a null value removes a key. The meteorologist\nchecklist's rules (admin/meteorologists.merge_checklist).","operationId":"update_checklist_admin_eoc_requests__request_id__checklist_patch","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/requests/{request_id}/decide":{"post":{"tags":["admin"],"summary":"Approve, deny or ask for more","description":"Approve grants (step-up) and names the EOC: exactly one of `org_id`,\nan existing EOC org, and `new_org_name`, which creates one from the\nrequest's details. Deny and needs_info need a `note`.","operationId":"decide_request_admin_eoc_requests__request_id__decide_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/orgs":{"get":{"tags":["admin"],"summary":"EOC organizations, for the approve and grant pickers","description":"Every org of type eoc, verified and relaying ones first, then by name,\nso an EOC reviewer can pick one without the teams module. `state` comes\nfrom the latest approved request linked to the org (the org row stores\nonly free-text `region`); `operator_count` counts live grants.","operationId":"list_orgs_admin_eoc_orgs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminEocOrg"},"type":"array","title":"Response List Orgs Admin Eoc Orgs Get"}}}}}}},"/admin/eoc/operators":{"get":{"tags":["admin"],"summary":"EOC operators, live and revoked","operationId":"list_operators_admin_eoc_operators_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminEocOperator"},"type":"array","title":"Response List Operators Admin Eoc Operators Get"}}}}}}},"/admin/eoc/operators/{user_id}/grant":{"post":{"tags":["admin"],"summary":"Grant the EOC type","description":"A grant without a request, or reinstating a revoked one, naming an\nexisting EOC org. An open request is closed as approved and linked.","operationId":"grant_operator_admin_eoc_operators__user_id__grant_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocGrant"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocOperator"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/eoc/operators/{user_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke the EOC type","description":"Stamps the grant revoked; they stop relaying on their next submit.\nTheir org membership is left to the org.","operationId":"revoke_operator_admin_eoc_operators__user_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRevoke"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEocOperator"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/commercial":{"get":{"tags":["admin"],"summary":"Commercial accounts, live and revoked","operationId":"list_commercial_admin_commercial_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminCommercialAccount"},"type":"array","title":"Response List Commercial Admin Commercial Get"}}}}}}},"/admin/commercial/{user_id}/grant":{"post":{"tags":["admin"],"summary":"Grant the commercial type","description":"A new grant, or reinstating a revoked one. Already live is 409.","operationId":"grant_commercial_admin_commercial__user_id__grant_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCommercialGrant"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCommercialAccount"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/commercial/{user_id}/revoke":{"post":{"tags":["admin"],"summary":"Revoke the commercial type","description":"Stamps the grant revoked. The account goes back to its other types, or\nto regular, as the fan-out worker next reloads it.","operationId":"revoke_commercial_admin_commercial__user_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRevoke"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCommercialAccount"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/vetting/queue":{"get":{"tags":["admin"],"summary":"The vetting queue","operationId":"read_queue_admin_vetting_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminQueueItem"},"type":"array","title":"Response Read Queue Admin Vetting Queue Get"}}}}}}},"/admin/vetting/vets/{vet_id}/settle":{"post":{"tags":["admin"],"summary":"Decide a flagged report: erroneous (upheld) or not erroneous (overturned)","operationId":"settle_vet_admin_vetting_vets__vet_id__settle_post","parameters":[{"name":"vet_id","in":"path","required":true,"schema":{"type":"integer","title":"Vet Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVetSettle"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminQueueItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/vetting/reports/{ref}/content-settle":{"post":{"tags":["admin"],"summary":"Take a content-flagged report off the queue","operationId":"settle_content_admin_vetting_reports__ref__content_settle_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminQueueItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/vetting/remarks/{remark_id}/hide":{"post":{"tags":["admin"],"summary":"Hide a public forecaster remark","operationId":"hide_remark_admin_vetting_remarks__remark_id__hide_post","parameters":[{"name":"remark_id","in":"path","required":true,"schema":{"type":"integer","title":"Remark Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/vetting/reports/{ref}/remarks":{"get":{"tags":["admin"],"summary":"Every forecaster remark on a report, hidden ones included","description":"For the hide tool. The public report read cannot serve it: it leaves out\nhidden remarks, and it hides a restricted report from everybody without\nthe report's own side, admins included, which is exactly the report a\nremark is most likely to need hiding on. Oldest first, as on the report\npage.","operationId":"read_remarks_admin_vetting_reports__ref__remarks_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminRemarkOut"},"title":"Response Read Remarks Admin Vetting Reports  Ref  Remarks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/threads/flags":{"get":{"tags":["admin"],"summary":"Flagged messages","operationId":"read_flags_admin_threads_flags_get","parameters":[{"name":"open","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Open"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminThreadFlag"},"title":"Response Read Flags Admin Threads Flags Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/threads/flags/{flag_id}/resolve":{"post":{"tags":["admin"],"summary":"Resolve a flag","operationId":"resolve_flag_admin_threads_flags__flag_id__resolve_post","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"integer","title":"Flag Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFlagResolve"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminThreadFlag"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/threads/messages/{message_id}/hide":{"post":{"tags":["admin"],"summary":"Hide a message","operationId":"hide_message_admin_threads_messages__message_id__hide_post","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/threads/{report_ref}":{"get":{"tags":["admin"],"summary":"Read a conversation","operationId":"read_thread_admin_threads__report_ref__get","parameters":[{"name":"report_ref","in":"path","required":true,"schema":{"type":"string","title":"Report Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/threads/{report_ref}/close":{"post":{"tags":["admin"],"summary":"Close a conversation","operationId":"close_thread_admin_threads__report_ref__close_post","parameters":[{"name":"report_ref","in":"path","required":true,"schema":{"type":"string","title":"Report Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/sms":{"get":{"tags":["notifications"],"summary":"Current SMS enrollment","operationId":"get_sms_notifications_sms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsEnrollment"}}}}}},"post":{"tags":["notifications"],"summary":"Record consent and send a verification code","description":"Step one of two. Nothing but the code itself is ever sent to an\nunconfirmed number - that is what makes this a confirmed list rather than a\nlist of numbers people typed.","operationId":"start_sms_notifications_sms_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsEnrollment"}}}},"402":{"description":"The account's tier does not include text messages. The body carries the current tier and what to offer."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Remove the number","operationId":"delete_sms_notifications_sms_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsEnrollment"}}}}}}},"/notifications/sms/verify":{"post":{"tags":["notifications"],"summary":"Confirm the code and activate the number","operationId":"verify_sms_notifications_sms_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsEnrollment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/places":{"get":{"tags":["notifications"],"summary":"Saved places","operationId":"list_places_notifications_places_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedPlaceList"}}}}}},"post":{"tags":["notifications"],"summary":"Save a place","operationId":"add_place_notifications_places_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedPlaceIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedPlaceOut"}}}},"402":{"description":"The account's tier has no room for another place. The body carries the current tier, its ceiling, and what to offer."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/places/{place_id}":{"patch":{"tags":["notifications"],"summary":"Update a place","operationId":"update_place_notifications_places__place_id__patch","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedPlaceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedPlaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Forget a place","operationId":"delete_place_notifications_places__place_id__delete","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/devices":{"get":{"tags":["notifications"],"summary":"Registered push devices","operationId":"list_devices_notifications_devices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceList"}}}}}}},"/notifications/devices/{device_id}":{"put":{"tags":["notifications"],"summary":"Register or update this install","operationId":"put_device_notifications_devices__device_id__put","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Forget this install","description":"Idempotent: forgetting a device that is already gone is a 204.\n\nA sign-out races a background beacon often enough that making the second\ncall a 404 would just mean clients learning to ignore 404s.","operationId":"delete_device_notifications_devices__device_id__delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/devices/{device_id}/position":{"post":{"tags":["notifications"],"summary":"Report where this device is","description":"The cadence beacon.\n\nDeliberately small and separate from registration: it fires every few\nminutes, where registration fires on launch, and folding them together would\nmean rewriting unchanged preferences all day.","operationId":"post_position_notifications_devices__device_id__position_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushPositionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Stop sharing where this device is","description":"Withdrawing location consent, as its own verb.\n\nSeparate from deleting the device because the two consents are separate: a\nreader who stops sharing their position still wants the places they saved\nwatched. And separate from simply not beaconing, because a stored position\ngoes on matching for the rest of its freshness window - six hours of acting\non a consent that was taken back.","operationId":"delete_position_notifications_devices__device_id__position_delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/web-push/key":{"get":{"tags":["notifications"],"summary":"Whether browser push is offered, and the key to subscribe with","description":"Public and cacheable: the key is the public half and is the same for\neverybody. Five minutes, so turning web push on or off on a deployment\nreaches pages within a few minutes rather than a day.","operationId":"web_push_key_notifications_web_push_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebPushConfig"}}}}}}},"/notifications/web-push/devices/{device_id}":{"put":{"tags":["notifications"],"summary":"Register or update this browser's push subscription","operationId":"put_web_device_notifications_web_push_devices__device_id__put","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebPushSubscriptionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"The subscription is not one this server sends to."},"503":{"description":"Web push is not configured on this deployment."}}}},"/notifications/anonymous/devices/{device_id}":{"put":{"tags":["notifications"],"summary":"Register or update this install without an account","operationId":"put_anonymous_device_notifications_anonymous_devices__device_id__put","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"X-Device-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Device-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Forget this anonymous install","description":"Idempotent, like delete_device: a device already gone is a 204.\n\nOne that is there and the secret is wrong is a 403, not a 204. Answering\n204 would let a caller believe it had silenced somebody else's phone, and\nwould hide from the app that it has lost its own secret.","operationId":"delete_anonymous_device_notifications_anonymous_devices__device_id__delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"X-Device-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Device-Secret"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/anonymous/devices/{device_id}/position":{"post":{"tags":["notifications"],"summary":"Report where this anonymous install is","operationId":"post_anonymous_position_notifications_anonymous_devices__device_id__position_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"X-Device-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Device-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushPositionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Stop sharing where this anonymous install is","operationId":"delete_anonymous_position_notifications_anonymous_devices__device_id__position_delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"X-Device-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Device-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/people":{"get":{"tags":["notifications"],"summary":"People on this account","operationId":"list_people_notifications_people_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonList"}}}}}},"post":{"tags":["notifications"],"summary":"Name a person to group contacts under","operationId":"add_person_notifications_people_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/people/{person_id}":{"patch":{"tags":["notifications"],"summary":"Rename a person","operationId":"rename_person_notifications_people__person_id__patch","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"integer","title":"Person Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Remove a person, keeping their contacts","description":"Ungroups their destinations. It does not delete them.\n\nDeleting a person is renaming a grouping, not withdrawing consent, so the\nnumbers and addresses survive and stay confirmed. The column is ON DELETE\nSET NULL for the same reason: tidying a list of names must never silently\ndelete the handsets those names agreed on.\n\nThe visible cost is that the places those contacts are on may now count more\nrecipients than before, because each ungrouped destination is a recipient of\nits own again. Nothing is disconnected for it - the limit is checked when\nsomething is attached, not continuously - but the next attach will refuse.","operationId":"remove_person_notifications_people__person_id__delete","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"integer","title":"Person Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}/person":{"put":{"tags":["notifications"],"summary":"File a contact under a person, or ungroup it","description":"Move one destination between people, or out of all of them.\n\nOmitting `person_id` ungroups it. Regrouping never touches consent: a\nconfirmed number filed under a new name is still confirmed, and a pending\none is still pending, because the agreement was the handset's and not the\nlabel's.","operationId":"set_contact_person_notifications_contacts__contact_id__person_put","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}},{"name":"person_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Person Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts":{"get":{"tags":["notifications"],"summary":"Contacts on this account","operationId":"list_contacts_notifications_contacts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactList"}}}}}},"post":{"tags":["notifications"],"summary":"Add a contact and ask them to confirm","description":"Create the contact, then send it the one message it is allowed.\n\nThe row and its invitation count are committed *before* the message goes\nout, for the reason enrollment does the same: a message sent against a record\nthat was never written is one we cannot account for. The cost of that\nordering is that a send which fails has still spent an invitation - which is\nthe safe direction, because the other one double-texts somebody who has not\nagreed to hear from us at all.","operationId":"add_contact_notifications_contacts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"402":{"description":"The account's tier does not include that channel. The body carries the channel, the current tier, and what to offer."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}/invite":{"post":{"tags":["notifications"],"summary":"Ask a contact to confirm, again","description":"For the send that failed, not for the person who is ignoring you.\n\nBounded by `contact_max_invites`, because re-asking somebody who has not\nreplied twice is the unsolicited texting the handshake exists to prevent.\nSilence is an answer.","operationId":"reinvite_contact_notifications_contacts__contact_id__invite_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"402":{"description":"The account's tier no longer includes that channel. The body carries the channel, the current tier, and what to offer."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}":{"delete":{"tags":["notifications"],"summary":"Remove a contact","description":"Removes the contact and every place it was attached to.\n\nThe consent log is untouched: it is append-only evidence of what somebody\nagreed to, and deleting a contact must not be able to erase the record that\nthey were asked.","operationId":"delete_contact_notifications_contacts__contact_id__delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}/test":{"post":{"tags":["notifications"],"summary":"Send a test message to a webhook","description":"POST a signed test payload (`\"type\": \"test\"`) to one of the account's\nwebhooks and say what came back. Nothing is recorded as a delivery.","operationId":"test_webhook_notifications_contacts__contact_id__test_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/history":{"get":{"tags":["notifications"],"summary":"What this account was sent in the last 90 days","description":"Every text, call, email, push and webhook this account sent, newest\nfirst, across the account holder and every contact, for the account\npage's Notification history view. See services/notification_history.py.\n\n`before` is the `next_cursor` of the previous page. A place filter drops\nwhat has no place: alert pushes matched on a phone's position and\nconfirmation calls.","operationId":"notification_history_notifications_history_get","parameters":[{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"enum":["sms","call","email","push","webhook"],"type":"string"},{"type":"null"}],"title":"Channel"}},{"name":"place_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Place Id"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/places/{place_id}/contacts":{"get":{"tags":["notifications"],"summary":"Who hears about this place","operationId":"list_place_contacts_notifications_places__place_id__contacts_get","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceContactList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/places/{place_id}/contacts/{contact_id}":{"put":{"tags":["notifications"],"summary":"Have this contact warned about this place","description":"Attach a channel to a place, and say which hazards are worth it here.\n\nIdempotent, and it is also how a rule is edited: attaching something already\nattached rewrites its rule rather than refusing. One verb, because \"put this\nchannel on this place, like so\" is one intention whether or not it was\nalready there, and a separate PATCH would be a second way to say it.\n\nA body-less call keeps whatever rule is there, so the plain \"tick the box\"\ncase cannot silently reset a rule somebody typed.\n\nBoth ends are checked against the caller, so a contact cannot be attached to\nsomebody else's place and somebody else's contact cannot be attached to\nyours.","operationId":"attach_contact_notifications_places__place_id__contacts__contact_id__put","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlaceContactRule"},{"type":"null"}],"title":"Rule"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Stop warning this contact about this place","description":"Detaches only. The contact and its consent survive, so re-attaching later\ndoes not mean asking somebody who already agreed all over again.","operationId":"detach_contact_notifications_places__place_id__contacts__contact_id__delete","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/voice/subscribe":{"post":{"tags":["notifications"],"summary":"Retired: voice calls are in the plan, the add-on is no longer sold","description":"Used to start Stripe Checkout for the $14.99 a year voice add-on.\n\nRetired on 2026-11-07: voice calls are part of the plan, and only the plan\nand the capacity pack are sold (docs/in-app-subscriptions.md, \"Legacy\nproducts\"). A live add-on keeps working until it ends, and nothing here\ncancels one. Kept as a route so an old page or app build gets a plain\nanswer pointing at the plan instead of a 404.","operationId":"subscribe_to_voice_notifications_voice_subscribe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Subscribe To Voice Notifications Voice Subscribe Post"}}}},"410":{"description":"The voice add-on is no longer sold"}}}},"/notifications/contacts/assisted/terms":{"get":{"tags":["notifications"],"summary":"The attestation an account holder agrees to when enrolling someone","operationId":"assisted_terms_notifications_contacts_assisted_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistedTerms"}}}}}}},"/notifications/contacts/{contact_id}/assisted":{"put":{"tags":["notifications"],"summary":"Enroll a voice contact in the assisted tier","description":"Attest, name the greeting and the Safety Person, and confirm by phone.\n\nA pending contact gets the assisted confirmation call; the line goes live\nonly when somebody at the number says yes. A contact that already said yes\non the keypad confirmation stays live and is marked as confirmed by a live\nperson.","operationId":"enroll_assisted_notifications_contacts__contact_id__assisted_put","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistedIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notifications"],"summary":"Return a contact to standard calls","description":"Standard calls again. The attestation record is kept.","operationId":"leave_assisted_notifications_contacts__contact_id__assisted_delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}/number":{"put":{"tags":["notifications"],"summary":"Change a voice contact's phone number","description":"The same contact, a new number: its places, tier, greeting and Safety\nPerson stay. The new number is unconfirmed until somebody there says yes on\na confirmation call, which is placed straight away.","operationId":"change_voice_number_notifications_contacts__contact_id__number_put","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberChangeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/contacts/{contact_id}/assisted/approve":{"post":{"tags":["notifications"],"summary":"Approve a frozen assisted line yourself","description":"The manual override after two missed confirmation calls.\n\nOnly for a line that is attested, frozen and not opted out. It confirms the\nnumber is reachable as far as the enrollee knows; it never changes the\ntier or the reason.","operationId":"approve_assisted_notifications_contacts__contact_id__assisted_approve_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/sky/status":{"get":{"tags":["notifications"],"summary":"Whether sunrise and sunset notifications are open to everyone","operationId":"get_status_notifications_sky_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyStatusOut"}}}}}}},"/notifications/sky/evaluations/{evaluation_id}":{"get":{"tags":["notifications"],"summary":"One sunrise or sunset that was scored for a place","operationId":"get_evaluation_notifications_sky_evaluations__evaluation_id__get","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"integer","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyEvaluationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/sky/evaluations/{evaluation_id}/feedback":{"post":{"tags":["notifications"],"summary":"Say how good it actually was","description":"The beta's ground truth. Overwrites, so a second tap corrects the first.","operationId":"give_feedback_notifications_sky_evaluations__evaluation_id__feedback_post","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"integer","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyFeedbackIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/sky/places/{place_id}/preview":{"get":{"tags":["notifications"],"summary":"The next sunrise and sunset at a place, scored now","description":"What the settings card shows beside the switches. Scored on request\nand not stored: only the dispatcher's evaluations are a record.","operationId":"preview_notifications_sky_places__place_id__preview_get","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyPreviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sky/outlook":{"get":{"tags":["forecast"],"summary":"Every sunrise and sunset of the coming days at a point, scored","description":"How good each coming sunrise and sunset will look at a point, from the same forecast that drives the wxalerts.org sunrise and sunset notifications. Every event gets two scores from 0 to 100: one for colour in the sky, one for whether the sun's own disc will be visible down to the horizon. Confidence falls with lead time, and the best event for each score is marked. Scores are kept for a quarter of an hour. A point outside every forecast grid answers 200 with `available` false.","operationId":"get_outlook_sky_outlook_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyOutlookOut"}}}},"401":{"description":"An API key was sent and is unknown, revoked or expired (`api_key_invalid`). A route that is served only under `/v1` also answers an unkeyed request with `api_key_required`, naming the `/v1` path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests from this address, or for this key. Wait `Retry-After` seconds, cache what you can, or use an API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/outlook/status":{"get":{"tags":["notifications"],"summary":"Whether SPC outlook notifications are open to everyone","operationId":"get_status_notifications_outlook_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookStatusOut"}}}}}}},"/notifications/outlook/notices/{notice_id}":{"get":{"tags":["notifications"],"summary":"One outlook notification that was sent for a place","operationId":"get_notice_notifications_outlook_notices__notice_id__get","parameters":[{"name":"notice_id","in":"path","required":true,"schema":{"type":"integer","title":"Notice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookNoticeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/outlook/places/{place_id}":{"get":{"tags":["notifications"],"summary":"What the SPC outlooks say at a saved place right now","description":"What the settings card shows beside the switches: each current product,\nthe level the place is in, and whether its settings would notify.","operationId":"at_place_notifications_outlook_places__place_id__get","parameters":[{"name":"place_id","in":"path","required":true,"schema":{"type":"integer","title":"Place Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookPlaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/progress":{"get":{"tags":["training"],"summary":"This user's certification progress","description":"Everything the training pages need about one person, in one query pair.\n\nAnswers 200 with zeroes for a user who has done nothing, rather than 404.\nThe frontend treats 404 as \"this feature is not built yet\" and says so to\nthe reader, which was true until this endpoint existed and would now be a\nlie: a new account genuinely has no progress, and that is a different\nstatement.","operationId":"read_progress_training_progress_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingProgress"}}}}}}},"/training/progress/lessons":{"post":{"tags":["training"],"summary":"Mark a lesson complete","description":"Idempotent. Marking a finished lesson complete again is a no-op.\n\nON CONFLICT DO NOTHING rather than a select-then-insert: two tabs, or a\ndouble-tap on a slow connection, would otherwise race between the check and\nthe write and one of them would get a unique violation as a 500. The\nconflict target is the constraint the migration created.","operationId":"complete_lesson_training_progress_lessons_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonCompletionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonCompletionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/progress/lessons/{module_slug}/{lesson_slug}":{"delete":{"tags":["training"],"summary":"Un-mark a lesson","description":"Not in the frontend's contract, and here on purpose.\n\nTwo reasons. Testing the progress UI means getting back to a partial state\nrepeatedly, and without this the only route is editing the database by\nhand. And a reader who marked the wrong lesson complete has no way to\ncorrect it; a course that can only ratchet forward is one people stop\ntrusting the ticks in.\n\nSilent when the row is not there, because the caller's intent - this\nlesson should not be marked complete - is satisfied either way.","operationId":"uncomplete_lesson_training_progress_lessons__module_slug___lesson_slug__delete","parameters":[{"name":"module_slug","in":"path","required":true,"schema":{"type":"string","title":"Module Slug"}},{"name":"lesson_slug","in":"path","required":true,"schema":{"type":"string","title":"Lesson Slug"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/exam/status":{"get":{"tags":["training"],"summary":"Exam Status","description":"Where this candidate stands, without dealing them anything.\n\nThis is what /training/progress calls to decide whether to offer \"Resume\nthe exam\", and it is deliberately not `POST /attempts`: asking whether\nthere is a sitting in progress must never be the thing that starts one.","operationId":"exam_status_training_exam_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}},"/training/exam/attempts":{"post":{"tags":["training"],"summary":"Start Attempt","description":"Deal a sitting.","operationId":"start_attempt_training_exam_attempts_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/training/exam/attempts/{public_id}":{"get":{"tags":["training"],"summary":"Get Attempt","description":"Resume, or read back a finished sitting.\n\nThis is the whole of the crash-recovery story. The attempt, its dealt\nitems, the answers saved so far, the flags and the clock are all on the\nserver, so a closed tab, a dead battery or a different machine picks up\nexactly where the last save left it.","operationId":"get_attempt_training_exam_attempts__public_id__get","parameters":[{"name":"public_id","in":"path","required":true,"schema":{"type":"string","title":"Public Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/exam/media/{item_token}":{"get":{"tags":["training"],"summary":"Exam Media","description":"The picture for one dealt item (S5).\n\nAddressed by the per-attempt item token, so the path names no feature, is\nnot guessable, and is not the same URL for the next candidate. The file is\nsent with its type and nothing else: no filename, and therefore no\n`Content-Disposition` for a candidate to read `wall-cloud.webp` out of.\n\n404 for a token that is not this user's, on the same reasoning `_load`\ngives: there is nothing to learn from the difference between \"not yours\"\nand \"not a thing\", and plenty to learn from being told an id exists.\n\n404 also for a key that resolves to nothing on disk. That is a deployment\nfault rather than a candidate's, and it is why the client says out loud\nthat the item has a figure it cannot show: an item nobody can see must not\nbe an item somebody is quietly scored on.","operationId":"exam_media_training_exam_media__item_token__get","parameters":[{"name":"item_token","in":"path","required":true,"schema":{"type":"string","title":"Item Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/exam/attempts/{public_id}/responses":{"patch":{"tags":["training"],"summary":"Save Responses","description":"Save progress. Partial, idempotent, last write wins.\n\nTwo tabs on one attempt is a supported state rather than a guarded one:\nboth are the same person, both see the same server clock, and the later\nwrite is the one that counts.","operationId":"save_responses_training_exam_attempts__public_id__responses_patch","parameters":[{"name":"public_id","in":"path","required":true,"schema":{"type":"string","title":"Public Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/exam/attempts/{public_id}/submit":{"post":{"tags":["training"],"summary":"Submit Attempt","description":"Score it. The only place in the system a score is computed.\n\nA submission after the clock ran out is accepted and scored as of expiry\nrather than refused, so a candidate who loses connectivity at minute 89 is\nnot punished for it. There is nothing to gain from it either: saving after\nexpiry is already gone.","operationId":"submit_attempt_training_exam_attempts__public_id__submit_post","parameters":[{"name":"public_id","in":"path","required":true,"schema":{"type":"string","title":"Public Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Result"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/certificate":{"get":{"tags":["training"],"summary":"My Certificate","description":"The signed-in holder's own credential.\n\n200 with `certified: false` for somebody who has never passed, rather than\n404: across this site a 404 means \"not deployed yet\", and not having passed\nthe exam is not a fact about the deployment.","operationId":"my_certificate_training_certificate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificate"}}}}}}},"/training/certificate.pdf":{"get":{"tags":["training"],"summary":"Certificate Pdf","description":"Draw the holder's certificate.\n\n404 when there is no credential, and here that IS the right code: the\ndocument genuinely does not exist. The client never reaches this without\nhaving been told a `pdf_url`, which is null until there is one.\n\nAn expired certification still downloads. It is a true statement about the\nday it was earned, the dates on its face say so, and refusing to hand\nsomebody their own record because it has aged would be a strange thing to\ndo with it.","operationId":"certificate_pdf_training_certificate_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/training/verify/{credential_no}":{"get":{"tags":["training"],"summary":"Verify","description":"Check a credential number. Public, and deliberately narrow.\n\n404 covers every way a number can fail to be a credential: malformed,\nwell-formed but never issued, and issued to a row that carries no date.\nThey are the same answer to the question actually being asked, and telling\nthem apart would tell an enumerator which shapes are worth trying.","operationId":"verify_training_verify__credential_no__get","parameters":[{"name":"credential_no","in":"path","required":true,"schema":{"type":"string","maxLength":48,"title":"Credential No"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verification"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/certificate-name":{"get":{"tags":["training"],"summary":"Get Certificate Name","description":"The confirmed name, or nulls and a pre-fill for somebody yet to confirm.","operationId":"get_certificate_name_training_certificate_name_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateName"}}}}}},"put":{"tags":["training"],"summary":"Put Certificate Name","description":"Confirm the name the holder's certificates print.\n\nRewrites the printed name on a credential they already hold (not a revoked\none), so a correction is a reissue: same number, same dates. Any credential\nemail held for want of a confirmed name goes out straight after.","operationId":"put_certificate_name_training_certificate_name_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateNameIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateName"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/certificate-name/preview":{"post":{"tags":["training"],"summary":"Preview Certificate Name","description":"How a typed name will print, capitalization corrected. Saves nothing.\n\n422 `invalid_name` with a message for the person when it cannot be a name.","operationId":"preview_certificate_name_training_certificate_name_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateNameIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateNamePreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/training/nws-certificate":{"get":{"tags":["training"],"summary":"My past certificate uploads","description":"What this person uploaded before certificates stopped counting. Theirs\nto see; it changes nothing about their standing.","operationId":"my_uploads_training_nws_certificate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response My Uploads Training Nws Certificate Get"}}}}}},"post":{"tags":["training"],"summary":"No longer accepted","operationId":"upload_certificate_training_nws_certificate_post","responses":{"410":{"description":"NWS certificates are no longer accepted","content":{"application/json":{"schema":{}}}}}}},"/training/self-attestation":{"post":{"tags":["training"],"summary":"No longer accepted","operationId":"self_attest_training_self_attestation_post","responses":{"410":{"description":"Training self-attestation is no longer accepted","content":{"application/json":{"schema":{}}}}}}},"/integrations/lms/completions":{"post":{"tags":["integrations"],"summary":"Post Completion","description":"Record one course completion and issue what it earns.\n\n200 `recorded` on first receipt and `duplicate` on a replay of the same\n`event_id`, both carrying the person's current credential. 404\n`unknown_user` when no account has the subject, 409 `prerequisite_missing`\nfor Advanced without a General credential (nothing recorded), 422 for a\nmalformed body. All three are permanent to the plugin.","operationId":"post_completion_integrations_lms_completions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/me":{"get":{"tags":["spotter"],"summary":"What this account may report, and why not when it may not","description":"Derived on every call. Nothing here is cached or stored.\n\nDoes not seed a profile. A GET that creates a row would mean every page\nload by every signed-in reader wrote to the database, and the absence of a\nprofile is a real and reportable state: `deny_reason` says `no_profile` and\nthe client sends them to the setup form.","operationId":"read_eligibility_spotter_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterEligibility"}}}}}}},"/spotter/me/record":{"get":{"tags":["spotter"],"summary":"This spotter's own record: reports filed, marked good, flags upheld","description":"Counted on every call, from the same mark rule trust reads.\n\nSee services/spotter_scoring_pass.own_record for the definitions. Zeros,\nnot a 404, for an account with no profile or no reports: \"nothing filed\nyet\" is the honest answer and the screen renders it as such. Like\n/spotter/me it does not seed a profile.\n\n`private, no-store`: these numbers are the caller's and move the moment a\nmeteorologist marks a report, so neither a shared cache nor the app's HTTP\ncache should hold them.","operationId":"read_own_record_spotter_me_record_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterRecord"}}}}}}},"/spotter/profile":{"get":{"tags":["spotter"],"summary":"This spotter's own profile","description":"Seeds a profile if there is none, so the setup form has something to edit.\n\nUnlike /spotter/me this is a deliberate visit to the profile page, not a\npage load, so creating the row here is proportionate.\n\nAny signed-in account may have one. Filing is open at every rung of the\ntrust ladder (models/training.py), and a report needs a profile, so a\nprofile is not gated on training or a certificate either.","operationId":"read_profile_spotter_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterProfileResponse"}}}}}},"put":{"tags":["spotter"],"summary":"Edit this spotter's profile","description":"Partial update. Absent leaves a field alone; null clears it.\n\nThe handle is the only field with a rule beyond its length, and the rule is\na rate limit rather than a validation: it is printed on published reports\nand read by people who have been following it, so it is closer to a\ncallsign than to a display name.","operationId":"update_profile_spotter_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/profile/photo":{"put":{"tags":["spotter"],"summary":"Set this spotter's profile picture","description":"Replace the picture. Screened like a report photograph, and with no\nscreener configured it is held and never served.\n\nHaving a picture is not consent to show it. `show_photo` on the profile is\nthat, and it is a separate edit.","operationId":"upload_profile_photo_spotter_profile_photo_put","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_profile_photo_spotter_profile_photo_put"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["spotter"],"summary":"Remove this spotter's profile picture","description":"Deletes the picture outright. Idempotent: no picture is not an error.\n\nTaking your own face off a public map is always allowed.","operationId":"delete_profile_photo_spotter_profile_photo_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotterProfileResponse"}}}}}}},"/spotter/callsign/verify":{"post":{"tags":["spotter"],"summary":"Check a callsign against the FCC licence record","description":"Verifies and stores, in one step, because they are one intention.\n\nA lookup that succeeded but did not record itself would mean the person had\nto press a second button to keep the result, and the failure mode of\nforgetting is an unverified callsign that looks verified on screen.\n\nA lookup failure is a 503, not a 400. The callsign may well be valid; the\nthird-party mirror may be down. Refusing the callsign because the lookup\nwas unavailable would tell somebody their licence is not real.\n\nGated with the profile, because it writes to the profile, and before the\nlookup, so a refused caller costs the FCC mirror nothing.","operationId":"verify_callsign_spotter_callsign_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallsignVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallsignVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/invitations":{"get":{"tags":["spotter"],"summary":"Team invitations waiting on this account","description":"`{items: [{org_id, org_name, org_type, role, invited_at}]}`, newest first.","operationId":"read_invitations_spotter_invitations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Read Invitations Spotter Invitations Get"}}}}}}},"/spotter/orgs/{org_id}/invitation/accept":{"post":{"tags":["spotter"],"summary":"Accept an invitation to a team","operationId":"accept_invitation_spotter_orgs__org_id__invitation_accept_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Accept Invitation Spotter Orgs  Org Id  Invitation Accept Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/orgs/{org_id}/invitation/decline":{"post":{"tags":["spotter"],"summary":"Decline an invitation to a team","operationId":"decline_invitation_spotter_orgs__org_id__invitation_decline_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Decline Invitation Spotter Orgs  Org Id  Invitation Decline Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports":{"post":{"tags":["spotter"],"summary":"File a spotter report","description":"One insert, no scoring, nothing blocking.\n\nScoring is asynchronous and deliberately so: ProbSevere's own production\nlatency is 97 to 208 seconds, so a report filed ninety seconds after a\ntornado has no radar scan covering it yet. Scoring here would zero exactly\nthe reports that matter most, at exactly the moment they matter. The row\nlands with `radar_state = 'pending'` and a worker comes back to it.","operationId":"submit_report_spotter_reports_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportSubmission"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportAccepted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["spotter"],"summary":"Live spotter reports","description":"Public, sanitized, and windowed on `occurred_at`.\n\nAnswers an empty list when the kill switch is off rather than an error. A\nmap layer whose feed 503s draws an error state to every reader; one that\nreturns nothing simply has nothing to draw, which is the intended effect of\nturning the feed off.","operationId":"list_reports_spotter_reports_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"default":2,"title":"Hours"}},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"minLon,minLat,maxLon,maxLat","title":"Bbox"},"description":"minLon,minLat,maxLon,maxLat"},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma-separated event types","title":"Types"},"description":"comma-separated event types"},{"name":"min_confidence","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"title":"Min Confidence"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReportSummary"},"title":"Response List Reports Spotter Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/batch":{"post":{"tags":["spotter"],"summary":"Drain a mobile outbox in one request","description":"One request for a whole outbox, and every item gets its own verdict.\n\n## Why this is not a transaction\n\nA batch that succeeded or failed as a unit would mean one malformed report\n- a client bug, a field this version of the app does not know about -\ndiscarding four good reports queued during the same storm. The spotter who\nfiled them would never know. So each item is filed independently and the\nresponse says what happened to each.\n\n## What a client does with each outcome\n\n`accepted` and `duplicate` both mean the report is safely stored: drop it\nfrom the outbox. The two are distinguished only so a client can tell a\nfresh accept from a replay of something it already sent.\n\n`rejected` means it will never succeed - a magnitude out of range, an\nunknown event type, a time in the future. Drop it, and tell the spotter.\nRetrying forever is the failure mode this exists to prevent.\n\n`failed` means try again later.\n\n## Ordering\n\nResults come back in the order the reports were sent, so a client can match\nthem positionally as well as by `submission_key`. A report without a key\ncan still be matched by position, though it cannot be safely retried, which\nis why the mobile queue should always set one.","operationId":"submit_batch_spotter_reports_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportBatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}":{"get":{"tags":["spotter"],"summary":"One spotter report","description":"404 rather than 403 for a restricted report the caller cannot see.\n\nA 403 confirms that a report exists at that reference, which for a\nrestricted tornado report is most of what somebody fishing would want.","operationId":"read_report_spotter_reports__ref__get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/event-types/popularity":{"get":{"tags":["spotter"],"summary":"Event types in the order the report picker lists them","description":"Tornado first, then the types this network files most.\n\nPublic and the same for everybody, so it caches at the edge for an hour.\nThe order moves over weeks, not minutes, and a client that cannot fetch it\nfalls back to the same order an empty table produces here, so a stale or\nmissing answer costs nothing but a row in a slightly different place.\n\nNot gated on the kill switch: it says which rows to offer first and nothing\nabout any report.","operationId":"read_type_popularity_spotter_event_types_popularity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypePopularity"}}}}}}},"/spotter/reports/{ref}/retract":{"post":{"tags":["spotter"],"summary":"Withdraw a report","description":"Spotters get things wrong, and anything published must be withdrawable.\n\nNot a delete. The row stays, marked, with its reason, because a report that\nwent out on a placefile a meteorologist was reading is part of the record\neven once it turns out to be mistaken - especially then.","operationId":"retract_report_spotter_reports__ref__retract_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetractionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/dispute":{"post":{"tags":["spotter"],"summary":"This was not me","description":"The named observer's one-tap denial, and it acts immediately.\n\nThis is what makes the opt-in directory safe to expose at all. An operator\ncan file a report naming a spotter who is not in their organization, so\nthat spotter has to be able to take it straight back down without waiting\nfor anybody. No human in the loop, by design.\n\nThe negative lands on the relaying operator's trust, not the observer's.\nThe observer did nothing; somebody put their name on something.","operationId":"dispute_report_spotter_reports__ref__dispute_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/orgs/{org_id}/roster":{"get":{"tags":["spotter"],"summary":"Members of an organization, for relay autocomplete","description":"Members only. Within your own organization a name is the roster on the wall.","operationId":"read_roster_spotter_orgs__org_id__roster_get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RosterEntry"},"title":"Response Read Roster Spotter Orgs  Org Id  Roster Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/directory":{"get":{"tags":["spotter"],"summary":"Opt-in spotters near a relaying organization","description":"Handle and callsign only, and only for people who opted in.\n\nAn operator often relays for a spotter from the next county who is not on\ntheir roster. This is how they find them without the system handing out a\ndirectory of everybody's name and location.\n\nRequires the caller to be able to relay at all, so it is not a way for any\nsigned-in account to enumerate spotters.","operationId":"read_directory_spotter_directory_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Q"}},{"name":"near","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"lat,lon","title":"Near"},"description":"lat,lon"},{"name":"radius_km","in":"query","required":false,"schema":{"type":"number","maximum":500,"minimum":1,"default":80.0,"title":"Radius Km"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryEntry"},"title":"Response Read Directory Spotter Directory Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/photos":{"post":{"tags":["spotter"],"summary":"Attach a photograph to a report","description":"Take a photograph in.\n\nWhether it becomes reachable is the screener's call, and with none\nconfigured the answer is no: it is stored, scored for provenance, and held.\n\n`live_capture` is the app saying the shutter was pressed inside the report\nflow rather than a file being chosen from the gallery. It is a client\nclaim, is stored as one, and on its own only lifts a photograph whose\nmetadata already agrees with the report.\n\nThe `capture_*` fields are what the device's own GPS and clock said at the\nmoment of the shutter. They are read only when `live_capture` is set and\nthe file carries no usable EXIF, which on a phone is the common case:\n`services/spotter_photos.assess` explains why refusing them would cost the\nmobile path and buy no integrity.\n\n`capture_heading_deg` is which way the camera faced at the shutter, 0 to\n360 from true north. On a live capture of a tornado, funnel, waterspout or\nwall cloud it is compared with the bearing to the report's event point and\nthe answer is recorded under `heading` in the provenance detail; see\n`services/spotter_photos.check_heading`.\n\n`measurement` is JSON, on a hail report only: where in the picture the app\nmeasured the stone and its reference, as fractions of the upright image.\nStored under `measurement` in the provenance detail and handed back with\nthe photograph; see `services/spotter_photos.parse_measurement`.\n\nA photograph is part of a report, so attaching one needs what filing\nneeds: a complete, unsuspended profile. Checked before the upload is read, so a\nrefused spotter does not spend their signal sending the file.","operationId":"upload_photo_spotter_reports__ref__photos_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_photo_spotter_reports__ref__photos_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoAccepted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["spotter"],"summary":"Photographs on a report","description":"Only what has cleared quarantine, and only for a report the caller can read.\n\nThe same gate as the detail route: a restricted report, or any report\nwhile the public feed is switched off, answers 404 to everybody outside\nit. This route used to lean on the detail route for that, which left a\nrestricted report's capture times readable by anyone holding its ref.","operationId":"list_photos_spotter_reports__ref__photos_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoRef"},"title":"Response List Photos Spotter Reports  Ref  Photos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/photos/{photo_ref}":{"delete":{"tags":["spotter"],"summary":"Withdraw a photograph","description":"Take a photograph back. Deletes the file, unlike a withdrawn report.\n\nA report that went out on a placefile is part of the record even once it\nturns out to be mistaken. A photograph is not that: nothing obliges us to\nkeep an image somebody chose to withdraw, and keeping it would be the\nsurprising behaviour.","operationId":"delete_photo_spotter_reports__ref__photos__photo_ref__delete","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"photo_ref","in":"path","required":true,"schema":{"type":"string","title":"Photo Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/position":{"post":{"tags":["spotter"],"summary":"Update where this spotter is shown on the public map","description":"Accepted only from an account that may be shown right now.\n\n403 with a reason for every refusal, the same shape a refused report\ngets, and a client must stop sending on any of them rather than retry: the\nanswer will not change until the person does something.\n\n429 with Retry-After when this account updated inside MIN_INTERVAL. The\nthrottle is the database's, not this process's; see the service.","operationId":"update_position_spotter_position_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionAccepted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["spotter"],"summary":"Remove this spotter from the public map now","description":"For the app to call when it stops sending: signed out, permission\nwithdrawn, or the switch turned off on the device.\n\nLeaves `share_location` alone. That is the person's standing choice, and\nthe app stopping for the night is not a change of mind. Idempotent, so an\napp that is unsure whether it already cleared can simply clear again.","operationId":"clear_position_spotter_position_delete","responses":{"204":{"description":"Successful Response"}}}},"/spotter/positions":{"get":{"tags":["spotter"],"summary":"Spotters who chose to be shown, and roughly where","description":"Public and anonymous.\n\nAn empty list when the feed kill switch is off, for the same reason the\nreport feed answers that way: a layer with nothing to draw is the intended\neffect of turning the feed off, and a layer that errors is not.\n\nThirty seconds of cache, matching the report feed. The staleness window is\nthirty minutes, so a cached answer can at worst show a spotter thirty\nseconds after they turned sharing off, and never one who was never on.","operationId":"list_positions_spotter_positions_get","parameters":[{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"minLon,minLat,maxLon,maxLat","title":"Bbox"},"description":"minLon,minLat,maxLon,maxLat"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicSpotterPosition"},"title":"Response List Positions Spotter Positions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotters/counties":{"get":{"tags":["spotter"],"summary":"NWS counties matching a name, for the service area picker","description":"Up to 20 counties, name prefix matches first. From the vendored NWS\ncounty list (services/nws_counties.py), so it touches no database.","operationId":"search_counties_spotters_counties_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Q"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountySearchHit"},"title":"Response Search Counties Spotters Counties Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotters/{handle}":{"get":{"tags":["spotter"],"summary":"A spotter's public profile","operationId":"read_public_profile_spotters__handle__get","parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","title":"Handle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSpotterProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotters/{handle}/reports":{"get":{"tags":["spotter"],"summary":"A spotter's public reports, newest first","description":"Published, public reports with this spotter as the observer.\n\nEmpty while the public feed's kill switch is off, for everybody but the\nowner, matching the live map and the report detail view: the switch takes\nevery report off public view at once, and a profile would otherwise be a\nway round it.","operationId":"read_public_reports_spotters__handle__reports_get","parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","title":"Handle"}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|verified|tornado)$","default":"recent","title":"Filter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicReportPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/placefile/spotter-reports.txt":{"get":{"tags":["placefile"],"summary":"Spotter reports as a GRLevelX placefile","description":"Unofficial spotter reports from WxAlerts as a placefile for GRLevel3, GR2Analyst and GREarth, which refresh it every two minutes. Add the URL as a placefile; no account or header is needed, because that software cannot send one. These are what somebody says they saw, not NWS products. The answer is always a well-formed file, even when there is nothing to draw, so an empty layer is a file with a header and no objects. Reports in the public file leave out those that name casualties. A verified organization `token` or a meteorologist's personal `key` adds the restricted reports; an unknown or revoked one falls back to the public view rather than failing. At most 400 reports are drawn, lowest confidence dropped first, and the title says how many were left out. The plain, one-hour and two-hour forms, with or without a single `state` or `cwa`, are cached at the edge; anything else is built fresh.","operationId":"spotter_placefile_placefile_spotter_reports_txt_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"description":"How far back to draw reports, in hours, 1 to 24.","default":2,"title":"Hours"},"description":"How far back to draw reports, in hours, 1 to 24."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"description":"Two-letter state to limit the file to.","examples":["IA"],"title":"State"},"description":"Two-letter state to limit the file to."},{"name":"cwa","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4},{"type":"null"}],"description":"County warning area, e.g. DMX. The filter most forecast offices want.","title":"Cwa"},"description":"County warning area, e.g. DMX. The filter most forecast offices want."},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated event types, e.g. `tornado,funnel_cloud`.","examples":["tornado,funnel_cloud"],"title":"Types"},"description":"Comma separated event types, e.g. `tornado,funnel_cloud`."},{"name":"min_confidence","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only reports scored at least this confidence, 0 to 100. A report not scored yet is left out.","title":"Min Confidence"},"description":"Only reports scored at least this confidence, 0 to 100. A report not scored yet is left out."},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Per-organization token issued to a forecast office or EOC. Adds the restricted reports; an unknown or revoked token gives the public file.","title":"Token"},"description":"Per-organization token issued to a forecast office or EOC. Adds the restricted reports; an unknown or revoked token gives the public file."},{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"description":"A meteorologist's personal placefile key, which also adds the restricted reports and records that the fetch happened. An unknown or revoked key gives the public file.","title":"Key"},"description":"A meteorologist's personal placefile key, which also adds the restricted reports and records that the fetch happened. An unknown or revoked key gives the public file."}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"},"example":"Title: WxAlerts Spotter Reports (US) @1912Z - 14 reports\nRefresh: 2\nThreshold: 200\nIconFile: 1, 32, 32, 16, 16, \"https://api.wxalerts.org/placefile/spotter-icons.png\"\nObject: 41.5868,-93.6250\n...\nEnd:\n"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/placefile/lsr.txt":{"get":{"tags":["placefile"],"summary":"Official NWS local storm reports as a GRLevelX placefile","description":"The same official NWS local storm reports as `/lsr/reports`, as a placefile for GRLevel3, GR2Analyst and GREarth. No account or header is needed. Every row is a published NWS product, so there is nothing restricted and no token. The answer is always a well-formed file, even when there is nothing to draw. At most 500 reports are drawn, newest first, and the title says how many there were. The window is on when the weather happened, not when the report arrived. The 6 and 24 hour forms, with or without a single `state` or `office`, are cached at the edge; anything else is built fresh.","operationId":"lsr_placefile_placefile_lsr_txt_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":72,"minimum":1,"description":"How far back to draw reports, in hours, 1 to 72. Default 6.","default":6,"title":"Hours"},"description":"How far back to draw reports, in hours, 1 to 72. Default 6."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"description":"Two-letter state to limit the file to.","examples":["TX"],"title":"State"},"description":"Two-letter state to limit the file to."},{"name":"office","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4},{"type":"null"}],"description":"Issuing office as the four-letter ID, e.g. KDMX","title":"Office"},"description":"Issuing office as the four-letter ID, e.g. KDMX"},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. An unknown name is a 422, not an empty file.","examples":["tornado,hail"],"title":"Categories"},"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. An unknown name is a 422, not an empty file."}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"},"example":"Title: WxAlerts NWS Storm Reports (US) @1912Z - 37 reports\nRefresh: 3\nThreshold: 300\nIconFile: 1, 32, 32, 16, 16, \"https://api.wxalerts.org/placefile/lsr-icons.png\"\nObject: 29.8300,-100.4000\n...\nEnd:\n"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/type":{"get":{"tags":["account"],"summary":"What kind of account this is, and what it may do next","description":"Spotter currency is read from the credential row on every call\n(services/spotter.is_currently_certified), never stored, so it lapses on\nits day; `can_file` is the same answer. The meteorologist type is the\nlive `auth.meteorologists` row, the EOC type the live\n`auth.eoc_operators` row, and `can_relay` says that row's org may relay.","operationId":"account_type_account_type_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountType"}}}}}}},"/account/preferences":{"get":{"tags":["account"],"summary":"Your account preferences","operationId":"get_preferences_account_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}}}}},"patch":{"tags":["account"],"summary":"Change your account preferences","description":"Merges the fields sent into the caller's own row. Owner scoped by\nconstruction: the row is the signed-in user's, never one named in the URL.","operationId":"patch_preferences_account_preferences_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesPatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/meteorologist/verify-email":{"post":{"tags":["account"],"summary":"Send a link to confirm a work address","operationId":"start_verification_account_meteorologist_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkEmailStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkEmailStarted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/eoc/verify-email":{"post":{"tags":["account"],"summary":"Send a link to confirm an EOC work address","description":"The EOC form's sibling of the meteorologist route. Its link only marks\nthe address verified on the EOC request: it never grants anything, and\nnever the meteorologist type, whatever the domain. `auto_grant` is\nalways false.","operationId":"start_eoc_verification_account_eoc_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkEmailStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkEmailStarted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/meteorologist/verify":{"get":{"tags":["account"],"summary":"Confirm a work address from the emailed link","description":"A browser landing from an email, so every outcome is a redirect to the\nprofile and never a JSON error page.\n\nThe link must be opened signed in to the account that asked for it (see\nservices/meteorologists.confirm_link). Signed out, the token is left\nunused and the page is told why, so the person can sign in and click the\nsame link again. A login redirect straight back here is not possible:\nthe sign-in `next` allow-list covers the website, not this API's host.","operationId":"confirm_verification_account_meteorologist_verify_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","maxLength":128,"default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/eoc/verify":{"get":{"tags":["account"],"summary":"Confirm an EOC work address from the emailed link","description":"The same confirmation as the meteorologist link: confirm_link acts on\nthe purpose the link was created with, never on which URL opened it, so a\nlink cannot be replayed as the other kind. Only the redirect differs, by\n`purpose=eoc`.","operationId":"confirm_eoc_verification_account_eoc_verify_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","maxLength":128,"default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/meteorologist/request":{"get":{"tags":["account"],"summary":"Your meteorologist request","description":"The open request, or the most recent closed one so a needs-info or\ndenial note stays readable; 404 when there has never been one.","operationId":"get_request_account_meteorologist_request_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeteorologistRequestOut"}}}}}},"put":{"tags":["account"],"summary":"Save the meteorologist request form","description":"Create the draft or save over it. Editable as a draft and on\n`needs_info`; a pending request is with an admin and has to be withdrawn\nto change. Changing the work address clears its verification unless this\naccount has already confirmed a link to the new one.","operationId":"put_request_account_meteorologist_request_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeteorologistRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeteorologistRequestOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/meteorologist/request/submit":{"post":{"tags":["account"],"summary":"Send the request to an admin","operationId":"submit_request_account_meteorologist_request_submit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeteorologistRequestOut"}}}}}}},"/account/meteorologist/request/withdraw":{"post":{"tags":["account"],"summary":"Withdraw the request","operationId":"withdraw_request_account_meteorologist_request_withdraw_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeteorologistRequestOut"}}}}}}},"/account/eoc/request":{"get":{"tags":["account"],"summary":"Your EOC operator request","description":"The open request, or the most recent closed one so a needs-info or\ndenial note stays readable; 404 when there has never been one.","operationId":"get_eoc_request_account_eoc_request_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EocRequestOut"}}}}}},"put":{"tags":["account"],"summary":"Save the EOC operator request form","description":"Create the draft or save over it, as the meteorologist form does:\neditable as a draft and on `needs_info`, not while `pending`. Changing\nthe work address clears its verification unless this account has\nalready confirmed a link to the new one.","operationId":"put_eoc_request_account_eoc_request_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EocRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EocRequestOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/eoc/request/submit":{"post":{"tags":["account"],"summary":"Send the EOC request to an admin","description":"422 with `detail.missing`, in form order, when something required is\nabsent: eoc_name, jurisdiction, state, agency_kind, job_title,\nwork_phone, work_email (or work_email_verified), attest.","operationId":"submit_eoc_request_account_eoc_request_submit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EocRequestOut"}}}}}}},"/account/eoc/request/withdraw":{"post":{"tags":["account"],"summary":"Withdraw the EOC request","operationId":"withdraw_eoc_request_account_eoc_request_withdraw_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EocRequestOut"}}}}}}},"/account/placefile-keys":{"get":{"tags":["account"],"summary":"Your personal placefile keys","operationId":"list_placefile_keys_account_placefile_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlacefileKeyOut"},"type":"array","title":"Response List Placefile Keys Account Placefile Keys Get"}}}}}},"post":{"tags":["account"],"summary":"Create a personal placefile key","description":"The only response that carries the clear key. It is not stored, so a\nlost key is revoked and replaced, never shown again.","operationId":"create_placefile_key_account_placefile_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacefileKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacefileKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/placefile-keys/{key_id}":{"delete":{"tags":["account"],"summary":"Revoke a personal placefile key","operationId":"revoke_placefile_key_account_placefile_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/home-assistant/instances":{"get":{"tags":["integrations"],"summary":"The Home Assistant instance quota and the instances","description":"On every plan: a Free account sees limit 0, and an account whose plan\nlapsed sees its deactivated instances and why. The quota is enforced\nfirst, so this answer and the broker agree.","operationId":"list_instances_integrations_home_assistant_instances_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Instances"}}}}}},"post":{"tags":["integrations"],"summary":"Register a Home Assistant instance and get its broker login","description":"The only response that carries the password. 201 for a new instance;\n200 when the same instance registers again, which rotates its password\nand keeps its username and its slot.","operationId":"register_instance_integrations_home_assistant_instances_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RegisterInstance"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstanceCredentials"}}}},"403":{"description":"supporter_required"},"409":{"description":"instance_limit"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/home-assistant/instances/{instance_id}":{"delete":{"tags":["integrations"],"summary":"Revoke one Home Assistant instance","description":"Its login stops working and its slot is free. The publisher then marks\nit offline (`status` `{\"online\": false, \"reason\": \"revoked\"}`), ends any\nsession it still has open on the broker, and empties its retained\ntopics, in that order (services/home_assistant.py \"Ending a session\").","operationId":"revoke_instance_integrations_home_assistant_instances__instance_id__delete","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Instance Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/home-assistant/instances/{instance_id}/rotate":{"post":{"tags":["integrations"],"summary":"A new broker password for one Home Assistant instance","operationId":"rotate_instance_integrations_home_assistant_instances__instance_id__rotate_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstanceCredentials"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/home-assistant/instances/{instance_id}/heartbeat":{"post":{"tags":["integrations"],"summary":"The Home Assistant instance says it is alive","description":"Records `last_seen_at`, takes the location name if it changed, and\nanswers with the instance's state, so the integration learns at once that\nit was revoked (`active` false, `revoked`) or deactivated (`plan_lapsed`,\n`over_limit`) and can tell the person instead of retrying.","operationId":"instance_heartbeat_integrations_home_assistant_instances__instance_id__heartbeat_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Instance Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Heartbeat"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Instance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/home-assistant/credentials":{"get":{"tags":["integrations"],"summary":"Deprecated: the first Home Assistant instance's login, without its password","operationId":"get_credentials_integrations_home_assistant_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantLogin"}}}}},"deprecated":true},"post":{"tags":["integrations"],"summary":"Deprecated: create or rotate the first Home Assistant instance's login","description":"The first instance (the oldest one the person can see) gets a new\npassword; with none, a manual instance named \"Home Assistant\" is made,\nwhich takes a slot like any other.","operationId":"create_credentials_integrations_home_assistant_credentials_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantCredentials"}}}}},"deprecated":true},"delete":{"tags":["integrations"],"summary":"Deprecated: revoke the first Home Assistant instance","operationId":"delete_credentials_integrations_home_assistant_credentials_delete","responses":{"204":{"description":"Successful Response"}},"deprecated":true}},"/pws/claim/start":{"post":{"tags":["pws"],"summary":"A gateway asks for a claim code (no account, rate limited)","operationId":"claim_start_pws_claim_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimStartResponse"}}}},"409":{"description":"already_claimed"},"429":{"description":"rate_limited"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/claim/poll":{"post":{"tags":["pws"],"summary":"A gateway polls for its credentials (returned exactly once)","operationId":"claim_poll_pws_claim_poll_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimPollRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimPollResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/device/identity":{"get":{"tags":["pws"],"summary":"A gateway proves its credential and learns its owner's user_id","description":"Device facing, authenticated with the gateway's own MQTT credential.\n\n`Authorization: Basic base64(device_id:password)` is the same pair the\ngateway presents to the broker, so no new secret exists. Any failure (no\nheader, unknown device, wrong password, not active, no owner) is the same\n401, so this cannot be used to probe which device ids exist. The gateway\ncalls it on start and every few hours, and on a changed answer rewrites its\ncredential file and moves to the V2 topics (or to a new owner's).","operationId":"device_identity_pws_device_identity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceIdentityResponse"}}}},"401":{"description":"invalid_credential"}}}},"/pws/claim/approve":{"post":{"tags":["pws"],"summary":"Bind the code on a gateway's screen to this account","operationId":"claim_approve_pws_claim_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimApproveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimApproveResponse"}}}},"404":{"description":"invalid_code (unknown or expired)"},"409":{"description":"device_limit"},"429":{"description":"rate_limited, or approve_locked after 20 wrong codes in an hour"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/gateways":{"get":{"tags":["pws"],"summary":"The caller's gateways and how many the plan allows","operationId":"list_gateways_pws_gateways_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gateways"}}}}}}},"/pws/gateways/{device_id}":{"get":{"tags":["pws"],"summary":"One gateway, with its stations","operationId":"gateway_detail_pws_gateways__device_id__get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["pws"],"summary":"Rename a gateway or set where it is","operationId":"patch_gateway_pws_gateways__device_id__patch","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gateway"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pws"],"summary":"Unlink a gateway: its credential stops working and its session is dropped","operationId":"unlink_gateway_pws_gateways__device_id__delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Device Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/gateways/{device_id}/commands":{"post":{"tags":["pws"],"summary":"Queue a command; the worker signs and publishes it","operationId":"queue_command_pws_gateways__device_id__commands_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandQueued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/gateways/{device_id}/commands/{command_id}":{"get":{"tags":["pws"],"summary":"A queued command's state","operationId":"command_status_pws_gateways__device_id__commands__command_id__get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$","title":"Device Id"}},{"name":"command_id","in":"path","required":true,"schema":{"type":"string","maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$","title":"Command Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/stations":{"get":{"tags":["pws"],"summary":"The caller's physical stations","operationId":"list_stations_pws_stations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stations"}}}}}}},"/pws/stations/{station_id}":{"put":{"tags":["pws"],"summary":"Set a station's name, heights, selection and fields","operationId":"put_station_pws_stations__station_id__put","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"title":"Station Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationPut"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Station"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/stations/{station_id}/current":{"get":{"tags":["pws"],"summary":"Latest bucket of one station","operationId":"station_current_pws_stations__station_id__current_get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"title":"Station Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationCurrent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/stations/{station_id}/history":{"get":{"tags":["pws"],"summary":"Up to 24 hours of 5 minute buckets","operationId":"station_history_pws_stations__station_id__history_get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"title":"Station Id"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"default":24,"title":"Hours"}},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"comma separated fields","title":"Fields"},"description":"comma separated fields"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/composite":{"get":{"tags":["pws"],"summary":"The field group to station map, with provenance and staleness","operationId":"get_composite_pws_composite_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Composite"}}}}}},"put":{"tags":["pws"],"summary":"Set which station answers for which field group","operationId":"put_composite_pws_composite_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompositePut"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Composite"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pws/composite/current":{"get":{"tags":["pws"],"summary":"The composed current reading, with provenance","operationId":"composite_current_pws_composite_current_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompositeCurrent"}}}}}}},"/pws/composite/history":{"get":{"tags":["pws"],"summary":"The composed series, each group from its mapped station","operationId":"composite_history_pws_composite_history_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"default":24,"title":"Hours"}},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"comma separated fields","title":"Fields"},"description":"comma separated fields"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/board":{"get":{"tags":["vetting"],"summary":"Reports to vet, restricted ones included","operationId":"read_board_vet_board_get","parameters":[{"name":"cwa","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4},{"type":"null"}],"title":"Cwa"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"State"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":48,"minimum":1,"default":6,"title":"Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetBoard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/mark":{"get":{"tags":["vetting"],"summary":"Your live mark on a report","description":"The caller's live mark, so the report page can show which button is\nalready pressed. 404 when the report does not exist or they have no live\nmark on it.\n\n`report_restricted` here describes now, not the moment of marking: true\nwhen this mark is a restricting one no admin has overturned and the report\nis off the public map for a forecaster mark. With more than one\nmeteorologist marking, that is \"your mark is among what holds it\", which\nis what the page needs to say.","operationId":"read_mark_vet_reports__ref__mark_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetMarkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["vetting"],"summary":"Mark a report","description":"One live mark per person per report; a new one replaces the old.\n\nAn `invalid` or `narrative` mark on a published, public report restricts\nit at once and queues it for an admin; `report_restricted` says whether\nthis mark is what took it off the map.","operationId":"put_mark_vet_reports__ref__mark_put","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetMarkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetMarkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["vetting"],"summary":"Withdraw your mark","description":"Idempotent: 204 whether or not there was a live mark to withdraw.\nNever republishes the report on its own; see services/vetting.py.","operationId":"delete_mark_vet_reports__ref__mark_delete","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/remarks":{"post":{"tags":["vetting"],"summary":"Add a public forecaster remark","description":"Public the moment it is written: the map, the report page and the\nplacefile hover text all show it. An admin can hide it afterwards.","operationId":"post_remark_vet_reports__ref__remarks_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecasterRemarkIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecasterRemarkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/inbox":{"get":{"tags":["spotter"],"summary":"Your reports and their feedback","description":"Every report the caller filed or that names them as observer, newest\nfiled first, with what meteorologists made of it and the conversation's\nstate. Pass `next_before` back as `before` for the next page.","operationId":"read_inbox_spotter_inbox_get","parameters":[{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/thread":{"get":{"tags":["spotter"],"summary":"The conversation on your report","operationId":"spotter_read_thread_spotter_reports__ref__thread_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/thread/replies":{"post":{"tags":["spotter"],"summary":"Answer a question","description":"One reply per open question, naming it. A photo only when the question\nasked for one, and only a photo already uploaded to this report.","operationId":"spotter_reply_spotter_reports__ref__thread_replies_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/thread/read":{"post":{"tags":["spotter"],"summary":"Mark the conversation read","operationId":"spotter_mark_read_spotter_reports__ref__thread_read_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/thread/mute":{"post":{"tags":["spotter"],"summary":"Mute a meteorologist","description":"The meteorologist who wrote `message_id` loses their open question and\ncannot ask again on this report until unmuted.","operationId":"spotter_mute_spotter_reports__ref__thread_mute_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spotter/reports/{ref}/thread/unmute":{"post":{"tags":["spotter"],"summary":"Unmute a meteorologist","operationId":"spotter_unmute_spotter_reports__ref__thread_unmute_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/threads":{"get":{"tags":["vetting"],"summary":"Conversations you are on","description":"`awaiting` is the ones with a spotter reply you have not read.","operationId":"vet_list_threads_vet_threads_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"enum":["open","awaiting","all"],"type":"string","default":"open","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThreadListItem"},"title":"Response Vet List Threads Vet Threads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread":{"get":{"tags":["vetting"],"summary":"The conversation on a report","description":"Any live meteorologist reads the whole conversation, so nobody asks\nwhat somebody else already asked.\n\nWith no conversation, 404 with `detail` \"no_conversation\" when one could be\nstarted (the client shows the Ask box) or \"no_spotter\" when the report has\nno spotter account, so none ever can.","operationId":"vet_read_thread_vet_reports__ref__thread_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/questions":{"post":{"tags":["vetting"],"summary":"Ask the spotter","description":"Starts the conversation if there is none. 409 if you already have an\nopen question here, the spotter muted you, you left, the conversation is\nclosed, or the report has no spotter.","operationId":"vet_ask_vet_reports__ref__thread_questions_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/questions/{question_id}/withdraw":{"post":{"tags":["vetting"],"summary":"Withdraw your open question","operationId":"vet_withdraw_vet_reports__ref__thread_questions__question_id__withdraw_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"integer","title":"Question Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/leave":{"post":{"tags":["vetting"],"summary":"Leave the conversation","description":"Your open question is withdrawn and you cannot ask again here.","operationId":"vet_leave_vet_reports__ref__thread_leave_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/close":{"post":{"tags":["vetting"],"summary":"Close the conversation","description":"For everybody, for good: it becomes read only and open questions\nexpire.","operationId":"vet_close_vet_reports__ref__thread_close_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/replies/{reply_id}/promote":{"post":{"tags":["vetting"],"summary":"Publish a spotter's reply as a public remark","operationId":"vet_promote_vet_reports__ref__thread_replies__reply_id__promote_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"reply_id","in":"path","required":true,"schema":{"type":"integer","title":"Reply Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecasterRemarkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vet/reports/{ref}/thread/read":{"post":{"tags":["vetting"],"summary":"Mark the conversation read","operationId":"vet_mark_read_vet_reports__ref__thread_read_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/threads/messages/{message_id}/flag":{"post":{"tags":["threads"],"summary":"Flag a message to the admins","description":"The spotter or any live meteorologist, on a message they did not write.\n`media_request` is for a meteorologist asking for photos or video to use:\nconversations are for verification only. Flagging twice is a no-op.","operationId":"flag_message_threads_messages__message_id__flag_post","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/api-keys":{"get":{"tags":["account"],"summary":"Your API keys","operationId":"list_api_keys_account_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyList"}}}}}},"post":{"tags":["account"],"summary":"Make an API key","description":"The only response that carries the clear key. It is not stored, so a\nlost key is revoked and replaced, never shown again.","operationId":"create_api_key_account_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/api-keys/{key_id}":{"patch":{"tags":["account"],"summary":"Rename or rescope an API key","operationId":"update_api_key_account_api_keys__key_id__patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["account"],"summary":"Revoke an API key","operationId":"revoke_api_key_account_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/api-keys/{key_id}/usage":{"get":{"tags":["account"],"summary":"Daily requests for one API key","operationId":"api_key_usage_account_api_keys__key_id__usage_get","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":1,"title":"Key Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":400,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyUsageDay"},"title":"Response Api Key Usage Account Api Keys  Key Id  Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/mqtt-credentials":{"get":{"tags":["account"],"summary":"Your MQTT credentials","operationId":"list_mqtt_credentials_account_mqtt_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialList"}}}}}},"post":{"tags":["account"],"summary":"Make an MQTT credential","description":"The only response, with rotate, that carries the password.","operationId":"create_mqtt_credential_account_mqtt_credentials_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CreateCredential"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedCredential"}}}},"409":{"description":"too_many_credentials"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/mqtt-credentials/{credential_id}/rotate":{"post":{"tags":["account"],"summary":"A new password for one MQTT credential","operationId":"rotate_mqtt_credential_account_mqtt_credentials__credential_id__rotate_post","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^account-[0-9a-f]{32}$","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedCredential"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/mqtt-credentials/{credential_id}":{"delete":{"tags":["account"],"summary":"Revoke an MQTT credential","description":"The login stops working at once; the publisher ends any open session\nand empties its retained topics (services/home_assistant.py \"Ending a\nsession\").","operationId":"revoke_mqtt_credential_account_mqtt_credentials__credential_id__delete","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^account-[0-9a-f]{32}$","title":"Credential Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/mqtt-wfos":{"get":{"tags":["account"],"summary":"Your forecast offices for MQTT","operationId":"list_mqtt_wfos_account_mqtt_wfos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WfoState"}}}}}},"post":{"tags":["account"],"summary":"Add a forecast office","operationId":"add_mqtt_wfo_account_mqtt_wfos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddWfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WfoState"}}}},"403":{"description":"not_eligible: not a meteorologist or EOC account"},"409":{"description":"too_many_wfos"},"422":{"description":"unknown_office or not_adjacent"}}}},"/account/mqtt-wfos/{wfo}":{"delete":{"tags":["account"],"summary":"Remove a forecast office","description":"Refused when the offices left would no longer be connected. Allowed on\nan account that no longer holds either type, so it can clear what it chose.","operationId":"remove_mqtt_wfo_account_mqtt_wfos__wfo__delete","parameters":[{"name":"wfo","in":"path","required":true,"schema":{"type":"string","maxLength":4,"pattern":"^[A-Za-z]{4}$","title":"Wfo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WfoState"}}}},"404":{"description":"wfo_not_selected"},"409":{"description":"would_split_selection"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/alerts/active":{"get":{"tags":["alerts"],"summary":"Active alerts, no geometry","description":"Every active alert in the country, without geometry, newest issued first.\n\nServed only under `/v1`, with an API key (`alerts:read`). Paging is `limit`\nand `offset` over a stable order (issue time, then `id`) with no total\ncount: keep going until a page comes back shorter than `limit`. The active\nset is a few hundred alerts on a typical day, so `limit=2000` usually takes\nit in one request, which also avoids the set changing between pages. Alerts\nwith no shape are included here.","operationId":"active_alerts_v1_alerts_active_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'. A typo returns an empty list, not an error.","title":"Event"},"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'. A typo returns an empty list, not an error."},{"name":"office","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Issuing office, exact: 'KBRO', not 'BRO'","title":"Office"},"description":"Issuing office, exact: 'KBRO', not 'BRO'"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor","title":"Severity"},"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most alerts to return, 1 to 2000","default":500,"title":"Limit"},"description":"Most alerts to return, 1 to 2000"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Alerts to skip, for paging","default":0,"title":"Offset"},"description":"Alerts to skip, for paging"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertSummary"},"title":"Response Active Alerts V1 Alerts Active Get"},"example":[{"id":28449246,"vtec_key":"PAFC.BZ.W.0014.2026","event":"Blizzard Warning","office":"PAFC","phenomena":"BZ","significance":"W","etn":14,"status":"active","severity":"Severe","urgency":"Immediate","certainty":"Observed","issued_at":"2026-11-09T14:15:00Z","onset":"2026-11-09T20:00:00Z","expires":"2026-11-10T01:00:00Z","ends":"2026-11-10T21:00:00Z","ugc":["AKZ732"],"same":["002063"],"headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","instruction":"A Blizzard Warning means severe winter weather conditions are ...","geom_source":"ugc","sources":["api","emwin","nwws"],"updated_at":"2026-11-09T19:06:52.767357Z","short_id":"8k3wWa9l"}]}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/active/geojson":{"get":{"tags":["alerts"],"summary":"Active alerts as GeoJSON, geometry minified","description":"Every active alert that has a shape, as one GeoJSON FeatureCollection.\n\nNewest issued first, with no `area` property to keep it small, and no\npaging. This is the whole national geometry set, often a few megabytes, so\nit has a tighter rate limit of its own. Responses carry `Cache-Control`\nand an `ETag`, and a request with `If-None-Match` gets an empty `304` until\nthe set actually changes. Served only under `/v1`, with an API key\n(`alerts:read`).","operationId":"active_alerts_geojson_v1_alerts_active_geojson_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'","title":"Event"},"description":"Exact event name, case sensitive: 'Tornado Warning', not 'tornado warning'"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor","title":"Severity"},"description":"CAP severity, exact: Extreme, Severe, Moderate or Minor"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's own, tighter limit. It returns the whole national geometry set. Wait `Retry-After` seconds and respect `Cache-Control` and `ETag` instead of re-polling.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"304":{"description":"Nothing changed since the `ETag` sent in `If-None-Match`. The body is empty."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/in-bounds":{"get":{"tags":["alerts"],"summary":"Active alerts intersecting a bounding box","description":"Active alerts whose shape touches a box, as a GeoJSON FeatureCollection.\n\nMost serious first, the order a sidebar list is read in. This is what the\nlive map polls. A bad box (`west >= east` or `south >= north`) is a `422`\nthat says which rule it broke. Responses carry `Cache-Control` and an\n`ETag`: send the tag back as `If-None-Match` and you get `304 Not Modified`\nwith no body until something in the active set changes.","operationId":"alerts_in_bounds_v1_alerts_in_bounds_get","parameters":[{"name":"west","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"West edge of the box, longitude -180 to 180. Must be less than `east`","title":"West"},"description":"West edge of the box, longitude -180 to 180. Must be less than `east`"},{"name":"south","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"South edge of the box, latitude -90 to 90. Must be less than `north`","title":"South"},"description":"South edge of the box, latitude -90 to 90. Must be less than `north`"},{"name":"east","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported","title":"East"},"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported"},{"name":"north","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"North edge of the box, latitude -90 to 90","title":"North"},"description":"North edge of the box, latitude -90 to 90"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's per-address limit. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"304":{"description":"Nothing changed since the `ETag` sent in `If-None-Match`. The body is empty."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/ended-in-bounds":{"get":{"tags":["alerts"],"summary":"Alerts in a bounding box that ended recently, for the radar loop","description":"Alerts in a box that ended within the last `minutes`, for a radar loop.\n\nThe live set only holds what is in effect now, so a warning that expired\ntwenty minutes ago would be missing from every frame it was in force for.\nMerge this with `/alerts/in-bounds` and a frame at time T can show what was\nout at T. Same FeatureCollection shape, most serious first, at most 500\nfeatures. `status` is `expired` or `cancelled`, and each feature adds\n`ended_at`: the earlier of `ends` and `expires`, or for a cancellation the\ntime the cancelling product arrived. An alert was in force at time T when\nit was issued before T and `ended_at` is after T.","operationId":"alerts_ended_in_bounds_v1_alerts_ended_in_bounds_get","parameters":[{"name":"west","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"West edge of the box, longitude -180 to 180. Must be less than `east`","title":"West"},"description":"West edge of the box, longitude -180 to 180. Must be less than `east`"},{"name":"south","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"South edge of the box, latitude -90 to 90. Must be less than `north`","title":"South"},"description":"South edge of the box, latitude -90 to 90. Must be less than `north`"},{"name":"east","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported","title":"East"},"description":"East edge of the box, longitude -180 to 180. Boxes crossing the antimeridian are not supported"},{"name":"north","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"North edge of the box, latitude -90 to 90","title":"North"},"description":"North edge of the box, latitude -90 to 90"},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back to look, in minutes, 1 to 180","default":70,"title":"Minutes"},"description":"How far back to look, in minutes, 1 to 180"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Over this endpoint's per-address limit. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/highest-severity":{"get":{"tags":["alerts"],"summary":"The most serious active alerts, ranked","description":"The most serious alerts active anywhere, ranked.\n\nRanked by significance, then by hazard (tornado and tsunami first, down\nthrough winter, fire and flood to marine and beach hazards), then by CAP\nurgency, then newest. Built for a \"what matters right now\" strip: no\ngeometry and no text, just enough to label a row and frame a map on it.\n`bbox` is `[west, south, east, north]` of the alert's shape, or null for an\nalert with no shape.","operationId":"highest_severity_v1_alerts_highest_severity_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most alerts to return, 1 to 25","default":3,"title":"Limit"},"description":"Most alerts to return, 1 to 25"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HighestSeverityResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/focus":{"get":{"tags":["alerts"],"summary":"An automatically framed view of the most significant activity","description":"A map view chosen for you, with only the alerts inside it, most serious first.\n\nUseful for a kiosk, a small teaser map or a screenshot bot. `highest-severity`\nframes the top-ranked active warning (advisories and watches are never the\nanchor). `most-alerts` frames the office with the most active warnings and\nwatches, or all alerts if nothing but advisories is out. `auto` tries\n`highest-severity` and falls back to `most-alerts` when no warning is in\neffect. `focus.reason` says which rule chose the view. With nothing to frame\nit is `none` and the response is the lower 48 with no features, not an\nerror. The `bbox` is padded around the anchor and at least two degrees on a\nside. `truncated: true` means more alerts were in the view than `limit`, and\nthe least serious were dropped.","operationId":"focused_alerts_v1_alerts_focus_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Most features to return, 1 to 100","default":25,"title":"Limit"},"description":"Most features to return, 1 to 100"},{"name":"strategy","in":"query","required":false,"schema":{"enum":["auto","highest-severity","most-alerts"],"type":"string","description":"auto = severity then density; most-alerts = busiest office; highest-severity = top-ranked warning only","default":"auto","title":"Strategy"},"description":"auto = severity then density; most-alerts = busiest office; highest-severity = top-ranked warning only"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusedAlertsResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/at":{"get":{"tags":["alerts"],"summary":"Active alerts covering a point","description":"Every active alert covering a point, without geometry, newest issued first.\n\nThe call for \"is anything in effect here\". An empty list means nothing is in\neffect at that point. Alerts with no shape never match a point.","operationId":"alerts_at_point_v1_alerts_at_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude, degrees north, -90 to 90","title":"Lat"},"description":"Latitude, degrees north, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude, degrees east, -180 to 180","title":"Lon"},"description":"Longitude, degrees east, -180 to 180"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertSummary"},"title":"Response Alerts At Point V1 Alerts At Get"},"example":[{"id":28449246,"vtec_key":"PAFC.BZ.W.0014.2026","event":"Blizzard Warning","office":"PAFC","phenomena":"BZ","significance":"W","etn":14,"status":"active","severity":"Severe","urgency":"Immediate","certainty":"Observed","issued_at":"2026-11-09T14:15:00Z","onset":"2026-11-09T20:00:00Z","expires":"2026-11-10T01:00:00Z","ends":"2026-11-10T21:00:00Z","ugc":["AKZ732"],"same":["002063"],"headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","instruction":"A Blizzard Warning means severe winter weather conditions are ...","geom_source":"ugc","sources":["api","emwin","nwws"],"updated_at":"2026-11-09T19:06:52.767357Z","short_id":"8k3wWa9l"}]}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/page/{short_id}":{"get":{"tags":["alerts"],"summary":"One alert for its public page, live or ended, by short id","description":"One alert by its short id, live or ended: what the alert pages are built from.\n\nThe alert object plus `area`, `slug`, `path`, `bbox` and `geometry`. Ended\nalerts are kept for 30 days and say so in `status`. A short id that never\nexisted is `404`. One whose alert has passed the retention window is\n`410 Gone`, so \"this link was always wrong\" is told apart from \"this alert\nis over and deleted\". An active alert's page is cached for 30 seconds, an\nended one for a day.","operationId":"alert_page_v1_alerts_page__short_id__get","parameters":[{"name":"short_id","in":"path","required":true,"schema":{"type":"string","description":"The alert's eight-character public id, the `short_id` of any alert object","examples":["8k3wWa9l"],"title":"Short Id"},"description":"The alert's eight-character public id, the `short_id` of any alert object"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertPage"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert was ever issued under this id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"410":{"description":"The alert existed and has passed the retention window","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/page/{short_id}/rundown":{"get":{"tags":["alerts"],"summary":"The storm cell behind a warning, and the places in its path","description":"For a storm-based warning, the storm cell behind it and the places in its path.\n\nOnly Tornado, Severe Thunderstorm, Extreme Wind and Special Marine warnings\nwith a shape get a cell. Anything else answers `200` with\n`reason: \"not-a-cell-warning\"` and everything empty. `places` and `pois`\nare filled only while the warning is active and the storm is still tracked,\nand each carries `minutes` from `valid_time` until the storm's leading edge\narrives. The numbers move every scan, so this is cached for 30 seconds even\nfor an ended warning.","operationId":"alert_rundown_page_v1_alerts_page__short_id__rundown_get","parameters":[{"name":"short_id","in":"path","required":true,"schema":{"type":"string","description":"The alert's eight-character public id, the `short_id` of any alert object","examples":["9FNqeXAD"],"title":"Short Id"},"description":"The alert's eight-character public id, the `short_id` of any alert object"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRundown"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert under this id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/pages":{"get":{"tags":["alerts"],"summary":"Every alert with a public page, newest first, for the sitemap","description":"Every alert with a public page, newest first, for building a sitemap.\n\nA sitemap file holds at most 50,000 URLs, which is the default and the\nceiling for `limit`. Cached for 15 minutes.","operationId":"alert_pages_v1_alerts_pages_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"description":"Most pages to return, 1 to 50000","default":50000,"title":"Limit"},"description":"Most pages to return, 1 to 50000"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertPageIndex"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/alerts/{identifier}":{"get":{"tags":["alerts"],"summary":"One alert by VTEC key, CAP id, or numeric id","description":"One alert, in the alert object shape, by VTEC key, CAP id or numeric id.\n\nUnlike the search routes this also answers for alerts that have ended, while\nthey are retained.","operationId":"get_alert_v1_alerts__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","description":"A VTEC key such as PAFC.BZ.W.0014.2026, a CAP id (urn:oid:...) or the numeric `id`. Special Weather Statements have no VTEC key, so look those up by CAP id","examples":["PAFC.BZ.W.0014.2026"],"title":"Identifier"},"description":"A VTEC key such as PAFC.BZ.W.0014.2026, a CAP id (urn:oid:...) or the numeric `id`. Special Weather Statements have no VTEC key, so look those up by CAP id"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSummary"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No alert matches this identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stats/summary":{"get":{"tags":["stats"],"summary":"Active alert and lightning counters","description":"Active alert counts and the GLM lightning window. No parameters.\n\nCached for 15 seconds, which is about the data's own cadence, so polling\nfaster gets the same answer. The lightning window is whatever the live store\nholds, measured and not assumed: read its length from `window_seconds`, and\nbranch on `covers_full_day` before calling the count a day's worth. Even\nthen it is a rolling window and never a calendar day, so do not label it\n\"today\". For lightning per day use `/v1/stats/lightning/daily`.","operationId":"summary_v1_stats_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryStats"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stats/lightning/daily":{"get":{"tags":["stats"],"summary":"Per-day GLM flash counts, bucketed in any time zone","description":"GLM flash counts per day, with days cut in any time zone.\n\nServed only under `/v1`, with an API key (`alerts:read`). Pick the zone your\nreaders live in: a UTC day ends in the evening across the Americas, so in\nUTC an evening storm lands on the next day. Days come newest first: today\nand the whole days before it, cut at midnight in `timezone`. A day with no\nflashes at all has no row. Today's row is still filling in, so use\n`hours_observed` to tell a partial day from a complete one. Finished days\nnever change; the response is cached for an hour. An unknown zone is a\n`422`, never a silent fall back to UTC.","operationId":"lightning_daily_v1_stats_lightning_daily_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":400,"minimum":1,"description":"How far back to look, in days from now, 1 to 400","default":30,"title":"Days"},"description":"How far back to look, in days from now, 1 to 400"},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","description":"IANA zone name to bucket days in, e.g. America/Chicago. A UTC day boundary falls in the evening across the Americas, which puts an evening storm on the following day.","examples":["UTC","America/Chicago"],"default":"UTC","title":"Timezone"},"description":"IANA zone name to bucket days in, e.g. America/Chicago. A UTC day boundary falls in the evening across the Americas, which puts an evening storm on the following day."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LightningHistory"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stats/latency":{"get":{"tags":["stats"],"summary":"How fast each alert feed delivers, measured against the others","description":"How fast each alert feed delivers, measured against the others.\n\nThe same hazards arrive from three feeds (nwws, emwin and api) and each\nfeed's first delivery of each hazard is recorded. Sources come most wins\nfirst. The relative figures (`wins`, `win_share`, `median_behind_seconds`\nand friends) are exact to the millisecond and are the fair way to rank the\nfeeds. `median_issuance_lag_seconds` is measured from the NWS issuance\nstamp, which is quantized to the minute, so treat it as an order of\nmagnitude. Cached for 60 seconds.","operationId":"feed_latency_v1_stats_latency_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"Window to report over. The ingest prunes receipts on a rolling schedule, so asking for more than it keeps returns a short answer rather than an error.","default":24,"title":"Hours"},"description":"Window to report over. The ingest prunes receipts on a rolling schedule, so asking for more than it keeps returns a short answer rather than an error."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LatencyStats"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/forecast":{"get":{"tags":["forecast"],"summary":"Forecast for a point, a saved location, or a place name","description":"The full forecast for a point: every field the models publish, unreduced.\n\nGive `lat` and `lon`, or `location_id`, or `q`. `hourly` and `daily` come\nfrom the National Blend of Models (about 10 km, to about 11 days). `nowcast`\nand `current` come from the HRRR (about 6 km, 18 hours) and carry radar\nreflectivity and pressure, plus severe weather and upper air fields on\nrequest with `include`. The two models are never blended, and `models` names\neach run, its age and how far it reaches. `units` names the unit of every\nfield in both series.\n\n`coverage` says what was filled: `full` in the lower 48 and its\nsurroundings, `nbm_only` in Alaska, Hawaii, Puerto Rico and Guam (no\nnowcast), `outside_domain` anywhere else (every series empty, not an\nerror). Each step carries `valid_time`, local time and offset, and\n`forecast_hour`; order by `valid_time`. `narrative` is the forecast in\nsentences, written by rules from the same numbers, and any active alert\nleads it. Responses carry `Cache-Control: max-age=300`.","operationId":"point_forecast_v1_forecast_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"description":"Extra HRRR fields on the nowcast, comma separated: `severe` (CAPE/CIN variants, helicity, shear, storm motion, updraft helicity) and `upper_air` (925, 850, 700, 500 and 250 mb). CONUS only, like the nowcast itself. Any other value is a 422.","title":"Include"},"description":"Extra HRRR fields on the nowcast, comma separated: `severe` (CAPE/CIN variants, helicity, shear, storm motion, updraft helicity) and `upper_air` (925, 850, 700, 500 and 250 mb). CONUS only, like the nowcast itself. Any other value is a 422."},{"name":"explain","in":"query","required":false,"schema":{"type":"boolean","description":"When true, also return `facts`, the derived facts the narrative was written from, for seeing why a sentence appeared. Not a stable interface. Default false.","default":false,"title":"Explain"},"description":"When true, also return `facts`, the derived facts the narrative was written from, for seeing why a sentence appeared. Not a stable interface. Default false."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/forecast/sounding":{"get":{"tags":["forecast"],"summary":"HRRR point sounding: pressure levels and surface, every hour of a run","description":"The HRRR column at the grid point nearest a location, for every forecast hour of the newest cycle that has at least f00 and f01. 39 pressure levels bottom up (1000 to 125 hPa every 25, then 100, 75, 50), each with geopotential height, temperature, dew point and wind; plus a surface block (2 m temperature and dew point, surface pressure, 10 m and 80 m wind, boundary-layer height). Raw SI: K, m, m/s, with pressures in hPa. Levels whose pressure is greater than that hour's surface pressure are below ground: they stay in the array with `below_ground: true` and every value null. Winds are earth-relative. Outside the HRRR grid is a 404; no cycle on disk is a 503.","operationId":"point_sounding_v1_forecast_sounding_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"hours","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":49,"minimum":1},{"type":"null"}],"description":"At most this many hours, from 1 to 49, the earliest on hand first (after `valid_from` and `valid_to` are applied). Default all available.","title":"Hours"},"description":"At most this many hours, from 1 to 49, the earliest on hand first (after `valid_from` and `valid_to` are applied). Default all available."},{"name":"valid_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only hours valid at or after this time (ISO 8601, inclusive). A time without an offset is UTC. A window outside the newest run returns an empty `hours` list, not an error.","title":"Valid From"},"description":"Only hours valid at or after this time (ISO 8601, inclusive). A time without an offset is UTC. A window outside the newest run returns an empty `hours` list, not an error."},{"name":"valid_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only hours valid at or before this time (ISO 8601, inclusive). A time without an offset is UTC.","title":"Valid To"},"description":"Only hours valid at or before this time (ISO 8601, inclusive). A time without an offset is UTC."},{"name":"wind","in":"query","required":false,"schema":{"enum":["both","uv","speeddir"],"type":"string","description":"Which wind fields to include. `uv`: the u and v components only. `speeddir`: speed and direction only. `both` (the default): all four. Fields not asked for are left out rather than sent as null.","default":"both","title":"Wind"},"description":"Which wind fields to include. `uv`: the u and v components only. `speeddir`: speed and direction only. `both` (the default): all four. Fields not asked for are left out rather than sent as null."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoundingResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Rate limited: 5 calls in any 60 seconds per account, shared by every key on the account and with /v1/forecast/raw; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place, or a point outside the HRRR grid (the contiguous United States and its surroundings).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"503":{"description":"No HRRR sounding run is on hand yet, or the account limit could not be counted (`rate_limit_unavailable`). Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/forecast/raw":{"get":{"tags":["forecast"],"summary":"Raw model data at a point: one model, chosen hours and fields","description":"Raw model output at the grid point containing (NBM) or nearest to (HRRR,\nRRFS) a location. One model per call. SI throughout, pressures in hPa.\n\n**Models**\n- `nbm`: the National Blend of Models. Single-level fields only.\n- `hrrr`: HRRR point soundings: every pressure level (`levels`) plus the\n  single-level fields (`values`).\n- `rrfs`: the same shape as `hrrr`, from RRFS. Full RRFS output is published\n  every third hour (00, 03, ... 21Z), to f84 at 00/06/12/18Z and f18 otherwise.\n\n**Hours**: at most one of\n- `hours`: offsets from the current hour, `0` being the hour in progress:\n  `0`, `0-6`, `0,3,6`, `all`.\n- `forecast_hours` (hrrr, rrfs): forecast hours of the newest run, `0-6` being\n  f00 to f06.\n- `valid_from` / `valid_to`: a window of valid times (ISO 8601).\n\nWith none, every hour available. Hours that do not exist are absent.\n\n**Fields**: comma separated names, or a group. Default all.\n- nbm: any field in the registry, or `all`.\n- hrrr, rrfs: `surface` (all single-level fields), `column` (all level\n  fields), `all`, or names from either.\n\nAvailable by arrangement: only API keys that WxAlerts has enabled for it may\ncall this. Limited to 5 calls in any 60 seconds per account, shared with\n/v1/forecast/sounding.","operationId":"raw_point_v1_forecast_raw_get","parameters":[{"name":"model","in":"query","required":true,"schema":{"enum":["nbm","hrrr","rrfs"],"type":"string","description":"Which model to read. `nbm`: the National Blend of Models, single-level fields only. `hrrr`: the HRRR 3 km column plus surface fields. `rrfs`: the same shape as `hrrr`, from RRFS.","title":"Model"},"description":"Which model to read. `nbm`: the National Blend of Models, single-level fields only. `hrrr`: the HRRR 3 km column plus surface fields. `rrfs`: the same shape as `hrrr`, from RRFS."},{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"hours","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Offsets from the current hour, `0` being the hour in progress: `0`, `0-6`, `0,3,6` or `all`. Use at most one of `hours`, `forecast_hours` and `valid_from`/`valid_to`.","title":"Hours"},"description":"Offsets from the current hour, `0` being the hour in progress: `0`, `0-6`, `0,3,6` or `all`. Use at most one of `hours`, `forecast_hours` and `valid_from`/`valid_to`."},{"name":"forecast_hours","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"HRRR and RRFS only: forecast hours of the newest run, so `0-6` is f00 to f06. Not allowed with `nbm`. Use at most one way of choosing hours.","title":"Forecast Hours"},"description":"HRRR and RRFS only: forecast hours of the newest run, so `0-6` is f00 to f06. Not allowed with `nbm`. Use at most one way of choosing hours."},{"name":"valid_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Start of a window of valid times (ISO 8601, inclusive). A time without an offset is UTC.","title":"Valid From"},"description":"Start of a window of valid times (ISO 8601, inclusive). A time without an offset is UTC."},{"name":"valid_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"End of a window of valid times (ISO 8601, inclusive). A time without an offset is UTC.","title":"Valid To"},"description":"End of a window of valid times (ISO 8601, inclusive). A time without an offset is UTC."},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"description":"Comma separated field names or groups. Default is everything the model offers. Groups: `all`; for `hrrr` and `rrfs` also `surface` (every single-level field) and `column` (every pressure-level field). An unknown name is a 422 that lists what is on offer.","title":"Fields"},"description":"Comma separated field names or groups. Default is everything the model offers. Groups: `all`; for `hrrr` and `rrfs` also `surface` (every single-level field) and `column` (every pressure-level field). An unknown name is a 422 that lists what is on offer."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RawPointResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key is not enabled for this endpoint (`admin_key_required`), or lacks the `weather:read` scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Account limit reached: 5 calls in any 60 seconds per account, shared with /v1/forecast/sounding. See Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"The point is outside the model's grid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"A parameter that cannot be satisfied: an unknown field, two ways of choosing hours, or `forecast_hours` with `nbm`. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"503":{"description":"The model has no run available yet, or the account limit could not be counted (`rate_limit_unavailable`). Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/conditions":{"get":{"tags":["observations"],"summary":"Observed conditions at a point, assembled from nearby stations","description":"Measured surface conditions at a point, with every field credited to its own station.\n\nThis is not a forecast and does not blend with one. Give `lat` and `lon`, or\n`location_id`, or `q`. The nearest stations are ranked once (distance,\nweighted by how much the network is trusted and by the age of the reading)\nand each field takes the best ranked station that reports it, so the\ntemperature can come from a backyard station and the visibility from an\nairfield. Stations are never averaged. Every field names the station it came\nfrom, how far away that station is and how old the reading was.\n\nThere is no distance cap: a point in the open ocean is answered from the\nnearest airfield, however far, so check `distance_m` before showing a number\nas \"here\". `candidates_considered` of 0 means nothing has reported nearby\nwithin `max_age_minutes`. Sea state is returned separately in `marine`. A\nfield absent from `fields` had no station reporting it.","operationId":"conditions_v1_conditions_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"A place name, used instead of `lat` and `lon`. The best match from `/locations/search` is used. No match is a 404.","title":"Q"},"description":"A place name, used instead of `lat` and `lon`. The best match from `/locations/search` is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"A place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"A place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"max_age_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"description":"Ignore stations whose last report is older than this many minutes, from 5 to 1440.","default":120,"title":"Max Age Minutes"},"description":"Ignore stations whose last report is older than this many minutes, from 5 to 1440."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"How many of the nearest stations to rank, from 1 to 50. More fills more fields, from further away.","default":12,"title":"Limit"},"description":"How many of the nearest stations to rank, from 1 to 50. More fills more fields, from further away."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionsResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stations":{"get":{"tags":["observations"],"summary":"Reporting stations inside a viewport","description":"Every station in a map viewport that has reported recently, with its latest reading.\n\nFor drawing a map. Stations that reported within `max_age_minutes` are\nreturned, airfields and buoys first, then the most recent. Filter with\n`sources`, `domain` or `reports_sea`. For a marine layer use\n`reports_sea=true` rather than `domain=marine`: nearly half the stations\nthat report sea state (piers, C-MAN towers, tide gauges) are in the land\ndomain. `truncated` is true when the box held more stations than `limit`.\nA field that disagrees badly with the station's neighbors is set to null and\nnamed in `withheld`, so the station stays on the map.","operationId":"stations_in_bounds_v1_stations_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","description":"The viewport as `west,south,east,north` in degrees: the map's current extent. At most 30 degrees a side, or up to 180 when `sources=metar` is the only source. Does not cross the antimeridian. A malformed, inverted or oversized box is a 422 saying which.","examples":["-97.9,32.4,-96.3,33.4"],"title":"Bbox"},"description":"The viewport as `west,south,east,north` in degrees: the map's current extent. At most 30 degrees a side, or up to 180 when `sources=metar` is the only source. Does not cross the antimeridian. A malformed, inverted or oversized box is a 422 saying which."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most stations to return, from 1 to 2000. `truncated` says when the viewport held more.","default":400,"title":"Limit"},"description":"Most stations to return, from 1 to 2000. `truncated` says when the viewport held more."},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated feeds to include: `metar`, `aprs`, `ndbc`, `fawn`, `pws`. Default is all. An unknown name matches nothing rather than failing.","title":"Sources"},"description":"Comma separated feeds to include: `metar`, `aprs`, `ndbc`, `fawn`, `pws`. Default is all. An unknown name matches nothing rather than failing."},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"enum":["land","marine"],"type":"string"},{"type":"null"}],"description":"Whether the station may speak for conditions ashore. Marine platforms (buoys, offshore rigs) are excluded from land composition because air measured over open water is not the air on the beach.","title":"Domain"},"description":"Whether the station may speak for conditions ashore. Marine platforms (buoys, offshore rigs) are excluded from land composition because air measured over open water is not the air on the beach."},{"name":"reports_sea","in":"query","required":false,"schema":{"type":"boolean","description":"Only stations measuring the water: sea surface temperature or wave height. This is NOT the same as domain=marine, and a marine map layer wants this one: a C-MAN tower on a pier is in the land domain, because its air temperature is the air ashore, and it still reports the water beside it. Nearly half of all sea-state observations come from stations in the land domain.","default":false,"title":"Reports Sea"},"description":"Only stations measuring the water: sea surface temperature or wave height. This is NOT the same as domain=marine, and a marine map layer wants this one: a C-MAN tower on a pier is in the land domain, because its air temperature is the air ashore, and it still reports the water beside it. Nearly half of all sea-state observations come from stations in the land domain."},{"name":"max_age_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":5,"description":"Leave out stations whose last report is older than this many minutes, from 5 to 1440.","default":120,"title":"Max Age Minutes"},"description":"Leave out stations whose last report is older than this many minutes, from 5 to 1440."},{"name":"detail","in":"query","required":false,"schema":{"enum":["full","minimal"],"type":"string","description":"`full` (the default) returns the whole row for each station. `minimal` returns only what is needed to place and color a point: position, one reading and the age. That reading is the air temperature, or, with `reports_sea=true` or `domain=marine`, the water temperature and wave height. For a client drawing a field rather than a list: over a continent the full rows are most of a megabyte, nearly all of it raw reports nobody will click.","default":"full","title":"Detail"},"description":"`full` (the default) returns the whole row for each station. `minimal` returns only what is needed to place and color a point: position, one reading and the age. That reading is the air temperature, or, with `reports_sea=true` or `domain=marine`, the water temperature and wave height. For a client drawing a field rather than a list: over a continent the full rows are most of a megabyte, nearly all of it raw reports nobody will click."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationsResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stations/{station_id}":{"get":{"tags":["observations"],"summary":"One station and its latest reading","description":"One station: who it is, where it is and its latest reading.\n\n`latest` holds only the fields this station reports; an absent key means\nthe station has no such sensor. `position_source` says where the\ncoordinates came from. A station on the roster that has not sent anything\nyet has `observed_at`, `age_seconds` and `raw` null and `latest` empty.","operationId":"station_detail_v1_stations__station_id__get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9","title":"Station Id"},"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9"},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationDetailResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No station has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/stations/{station_id}/history":{"get":{"tags":["observations"],"summary":"One station's recent readings","description":"One station's readings over the last `hours`, oldest first.\n\nEach sample carries `observed_at` and only the fields that reading had. A\nknown station with nothing in the window returns an empty list, not an\nerror; an id no station has is a 404.","operationId":"station_history_v1_stations__station_id__history_get","parameters":[{"name":"station_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9","title":"Station Id"},"description":"Source-prefixed id, e.g. metar:KMOB, cwop:EW1958, aprs:KN4OQW-9"},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"How far back to look, in hours, from 1 to 168.","default":24,"title":"Hours"},"description":"How far back to look, in hours, from 1 to 168."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"description":"Most samples to return, from 1 to 2000. When the window holds more, the newest `limit` are kept, so a `count` equal to `limit` means the start of the window was cut.","default":500,"title":"Limit"},"description":"Most samples to return, from 1 to 2000. When the window holds more, the newest `limit` are kept, so a `count` equal to `limit` means the start of the window was cut."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationHistoryResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No station has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/weather":{"get":{"tags":["weather"],"summary":"Current conditions and forecast for a point, ready to display","description":"Measured conditions now and the forecast from here, sized for a screen.\n\nGive `lat` and `lon`, or `location_id`, or `q`. `current` is measured by the\nnearest surface stations and is null when none within 50 miles has reported\nin the last two hours. `hourly` and `daily` are the National Blend of Models,\ncut to start now and today. The two are never blended and can disagree: an\nobservation is a fact about this minute and a forecast is a guess about the\nnext one. `sky` and `icon` are one decision made on the server so every\nclient draws the same picture.\n\nThe forecast covers the United States and its territories. A point outside\nit returns 200 with `hourly` and `daily` empty, not a 404, and `current` can\nstill be filled because stations are worldwide. For every field credited to\nits own instrument use `/conditions`; for every field the models publish use\n`/forecast`. Responses are cached for 60 seconds.","operationId":"weather_v1_weather_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude of the point, in degrees north.","title":"Lat"},"description":"Latitude of the point, in degrees north."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude of the point, in degrees east.","title":"Lon"},"description":"Longitude of the point, in degrees east."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404.","title":"Q"},"description":"Place name, ZIP or state, used instead of `lat` and `lon` and resolved through `/locations/search`. The best match is used. No match is a 404."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404.","title":"Location Id"},"description":"Place id from a `/locations/search` result, used instead of `lat` and `lon`. An unknown id is a 404."},{"name":"units","in":"query","required":false,"schema":{"enum":["si","metric","us","uk","auto"],"type":"string","description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold.","default":"auto","title":"Units"},"description":"Unit system for every measurement in the response. `si` is exactly what the model published (K, m/s, Pa, kg/m2, m). `metric` is degrees C, km/h, hPa, mm, km. `us` is degrees F, mph, inHg, in, mi. `uk` is degrees C, mm and hPa, but mph and miles. `auto` (the default) picks one from the caller's country, and a caller who cannot be placed gets `us`. The response's `units` block names the unit of every field. An `auto` response varies by caller and is sent `Cache-Control: private`; pass a system explicitly for a response a shared cache can hold."},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"description":"Steps of `hourly` to return, from 1 to 168. A step is one forecast step, not one clock hour: the series is hourly for about two days and coarser after that. A panel showing the next twelve should ask for twelve rather than paying for the whole series.","default":24,"title":"Hours"},"description":"Steps of `hourly` to return, from 1 to 168. A step is one forecast step, not one clock hour: the series is hourly for about two days and coarser after that. A panel showing the next twelve should ask for twelve rather than paying for the whole series."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":1,"description":"Daily buckets to return, from 1 to 8, starting today.","default":7,"title":"Days"},"description":"Daily buckets to return, from 1 to 8, starting today."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeatherResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"A `q` or `location_id` that matches no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/sky/outlook":{"get":{"tags":["forecast"],"summary":"Every sunrise and sunset of the coming days at a point, scored","description":"How good each coming sunrise and sunset will look at a point, from the same forecast that drives the wxalerts.org sunrise and sunset notifications. Every event gets two scores from 0 to 100: one for colour in the sky, one for whether the sun's own disc will be visible down to the horizon. Confidence falls with lead time, and the best event for each score is marked. Scores are kept for a quarter of an hour. A point outside every forecast grid answers 200 with `available` false.","operationId":"get_outlook_v1_sky_outlook_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyOutlookOut"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/outlooks":{"get":{"tags":["outlooks"],"summary":"Which outlooks are currently issued, and what is in them","description":"The Storm Prediction Center's map products (Day 1 to 3 categorical, and the Day 1 tornado, hail and wind probabilities) without geometry, ordered by day and then hazard. Build a product picker from this rather than a hard-coded list: a product that has never been fetched is absent, and one whose polling is failing says so in `stale` and `last_error`. `areas` zero with an `empty_label` is no risk, which is different from no data. An outlook is not a warning: a Moderate Risk says organized severe storms are likely somewhere in a large area over many hours, not that anything is happening at a given place now.","operationId":"index_v1_outlooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookIndex"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/outlooks/{product}/geojson":{"get":{"tags":["outlooks"],"summary":"One outlook's risk areas as a FeatureCollection","description":"One outlook's risk areas as GeoJSON, lowest risk first, which is also the order to draw them, in SPC's own colors (`stroke` and `fill`). The collection adds `server_time` and `outlook`, the same summary object `/outlooks` returns. On the tornado, hail and wind outlooks the hatched significant-severe area is the last feature with `significant` true: hatch it rather than filling it. An outlook with nothing to draw returns zero features with a 200, and the summary's `empty_label` tells no risk from no data. There is no bounding box parameter: an outlook is a handful of national polygons. Besides the six map products listed by `/outlooks`, the route serves severe-day4 to severe-day8, fire-day1 to fire-day8, drythunder-day1 to drythunder-day8 and md (mesoscale discussions).","operationId":"geojson_v1_outlooks__product__geojson_get","parameters":[{"name":"product","in":"path","required":true,"schema":{"type":"string","description":"The product slug, e.g. day1-categorical, day2-categorical, day3-categorical, day1-tornado, day1-hail or day1-wind.","examples":["day1-categorical"],"title":"Product"},"description":"The product slug, e.g. day1-categorical, day2-categorical, day3-categorical, day1-tornado, day1-hail or day1-wind."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutlookFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"Not a product slug. The detail lists every valid one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"503":{"description":"A real product that has never been fetched on this deployment. Retry later rather than dropping it from a menu.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/tropical/storms":{"get":{"tags":["tropical"],"summary":"Active tropical cyclones in the Atlantic and the eastern and central Pacific","description":"Every active tropical system as the National Hurricane Center advises on it, for the Atlantic (AL), the eastern Pacific (EP) and the central Pacific (CP), sorted by basin and then id. Everything is NHC's forecast restated, never a forecast of our own. Speeds are mph and pressures millibars, converted from NHC's knots with NHC's own rounding. Times are UTC. The list is empty when there are no active systems, which is most of the year.","operationId":"storms_v1_tropical_storms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/wxalerts_api__schemas__tropical__StormSummary"},"type":"array","title":"Response Storms V1 Tropical Storms Get"},"example":[{"id":"CP042026","name":"Pena","classification":"TS","basin":"CP","advisory_number":"12","issued_at":"2026-11-09T15:00:00Z","lat":11.4,"lon":-159.5,"max_wind_mph":40,"gusts_mph":50,"min_pressure_mb":1004,"movement_dir_deg":265,"movement_mph":9,"headline":"PENA PERSISTS AS A TROPICAL CYCLONE FOR NOW"}]}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/tropical/storms/{storm_id}":{"get":{"tags":["tropical"],"summary":"One storm: latest advisory, forecast track, cone, watches and warnings","description":"Every field of the storm list plus NHC's official forecast track, the cone of uncertainty, the coastal watches and warnings in effect, the storm's past track and links to NHC's own products. A storm NHC has stopped advising on is still served for 30 days with `active` false. After that, and for an id that was never stored, the answer is a 404.","operationId":"storm_v1_tropical_storms__storm_id__get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"string","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive.","examples":["CP042026"],"title":"Storm Id"},"description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/wxalerts_api__schemas__tropical__StormDetail"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm with this id is stored, or it ended more than 30 days ago.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/tropical/storms/{storm_id}/models":{"get":{"tags":["tropical"],"summary":"One storm's guidance: each model's forecast track at the latest cycle","description":"The model tracks NHC publishes in its public guidance file for the newest cycle stored, consensus first. NHC's official forecast is not among them; it is `/tropical/storms/{storm_id}`. A storm with no guidance yet answers with a null `cycle` and no models, not a 404. Positions are every 6 or 12 hours from tau 0 and longitudes stay in -180 to 180, so a track crossing the date line jumps from -178.7 to 178.8. Wind is in knots, as the models give it.","operationId":"storm_models_v1_tropical_storms__storm_id__models_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"string","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive.","examples":["CP042026"],"title":"Storm Id"},"description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026. Case insensitive."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormModels"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm with this id is stored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/tropical/outlook":{"get":{"tags":["tropical"],"summary":"The seven-day tropical weather outlook: where storms may form","description":"NHC's tropical weather outlook: the areas where a storm may form in the next seven days, across all three basins, with NHC's chance of formation in 48 hours and in seven days. NHC numbers areas afresh in every issuance, so an area id names an area within one outlook only. `areas` is empty when NHC expects nothing to form.","operationId":"outlook_v1_tropical_outlook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outlook"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/tropical/for-place":{"get":{"tags":["tropical"],"summary":"Active storms that reach a point, and how","description":"Each active storm whose cone, 34 kt wind probability (5 percent or more) or coastal watch or warning (within 60 km) reaches the point, nearest first. The list is empty when nothing does, which is the answer almost everywhere almost always. Being in the cone says where the center may go, not what will happen at the place. For an inland US place the NWS watches and warnings on the alerts routes are the authority; `in_watch_or_warning` is a basin-wide approximation.","operationId":"for_place_v1_tropical_for_place_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlaceThreat"},"title":"Response For Place V1 Tropical For Place Get"},"example":[{"storm_id":"CP042026","name":"Pena","in_cone":true,"closest_approach_mi":16,"closest_approach_at":"2026-11-10T20:15:00Z","ts_wind_prob_pct":30,"earliest_ts_wind_at":"2026-11-10T16:00:00Z"}]}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/winter/at":{"get":{"tags":["winter"],"summary":"Winter weather at one place","description":"What the Weather Prediction Center expects at one point: the Winter Storm Severity Index (WSSI) for Days 1 to 3, the odds of heavy snow or freezing rain for Days 1 to 3 where the chance is 10 percent or more, and the winter hazards of the Day 3 to 7 outlook, with a one sentence headline. The point is rounded to 0.01 degree before it is looked up. A WSSI category is an impact forecast, not a warning: use the alerts routes for what the NWS has issued at a place now. Out of season the lists are empty and the headline is null, which is a normal answer. Credit NOAA's Weather Prediction Center where you show the data.","operationId":"at_v1_winter_at_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in degrees north, -90 to 90.","title":"Lat"},"description":"Latitude in degrees north, -90 to 90."},{"name":"lon","in":"query","required":true,"schema":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in degrees east, -180 to 180.","title":"Lon"},"description":"Longitude in degrees east, -180 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterAt"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/winter/wssi":{"get":{"tags":["winter"],"summary":"WSSI polygons for one day and component","description":"The Winter Storm Severity Index as GeoJSON for a map: one polygon feature per impact category present, lowest first so drawing in order leaves the most severe on top. Each feature's properties add `component`, `category` (the same as `level`, e.g. `major`) and `rank` 1 to 5 to the common ones. The index forecasts how much disruption winter weather may cause, not how much falls. It is not a warning. `features` is empty out of season.","operationId":"wssi_v1_winter_wssi_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"description":"Forecast day, 1 to 3. Day 1 is the current period.","default":1,"title":"Day"},"description":"Forecast day, 1 to 3. Day 1 is the current period."},{"name":"component","in":"query","required":false,"schema":{"enum":["overall","snow_amount","snow_load","ice_accumulation","blowing_snow"],"type":"string","description":"Which layer: overall, snow_amount, snow_load (weight of snow on trees and power lines), ice_accumulation or blowing_snow.","default":"overall","title":"Component"},"description":"Which layer: overall, snow_amount, snow_load (weight of snow on trees and power lines), ice_accumulation or blowing_snow."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[-120.161,48.6807],[-120.1607,48.6883],[-120.1,48.7]]]]},"properties":{"product":"wssi-overall-day1","family":"wssi","day":1,"level":"winter_weather_area","rank":1,"label":"Winter Weather Area","issued_at":"2026-11-09T17:15:00Z","valid_from":"2026-11-09T17:00:00Z","valid_to":"2026-11-10T12:00:00Z","component":"overall","category":"winter_weather_area"}}],"issued_at":"2026-11-09T17:15:00Z","attribution":"NOAA Weather Prediction Center"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/winter/odds":{"get":{"tags":["winter"],"summary":"PWPF probability contours for one day, kind and threshold","description":"The Probabilistic Winter Precipitation Forecast as GeoJSON for a map: WPC's chance that a 24 hour period brings at least a given amount of snow, or of freezing rain accretion. Each feature is one contour, with `kind`, `threshold_in` and `pct` added to the common properties (`rank` equals `pct`). The contours nest, so a place inside the 30 percent contour is also inside the 20: draw in order and the highest wins. When WPC forecasts nothing at 1 percent or more, `features` is empty and `issued_at` is that of the newest issuance.","operationId":"odds_v1_winter_odds_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"description":"Forecast day, 1 to 3. Day 1 is the current period.","default":1,"title":"Day"},"description":"Forecast day, 1 to 3. Day 1 is the current period."},{"name":"kind","in":"query","required":false,"schema":{"enum":["snow","ice"],"type":"string","description":"`snow`, or `ice`, which means freezing rain accretion.","default":"snow","title":"Kind"},"description":"`snow`, or `ice`, which means freezing rain accretion."},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","description":"Inches the 24 hour amount must reach: 4, 8 or 12 for snow; 0.01, 0.1 or 0.25 for ice. A threshold that does not belong to the kind is a 422.","default":4.0,"title":"Threshold"},"description":"Inches the 24 hour amount must reach: 4, 8 or 12 for snow; 0.01, 0.1 or 0.25 for ice. A threshold that does not belong to the kind is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-121.22,48.29],[-121.15,48.33],[-121.1,48.2]]]},"properties":{"product":"pwpf-snow-4-day1","family":"pwpf","day":1,"level":"1","rank":1,"label":"1%","issued_at":"2026-11-09T08:45:00Z","valid_from":"2026-11-09T12:00:00Z","valid_to":"2026-11-10T12:00:00Z","kind":"snow","threshold_in":4.0,"pct":1}}],"issued_at":"2026-11-09T08:45:00Z","attribution":"NOAA Weather Prediction Center"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/winter/hazards":{"get":{"tags":["winter"],"summary":"Winter hazards from WPC's Day 3 to 7 hazards outlook","description":"The winter areas of WPC's Day 3 to 7 hazards outlook as GeoJSON, keeping only heavy_snow, freezing_rain and hazardous_cold, and only those whose `end_date` is today (UTC) or later. Each feature's properties add `hazard`, `start_date` and `end_date`; `rank` is 1 for hazardous_cold, 2 for freezing_rain and 3 for heavy_snow. WPC attaches no probability to the product. A hazard drawn for two separate stretches of the week comes as two features. `features` is empty when there are none.","operationId":"hazards_v1_winter_hazards_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WinterFeatureCollection"},"example":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[-110.0,45.0],[-109.0,45.0],[-109.5,44.0]]]]},"properties":{"product":"hazards-prcp","family":"hazards","level":"heavy_snow","rank":3,"label":"Heavy Snow","issued_at":"2026-11-09T18:15:20Z","valid_from":"2026-11-12T00:00:00Z","valid_to":"2026-11-14T00:00:00Z","hazard":"heavy_snow","start_date":"2026-11-12","end_date":"2026-11-13"}}],"issued_at":"2026-11-09T18:15:20Z","attribution":"NOAA Weather Prediction Center"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/active":{"get":{"tags":["storms"],"summary":"Storm cells being tracked right now, without geometry","description":"Every storm cell NOAA's ProbSevere is tracking over the CONUS, as plain JSON without geometry: probabilities, fitted motion, the cone's starting size and the alert state. Cells are ordered by ProbTor, then ProbSevere, highest first, so `limit` keeps the ones that matter. Check `feed_age_seconds`: an empty response looks the same whether the sky is quiet or the feed stopped. Responses are cached for 30 seconds. Served only under `/v1`, needing the `storms:read` scope.","operationId":"active_v1_storms_active_get","parameters":[{"name":"west","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"West"},"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"south","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"South"},"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"east","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"East"},"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"north","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"North"},"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"min_prob_tor","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only storms at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: most objects sit at ProbTor 0 on an ordinary day and about 70 is the practical ceiling. 30 is the notification threshold; 10 is a reasonable 'show me anything rotating'.","title":"Min Prob Tor"},"description":"Only storms at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: most objects sit at ProbTor 0 on an ordinary day and about 70 is the practical ceiling. 30 is the notification threshold; 10 is a reasonable 'show me anything rotating'."},{"name":"min_prob_severe","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only storms at or above this ProbSevere, 0 to 100.","title":"Min Prob Severe"},"description":"Only storms at or above this ProbSevere, 0 to 100."},{"name":"alerted_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only storms currently over the notification threshold.","default":false,"title":"Alerted Only"},"description":"Only storms currently over the notification threshold."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Return at most this many storms, 1 to 500. Highest ProbTor first.","default":500,"title":"Limit"},"description":"Return at most this many storms, 1 to 500. Highest ProbTor first."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/active/geojson":{"get":{"tags":["storms"],"summary":"Cells, tracks, forecast lines and uncertainty cones as one FeatureCollection","description":"Everything a map layer needs in one GeoJSON FeatureCollection: cells, their tracks, forecast lines and cones, and the rotations (couplets) with theirs. One request rather than several, so a cone never belongs to a cell that has since moved. Every feature carries `properties.kind`: `cell`, `cone`, `turn-cone`, `forecast-track`, `track`, `couplet`, `couplet-cone`, `couplet-forecast` or `couplet-track`. A cell or rotation with no motion fit yet gets no cone or forecast line. Responses are cached for 30 seconds.","operationId":"active_geojson_v1_storms_active_geojson_get","parameters":[{"name":"west","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"West"},"description":"Western edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"south","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"South"},"description":"Southern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"east","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"East"},"description":"Eastern edge of the viewport, in degrees longitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"north","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box.","title":"North"},"description":"Northern edge of the viewport, in degrees latitude. Give all four edges or none, with west < east and south < north. A cell is in view when its polygon touches the box."},{"name":"min_prob_tor","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only cells at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: about 70 is the practical ceiling, so 30 is a strong filter.","title":"Min Prob Tor"},"description":"Only cells at or above this ProbTor, 0 to 100. Not the same scale as min_prob_severe: about 70 is the practical ceiling, so 30 is a strong filter."},{"name":"min_prob_severe","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Only cells at or above this ProbSevere, 0 to 100.","title":"Min Prob Severe"},"description":"Only cells at or above this ProbSevere, 0 to 100."},{"name":"alerted_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only cells currently over the notification threshold.","default":false,"title":"Alerted Only"},"description":"Only cells currently over the notification threshold."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":0,"description":"Cone and forecast line lead time in minutes, 0 to 60. Capture holds above 92% out to 60, but area grows about 5 times between 10 and 60, so lead is the real tuning knob. 0 omits cones and forecast lines.","default":30,"title":"Lead"},"description":"Cone and forecast line lead time in minutes, 0 to 60. Capture holds above 92% out to 60, but area grows about 5 times between 10 and 60, so lead is the real tuning knob. 0 omits cones and forecast lines."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% of storms inside the cone at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% of storms inside the cone at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422."},{"name":"track_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":0,"description":"Minutes of history behind each cell, 0 to 180. 0 omits track features.","default":60,"title":"Track Minutes"},"description":"Minutes of history behind each cell, 0 to 180. 0 omits track features."},{"name":"cones","in":"query","required":false,"schema":{"type":"boolean","description":"False omits the `cone` and `turn-cone` features.","default":true,"title":"Cones"},"description":"False omits the `cone` and `turn-cone` features."},{"name":"detail_min_prob_tor","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"description":"Tracks, cones and forecast lines are built only for cells at or above this ProbTor, 0 to 100. Cells themselves are always returned for everything in view. Most objects sit at zero on an ordinary day, and a cone on each of them is unreadable. Set 0 for a cone on every cell.","default":10,"title":"Detail Min Prob Tor"},"description":"Tracks, cones and forecast lines are built only for cells at or above this ProbTor, 0 to 100. Cells themselves are always returned for everything in view. Most objects sit at zero on an ordinary day, and a cone on each of them is unreadable. Set 0 for a cone on every cell."},{"name":"couplets","in":"query","required":false,"schema":{"type":"boolean","description":"Include tracked velocity couplets (rotations) and their own tracks, as `couplet` and `couplet-track` features. False omits all four couplet kinds. Independent of the cells: a cell can hold several, and the rotation sits a median 5 km from its center.","default":true,"title":"Couplets"},"description":"Include tracked velocity couplets (rotations) and their own tracks, as `couplet` and `couplet-track` features. False omits all four couplet kinds. Independent of the cells: a cell can hold several, and the rotation sits a median 5 km from its center."},{"name":"couplet_lead","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":0,"description":"Lead time for the rotation's own cone and forecast line, in minutes, 0 to 25. Cones are drawn for couplets that have alerted. Drawn at no more than 20 (21 to 25 are accepted and drawn at 20): past that the couplet cone is bigger than the cell cone, because a rotation's position is less predictable than a storm outline's even though the rotation is smaller. 0 omits them.","default":15,"title":"Couplet Lead"},"description":"Lead time for the rotation's own cone and forecast line, in minutes, 0 to 25. Cones are drawn for couplets that have alerted. Drawn at no more than 20 (21 to 25 are accepted and drawn at 20): past that the couplet cone is bigger than the cell cone, because a rotation's position is less predictable than a storm outline's even though the rotation is smaller. 0 omits them."},{"name":"forecast","in":"query","required":false,"schema":{"type":"boolean","description":"Include the plot line down the middle of each cone, as `forecast-track` and `couplet-forecast` features, with a tick about every 15 minutes out to the lead. Gated by the same `lead` and `couplet_lead` as the cones they bisect, and by `detail_min_prob_tor` on the cell side.","default":true,"title":"Forecast"},"description":"Include the plot line down the middle of each cone, as `forecast-track` and `couplet-forecast` features, with a tick about every 15 minutes out to the lead. Gated by the same `lead` and `couplet_lead` as the cones they bisect, and by `detail_min_prob_tor` on the cell side."},{"name":"emerging_couplets","in":"query","required":false,"schema":{"type":"boolean","description":"Also return rotations that have not yet held for three scans (state `emerging`). Off by default: a shear maximum seen once is noise, and drawing it puts a tornado glyph on something that may not exist next scan.","default":false,"title":"Emerging Couplets"},"description":"Also return rotations that have not yet held for three scans (state `emerging`). Off by default: a shear maximum seen once is noise, and drawing it puts a tornado glyph on something that may not exist next scan."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Return at most this many cells, 1 to 500. Highest ProbTor first.","default":500,"title":"Limit"},"description":"Return at most this many cells, 1 to 500. Highest ProbTor first."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/couplets/{couplet_id}/cone":{"get":{"tags":["storms"],"summary":"Where this rotation might be, out to a lead time","description":"A rotation's own cone, as a GeoJSON Feature, for any couplet id whatever its state or alert status (the bulk feed draws couplet cones only for alerting rotations). It is fitted from couplet tracks, not cell tracks: a rotation starts tighter, spreads faster, may travel none of its predicted distance, and can re-form behind where it was, which is why this cone has a rear margin and a cell's does not. `lead_minutes` in the result is the lead actually drawn, so `lead=25` comes back as 20. Served only under `/v1`, needing the `storms:read` scope.","operationId":"couplet_cone_v1_storms_couplets__couplet_id__cone_get","parameters":[{"name":"couplet_id","in":"path","required":true,"schema":{"type":"integer","description":"Id of a tracked rotation, as `couplet_id` on a `couplet` feature.","title":"Couplet Id"},"description":"Id of a tracked rotation, as `couplet_id` on a `couplet` feature."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Cone lead time in minutes, 1 to 25. Drawn at no more than 20: 21 to 25 are accepted and drawn at 20.","default":15,"title":"Lead"},"description":"Cone lead time in minutes, 1 to 25. Drawn at no more than 20: 21 to 25 are accepted and drawn at 20."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% capture) or `tight` (about 90%, for roughly two thirds of the area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% capture) or `tight` (about 90%, for roughly two thirds of the area). Anything else is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Couplet Cone V1 Storms Couplets  Couplet Id  Cone Get"},"example":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-96.99,25.55],[-96.74,25.74],[-96.64,25.6],[-96.88,25.42],[-96.99,25.55]]]},"properties":{"kind":"couplet-cone","couplet_id":96829,"storm_id":297366,"state":"confirmed","alerted":false,"lead_minutes":15,"profile":"wide","shear":0.00800000037997961,"vrot_ms":3.3,"diameter_km":0.82,"prob_tor":0,"speed_kmh":8.3,"bearing_deg":180,"area_km2":301}}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No couplet has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The couplet exists but has no fitted motion yet, so it has no cone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/{storm_id}":{"get":{"tags":["storms"],"summary":"One storm in full","description":"One storm in full: everything in the active list plus its polygon and the diagnostics behind the score, including the feed's own properties for the newest scan. Any id ever issued is accepted, so a client holding an id from earlier still gets an answer. Served only under `/v1`, needing the `storms:read` scope.","operationId":"detail_v1_storms__storm_id__get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/wxalerts_api__schemas__storms__StormDetail"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/{storm_id}/track":{"get":{"tags":["storms"],"summary":"Where this storm has been","description":"Where one storm has been: every scan in the last `minutes`, oldest first, across every ProbSevere ID it has worn. The window is counted back from now, so a storm that ended long ago returns an empty list. An unknown id is also an empty list, not a 404. `jumped` marks a scan whose centroid moved more than 10 km, a real observation that is left out of the motion fit.","operationId":"track_v1_storms__storm_id__track_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back to reach, in minutes, 1 to 180.","default":60,"title":"Minutes"},"description":"How far back to reach, in minutes, 1 to 180."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StormTrack"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/{storm_id}/forecast-track":{"get":{"tags":["storms"],"summary":"Where this storm is headed, as a line with time ticks","description":"The cone's axis on its own, as a GeoJSON LineString Feature with time ticks, for a caller that wants the line and not the area. Works for any storm, including the ones below the bulk feed's ProbTor gate that it draws no line for. There is no `profile`: the line is the prediction itself and both profiles share it. The line is drawn at `cone_speed_kmh`; `speed_kmh` is the raw track speed. Read positions and times from `ticks`, whose `at` is the absolute time each stands for.","operationId":"forecast_track_v1_storms__storm_id__forecast_track_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"description":"How far ahead to draw the line, in minutes, 1 to 60.","default":30,"title":"Lead"},"description":"How far ahead to draw the line, in minutes, 1 to 60."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Forecast Track V1 Storms  Storm Id  Forecast Track Get"},"example":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-96.92262,25.58543],[-96.86167,25.63361]]},"properties":{"kind":"forecast-track","storm_id":297397,"lead_minutes":20,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"valid_time":"2026-11-09T19:04:34Z","ticks":[{"minutes":20,"lon":-96.86167,"lat":25.63361,"at":"2026-11-09T19:24:34Z"}]}}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The storm has no fitted motion yet, so it has no forecast track.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/storms/{storm_id}/cone":{"get":{"tags":["storms"],"summary":"Where this storm might be, out to a lead time","description":"One storm's uncertainty cone, as a GeoJSON Polygon Feature. `steered` is true when the cone is drawn at the HRRR blended speed with the steered profile. `area_km2` is the main cone's area. `turn_cone` is the geometry of the turn lobe when the storm has one, else null; it overlaps the main cone, so the two areas do not add.","operationId":"cone_v1_storms__storm_id__cone_get","parameters":[{"name":"storm_id","in":"path","required":true,"schema":{"type":"integer","description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones.","title":"Storm Id"},"description":"WxAlerts' own storm id, as returned in `id` by the storm routes. Any id ever issued is accepted, not only active ones."},{"name":"lead","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"description":"Cone lead time in minutes, 1 to 60.","default":30,"title":"Lead"},"description":"Cone lead time in minutes, 1 to 60."},{"name":"profile","in":"query","required":false,"schema":{"type":"string","description":"Cone profile: `wide` (about 95% of storms inside at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422.","default":"wide","title":"Profile"},"description":"Cone profile: `wide` (about 95% of storms inside at 60 minutes) or `tight` (about 92%, for roughly 29% less area). Anything else is a 422."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cone V1 Storms  Storm Id  Cone Get"},"example":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-96.99,25.55],[-96.74,25.74],[-96.64,25.6],[-96.88,25.42],[-96.99,25.55]]]},"properties":{"kind":"cone","storm_id":297397,"lead_minutes":30,"profile":"wide","steered":true,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"area_km2":4407,"turn_cone":{"type":"Polygon","coordinates":[[[-96.92,25.58],[-96.7,25.8],[-96.6,25.62],[-96.92,25.58]]]}}}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"No storm has this id (`No such storm.`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"409":{"description":"The storm has no fitted motion yet, so it has no cone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/lightning/flashes":{"get":{"tags":["lightning"],"summary":"GLM flashes in a box over the last hour or so, for the radar loop","description":"Lightning flashes seen from orbit by the Geostationary Lightning Mapper on GOES-19, in a bounding box over a recent window, oldest first. GLM is an optical sensor at about 8 km resolution that sees in-cloud and cloud-to-ground lightning alike and does not tell them apart. Flashes also arrive live over the MQTT lightning feed; this route reads the same flashes back so a radar loop or a newly opened page can draw the last hour and then carry on from MQTT. The time to the millisecond and the position to four decimals are the identity the MQTT feed uses, so a flash heard live and the same flash read here match exactly. The window is `since < t <= until`. About a day is kept, so a window ending further back comes back empty rather than as an error. Cached for 20 seconds.","operationId":"recent_flashes_v1_lightning_flashes_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","description":"Bounding box as `minLon,minLat,maxLon,maxLat` in degrees (west, south, east, north). Each must be inside -180 to 180 and -90 to 90, with min below max. A box crossing the antimeridian is not supported.","examples":["-98.5,32.0,-96.0,33.5"],"title":"Bbox"},"description":"Bounding box as `minLon,minLat,maxLon,maxLat` in degrees (west, south, east, north). Each must be inside -180 to 180 and -90 to 90, with min below max. A box crossing the antimeridian is not supported."},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"description":"How far back from `until` to reach, in minutes, 1 to 180. The default of 70 is a radar loop's hour plus the ten minutes its oldest frame draws behind it.","default":70,"title":"Minutes"},"description":"How far back from `until` to reach, in minutes, 1 to 180. The default of 70 is a radar loop's hour plus the ten minutes its oldest frame draws behind it."},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO 8601 end of the window. Defaults to now. A time without a zone is read as UTC. Up to 5 minutes in the future is accepted for clock skew, and anything later is pulled back to now plus 5 minutes.","title":"Until"},"description":"ISO 8601 end of the window. Defaults to now. A time without a zone is read as UTC. Up to 5 minutes in the future is accepted for clock skew, and anything later is pulled back to now plus 5 minutes."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":60000,"minimum":1,"description":"Return at most this many flashes, 1 to 60000. When there are more, the newest are kept and `truncated` is true.","default":30000,"title":"Limit"},"description":"Return at most this many flashes, 1 to 60000. When there are more, the newest are kept and `truncated` is true."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashHistory"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/lsr/reports":{"get":{"tags":["lsr"],"summary":"Official NWS local storm reports","description":"The National Weather Service's local storm reports: what an office has confirmed happened, from spotters, emergency managers, the public and automated stations. Each report is a point, a time, the office's own event wording and, where there is one, a measured or estimated magnitude. These are official NWS records, not the unofficial reports people file through wxalerts.org. Filters combine: a report has to pass every one given. The window is on `valid_at`, when the weather happened, not when the report arrived, so a report issued hours late can already be outside a short window. Reports come back newest first as a plain array with no paging, at most 1,000, and past that the oldest in the window are the ones left out. Responses carry `Cache-Control: public, max-age=60` on the unprefixed path.","operationId":"list_reports_v1_lsr_reports_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":72,"minimum":1,"description":"How far back to look, in hours, 1 to 72. Default 6.","default":6,"title":"Hours"},"description":"How far back to look, in hours, 1 to 72. Default 6."},{"name":"bbox","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"minLon,minLat,maxLon,maxLat in degrees. Only reports inside the box. Four numbers or a 422.","examples":["-103,33,-94,37"],"title":"Bbox"},"description":"minLon,minLat,maxLon,maxLat in degrees. Only reports inside the box. Four numbers or a 422."},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. Case does not matter. An unknown name is a 422, not an empty list.","examples":["tornado,hail"],"title":"Categories"},"description":"Comma separated categories: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other. Case does not matter. An unknown name is a 422, not an empty list."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated two-letter states or territories, such as `TX,OK` or `PR`. Case does not matter.","examples":["TX,OK"],"title":"State"},"description":"Comma separated two-letter states or territories, such as `TX,OK` or `PR`. Case does not matter."},{"name":"office","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated issuing offices as the four-letter ID the product carries, such as `KOUN` or `PAJK`. Case does not matter, but the three-letter form (`OUN`) matches nothing.","examples":["KOUN"],"title":"Office"},"description":"Comma separated issuing offices as the four-letter ID the product carries, such as `KOUN` or `PAJK`. Case does not matter, but the three-letter form (`OUN`) matches nothing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LsrSummary"},"title":"Response List Reports V1 Lsr Reports Get"},"example":[{"id":34564,"valid_at":"2026-11-09T18:41:00Z","event":"Flood","category":"flood","office":"KEWX","lat":29.83,"lon":-100.4,"city":"16 N Kickapoo Cavern St","county":"Edwards","state":"TX","source":"Emergency Manager","magnitude_trace":false,"remarks":"EM report of water over area roadways in Edwards County including Highway 377 and RR 674 following prolonged steady rain. Location is approximate."},{"id":34563,"valid_at":"2026-11-09T18:05:00Z","event":"Non-Tstm Wnd Gst","category":"wind","office":"PAJK","lat":57.05,"lon":-135.36,"city":"1 W Sitka","county":"Sitka","state":"AK","source":"ASOS/AWOS","magnitude":54.0,"magnitude_unit":"MPH","magnitude_method":"measured","magnitude_trace":false}]}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/locations/search":{"get":{"tags":["locations"],"summary":"Fuzzy search over US states, counties, cities and ZIPs","description":"Free text search over US states, counties, cities, unincorporated communities and ZIP codes, for a search box. Each result carries an `id` that other endpoints accept as `location_id`, a centroid and a suggested map zoom. The gazetteer changes about once a year, so results are cacheable for a day on the unprefixed path.","operationId":"search_locations_v1_locations_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"description":"Free text: place, ZIP or state, 1 to 120 characters","examples":["pensacola"],"title":"Q"},"description":"Free text: place, ZIP or state, 1 to 120 characters"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most results to return, 1 to 25. Default 8.","default":8,"title":"Limit"},"description":"Most results to return, 1 to 25. Default 8."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationSearchResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/locations/popular":{"get":{"tags":["locations"],"summary":"The places most searched for a forecast over the last week","description":"The places people have most searched for a forecast over the last week, most searched first. The list is empty until enough people have searched, so a client should keep defaults of its own for that case.","operationId":"popular_locations_v1_locations_popular_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"description":"Most places to return, 1 to 25. Default 5.","default":5,"title":"Limit"},"description":"Most places to return, 1 to 25. Default 5."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PopularPlacesResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/visibility":{"get":{"tags":["visibility"],"summary":"Low visibility areas in a bounding box, as GeoJSON","description":"The newest low visibility analysis (every 15 minutes) as polygons by category, clipped to the bbox. Categories: 1 reduced (3 to 5 mi), 2 low (1 to 3 mi), 3 very_low (1/4 to 1 mi), 4 near_zero (under 1/4 mi); no polygon means normal. Each feature carries its `cause` (fog, marine_fog, smoke), `confidence` (low, medium, high), the `sources` that agreed (analysis, station, advisory, reports), whether it was created by a cluster of driver reports (`reported`) and the lowest analysed visibility in metres (`vis_m_min`). WxAlerts sets no thresholds: filter on category and confidence yourself. bbox at most 30 degrees a side. No run published yet is a 503.","operationId":"visibility_areas_v1_visibility_get","parameters":[{"name":"bbox","in":"query","required":true,"schema":{"type":"string","maxLength":100,"description":"west,south,east,north in degrees, west less than east and south less than north, at most 30 degrees a side","examples":["-88.6,30.1,-86.4,31.2"],"title":"Bbox"},"description":"west,south,east,north in degrees, west less than east and south less than north, at most 30 degrees a side"},{"name":"min_category","in":"query","required":false,"schema":{"type":"integer","maximum":4,"minimum":1,"description":"Only areas this bad or worse, 1 (reduced) to 4 (near_zero)","default":1,"title":"Min Category"},"description":"Only areas this bad or worse, 1 (reduced) to 4 (near_zero)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityFeatureCollection"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"503":{"description":"No visibility analysis has been published yet. Retry shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/visibility/point":{"get":{"tags":["visibility"],"summary":"Low visibility at a point: the analysis, the nearest station, advisories, HRRR","description":"Everything the product knows at one place. `current` is the worst current area covering the point, or category 0 `normal` when none does (null, with a `message`, before the first run is published). `station` is the nearest airport (METAR) or buoy (NDBC) within 25 km that reported a visibility in the last 90 minutes. `advisories` are the active NWS Dense Fog, Marine Dense Fog, Freezing Fog and Dense Smoke Advisories covering the point. `outlook` is HRRR visibility for the next 6 hours with each hour's category (null outside the HRRR grid). Visibility in metres. Give lat and lon, or q, or location_id.","operationId":"visibility_point_v1_visibility_point_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"description":"Latitude in degrees. Give with `lon`.","examples":[37.62],"title":"Lat"},"description":"Latitude in degrees. Give with `lon`."},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"description":"Longitude in degrees, negative west. Give with `lat`.","examples":[-122.38],"title":"Lon"},"description":"Longitude in degrees, negative west. Give with `lat`."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"description":"Place name, ZIP or state, resolved through /locations/search. Used when `lat` and `lon` are not both given.","title":"Q"},"description":"Place name, ZIP or state, resolved through /locations/search. Used when `lat` and `lon` are not both given."},{"name":"location_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"id from a /locations/search result. Used when `lat` and `lon` are not both given.","title":"Location Id"},"description":"id from a /locations/search result. Used when `lat` and `lon` are not both given."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityPointResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"No key was sent (`api_key_required`), or it is malformed, unknown, revoked or expired (`api_key_invalid`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Too many requests for this key or account. Wait `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"404":{"description":"The `location_id` is unknown, or the `q` text matched no place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlainError"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}},"/v1/visibility/reports":{"post":{"tags":["visibility"],"summary":"Driver fog reports, for integrations by arrangement","description":"Up to 500 reports per call, authenticated with a shared token in `X-Visibility-Token`. Each report's `observed_at` must be within the last 6 hours and no more than 5 minutes ahead, or the whole call is a 422. The reporter token is stored only as an HMAC; a report_id already stored is not stored again. Each report comes back with a status: `corroborated` (inside a current area of category 2 or worse, or 10 or more distinct reporters within 2 km and 30 minutes, this one included), `contradicted` (no area at the point and a station within 15 km read 8000 m or more in the last 90 minutes), or `uncorroborated`. Individual reports never change the product; only clusters of 10 or more distinct reporters do, on the next run.","operationId":"post_reports_v1_visibility_reports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityReportBatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityReportResponse"}}}},"400":{"description":"The key was sent in the query string (`key_in_query`). Send it in the `X-API-Key` header or as `Authorization: Bearer`, and revoke the leaked key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"401":{"description":"Missing or wrong `X-Visibility-Token` (detail `invalid_token`). Under `/v1` a missing or bad API key is the coded `api_key_required` or `api_key_invalid` instead."},"403":{"description":"The key does not hold the scope this endpoint needs (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodedError"}}}},"429":{"description":"Rate limited (about 60 a minute per client); see Retry-After"},"503":{"description":"Report intake is not enabled on this deployment (detail `visibility_reports_disabled`)."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{"BearerApiKey":[]}]}}},"components":{"schemas":{"AccountType":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","enum":["personal","spotter","eoc","meteorologist"],"title":"Type"},"spotter_current":{"type":"boolean","title":"Spotter Current"},"meteorologist":{"type":"boolean","title":"Meteorologist"},"meteorologist_offer":{"type":"boolean","title":"Meteorologist Offer","default":false},"meteorologist_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meteorologist Label"},"open_request_status":{"anyOf":[{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"]},{"type":"null"}],"title":"Open Request Status"},"eoc":{"type":"boolean","title":"Eoc","default":false},"eoc_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eoc Org Name"},"can_file":{"type":"boolean","title":"Can File","default":false},"can_relay":{"type":"boolean","title":"Can Relay","default":false},"open_eoc_request_status":{"anyOf":[{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"]},{"type":"null"}],"title":"Open Eoc Request Status"}},"type":"object","required":["id","type","spotter_current","meteorologist"],"title":"AccountType","description":"What the account is, and what it may do next.\n\n`type` is the highest that applies: meteorologist, then eoc, then\nspotter, then personal. The flags say everything that applies, since one\nperson can hold several.\n\n`can_file`: a current spotter credential, the same check as\n`spotter_current`, and the only thing besides a complete profile that a\nself report needs (POST /spotter/reports answers 403 `spotter_required`\nwithout it). `eoc`: a live EOC grant, whatever state its org is in.\n`can_relay`: a live EOC grant on an EOC org that is verified, active and\nrelaying, which is what a relay needs (403 `eoc_required` without it).\n`eoc_org_name` names the org the grant links to, while it is live.\n`open_eoc_request_status` is the open EOC request's status, like\n`open_request_status` for the meteorologist form.\n\n`meteorologist_offer` is true when the account's own verified\naddress, or one it has verified through the link, qualifies for an\nautomatic grant and none has been made yet: the client asks \"Are you\nregistering as a meteorologist?\" and a yes calls the verify-email route."},"AddWfo":{"properties":{"wfo":{"type":"string","maxLength":4,"pattern":"^[A-Za-z]{4}$","title":"Wfo"}},"type":"object","required":["wfo"],"title":"AddWfo"},"AdminApiKey":{"properties":{"id":{"type":"integer","title":"Id"},"user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Id"},"owner_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Email"},"created_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Email"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"requests_30d":{"type":"integer","title":"Requests 30D","default":0},"service":{"type":"boolean","title":"Service","default":false},"state":{"type":"string","enum":["live","expired","revoked"],"title":"State"}},"type":"object","required":["id","prefix","scopes","created_at","state"],"title":"AdminApiKey"},"AdminApiKeyCreate":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"owner_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Owner Email"},"user_id":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0},{"type":"null"}],"title":"User Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":16},{"type":"null"}],"title":"Scopes"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days","default":30},"service":{"type":"boolean","title":"Service","default":false},"note":{"type":"string","maxLength":500,"minLength":1,"title":"Note"}},"type":"object","required":["label","note"],"title":"AdminApiKeyCreate"},"AdminApiKeyCreated":{"properties":{"id":{"type":"integer","title":"Id"},"user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Id"},"owner_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Email"},"created_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Email"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"requests_30d":{"type":"integer","title":"Requests 30D","default":0},"service":{"type":"boolean","title":"Service","default":false},"state":{"type":"string","enum":["live","expired","revoked"],"title":"State"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","prefix","scopes","created_at","state","key"],"title":"AdminApiKeyCreated","description":"The only response that ever carries the clear key."},"AdminApiKeyPage":{"properties":{"keys":{"items":{"$ref":"#/components/schemas/AdminApiKey"},"type":"array","title":"Keys"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["keys","total","page","page_size"],"title":"AdminApiKeyPage"},"AdminApiKeyRevoke":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"AdminApiKeyRevoke"},"AdminApiKeyUpdate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Label"},"service":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Service"},"note":{"type":"string","maxLength":500,"minLength":1,"title":"Note"}},"type":"object","required":["note"],"title":"AdminApiKeyUpdate"},"AdminCommercialAccount":{"properties":{"user_id":{"type":"integer","title":"User Id"},"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoke_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Reason"}},"type":"object","required":["user_id","granted_at"],"title":"AdminCommercialAccount"},"AdminCommercialGrant":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","title":"AdminCommercialGrant"},"AdminEocDecision":{"properties":{"decision":{"type":"string","enum":["approve","deny","needs_info"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"org_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Org Id"},"new_org_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"New Org Name"}},"type":"object","required":["decision"],"title":"AdminEocDecision","description":"On approve, exactly one of `org_id` (an existing EOC org) and\n`new_org_name` (create one, verified, from the request's details).\nDeny and needs_info need a `note`, which the requester reads."},"AdminEocGrant":{"properties":{"org_id":{"type":"integer","minimum":1.0,"title":"Org Id"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["org_id"],"title":"AdminEocGrant"},"AdminEocOperator":{"properties":{"user_id":{"type":"integer","title":"User Id"},"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"org_id":{"type":"integer","title":"Org Id"},"org_name":{"type":"string","title":"Org Name"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoke_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Reason"}},"type":"object","required":["user_id","org_id","org_name","granted_at"],"title":"AdminEocOperator"},"AdminEocOrg":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"active":{"type":"boolean","title":"Active"},"is_verified":{"type":"boolean","title":"Is Verified"},"relay_permitted":{"type":"boolean","title":"Relay Permitted"},"operator_count":{"type":"integer","title":"Operator Count"}},"type":"object","required":["id","name","active","is_verified","relay_permitted","operator_count"],"title":"AdminEocOrg","description":"An EOC org as the review panel's picker shows it. `id` is the\n`spotter_orgs` id that `org_id` takes. `state` is not stored on the org:\nit is the two letter state of the latest approved request linked to the\norg, or null (for example an org created before EOC accounts existed).\n`operator_count` is live EOC grants naming the org."},"AdminEocRequest":{"properties":{"eoc_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Eoc Name"},"jurisdiction":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Jurisdiction"},"state":{"anyOf":[{"type":"string","maxLength":2,"pattern":"^([A-Za-z]{2})?$"},{"type":"null"}],"title":"State"},"agency_kind":{"anyOf":[{"type":"string","enum":["county","city","tribal","state","other"]},{"type":"null"}],"title":"Agency Kind"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"agency_website":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Agency Website"},"director_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Director Name"},"callsign":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Callsign"},"attest":{"type":"boolean","title":"Attest","default":false},"id":{"type":"integer","title":"Id"},"status":{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"],"title":"Status"},"work_email_verified":{"type":"boolean","title":"Work Email Verified"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Note"},"user_id":{"type":"integer","title":"User Id"},"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence","default":{}},"checklist":{"additionalProperties":true,"type":"object","title":"Checklist","default":{}}},"type":"object","required":["id","status","work_email_verified","user_id"],"title":"AdminEocRequest"},"AdminFlagResolve":{"properties":{"outcome":{"type":"string","enum":["dismissed","actioned"],"title":"Outcome"},"hide_message":{"type":"boolean","title":"Hide Message","default":false},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["outcome"],"title":"AdminFlagResolve"},"AdminGrant":{"properties":{"display_label":{"type":"string","maxLength":160,"title":"Display Label"},"agency":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Agency"},"office_kind":{"anyOf":[{"type":"string","enum":["nws","broadcast","other"]},{"type":"null"}],"title":"Office Kind"},"office_id":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Office Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["display_label"],"title":"AdminGrant"},"AdminMessageOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","enum":["question","reply"],"title":"Kind"},"author_role":{"type":"string","enum":["meteorologist","spotter"],"title":"Author Role"},"author_label":{"type":"string","title":"Author Label"},"mine":{"type":"boolean","title":"Mine"},"body":{"type":"string","title":"Body"},"prompt":{"anyOf":[{"type":"string","enum":["location","photo","time","still_visible"]},{"type":"null"}],"title":"Prompt"},"question_state":{"anyOf":[{"type":"string","enum":["open","answered","withdrawn","expired"]},{"type":"null"}],"title":"Question State"},"in_reply_to_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Reply To Id"},"photo_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Ref"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"promoted":{"type":"boolean","title":"Promoted","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"hidden":{"type":"boolean","title":"Hidden","default":false},"body_original":{"type":"string","title":"Body Original"},"content_flags":{"items":{"type":"string"},"type":"array","title":"Content Flags","default":[]},"author_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author User Id"}},"type":"object","required":["id","kind","author_role","author_label","mine","body","created_at","body_original"],"title":"AdminMessageOut"},"AdminMeteorologist":{"properties":{"user_id":{"type":"integer","title":"User Id"},"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"display_label":{"type":"string","title":"Display Label"},"granted_via":{"type":"string","enum":["noaa_domain","contact_match","admin"],"title":"Granted Via"},"agency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency"},"office_kind":{"anyOf":[{"type":"string","enum":["nws","broadcast","other"]},{"type":"null"}],"title":"Office Kind"},"office_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Office Id"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"reverify_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reverify Due"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoke_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Reason"}},"type":"object","required":["user_id","display_label","granted_via","granted_at"],"title":"AdminMeteorologist"},"AdminMeteorologistRequest":{"properties":{"agency":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Agency"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"directory_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Directory Url"},"office_kind":{"anyOf":[{"type":"string","enum":["nws","broadcast","other"]},{"type":"null"}],"title":"Office Kind"},"office_id":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Office Id"},"market":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Market"},"ams_cert_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Ams Cert No"},"nwa_seal_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Nwa Seal No"},"supervisor_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Supervisor Name"},"attest":{"type":"boolean","title":"Attest","default":false},"id":{"type":"integer","title":"Id"},"status":{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"],"title":"Status"},"work_email_verified":{"type":"boolean","title":"Work Email Verified"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Note"},"user_id":{"type":"integer","title":"User Id"},"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence","default":{}},"checklist":{"additionalProperties":true,"type":"object","title":"Checklist","default":{}}},"type":"object","required":["id","status","work_email_verified","user_id"],"title":"AdminMeteorologistRequest"},"AdminQueueItem":{"properties":{"kind":{"type":"string","enum":["vet","content"],"title":"Kind"},"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks"},"remarks_public":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Public"},"content_flags":{"items":{"type":"string"},"type":"array","title":"Content Flags","default":[]},"vet_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vet Id"},"verdict":{"anyOf":[{"type":"string","enum":["good","invalid","narrative"]},{"type":"null"}],"title":"Verdict"},"vet_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vet Note"},"marked_by_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marked By Label"},"saw_via_feed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Saw Via Feed"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["kind","ref","event_type","occurred_at","created_at"],"title":"AdminQueueItem","description":"Something on the vetting queue: a restricting mark, or a content flag."},"AdminRemarkOut":{"properties":{"id":{"type":"integer","title":"Id"},"author_label":{"type":"string","title":"Author Label"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"hidden":{"type":"boolean","title":"Hidden","default":false},"author_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author User Id"}},"type":"object","required":["id","author_label","body","created_at"],"title":"AdminRemarkOut","description":"A forecaster remark as the admin's hide tool sees it: hidden ones\nincluded, with who wrote it."},"AdminRequestDecision":{"properties":{"decision":{"type":"string","enum":["approve","deny","needs_info"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"display_label":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Display Label"}},"type":"object","required":["decision"],"title":"AdminRequestDecision"},"AdminRevoke":{"properties":{"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"AdminRevoke"},"AdminThreadFlag":{"properties":{"id":{"type":"integer","title":"Id"},"ref":{"type":"string","title":"Ref"},"message":{"$ref":"#/components/schemas/AdminMessageOut"},"reason":{"type":"string","enum":["harassment","spam","off_topic","media_request","other"],"title":"Reason"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"flagged_by_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flagged By Label"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"outcome":{"anyOf":[{"type":"string","enum":["dismissed","actioned"]},{"type":"null"}],"title":"Outcome"}},"type":"object","required":["id","ref","message","reason","created_at"],"title":"AdminThreadFlag"},"AdminThreadView":{"properties":{"ref":{"type":"string","title":"Ref"},"state":{"type":"string","enum":["open","closed"],"title":"State"},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"messages":{"items":{"$ref":"#/components/schemas/AdminMessageOut"},"type":"array","title":"Messages"}},"type":"object","required":["ref","state","messages"],"title":"AdminThreadView"},"AdminUserApiKeyCreate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":16},{"type":"null"}],"title":"Scopes"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days","default":30},"note":{"type":"string","maxLength":500,"minLength":1,"title":"Note"}},"type":"object","required":["note"],"title":"AdminUserApiKeyCreate"},"AdminVetSettle":{"properties":{"outcome":{"type":"string","enum":["upheld","overturned"],"title":"Outcome"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["outcome"],"title":"AdminVetSettle"},"Aggregate":{"properties":{"kind":{"type":"string","title":"Kind"},"value":{"type":"number","title":"Value"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"}},"type":"object","required":["kind","value"],"title":"Aggregate","description":"One field of a bucket: the value, how it was aggregated, and the\nbucket's min and max where the device sends them."},"AlertFeature":{"properties":{"type":{"type":"string","const":"Feature","title":"Type","description":"Always 'Feature'","default":"Feature"},"id":{"type":"integer","title":"Id","description":"The API's numeric id for the alert"},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"Minified GeoJSON MultiPolygon in longitude, latitude order; null when the alert has no shape"},"properties":{"additionalProperties":true,"type":"object","title":"Properties","description":"The alert object (see AlertSummary) plus `area`, a readable place name built from the zones. `area` is left off /v1/alerts/active/geojson, and an ended alert adds `ended_at`"}},"type":"object","required":["id","geometry","properties"],"title":"AlertFeature","description":"GeoJSON Feature wrapping one alert."},"AlertFeatureCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always 'FeatureCollection'","default":"FeatureCollection"},"features":{"items":{"$ref":"#/components/schemas/AlertFeature"},"type":"array","title":"Features","description":"One feature per alert"},"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock. Use it, not your own, to work out how long ago an alert was issued or how long it has left"},"count":{"type":"integer","title":"Count","description":"Number of features returned"}},"type":"object","required":["features","server_time","count"],"title":"AlertFeatureCollection","description":"Alerts as a GeoJSON FeatureCollection.","examples":[{"count":1,"features":[{"geometry":{"coordinates":[[[[-97.6,26.54],[-97.32,26.6],[-97.29,26.6],[-97.16,26.15],[-97.52,26.15],[-97.69,26.42],[-97.6,26.54]]]],"type":"MultiPolygon"},"id":28589429,"properties":{"id":28589429,"vtec_key":"KBRO.FA.Y.0065.2026","event":"Flood Advisory","office":"KBRO","phenomena":"FA","significance":"Y","status":"active","severity":"Minor","expires":"2026-11-09T21:30:00Z","ends":"2026-11-09T21:30:00Z","geom_source":"polygon","short_id":"38fIRcsb","area":"Cameron, Willacy (TX)"},"type":"Feature"}],"server_time":"2026-11-09T19:10:39.619349Z","type":"FeatureCollection"}]},"AlertHeadline":{"properties":{"id":{"type":"integer","title":"Id","description":"The API's numeric id for the alert"},"vtec_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vtec Key","description":"office.phenomena.significance.ETN.year; null for products with no VTEC"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox","description":"[west, south, east, north] of the alert's geometry; null when the product has none. Pass straight to a map's fit to bounds call."},"event":{"type":"string","title":"Event","description":"The NWS event name, e.g. 'Tornado Warning'"},"area":{"type":"string","title":"Area","description":"Human-readable affected area, derived from UGC zone names"},"office":{"type":"string","title":"Office","description":"Issuing office, four letters"},"phenomena":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phenomena","description":"VTEC phenomena code, e.g. TO, SV, FF"},"significance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Significance","description":"VTEC significance: W, A, Y or S"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity","description":"CAP severity as the NWS sent it"},"urgency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency","description":"CAP urgency as the NWS sent it"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"Render relative time from this client-side so it stays current"},"expires":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires","description":"CAP 'expect an update by' time, not necessarily the end of the hazard"},"ends":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends","description":"Actual hazard end, when the product gives one"},"short_id":{"type":"string","title":"Short Id","description":"Eight-character public id of the alert's page: https://wxalerts.org/alerts/{short_id}/","readOnly":true}},"type":"object","required":["id","event","area","office","short_id"],"title":"AlertHeadline","description":"A single row of the \"highest severity right now\" list.\n\nDeliberately thin: this drives a three-line summary, so it carries no\ngeometry, no description and no raw CAP - only the envelope of the\ngeometry, which is four floats and is what makes each row linkable to a\nmap framed on it."},"AlertPage":{"properties":{"id":{"type":"integer","title":"Id","description":"The API's numeric id for the alert"},"vtec_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vtec Key","description":"office.phenomena.significance.ETN.year; null for products with no VTEC"},"cap_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cap Id","description":"The CAP identifier, when the alert came from the CAP feed alone. Usually null when VTEC identifies it"},"event":{"type":"string","title":"Event","description":"The NWS event name, e.g. 'Tornado Warning'"},"office":{"type":"string","title":"Office","description":"Issuing office, four letters, e.g. 'KBRO' or 'PAFC'"},"phenomena":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phenomena","description":"VTEC hazard code: TO tornado, SV severe thunderstorm, FF flash flood, WS winter storm and so on. Null on products with no VTEC"},"significance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Significance","description":"VTEC significance: W warning, A watch, Y advisory, S statement. Null on products with no VTEC"},"etn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Etn","description":"VTEC event tracking number"},"status":{"type":"string","enum":["active","expired","cancelled"],"title":"Status","description":"active, expired or cancelled (spelled that way, as on the MQTT feed). Only the alert page and the ended-alerts route return anything but active"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity","description":"CAP severity as the NWS sent it: Extreme, Severe, Moderate or Minor"},"urgency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency","description":"CAP urgency as the NWS sent it"},"certainty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certainty","description":"CAP certainty as the NWS sent it"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"Issuance of the newest product in the alert's chain, so a follow-up statement moves it. ISO 8601, UTC"},"onset":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Onset","description":"When the hazard begins"},"expires":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires","description":"CAP 'expect an update by' time, not necessarily the end of the hazard"},"ends":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends","description":"Actual hazard end, when the product gives one"},"ugc":{"items":{"type":"string"},"type":"array","title":"Ugc","description":"NWS zone and county codes covered","default":[]},"same":{"items":{"type":"string"},"type":"array","title":"Same","description":"SAME (FIPS) county codes covered, as NOAA Weather Radio uses them","default":[]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"The product's headline, unedited"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"The product text, unedited"},"instruction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instruction","description":"The product's instructions, unedited"},"geom_source":{"anyOf":[{"type":"string","enum":["polygon","ugc","none"]},{"type":"null"}],"title":"Geom Source","description":"Where the shape came from: polygon (the storm-based polygon the office drew), ugc (built from the zone or county outlines) or none. An alert with none never appears on the routes that search by location"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources","description":"Which feeds delivered it: nwws, emwin and api","default":[]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the row was last seen by the ingest. It moves every minute while an alert is live, so do not read it as 'last changed'"},"slug":{"type":"string","title":"Slug","description":"event-place-state-date; decoration, the short id is the key"},"path":{"type":"string","title":"Path","description":"Canonical site-relative path, /alerts/{short_id}/{slug}/"},"area":{"type":"string","title":"Area","description":"Human-readable affected area, derived from UGC zone names"},"bbox":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Bbox","description":"[west, south, east, north] of the geometry; null when it has none"},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"Minified GeoJSON, as the map endpoints serve it"},"short_id":{"type":"string","title":"Short Id","description":"Eight-character public id of the alert's page: https://wxalerts.org/alerts/{short_id}/","readOnly":true}},"type":"object","required":["id","event","office","status","updated_at","slug","path","area","short_id"],"title":"AlertPage","description":"One alert as its public page on the site needs it.\n\nUnlike every other alert response this one is served for ended alerts too,\nfor as long as nws-ingest retains them (30 days); `status` says which. The\nsite draws an \"ended\" banner from it, and the og-card worker draws the\npolygon from `geometry`.","examples":[{"area":"Thompson Pass (AK)","bbox":[-145.958206,60.798342,-144.617057,61.210759],"certainty":"Observed","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","ends":"2026-11-10T21:00:00Z","etn":14,"event":"Blizzard Warning","expires":"2026-11-10T01:00:00Z","geom_source":"ugc","geometry":{"coordinates":[[[[-145.9,60.8],[-144.62,60.8],[-144.62,61.21],[-145.9,61.21],[-145.9,60.8]]]],"type":"MultiPolygon"},"headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","id":28449246,"instruction":"A Blizzard Warning means severe winter weather conditions are ...","issued_at":"2026-11-09T14:15:00Z","office":"PAFC","onset":"2026-11-09T20:00:00Z","path":"/alerts/8k3wWa9l/blizzard-warning-thompson-pass-ak-2026-11-09/","phenomena":"BZ","same":["002063"],"severity":"Severe","short_id":"8k3wWa9l","significance":"W","slug":"blizzard-warning-thompson-pass-ak-2026-11-09","sources":["api","emwin","nwws"],"status":"active","ugc":["AKZ732"],"updated_at":"2026-11-09T19:06:52.767357Z","urgency":"Immediate","vtec_key":"PAFC.BZ.W.0014.2026"}]},"AlertPageIndex":{"properties":{"pages":{"items":{"$ref":"#/components/schemas/AlertPageLink"},"type":"array","title":"Pages","description":"One row per alert page, newest first"},"count":{"type":"integer","title":"Count","description":"Number of pages returned"}},"type":"object","required":["pages","count"],"title":"AlertPageIndex","description":"Every alert that has a public page, newest first.","examples":[{"count":1,"pages":[{"lastmod":"2026-11-09T19:06:52.767357Z","path":"/alerts/8k3wWa9l/blizzard-warning-thompson-pass-ak-2026-11-09/","short_id":"8k3wWa9l","status":"active"}]}]},"AlertPageLink":{"properties":{"short_id":{"type":"string","title":"Short Id","description":"Eight-character public id of the alert"},"path":{"type":"string","title":"Path","description":"Canonical site-relative path, /alerts/{short_id}/{slug}/"},"status":{"type":"string","enum":["active","expired","cancelled"],"title":"Status","description":"active, expired or cancelled"},"lastmod":{"type":"string","format":"date-time","title":"Lastmod","description":"When the alert's page last changed, for the sitemap"}},"type":"object","required":["short_id","path","status","lastmod"],"title":"AlertPageLink","description":"One row of the alert sitemap."},"AlertRundown":{"properties":{"short_id":{"type":"string","title":"Short Id","description":"Eight-character public id of the alert"},"status":{"type":"string","title":"Status","description":"The alert's status: active, expired or cancelled"},"storm_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Storm Id","description":"The storm's id, for /storms/{storm_id}/track and the storm cells API"},"match":{"anyOf":[{"type":"string","enum":["issue-time","overlap-now"]},{"type":"null"}],"title":"Match","description":"How the cell was found: the ProbSevere object over the warning polygon when it was issued, or, with no scan retained for that moment, the active storm over the polygon now"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why `cell` or `places` is empty, when it is: not-a-cell-warning, no-cell-matched, or no-motion (the storm has no track to project yet)"},"cell":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cell","description":"The storm, in the shape of a `kind: cell` feature's properties on /storms/active/geojson. Null when no cell matched"},"storm_active":{"type":"boolean","title":"Storm Active","description":"Whether the storm is still being tracked","default":false},"valid_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Time","description":"The radar scan `cell` describes"},"as_of":{"anyOf":[{"type":"string","enum":["latest","issue"]},{"type":"null"}],"title":"As Of","description":"Which scan `cell` describes: the storm's latest, or, for an ended warning or a dissipated storm, the one the warning was matched on"},"lead_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Minutes","description":"How far ahead the places reach: the warning's remaining time, 15-60"},"speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed Kmh","description":"The speed the arrival times use: cone_speed_kmh, else speed_kmh"},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg","description":"Direction the storm is moving toward, degrees clockwise from north"},"places":{"items":{"$ref":"#/components/schemas/RundownPlace"},"type":"array","title":"Places","description":"Towns inside the storm's cone, in arrival order"},"pois":{"items":{"$ref":"#/components/schemas/RundownPoi"},"type":"array","title":"Pois","description":"Points of interest in the path, grouped by kind in the order the kinds are listed on `RundownPoi.kind`, each group in arrival order"}},"type":"object","required":["short_id","status"],"title":"AlertRundown","description":"The storm cell behind a convective warning, and the places in its path.\n\n`cell` is in exactly the shape of a `kind: cell` feature's properties on\n/storms/active/geojson, so a client draws the same card from either. It is\nnull for a product with no storm cell behind it (a flood or winter alert:\n`reason` is `not-a-cell-warning`) and where no cell could be matched.","examples":[{"as_of":"issue","cell":{"bearing_deg":78,"kind":"cell","lat":42.483522,"lon":-69.381572,"prob_severe":2,"prob_tor":1,"speed_kmh":50.9,"storm_id":292687,"valid_time":"2026-11-07T01:12:37Z"},"match":"issue-time","places":[],"pois":[],"short_id":"9FNqeXAD","status":"cancelled","storm_active":false,"storm_id":292687,"valid_time":"2026-11-07T01:12:37Z"}]},"AlertStats":{"properties":{"active":{"type":"integer","title":"Active","description":"Alerts currently in effect, the set every alerts route counts"},"with_geometry":{"type":"integer","title":"With Geometry","description":"Subset that have a shape and can be drawn on a map"}},"type":"object","required":["active","with_geometry"],"title":"AlertStats","description":"Counts of the alerts in effect now."},"AlertSummary":{"properties":{"id":{"type":"integer","title":"Id","description":"The API's numeric id for the alert"},"vtec_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vtec Key","description":"office.phenomena.significance.ETN.year; null for products with no VTEC"},"cap_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cap Id","description":"The CAP identifier, when the alert came from the CAP feed alone. Usually null when VTEC identifies it"},"event":{"type":"string","title":"Event","description":"The NWS event name, e.g. 'Tornado Warning'"},"office":{"type":"string","title":"Office","description":"Issuing office, four letters, e.g. 'KBRO' or 'PAFC'"},"phenomena":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phenomena","description":"VTEC hazard code: TO tornado, SV severe thunderstorm, FF flash flood, WS winter storm and so on. Null on products with no VTEC"},"significance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Significance","description":"VTEC significance: W warning, A watch, Y advisory, S statement. Null on products with no VTEC"},"etn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Etn","description":"VTEC event tracking number"},"status":{"type":"string","enum":["active","expired","cancelled"],"title":"Status","description":"active, expired or cancelled (spelled that way, as on the MQTT feed). Only the alert page and the ended-alerts route return anything but active"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity","description":"CAP severity as the NWS sent it: Extreme, Severe, Moderate or Minor"},"urgency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency","description":"CAP urgency as the NWS sent it"},"certainty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certainty","description":"CAP certainty as the NWS sent it"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"Issuance of the newest product in the alert's chain, so a follow-up statement moves it. ISO 8601, UTC"},"onset":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Onset","description":"When the hazard begins"},"expires":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires","description":"CAP 'expect an update by' time, not necessarily the end of the hazard"},"ends":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends","description":"Actual hazard end, when the product gives one"},"ugc":{"items":{"type":"string"},"type":"array","title":"Ugc","description":"NWS zone and county codes covered","default":[]},"same":{"items":{"type":"string"},"type":"array","title":"Same","description":"SAME (FIPS) county codes covered, as NOAA Weather Radio uses them","default":[]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"The product's headline, unedited"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"The product text, unedited"},"instruction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instruction","description":"The product's instructions, unedited"},"geom_source":{"anyOf":[{"type":"string","enum":["polygon","ugc","none"]},{"type":"null"}],"title":"Geom Source","description":"Where the shape came from: polygon (the storm-based polygon the office drew), ugc (built from the zone or county outlines) or none. An alert with none never appears on the routes that search by location"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources","description":"Which feeds delivered it: nwws, emwin and api","default":[]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the row was last seen by the ingest. It moves every minute while an alert is live, so do not read it as 'last changed'"},"short_id":{"type":"string","title":"Short Id","description":"Eight-character public id of the alert's page: https://wxalerts.org/alerts/{short_id}/","readOnly":true}},"type":"object","required":["id","event","office","status","updated_at","short_id"],"title":"AlertSummary","description":"An alert without geometry, for lists, tickers and detail lookups.\n\n`significance` (W warning, A watch, Y advisory, S statement) is the axis to\ncolor and rank by; CAP `severity` is too coarse to sort on.","examples":[{"certainty":"Observed","description":"WWAK41 PAFC 091415\n\nWSWAER\n\nURGENT - WINTER WEATHER MESSAGE ...","ends":"2026-11-10T21:00:00Z","etn":14,"event":"Blizzard Warning","expires":"2026-11-10T01:00:00Z","geom_source":"ugc","headline":"BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY","id":28449246,"instruction":"A Blizzard Warning means severe winter weather conditions are ...","issued_at":"2026-11-09T14:15:00Z","office":"PAFC","onset":"2026-11-09T20:00:00Z","phenomena":"BZ","same":["002063"],"severity":"Severe","short_id":"8k3wWa9l","significance":"W","sources":["api","emwin","nwws"],"status":"active","ugc":["AKZ732"],"updated_at":"2026-11-09T19:06:52.767357Z","urgency":"Immediate","vtec_key":"PAFC.BZ.W.0014.2026"}]},"ApiKeyCreate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":16},{"type":"null"}],"title":"Scopes"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days","default":30}},"type":"object","title":"ApiKeyCreate"},"ApiKeyCreated":{"properties":{"id":{"type":"integer","title":"Id"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"requests_30d":{"type":"integer","title":"Requests 30D","default":0},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","prefix","scopes","created_at","key"],"title":"ApiKeyCreated","description":"The only response that ever carries the clear key."},"ApiKeyList":{"properties":{"keys":{"items":{"$ref":"#/components/schemas/ApiKeyOut"},"type":"array","title":"Keys"},"scopes":{"items":{"$ref":"#/components/schemas/ScopeInfo"},"type":"array","title":"Scopes"},"max_live_keys":{"type":"integer","title":"Max Live Keys"}},"type":"object","required":["keys","scopes","max_live_keys"],"title":"ApiKeyList"},"ApiKeyOut":{"properties":{"id":{"type":"integer","title":"Id"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"requests_30d":{"type":"integer","title":"Requests 30D","default":0}},"type":"object","required":["id","prefix","scopes","created_at"],"title":"ApiKeyOut"},"ApiKeyUpdate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":16},{"type":"null"}],"title":"Scopes"}},"type":"object","title":"ApiKeyUpdate"},"ApiKeyUsageDay":{"properties":{"day":{"type":"string","format":"date","title":"Day"},"route_group":{"type":"string","title":"Route Group"},"requests":{"type":"integer","title":"Requests"},"throttled":{"type":"integer","title":"Throttled"}},"type":"object","required":["day","route_group","requests","throttled"],"title":"ApiKeyUsageDay"},"Approve":{"properties":{"completed_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Completed On"}},"type":"object","title":"Approve","description":"Optional. The reviewer may correct the completion date the person typed,\nreading it off the certificate; it decides how long the approval lasts."},"ApprovedDevice":{"properties":{"device_id":{"type":"string","title":"Device Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","title":"Status"},"fw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fw"}},"type":"object","required":["device_id","name","status","fw"],"title":"ApprovedDevice"},"ArMeasurement":{"properties":{"depth_used":{"type":"boolean","title":"Depth Used"},"tracking":{"type":"string","maxLength":24,"title":"Tracking"},"distance_m":{"type":"number","title":"Distance M"}},"type":"object","required":["depth_used","tracking","distance_m"],"title":"ArMeasurement","description":"What the AR session said about itself when it measured the stone."},"AssistedIn":{"properties":{"reason":{"type":"string","title":"Reason","description":"elderly or disability"},"greeting_name":{"type":"string","maxLength":40,"minLength":1,"title":"Greeting Name","description":"First name the call greets them by"},"relationship":{"type":"string","title":"Relationship","description":"How the account holder is related to them, as the confirmation call says it: daughter, son, granddaughter, grandson, family, caregiver"},"safety_contact_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Safety Contact Id","description":"An SMS or email contact of this account who hears how each call went. Omit for the account holder."},"attest":{"type":"boolean","title":"Attest","description":"The account holder attests they may enroll this person (the text is attest_text, version attest_version)"},"attest_version":{"type":"string","title":"Attest Version","description":"The attestation text version that was shown"}},"type":"object","required":["reason","greeting_name","relationship","attest","attest_version"],"title":"AssistedIn","description":"Enroll a voice contact in the assisted tier (Guardian Line)."},"AssistedTerms":{"properties":{"attest_text":{"type":"string","title":"Attest Text"},"attest_version":{"type":"string","title":"Attest Version"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"relationships":{"items":{"type":"string"},"type":"array","title":"Relationships"}},"type":"object","required":["attest_text","attest_version","reasons","relationships"],"title":"AssistedTerms"},"AttachedContactOut":{"properties":{"id":{"type":"integer","title":"Id"},"channel":{"type":"string","title":"Channel"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"type":"string","title":"Status"},"person_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Person Id"},"destination_hint":{"type":"string","title":"Destination Hint","default":""},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"opted_out_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opted Out At"},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"care_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Care Tier","default":"standard"},"assisted_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assisted Reason"},"greeting_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Greeting Name"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"safety_contact_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Safety Contact Id"},"attested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Attested At"},"confirmed_via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed Via"},"confirm_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirm Attempts","default":0},"frozen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Frozen At"},"signing_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signing Secret"},"webhook_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Kind"},"webhook_failures":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Failures","default":0},"delivery_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery State"},"rule":{"$ref":"#/components/schemas/PlaceContactRule"}},"type":"object","required":["id","channel","label","status","verified_at","opted_out_at","invited_at","created_at"],"title":"AttachedContactOut","description":"A contact as seen from a place: the contact, plus its rule here."},"BanIn":{"properties":{"ip":{"type":"string","maxLength":64,"title":"Ip","description":"An address, or a CIDR range"},"duration":{"type":"string","maxLength":16,"title":"Duration","description":"A Go duration: 1h, 4h, 24h, 168h, 720h"},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"}},"type":"object","required":["ip","duration","reason"],"title":"BanIn"},"BatchItemResult":{"properties":{"submission_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Submission Key"},"outcome":{"type":"string","title":"Outcome"},"report":{"anyOf":[{"$ref":"#/components/schemas/ReportAccepted"},{"type":"null"}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"problems":{"anyOf":[{"items":{"$ref":"#/components/schemas/NotesProblem"},"type":"array"},{"type":"null"}],"title":"Problems"}},"type":"object","required":["outcome"],"title":"BatchItemResult","description":"What became of one report in a batch.\n\nEvery item gets one of these, in the order they were sent, whatever\nhappened to the others. A batch is not a transaction: one malformed report\nfrom a client bug must not discard four good ones queued during the same\nstorm, and a client needs to know precisely which to drop from its outbox\nand which to keep for another try."},"BatchResult":{"properties":{"accepted":{"type":"integer","title":"Accepted"},"duplicates":{"type":"integer","title":"Duplicates"},"rejected":{"type":"integer","title":"Rejected"},"failed":{"type":"integer","title":"Failed"},"results":{"items":{"$ref":"#/components/schemas/BatchItemResult"},"type":"array","title":"Results"}},"type":"object","required":["accepted","duplicates","rejected","failed","results"],"title":"BatchResult"},"Body_upload_photo_spotter_reports__ref__photos_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"live_capture":{"type":"boolean","title":"Live Capture","default":false},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"capture_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Lat"},"capture_lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Lon"},"capture_accuracy_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Accuracy M"},"capture_heading_deg":{"anyOf":[{"type":"number","maximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Capture Heading Deg"},"measurement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measurement"}},"type":"object","required":["file"],"title":"Body_upload_photo_spotter_reports__ref__photos_post"},"Body_upload_profile_photo_spotter_profile_photo_put":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_profile_photo_spotter_profile_photo_put"},"CallsignVerifyRequest":{"properties":{"callsign":{"type":"string","maxLength":16,"minLength":3,"title":"Callsign"}},"type":"object","required":["callsign"],"title":"CallsignVerifyRequest"},"CallsignVerifyResponse":{"properties":{"callsign":{"type":"string","title":"Callsign"},"verified":{"type":"boolean","title":"Verified"},"source":{"type":"string","title":"Source"},"grant_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Grant Date"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"name_mismatch":{"type":"boolean","title":"Name Mismatch","default":false}},"type":"object","required":["callsign","verified","source"],"title":"CallsignVerifyResponse","description":"What the lookup found, and nothing more.\n\nThe ULS record also carries the licensee's legal name, street address and a\nlat/lon for it. None of that is stored and none of it is returned. The name\nis used once, in memory, to decide `source`."},"CellBlock":{"properties":{"cell_id":{"type":"integer","title":"Cell Id","description":"The NBM grid cell the point fell in. -1 outside every domain."},"domain":{"type":"string","title":"Domain","description":"NBM domain: co | ak | hi | pr | gu"},"lat":{"type":"number","title":"Lat","description":"Cell centroid latitude, not the requested point"},"lon":{"type":"number","title":"Lon","description":"Cell centroid longitude, not the requested point"},"resolution_km":{"type":"number","title":"Resolution Km","description":"NBM grid spacing, kilometers."}},"type":"object","required":["cell_id","domain","lat","lon","resolution_km"],"title":"CellBlock"},"Certificate":{"properties":{"certified":{"type":"boolean","title":"Certified"},"credential_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credential No"},"holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Holder Name"},"certified_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified On"},"certified_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified Until"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url"},"verify_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verify Url"},"revoked":{"type":"boolean","title":"Revoked","default":false},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"ce_required":{"type":"integer","title":"Ce Required","default":3},"ce_in_window":{"type":"integer","title":"Ce In Window","default":0},"ce_window_ends":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ce Window Ends"},"name_confirmed":{"type":"boolean","title":"Name Confirmed","default":false}},"type":"object","required":["certified"],"title":"Certificate","description":"The holder's own credential.\n\nReturned with `certified: false` and nulls everywhere else for somebody who\nhas not passed, rather than as a 404. The frontend reads 404 as \"this\nendpoint is not deployed yet\" across the whole site, and \"you have not\npassed the exam\" is a fact about the reader, not about the deployment."},"CertificateName":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"suggestion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggestion"}},"type":"object","title":"CertificateName","description":"The name a certificate prints, as the holder confirmed it.\n\n`name` and `confirmed_at` are null until the holder confirms. `suggestion`\nis a pre-fill only: the account name with its capitalization corrected, or\nnull when the account name cannot be a printed name. The holder still has to\nconfirm it, because the account name is the field a social sign-in fills\nwith a username."},"CertificateNameIn":{"properties":{"name":{"type":"string","maxLength":400,"title":"Name"}},"type":"object","required":["name"],"title":"CertificateNameIn"},"CertificateNamePreview":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"CertificateNamePreview","description":"How a typed name will print, without saving it."},"CheckoutIn":{"properties":{"plan":{"type":"string","title":"Plan","description":"What to buy: `pro` (the plan) or `capacity_pack`. Business and Business 50 are no longer sold."},"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Quantity","default":1},"resume":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Resume"}},"type":"object","required":["plan"],"title":"CheckoutIn"},"CheckoutOut":{"properties":{"checkout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout Url"},"plan":{"type":"string","title":"Plan"},"interval":{"type":"string","title":"Interval"},"already_held":{"type":"boolean","title":"Already Held","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["checkout_url","plan","interval"],"title":"CheckoutOut"},"CheckoutRequest":{"properties":{"kind":{"type":"string","enum":["once","monthly"],"title":"Kind","description":"'monthly' for a subscription, 'once' for a single gift"},"amount_cents":{"type":"integer","title":"Amount Cents","description":"The gift itself, before any fee cover. Bounds are enforced server-side.","examples":[800]},"cover_fee":{"type":"boolean","title":"Cover Fee","description":"Add Stripe's cut on top so the full gift arrives. The gross-up is computed here; a client-supplied total is never trusted.","default":false},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email","description":"Optional. Prefills Checkout; Stripe collects it either way."}},"type":"object","required":["kind","amount_cents"],"title":"CheckoutRequest","description":"What the support form posts.\n\nAmounts are in cents and integral. Accepting dollars as a float here would\nput binary rounding between the donor's \"$8.15\" and the charge, and Stripe\nworks in the smallest currency unit anyway."},"CheckoutResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url","description":"Stripe-hosted Checkout page; redirect the donor here"},"session_id":{"type":"string","title":"Session Id"},"amount_cents":{"type":"integer","title":"Amount Cents","description":"The gift"},"fee_cents":{"type":"integer","title":"Fee Cents","description":"Fee cover added, 0 when cover_fee was false"},"total_cents":{"type":"integer","title":"Total Cents","description":"What the card is charged"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},"type":"object","required":["checkout_url","session_id","amount_cents","fee_cents","total_cents"],"title":"CheckoutResponse","description":"Where to send the browser next."},"ClaimApproveRequest":{"properties":{"user_code":{"type":"string","maxLength":16,"minLength":4,"title":"User Code"}},"type":"object","required":["user_code"],"title":"ClaimApproveRequest"},"ClaimApproveResponse":{"properties":{"device":{"$ref":"#/components/schemas/ApprovedDevice"}},"type":"object","required":["device"],"title":"ClaimApproveResponse"},"ClaimPollRequest":{"properties":{"device_code":{"type":"string","maxLength":256,"minLength":16,"title":"Device Code"}},"type":"object","required":["device_code"],"title":"ClaimPollRequest"},"ClaimPollResponse":{"properties":{"device_id":{"type":"string","title":"Device Id"},"user_id":{"type":"integer","title":"User Id"},"mqtt":{"$ref":"#/components/schemas/MqttCredentials"},"credential_version":{"type":"integer","title":"Credential Version"}},"type":"object","required":["device_id","user_id","mqtt","credential_version"],"title":"ClaimPollResponse","description":"Returned once. The password is not stored anywhere it can be read back."},"ClaimStartRequest":{"properties":{"hw_id":{"type":"string","maxLength":128,"minLength":8,"title":"Hw Id"},"fw":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Fw"},"model":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Model"}},"type":"object","required":["hw_id"],"title":"ClaimStartRequest"},"ClaimStartResponse":{"properties":{"device_code":{"type":"string","title":"Device Code"},"user_code":{"type":"string","title":"User Code"},"verification_uri":{"type":"string","title":"Verification Uri"},"verification_uri_complete":{"type":"string","title":"Verification Uri Complete"},"expires_in":{"type":"integer","title":"Expires In"},"interval":{"type":"integer","title":"Interval"}},"type":"object","required":["device_code","user_code","verification_uri","verification_uri_complete","expires_in","interval"],"title":"ClaimStartResponse"},"Clearing":{"properties":{"note":{"type":"string","maxLength":4000,"minLength":10,"title":"Note"}},"type":"object","required":["note"],"title":"Clearing"},"CodedError":{"properties":{"detail":{"$ref":"#/components/schemas/ErrorDetail","description":"The error, with a stable `code` to branch on."}},"type":"object","required":["detail"],"title":"CodedError","description":"An error whose `detail` is an object with a `code`."},"CommandQueued":{"properties":{"command_id":{"type":"string","title":"Command Id"},"state":{"type":"string","title":"State"},"exp":{"type":"string","format":"date-time","title":"Exp"}},"type":"object","required":["command_id","state","exp"],"title":"CommandQueued"},"CommandRequest":{"properties":{"type":{"type":"string","enum":["reboot","bundle","update-check","resync","diag","config","capture"],"title":"Type"},"body":{"additionalProperties":true,"type":"object","title":"Body"},"ttl_s":{"type":"integer","maximum":3600.0,"minimum":10.0,"title":"Ttl S","default":300}},"additionalProperties":false,"type":"object","required":["type"],"title":"CommandRequest"},"CommandStatus":{"properties":{"command_id":{"type":"string","title":"Command Id"},"state":{"type":"string","title":"State"},"exp":{"type":"string","format":"date-time","title":"Exp"},"type":{"type":"string","title":"Type"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"acked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acked At"},"ack":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ack"}},"type":"object","required":["command_id","state","exp","type","published_at","acked_at","ack"],"title":"CommandStatus"},"CompIn":{"properties":{"plan":{"type":"string","const":"pro","title":"Plan","default":"pro"},"capacity_packs":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Capacity Packs","default":0},"reason":{"type":"string","enum":["debug","staff","tester","app_review","hardship","other"],"title":"Reason"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["reason"],"title":"CompIn"},"CompletionIn":{"properties":{"event_id":{"type":"string","maxLength":96,"minLength":1,"title":"Event Id"},"sub":{"type":"string","maxLength":255,"minLength":1,"title":"Sub"},"course_key":{"type":"string","pattern":"^(general|advanced|ce:[a-z0-9-]{1,40})$","title":"Course Key"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"course_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Course Id"},"course_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Course Name"}},"type":"object","required":["event_id","sub","course_key","completed_at"],"title":"CompletionIn","description":"One course completion, as the plugin posts it."},"CompletionOut":{"properties":{"status":{"type":"string","enum":["recorded","duplicate"],"title":"Status"},"course_key":{"type":"string","title":"Course Key"},"credential_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credential No"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"certified_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified Until"}},"type":"object","required":["status","course_key"],"title":"CompletionOut","description":"What the person holds after this completion, or after the original one\nwhen this is a replay.\n\n`recorded` on first receipt, `duplicate` for an event_id already recorded.\nThe credential fields are the row's state either way, so a replay answers\nwith what is true now rather than what was true the first time."},"Composite":{"properties":{"composite_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Composite Id"},"name":{"type":"string","title":"Name"},"location_station_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Location Station Id"},"groups":{"additionalProperties":{"$ref":"#/components/schemas/GroupSource"},"type":"object","title":"Groups"},"stale_groups":{"items":{"type":"string"},"type":"array","title":"Stale Groups"}},"type":"object","required":["composite_id","name","location_station_id","groups","stale_groups"],"title":"Composite"},"CompositeCurrent":{"properties":{"composite_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Composite Id"},"name":{"type":"string","title":"Name"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"norm_v":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Norm V"},"values":{"additionalProperties":{"$ref":"#/components/schemas/CurrentReading"},"type":"object","title":"Values"},"groups":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/GroupCurrent"},{"type":"null"}]},"type":"object","title":"Groups"},"stale_groups":{"items":{"type":"string"},"type":"array","title":"Stale Groups"}},"type":"object","required":["composite_id","name","observed_at","norm_v","values","stale_groups"],"title":"CompositeCurrent"},"CompositePut":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"fields":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["temperature","humidity","pressure","wind","rain","solar_uv","lightning"]},"type":"object","title":"Fields"},"location_station_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Location Station Id"}},"additionalProperties":false,"type":"object","title":"CompositePut"},"ConditionsLocation":{"properties":{"lat":{"type":"number","title":"Lat","description":"Latitude of the point the conditions are for, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude of the point, degrees east."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Place name when the point was given as `q` or `location_id`."},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"Place name with its state, e.g. 'Denton, TX'. Same rule as `name`."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or region of the named place."}},"type":"object","required":["lat","lon"],"title":"ConditionsLocation"},"ConditionsResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"location":{"$ref":"#/components/schemas/ConditionsLocation","description":"The point the conditions are for."},"units":{"$ref":"#/components/schemas/ConditionsUnits","description":"The unit system and the unit of every field."},"fields":{"additionalProperties":{"$ref":"#/components/schemas/ObservedField"},"type":"object","title":"Fields","description":"Keyed by field name. Absent keys had no station reporting them."},"marine":{"additionalProperties":{"$ref":"#/components/schemas/MarineField"},"type":"object","title":"Marine","description":"Sea state from the nearest marine platform: water temperature, wave height and period. Separate from `fields` because it is answered by a different population of station and is often much further away, so the distance is part of the answer. Empty inland."},"stations":{"items":{"$ref":"#/components/schemas/CreditedStation"},"type":"array","title":"Stations","description":"Only the stations that supplied at least one field, with their position, raw report, distance and age."},"candidates_considered":{"type":"integer","title":"Candidates Considered","description":"Stations ranked for this point. Zero means nothing has reported nearby recently, a different answer from every field being absent."}},"type":"object","required":["server_time","location","units","fields","stations","candidates_considered"],"title":"ConditionsResponse","description":"Measured conditions at a point, one station per field.","examples":[{"candidates_considered":12,"fields":{"cloud":{"age_seconds":854,"derived":false,"distance_m":6210,"source":"metar","station_id":"metar:KDTO","value":[{"base_ft_agl":3900.0,"cover":"BKN"}]},"pressure_altimeter":{"age_seconds":854,"derived":false,"distance_m":6210,"label":"inHg","source":"metar","station_id":"metar:KDTO","unit":"inHg","value":30.2},"temperature":{"age_seconds":74,"derived":false,"distance_m":2485,"label":"°F","source":"aprs","station_id":"aprs:KC5CAM-13","unit":"F","value":69.0}},"location":{"lat":33.215,"lon":-97.133},"marine":{},"server_time":"2026-11-09T19:07:14Z","stations":[{"age_seconds":854,"distance_m":6210,"domain":"land","lat":33.2088,"lon":-97.1992,"name":"Denton Muni, TX","observed_at":"2026-11-09T18:53:00Z","raw":"METAR KDTO 091853Z AUTO 17003KT 10SM BKN039 19/13 A3020 RMK AO2 SLP221 T01940128","source":"metar","station_id":"metar:KDTO","station_type":"land","trust_tier":1}],"units":{"fields":{"pressure_altimeter":{"description":"Altimeter setting, as reported in a METAR.","label":"inHg","unit":"inHg"},"temperature":{"description":"Air temperature.","label":"°F","unit":"F"}},"source":"explicit","system":"us"}}]},"ConditionsUnits":{"properties":{"system":{"type":"string","title":"System","description":"The unit system used: si | metric | us | uk"},"source":{"type":"string","title":"Source","description":"How the system was chosen. 'explicit': you asked for it. 'geo': derived from the caller's country, so the response varies by caller. 'default'."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"The country the system was derived from, when it was."},"fields":{"additionalProperties":{"$ref":"#/components/schemas/UnitSpec"},"type":"object","title":"Fields","description":"The unit, display label and a one line description of every field this endpoint can return, keyed by field name."}},"type":"object","required":["system","source","fields"],"title":"ConditionsUnits"},"Connection":{"properties":{"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"ws_path":{"type":"string","title":"Ws Path"},"ws_url":{"type":"string","title":"Ws Url"},"transport":{"type":"string","title":"Transport"},"tls":{"type":"boolean","title":"Tls"}},"type":"object","required":["host","port","ws_path","ws_url","transport","tls"],"title":"Connection"},"ContactIn":{"properties":{"channel":{"type":"string","enum":["sms","email","webhook","voice"],"title":"Channel"},"destination":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Destination","description":"Number, address or URL, as typed"},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"webhook_kind":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Webhook Kind"},"person_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Person Id","description":"An existing person on this account to file this under"},"same_number_as":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Same Number As","description":"Id of a contact on this account to take the number from"},"use_my_number":{"type":"boolean","title":"Use My Number","description":"Use the number enrolled on this account","default":false}},"type":"object","required":["channel"],"title":"ContactIn","description":"A new contact, named either by its destination or by one already here.\n\nThree ways to say where it goes, and the last two exist because of a rule\nthis API keeps deliberately: a phone number never comes back to the browser.\n`hint()` masks it to the last four digits, so a page offering \"also call\nMom\" cannot put Mom's number in the request - it has never been told it.\n\nSo the client references the number instead of retyping it. That is better\nthan relaxing the masking, and it is also better than retyping: a number\ntranscribed from four visible digits and a memory is a wrong number waiting\nfor the night it matters.\n\nReusing a number is NOT reusing its consent. A voice contact made from a\ntext contact still starts `pending` and still gets its own confirmation\ncall, because agreeing to be texted is not agreeing to be phoned."},"ContactList":{"properties":{"contacts":{"items":{"$ref":"#/components/schemas/ContactOut"},"type":"array","title":"Contacts"},"people":{"items":{"$ref":"#/components/schemas/PersonOut"},"type":"array","title":"People","default":[]},"contacts_per_place":{"type":"integer","title":"Contacts Per Place"}},"type":"object","required":["contacts","contacts_per_place"],"title":"ContactList"},"ContactOut":{"properties":{"id":{"type":"integer","title":"Id"},"channel":{"type":"string","title":"Channel"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"type":"string","title":"Status"},"person_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Person Id"},"destination_hint":{"type":"string","title":"Destination Hint","default":""},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"opted_out_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opted Out At"},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"care_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Care Tier","default":"standard"},"assisted_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assisted Reason"},"greeting_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Greeting Name"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"safety_contact_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Safety Contact Id"},"attested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Attested At"},"confirmed_via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed Via"},"confirm_attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirm Attempts","default":0},"frozen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Frozen At"},"signing_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signing Secret"},"webhook_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Kind"},"webhook_failures":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Failures","default":0},"delivery_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery State"}},"type":"object","required":["id","channel","label","status","verified_at","opted_out_at","invited_at","created_at"],"title":"ContactOut"},"CountyRef":{"properties":{"ugc":{"type":"string","title":"Ugc"},"name":{"type":"string","title":"Name"},"state":{"type":"string","title":"State"}},"type":"object","required":["ugc","name","state"],"title":"CountyRef"},"CountySearchHit":{"properties":{"ugc":{"type":"string","title":"Ugc"},"name":{"type":"string","title":"Name"},"state":{"type":"string","title":"State"},"cwa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cwa"}},"type":"object","required":["ugc","name","state"],"title":"CountySearchHit"},"CreateCredential":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},"type":"object","title":"CreateCredential"},"Credential":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"username":{"type":"string","title":"Username"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_rotated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Rotated At"},"active":{"type":"boolean","title":"Active"},"topic_prefix":{"type":"string","title":"Topic Prefix"}},"type":"object","required":["id","name","username","created_at","last_rotated_at","active","topic_prefix"],"title":"Credential"},"CredentialList":{"properties":{"limit":{"type":"integer","title":"Limit"},"credentials":{"items":{"$ref":"#/components/schemas/Credential"},"type":"array","title":"Credentials"},"connection":{"$ref":"#/components/schemas/Connection"},"alert_topics":{"items":{"type":"string"},"type":"array","title":"Alert Topics"},"lightning_topics":{"items":{"type":"string"},"type":"array","title":"Lightning Topics"}},"type":"object","required":["limit","credentials","connection","alert_topics","lightning_topics"],"title":"CredentialList"},"CreditedStation":{"properties":{"station_id":{"type":"string","title":"Station Id","description":"Station id with its network in front, e.g. 'metar:KDTO' or 'aprs:KC5CAM-13'."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | fawn | pws"},"station_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Type","description":"The physical platform: land, coastal, buoy, platform, usv, dart, tao or other. A METAR can come from an oil rig."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"`land` or `marine`: whether the station may speak for conditions ashore. A buoy is marine; a C-MAN tower on a pier is land."},"trust_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trust Tier","description":"1 METAR/ASOS · 2 mesonet · 3 hosted PWS · 4 CWOP/APRS"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"From the station roster. Airfields are named; CWOP stations usually are not."},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat","description":"Station latitude, degrees north."},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon","description":"Station longitude, degrees east."},"distance_m":{"type":"integer","title":"Distance M","description":"Meters from the requested point to the station."},"age_seconds":{"type":"integer","title":"Age Seconds","description":"How old the station's reading was when served."},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At","description":"When the station reported, in UTC."},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw","description":"The station's own report: a raw METAR or APRS packet"}},"type":"object","required":["station_id","source","distance_m","age_seconds"],"title":"CreditedStation","description":"A station that supplied at least one field in this response."},"CurrentConditions":{"properties":{"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At","description":"When the named station reported"},"wind_direction_cardinal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wind Direction Cardinal","description":"Compass point the wind blows from, e.g. 'SSW' (16 point)."},"sky":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sky","description":"One phrase for right now. Unlike the numbers beside it this is not measured: no station reports total cloud cover, so the cloud comes from the forecast hour nearest now."},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon","description":"Which picture to draw. The cloud behind it is the model's; whether the sun is up is read off the actual instant and point."},"is_day":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Day","description":"Whether the sun is above the horizon at this instant and point. Computed from solar position, not borrowed from the forecast."},"conditions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conditions","description":"The station's own words for what is falling: 'light rain', 'haze'. Null when it reports none, which is not the same as fair weather. For a word covering the sky as well, read `hourly[0].sky`."},"station":{"$ref":"#/components/schemas/ObservingStation","description":"The station the reading is attributed to: the one that supplied most fields."}},"additionalProperties":true,"type":"object","required":["station"],"title":"CurrentConditions","description":"What is happening now - measured, not modeled.\n\nRead from the surface stations around the point. A model's idea of the\ncurrent temperature is still a forecast, however recent the cycle; this is\na thermometer, and it says which one.\n\nMeasurements sit flat alongside these keys: temperature, dewpoint,\nrelative_humidity, wind_speed, wind_gust, wind_direction, pressure,\nvisibility, precip_1h, precip_24h and snow_depth, each null where no station\nnearby reports it. One station is named, the one that supplied most of the\nnumbers; where it has no sensor for a field, the next station nearby fills\nit. /conditions serves the unsimplified form, where every single field\nnames its own instrument."},"CurrentReading":{"properties":{"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"station_id":{"type":"integer","title":"Station Id"},"station_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Name"},"age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age S"},"derived":{"type":"boolean","title":"Derived","default":false},"mixed_sources":{"type":"boolean","title":"Mixed Sources","default":false}},"type":"object","required":["value","station_id"],"title":"CurrentReading","description":"One composed value, with its provenance (filled once ingest runs)."},"CyberTip":{"properties":{"report_number":{"type":"string","maxLength":32,"minLength":3,"pattern":"^[A-Za-z0-9-]+$","title":"Report Number"},"reported_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reported At"}},"type":"object","required":["report_number"],"title":"CyberTip"},"DailyBucket":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The local calendar day at the forecast location."},"sky":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sky","description":"One phrase for the day, from its mean cloud cover and its highest chances of precipitation, e.g. 'Partly cloudy', 'Rain likely'."},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon","description":"Always a daytime icon. A day is not a moment and has no sun angle; a card for Thursday showing a moon would be reporting that Thursday is night."},"precip_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Precip Type","description":"rain | snow | sleet | freezing rain. The likeliest kind should anything fall. Null when every type is zero."},"wind_direction_cardinal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wind Direction Cardinal","description":"Prevailing compass point the wind blows from, e.g. 'SSW'."},"hours":{"type":"integer","title":"Hours","description":"Forecast hours behind this day. The first and last of a series are usually partial, and a 4-hour day is not comparable to a 24-hour one."}},"additionalProperties":true,"type":"object","required":["date","hours"],"title":"DailyBucket","description":"One local calendar day. Measurements sit flat alongside these keys."},"DailyLightning":{"properties":{"day":{"type":"string","format":"date","title":"Day","description":"The local date in the requested time zone"},"flashes":{"type":"integer","title":"Flashes","description":"Flashes that day"},"peak_hourly_flashes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Peak Hourly Flashes","description":"Busiest single hour of the day, a severity signal a total hides"},"hours_observed":{"type":"integer","title":"Hours Observed","description":"Hourly buckets that carried at least one flash. Well under 24 on a quiet day, but also on a broken one: check it before reading a low count as fair weather."},"mean_energy_j":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean Energy J","description":"Mean cloud-top optical energy per flash, in joules. Not a ground-hazard proxy."},"first_flash":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Flash","description":"The first flash of that day, UTC"},"last_flash":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Flash","description":"The last flash of that day, UTC"}},"type":"object","required":["day","flashes","hours_observed"],"title":"DailyLightning","description":"One local day of lightning."},"Decision":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","title":"Decision"},"DeleteAccount":{"properties":{"confirm":{"type":"string","maxLength":320,"title":"Confirm","default":""}},"type":"object","title":"DeleteAccount"},"DeleteUser":{"properties":{"confirm":{"type":"string","maxLength":320,"title":"Confirm","default":""}},"type":"object","title":"DeleteUser"},"DeviceIdentityResponse":{"properties":{"device_id":{"type":"string","title":"Device Id"},"user_id":{"type":"integer","title":"User Id"},"credential_version":{"type":"integer","title":"Credential Version"}},"type":"object","required":["device_id","user_id","credential_version"],"title":"DeviceIdentityResponse","description":"Who owns the calling gateway, for the contract v2 topics."},"DirectoryEntry":{"properties":{"user_id":{"type":"integer","title":"User Id"},"handle":{"type":"string","title":"Handle"},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"}},"type":"object","required":["user_id","handle"],"title":"DirectoryEntry","description":"One opt-in spotter from outside the requesting organization.\n\nHandle and callsign only. No name, no contact details, and nothing about\nwhere they live beyond the fact that they opted in to being findable."},"EligibilityOut":{"properties":{"app_user_id":{"type":"string","title":"App User Id"},"eligible":{"type":"boolean","title":"Eligible"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"web_plan":{"type":"boolean","title":"Web Plan"},"plan":{"$ref":"#/components/schemas/Offer"},"capacity_pack":{"$ref":"#/components/schemas/PackOffer"},"capacity_packs":{"type":"integer","title":"Capacity Packs","default":0},"life_safety":{"additionalProperties":true,"type":"object","title":"Life Safety"},"life_safety_events":{"items":{"type":"string"},"type":"array","title":"Life Safety Events"}},"type":"object","required":["app_user_id","eligible","web_plan","plan","capacity_pack"],"title":"EligibilityOut"},"EocRequestIn":{"properties":{"eoc_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Eoc Name"},"jurisdiction":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Jurisdiction"},"state":{"anyOf":[{"type":"string","maxLength":2,"pattern":"^([A-Za-z]{2})?$"},{"type":"null"}],"title":"State"},"agency_kind":{"anyOf":[{"type":"string","enum":["county","city","tribal","state","other"]},{"type":"null"}],"title":"Agency Kind"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"agency_website":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Agency Website"},"director_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Director Name"},"callsign":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Callsign"},"attest":{"type":"boolean","title":"Attest","default":false}},"type":"object","title":"EocRequestIn","description":"The form. Every field is optional while it is a draft; submit checks\nthat eoc_name, jurisdiction, state, agency_kind, job_title, work_phone and\nattest are present, and that work_email is verified."},"EocRequestOut":{"properties":{"eoc_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Eoc Name"},"jurisdiction":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Jurisdiction"},"state":{"anyOf":[{"type":"string","maxLength":2,"pattern":"^([A-Za-z]{2})?$"},{"type":"null"}],"title":"State"},"agency_kind":{"anyOf":[{"type":"string","enum":["county","city","tribal","state","other"]},{"type":"null"}],"title":"Agency Kind"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"agency_website":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Agency Website"},"director_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Director Name"},"callsign":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Callsign"},"attest":{"type":"boolean","title":"Attest","default":false},"id":{"type":"integer","title":"Id"},"status":{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"],"title":"Status"},"work_email_verified":{"type":"boolean","title":"Work Email Verified"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Note"}},"type":"object","required":["id","status","work_email_verified"],"title":"EocRequestOut"},"ErrorDetail":{"properties":{"code":{"type":"string","title":"Code","description":"A stable, machine readable error code such as `api_key_required`.","examples":["api_key_required"]},"message":{"type":"string","title":"Message","description":"A sentence a person can read, saying what went wrong and what to do.","examples":["This endpoint needs an API key. Make one at https://wxalerts.org/account/."]},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope","description":"The scope the key lacks. Present only on `insufficient_scope`.","examples":["alerts:read"]}},"type":"object","required":["code","message"],"title":"ErrorDetail","description":"The body of a coded error from the key gates and a few routes."},"Feature":{"properties":{"type":{"type":"string","const":"Feature","title":"Type","description":"Always `Feature`.","default":"Feature"},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"A GeoJSON geometry in WGS84. Its type depends on the endpoint: a Polygon or MultiPolygon for an outlook risk area; a Polygon, LineString or Point for a storm feature, depending on `kind`."},"properties":{"additionalProperties":true,"type":"object","title":"Properties","description":"The feature's properties, which depend on the endpoint. Outlook risk areas carry `product`; `level`, the category (TSTM, MRGL, SLGT, ENH, MDT, HIGH) or the probability as a string ('5%', '15%'), or 'SIG' for the hatched area; `rank`, the order the level sorts in; `label`, SPC's wording; `stroke` and `fill`, SPC's own colors as hex; and `significant`, true on the hatched significant-severe area. Storm features carry `kind`, one of `cell`, `cone`, `turn-cone`, `forecast-track`, `track`, `couplet`, `couplet-cone`, `couplet-forecast` or `couplet-track`, which decides which other keys are present."}},"type":"object","required":["geometry","properties"],"title":"Feature","description":"A GeoJSON Feature."},"FeedLatency":{"properties":{"source":{"type":"string","title":"Source","description":"The feed: nwws (NWWS-OI over XMPP), emwin (the GOES broadcast) or api (the api.weather.gov CAP feed)"},"arrivals":{"type":"integer","title":"Arrivals","description":"Hazards this feed delivered in the window"},"contested":{"type":"integer","title":"Contested","description":"Subset also delivered by at least one other feed, the only fair comparison"},"wins":{"type":"integer","title":"Wins","description":"Contested hazards this feed reached us first with"},"win_share":{"type":"number","title":"Win Share","description":"wins / contested, 0.0 when nothing was contested"},"exclusive":{"type":"integer","title":"Exclusive","description":"Hazards no other feed carried in the window. Coverage rather than speed: the reason to run a feed that never wins a race."},"median_behind_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Behind Seconds","description":"Median gap behind the fastest feed, over contested hazards only. Null when none were contested"},"p95_behind_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Behind Seconds","description":"95th percentile gap behind the fastest feed, over contested hazards only"},"max_behind_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Behind Seconds","description":"Largest gap behind the fastest feed. Catches outliers such as a feed that dropped and caught up later; quote the median and p95 instead"},"median_issuance_lag_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Issuance Lag Seconds","description":"Median issuance-to-arrival. Minute-quantized; indicative only."}},"type":"object","required":["source","arrivals","contested","wins","win_share","exclusive"],"title":"FeedLatency","description":"How one feed performed against the others on the same hazards.\n\nTwo different measurements live here and they are not interchangeable.\n\n`median_behind_seconds` and friends are RELATIVE: each feed compared to\nwhichever feed reached us first for that hazard. They need no issuance\ntimestamp at all, so they are precise to the millisecond and are the honest\nway to rank the feeds.\n\n`median_issuance_lag_seconds` is ABSOLUTE, measured from the timestamp NWS\nitself put on the product. It is quantized to whole minutes (see\n`issuance_resolution_seconds`), so treat it as an order of magnitude, never\nas a precise figure."},"FieldSource":{"properties":{"field":{"type":"string","title":"Field"},"station_id":{"type":"integer","title":"Station Id"},"station_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Name"},"last_obs_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Obs At"},"age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age S"},"stale":{"type":"boolean","title":"Stale"}},"type":"object","required":["field","station_id","station_name","last_obs_at","age_s","stale"],"title":"FieldSource","description":"Where one canonical field of the composite comes from."},"FieldUnit":{"properties":{"unit":{"type":"string","title":"Unit","description":"Machine-readable code, e.g. 'F', 'hPa', 'm/s'"},"label":{"type":"string","title":"Label","description":"For display, e.g. '°F'"}},"type":"object","required":["unit","label"],"title":"FieldUnit"},"FlagIn":{"properties":{"reason":{"type":"string","enum":["harassment","spam","off_topic","media_request","other"],"title":"Reason"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","required":["reason"],"title":"FlagIn"},"FlashHistory":{"properties":{"since":{"type":"string","format":"date-time","title":"Since","description":"Start of the window in UTC, exclusive. Echoes the window served."},"until":{"type":"string","format":"date-time","title":"Until","description":"End of the window in UTC, inclusive, after defaults and the clamp on `until`."},"truncated":{"type":"boolean","title":"Truncated","description":"True when there were more flashes than `limit`. The newest are kept and the oldest dropped, so the gap is at the start of the window."},"flashes":{"items":{"prefixItems":[{"type":"integer"},{"type":"number"},{"type":"number"},{"anyOf":[{"type":"number"},{"type":"null"}]}],"type":"array","maxItems":4,"minItems":4},"type":"array","title":"Flashes","description":"[t_ms, lat, lon, energy_j]: observation time in epoch milliseconds, position to four decimals as the MQTT feed publishes it, and optical energy in Joules or null"}},"type":"object","required":["since","until","truncated","flashes"],"title":"FlashHistory","description":"Flashes in a box over a recent window, oldest first.\n\nRows rather than GeoJSON: an hour over a busy view is tens of thousands of\nflashes, and repeating four key names per flash would triple the payload.","examples":[{"flashes":[[1794250713936,24.4613,-95.9038,6.42848946817709e-14],[1794250715534,39.6719,-67.0973,9.428477557070838e-14],[1794251248570,39.214,-68.1464,null]],"since":"2026-11-09T18:58:26.935870Z","truncated":false,"until":"2026-11-09T19:08:26.935870Z"}]},"FocusedAlertsResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock"},"focus":{"$ref":"#/components/schemas/MapFocus","description":"Where the map should look, and why"},"features":{"items":{"$ref":"#/components/schemas/AlertFeature"},"type":"array","title":"Features","description":"Alerts inside the view, most serious first"},"count":{"type":"integer","title":"Count","description":"Number of features returned"},"truncated":{"type":"boolean","title":"Truncated","description":"True when more alerts intersect the view than were returned","default":false}},"type":"object","required":["server_time","focus","features","count"],"title":"FocusedAlertsResponse","description":"A framed view: where to look plus only the alerts inside it.","examples":[{"count":1,"features":[{"geometry":{"coordinates":[[[[-97.6,26.54],[-97.32,26.6],[-97.29,26.6],[-97.16,26.15],[-97.52,26.15],[-97.69,26.42],[-97.6,26.54]]]],"type":"MultiPolygon"},"id":28589429,"properties":{"id":28589429,"vtec_key":"KBRO.FA.Y.0065.2026","event":"Flood Advisory","office":"KBRO","phenomena":"FA","significance":"Y","status":"active","severity":"Minor","expires":"2026-11-09T21:30:00Z","ends":"2026-11-09T21:30:00Z","geom_source":"polygon","short_id":"38fIRcsb","area":"Cameron, Willacy (TX)"},"type":"Feature"}],"focus":{"anchor_area":"Thompson Pass (AK)","anchor_event":"Blizzard Warning","anchor_office":"PAFC","bbox":[-146.42760815,60.0045505,-144.14765484999998,62.0045505],"center_lat":61.0045505,"center_lon":-145.28763149999997,"reason":"highest-severity"},"server_time":"2026-11-09T19:07:19Z","truncated":false}]},"ForecastPoint":{"properties":{"valid_at":{"type":"string","format":"date-time","title":"Valid At","description":"The time the forecast is for, UTC."},"lat":{"type":"number","title":"Lat","description":"Forecast latitude, degrees north."},"lon":{"type":"number","title":"Lon","description":"Forecast longitude, degrees east, -180 to 180."},"max_wind_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Wind Mph","description":"Forecast maximum sustained wind in mph, rounded to the nearest 5 mph."},"classification":{"type":"string","title":"Classification","description":"The forecast classification at that time, with the codes of `StormSummary.classification`."}},"type":"object","required":["valid_at","lat","lon","max_wind_mph","classification"],"title":"ForecastPoint","description":"One point of NHC's official forecast track."},"ForecastResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"location":{"$ref":"#/components/schemas/wxalerts_api__schemas__forecast__LocationBlock","description":"Where this forecast is for, and how it was named."},"cell":{"$ref":"#/components/schemas/CellBlock","description":"The NBM grid cell the point fell in."},"models":{"$ref":"#/components/schemas/ModelsBlock","description":"The run behind each series: its cycle, age and how far it reaches."},"units":{"$ref":"#/components/schemas/wxalerts_api__schemas__forecast__UnitsBlock","description":"The unit system and the unit of every field in `hourly` and `nowcast`."},"coverage":{"type":"string","title":"Coverage","description":"'full': both models. 'nbm_only': outside CONUS, so no nowcast. 'outside_domain': no forecast here at all; every series is empty."},"current":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Current","description":"The nowcast step nearest to now, or null if outside CONUS"},"nowcast":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nowcast","description":"HRRR hourly, ~6 km, out to 18 hours"},"hourly":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Hourly","description":"NBM, ~10 km. Hourly to forecast hour 47, then 3-hourly."},"daily":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Daily","description":"NBM rolled into local calendar days"},"narrative":{"anyOf":[{"$ref":"#/components/schemas/NarrativeSet"},{"type":"null"}],"description":"The forecast in sentences. Null where there is no forecast to describe. Any active alert leads it, ahead of the weather."},"facts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Facts","description":"The derived facts the narrative was built from, returned only with ?explain=true. For tuning the wording and for seeing why a sentence appeared; not a stable interface."}},"type":"object","required":["server_time","location","cell","models","units","coverage"],"title":"ForecastResponse","description":"A point forecast.\n\n`hourly` and `daily` come from NBM; `nowcast` from HRRR. They are not\nblended - where both cover the same hour they may disagree, and which one\nis right is a question about the weather rather than about the API.","examples":[{"cell":{"cell_id":81168,"domain":"co","lat":35.196527,"lon":-97.378552,"resolution_km":10.2},"coverage":"full","current":{"pressure":102000.0,"temperature":293.9,"valid_time":"2026-11-09T19:00:00Z"},"daily":[{"cloud_cover_mean":41.6,"date":"2026-11-09","hours":11,"icon":"partly-cloudy-day","precip_amount_total":0.0,"precip_probability_max":1.0,"sky":"Partly cloudy","temperature_max":294.1,"temperature_min":285.8,"wind_direction_cardinal":"SSW","wind_direction_prevailing":198.0,"wind_speed_max":3.931}],"hourly":[{"cape":0.0,"cloud_cover":2.9,"dewpoint":285.1,"forecast_hour":2,"icon":"clear-day","is_day":true,"local_time":"2026-11-09T13:00:00-06:00","precip_amount":0.0,"precip_probability":0.0,"relative_humidity":59.6,"sky":"Clear","temperature":293.2,"thunder_probability":0.0,"utc_offset_seconds":-21600,"valid_time":"2026-11-09T19:00:00Z","visibility":16210.0,"visibility_unrestricted":true,"wind_direction":206.0,"wind_direction_cardinal":"SSW","wind_gust":6.9,"wind_speed":3.931}],"location":{"approximate":false,"display_name":"Norman, OK","distance_km":6.7,"lat":35.2,"lon":-97.4,"name":"Norman","state":"OK","timezone":"America/Chicago"},"models":{"hrrr":{"age_seconds":4040,"cycle":"2026-11-09T18:00:00Z","first_valid":"2026-11-09T19:00:00Z","horizon_hours":15.9,"last_valid":"2026-11-10T11:00:00Z","resolution_km":6.0,"steps":17},"nbm":{"age_seconds":4040,"cycle":"2026-11-09T18:00:00Z","first_valid":"2026-11-09T19:00:00Z","horizon_hours":256.9,"last_valid":"2026-11-20T12:00:00Z","resolution_km":10.2,"steps":104}},"narrative":{"next_36h":{"body":["No precipitation is expected."],"hazard":false,"headline":"Quiet through the next day and a half"},"now":{"body":["Clear and mild, with a light south wind."],"hazard":false,"headline":"A comfortable afternoon, clear"},"week":{"body":[],"hazard":false}},"nowcast":[{"cape":0.0,"dewpoint":283.7,"forecast_hour":1,"local_time":"2026-11-09T13:00:00-06:00","precip_amount":0.0,"pressure":102000.0,"reflectivity":-10.0,"surface_pressure":97920.0,"temperature":293.9,"utc_offset_seconds":-21600,"valid_time":"2026-11-09T19:00:00Z","wind_direction":218.0,"wind_direction_cardinal":"SW","wind_speed":4.783}],"server_time":"2026-11-09T19:07:20Z","units":{"hourly":{"temperature":{"description":"2 m air temperature.","label":"K","unit":"K"}},"nowcast":{"pressure":{"description":"Mean sea level pressure.","label":"Pa","unit":"Pa"}},"source":"explicit","system":"si"}}]},"ForecasterRemarkIn":{"properties":{"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"ForecasterRemarkIn"},"ForecasterRemarkOut":{"properties":{"id":{"type":"integer","title":"Id"},"author_label":{"type":"string","title":"Author Label"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","author_label","body","created_at"],"title":"ForecasterRemarkOut"},"Gateway":{"properties":{"device_id":{"type":"string","title":"Device Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","title":"Status"},"presence":{"type":"string","title":"Presence"},"last_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen"},"last_obs_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Obs At"},"fw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fw"},"update_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Update State"},"net_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Net Link"},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"},"rssi_dbm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rssi Dbm"},"location":{"anyOf":[{"$ref":"#/components/schemas/Location"},{"type":"null"}]},"stations":{"type":"integer","title":"Stations"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"aprs_station_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aprs Station Id"}},"type":"object","required":["device_id","name","status","presence","last_seen","last_obs_at","fw","update_state","net_link","carrier","rssi_dbm","location","stations","claimed_at"],"title":"Gateway"},"GatewayDetail":{"properties":{"device_id":{"type":"string","title":"Device Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","title":"Status"},"presence":{"type":"string","title":"Presence"},"last_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen"},"last_obs_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Obs At"},"fw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fw"},"update_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Update State"},"net_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Net Link"},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"},"rssi_dbm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rssi Dbm"},"location":{"anyOf":[{"$ref":"#/components/schemas/Location"},{"type":"null"}]},"stations":{"type":"integer","title":"Stations"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"aprs_station_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aprs Station Id"},"tel":{"additionalProperties":true,"type":"object","title":"Tel"},"station_list":{"items":{"$ref":"#/components/schemas/Station"},"type":"array","title":"Station List"}},"type":"object","required":["device_id","name","status","presence","last_seen","last_obs_at","fw","update_state","net_link","carrier","rssi_dbm","location","stations","claimed_at","tel","station_list"],"title":"GatewayDetail"},"GatewayPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lon"},"aprs_station_id":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Aprs Station Id"}},"additionalProperties":false,"type":"object","title":"GatewayPatch","description":"Rename and/or set a manual location. `lat` and `lon` go together."},"Gateways":{"properties":{"limit":{"type":"integer","title":"Limit"},"used":{"type":"integer","title":"Used"},"gateways":{"items":{"$ref":"#/components/schemas/Gateway"},"type":"array","title":"Gateways"}},"type":"object","required":["limit","used","gateways"],"title":"Gateways"},"GroupChange":{"properties":{"add":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Add"},"remove":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Remove"}},"type":"object","title":"GroupChange"},"GroupCurrent":{"properties":{"station_id":{"type":"integer","title":"Station Id"},"station_key":{"type":"string","title":"Station Key"},"station_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Name"},"bucket_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Bucket Start"},"age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age S"},"stale":{"type":"boolean","title":"Stale","default":true},"source":{"type":"string","enum":["owner","default"],"title":"Source","default":"owner"}},"type":"object","required":["station_id","station_key"],"title":"GroupCurrent","description":"Provenance of one composite group's reading."},"GroupSource":{"properties":{"station_id":{"type":"integer","title":"Station Id"},"station_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Name"},"last_obs_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Obs At"},"age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age S"},"stale":{"type":"boolean","title":"Stale"},"fields":{"items":{"$ref":"#/components/schemas/FieldSource"},"type":"array","title":"Fields"},"source":{"type":"string","enum":["owner","default"],"title":"Source","default":"owner"}},"type":"object","required":["station_id","station_name","last_obs_at","age_s","stale","fields"],"title":"GroupSource"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Heartbeat":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},"type":"object","title":"Heartbeat"},"HighestSeverityResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock. Use it, not your own, to work out how long ago an alert was issued"},"alerts":{"items":{"$ref":"#/components/schemas/AlertHeadline"},"type":"array","title":"Alerts","description":"Alerts, most serious first"}},"type":"object","required":["server_time","alerts"],"title":"HighestSeverityResponse","description":"The most serious active alerts, ranked by significance, hazard, urgency, then newest.","examples":[{"alerts":[{"area":"Thompson Pass (AK)","bbox":[-145.958206,60.798342,-144.617057,61.210759],"ends":"2026-11-10T21:00:00Z","event":"Blizzard Warning","expires":"2026-11-10T01:00:00Z","id":28449246,"issued_at":"2026-11-09T14:15:00Z","office":"PAFC","phenomena":"BZ","severity":"Severe","short_id":"8k3wWa9l","significance":"W","urgency":"Immediate","vtec_key":"PAFC.BZ.W.0014.2026"}],"server_time":"2026-11-09T19:07:19.446710Z"}]},"History":{"properties":{"hours":{"type":"integer","title":"Hours"},"interval_s":{"type":"integer","title":"Interval S"},"series":{"additionalProperties":{"items":{"$ref":"#/components/schemas/HistoryPoint"},"type":"array"},"type":"object","title":"Series"},"groups":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/GroupCurrent"},{"type":"null"}]},"type":"object","title":"Groups"}},"type":"object","required":["hours","interval_s","series"],"title":"History","description":"24 hours at 5 minute buckets: up to 288 points per field, gaps kept as\nabsent points rather than interpolated."},"HistoryAbout":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"alert_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Alert Id"}},"type":"object","title":"HistoryAbout","description":"What it said. For an alert, `title` is the NWS event name and `detail`\nits headline; for a storm, the rung name and the hazard; for a forecast\nnotice, the notice's own title."},"HistoryGuardian":{"properties":{"call_kind":{"type":"string","enum":["warning","retry","confirmation"],"title":"Call Kind"},"attempt":{"type":"integer","title":"Attempt"},"answer":{"anyOf":[{"type":"string","enum":["safe","help","unclear","none"]},{"type":"null"}],"title":"Answer"}},"type":"object","required":["call_kind","attempt"],"title":"HistoryGuardian","description":"A Guardian Line call: which attempt, and what the person answered to\n\"do you need any help?\" (safe, help, unclear or none; None when the call\ndid not ask)."},"HistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["sms","call","email","push","webhook"],"title":"Kind"},"source":{"type":"string","title":"Source"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"recipient":{"$ref":"#/components/schemas/HistoryRecipient"},"place_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Place Id"},"place":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place"},"about":{"$ref":"#/components/schemas/HistoryAbout"},"status":{"type":"string","title":"Status"},"result":{"type":"string","title":"Result"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"guardian":{"anyOf":[{"$ref":"#/components/schemas/HistoryGuardian"},{"type":"null"}]}},"type":"object","required":["id","kind","source","created_at","recipient","about","status","result"],"title":"HistoryItem","description":"One delivery. `status` is what we did; `result` is the one word for how\nit ended (delivered, failed, answered, voicemail, ...), with `reason` when\nit went wrong."},"HistoryPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/HistoryItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"window_days":{"type":"integer","title":"Window Days","default":90}},"type":"object","required":["items"],"title":"HistoryPage"},"HistoryPoint":{"properties":{"ts":{"type":"string","format":"date-time","title":"Ts"},"v":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"V"}},"type":"object","required":["ts","v"],"title":"HistoryPoint"},"HistoryRecipient":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"destination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination"}},"type":"object","title":"HistoryRecipient","description":"Who it went to. `destination` is masked the way the account page masks\na contact (services/contacts.mask_destination), and is None for the\naccount's own devices and address."},"HomeAssistantCredentials":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"broker_url":{"type":"string","title":"Broker Url"},"ws_url":{"type":"string","title":"Ws Url"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"ws_path":{"type":"string","title":"Ws Path"},"transport":{"type":"string","title":"Transport"},"tls":{"type":"boolean","title":"Tls"},"topic_prefix":{"type":"string","title":"Topic Prefix"},"topics_version":{"type":"integer","title":"Topics Version","default":1},"v2_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"V2 User Id"},"v2_instance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"V2 Instance"}},"type":"object","required":["username","password","broker_url","ws_url","host","port","ws_path","transport","tls","topic_prefix"],"title":"HomeAssistantCredentials","description":"The deprecated /credentials POST shape."},"HomeAssistantLogin":{"properties":{"username":{"type":"string","title":"Username"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_rotated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Rotated At"},"active":{"type":"boolean","title":"Active"}},"type":"object","required":["username","created_at","last_rotated_at","active"],"title":"HomeAssistantLogin"},"HourlyStep":{"properties":{"time":{"type":"string","format":"date-time","title":"Time","description":"Local to the forecast location, offset included"},"sky":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sky","description":"One phrase, e.g. 'Mostly cloudy', 'Rain likely'"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon","description":"Which picture to draw: clear-day | clear-night | partly-cloudy-day | partly-cloudy-night | cloudy | overcast | rain | snow | sleet | freezing-rain | thunderstorm"},"is_day":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Day","description":"Whether the sun is above the horizon at this hour and place. Computed from solar position, not from the clock, because 'day is 6 to 18' is wrong for months at a time in Alaska."},"precip_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Precip Type","description":"rain | snow | sleet | freezing rain. The likeliest of four probabilities that do not sum to 100. Null when none is forecast."},"wind_direction_cardinal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wind Direction Cardinal","description":"Compass point the wind blows from, e.g. 'SSW' (16 point)."}},"additionalProperties":true,"type":"object","required":["time"],"title":"HourlyStep","description":"One hour. Measurements sit flat alongside these keys."},"InboxItem":{"properties":{"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"status":{"type":"string","title":"Status"},"visibility":{"type":"string","title":"Visibility"},"visibility_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason"},"visibility_reason_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason Label"},"vet_summary":{"$ref":"#/components/schemas/VetSummary"},"remark_count":{"type":"integer","title":"Remark Count","default":0},"latest_remark":{"anyOf":[{"$ref":"#/components/schemas/ForecasterRemarkOut"},{"type":"null"}]},"thread_state":{"anyOf":[{"type":"string","enum":["open","closed"]},{"type":"null"}],"title":"Thread State"},"open_questions":{"type":"integer","title":"Open Questions","default":0},"unread":{"type":"integer","title":"Unread","default":0},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At"}},"type":"object","required":["ref","event_type","occurred_at","status","visibility","vet_summary","last_activity_at"],"title":"InboxItem"},"InboxPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InboxItem"},"type":"array","title":"Items"},"next_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Before"},"total_unread":{"type":"integer","title":"Total Unread","default":0}},"type":"object","required":["items"],"title":"InboxPage"},"Instance":{"properties":{"instance_id":{"type":"string","title":"Instance Id"},"name":{"type":"string","title":"Name"},"username":{"type":"string","title":"Username"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"active":{"type":"boolean","title":"Active"},"deactivated_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deactivated Reason"},"topics_version":{"type":"integer","title":"Topics Version","default":1},"v2_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"V2 User Id"},"v2_instance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"V2 Instance"}},"type":"object","required":["instance_id","name","username","created_at","last_seen_at","active","deactivated_reason"],"title":"Instance"},"InstanceCredentials":{"properties":{"instance_id":{"type":"string","title":"Instance Id"},"name":{"type":"string","title":"Name"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"ws_path":{"type":"string","title":"Ws Path"},"transport":{"type":"string","title":"Transport"},"tls":{"type":"boolean","title":"Tls"},"topic_prefix":{"type":"string","title":"Topic Prefix"},"topics_version":{"type":"integer","title":"Topics Version","default":1},"v2_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"V2 User Id"},"v2_instance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"V2 Instance"}},"type":"object","required":["instance_id","name","username","password","host","port","ws_path","transport","tls","topic_prefix"],"title":"InstanceCredentials","description":"Shown once. The password is not stored anywhere it could be read back."},"Instances":{"properties":{"limit":{"type":"integer","title":"Limit"},"used":{"type":"integer","title":"Used"},"instances":{"items":{"$ref":"#/components/schemas/Instance"},"type":"array","title":"Instances"}},"type":"object","required":["limit","used","instances"],"title":"Instances"},"IssuedCredential":{"properties":{"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"ws_path":{"type":"string","title":"Ws Path"},"ws_url":{"type":"string","title":"Ws Url"},"transport":{"type":"string","title":"Transport"},"tls":{"type":"boolean","title":"Tls"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"username":{"type":"string","title":"Username"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_rotated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Rotated At"},"active":{"type":"boolean","title":"Active"},"topic_prefix":{"type":"string","title":"Topic Prefix"},"password":{"type":"string","title":"Password"},"alert_topics":{"items":{"type":"string"},"type":"array","title":"Alert Topics"},"lightning_topics":{"items":{"type":"string"},"type":"array","title":"Lightning Topics"}},"type":"object","required":["host","port","ws_path","ws_url","transport","tls","id","name","username","created_at","last_rotated_at","active","topic_prefix","password","alert_topics","lightning_topics"],"title":"IssuedCredential","description":"Shown once. The password is not stored anywhere it could be read back."},"LatencyStats":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock"},"window_hours":{"type":"integer","title":"Window Hours","description":"The window reported over, in hours"},"issuance_resolution_seconds":{"type":"integer","title":"Issuance Resolution Seconds","description":"Resolution of the NWS issuance timestamp. The WMO header is stamped to the minute and CAP's `sent` inherits that (measured: 379 of 380 active alerts had seconds = 00), so every absolute lag carries up to this much quantization. Relative figures are unaffected.","default":60},"sources":{"items":{"$ref":"#/components/schemas/FeedLatency"},"type":"array","title":"Sources","description":"One row per feed, most wins first"}},"type":"object","required":["server_time","window_hours","sources"],"title":"LatencyStats","description":"How fast each alert feed delivers, measured against the others.","examples":[{"issuance_resolution_seconds":60,"server_time":"2026-11-09T19:07:19.262194Z","sources":[{"arrivals":241,"contested":241,"exclusive":0,"max_behind_seconds":9229.67,"median_behind_seconds":0.0,"median_issuance_lag_seconds":58.6,"p95_behind_seconds":0.0,"source":"nwws","win_share":0.9793,"wins":236},{"arrivals":242,"contested":241,"exclusive":1,"max_behind_seconds":169.78,"median_behind_seconds":30.43,"median_issuance_lag_seconds":94.3,"p95_behind_seconds":106.25,"source":"api","win_share":0.0207,"wins":5}],"window_hours":24}]},"LegendEntry":{"properties":{"category":{"type":"integer","title":"Category","description":"Category number, 0 to 4. See `category_name`."},"category_name":{"type":"string","title":"Category Name","description":"normal, reduced, low, very_low or near_zero.","examples":["reduced"]},"range_mi":{"type":"string","title":"Range Mi","description":"The category's visibility range in miles, as text.","examples":["3 to 5 mi"]},"min_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min M","description":"Inclusive lower edge, m. Null: no floor."},"max_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max M","description":"Exclusive upper edge, m."}},"type":"object","required":["category","category_name","range_mi"],"title":"LegendEntry","description":"One row of the category table, with its edges in metres."},"LessonCompletionRequest":{"properties":{"module":{"type":"string","maxLength":64,"minLength":1,"title":"Module"},"lesson":{"type":"string","maxLength":96,"minLength":1,"title":"Lesson"}},"type":"object","required":["module","lesson"],"title":"LessonCompletionRequest","description":"POST /training/progress/lessons.\n\nField names are `module` and `lesson` rather than `module_slug` and\n`lesson_slug` because that is what lib/lessonProgress.ts sends.\n\nLength limits match the columns. They are a guard against a client posting\na novel, not a validation of the syllabus: the API does not know which\nslugs are real, on purpose."},"LessonCompletionResponse":{"properties":{"module":{"type":"string","title":"Module"},"lesson":{"type":"string","title":"Lesson"},"created":{"type":"boolean","title":"Created"},"lessons_done":{"type":"integer","title":"Lessons Done"}},"type":"object","required":["module","lesson","created","lessons_done"],"title":"LessonCompletionResponse"},"LightningHistory":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock"},"timezone":{"type":"string","title":"Timezone","description":"IANA zone the days are bucketed in"},"days":{"items":{"$ref":"#/components/schemas/DailyLightning"},"type":"array","title":"Days","description":"One row per local day, newest first. Today's row is still filling in. A day with no flashes at all has no row"}},"type":"object","required":["server_time","timezone","days"],"title":"LightningHistory","description":"GLM flash counts per day, newest first.","examples":[{"days":[{"day":"2026-11-09","first_flash":"2026-11-09T06:00:00.096895Z","flashes":238705,"hours_observed":11,"last_flash":"2026-11-09T16:59:59.906157Z","mean_energy_j":2.0169939528190287e-13,"peak_hourly_flashes":40928},{"day":"2026-11-08","first_flash":"2026-11-08T06:00:00.114443Z","flashes":1557001,"hours_observed":24,"last_flash":"2026-11-09T05:59:59.953460Z","mean_energy_j":1.5397250051263375e-13,"peak_hourly_flashes":166906}],"server_time":"2026-11-09T19:07:13.249615Z","timezone":"America/Chicago"}]},"LightningStats":{"properties":{"flashes":{"type":"integer","title":"Flashes","description":"GLM flashes between `window_start` and `window_end`"},"window_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Window Start","description":"The oldest flash the live store holds. Null when it holds none"},"window_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Window End","description":"The newest flash the live store holds. Null when it holds none"},"window_seconds":{"type":"integer","title":"Window Seconds","description":"The span between `window_start` and `window_end`","default":0},"rate_per_minute":{"type":"number","title":"Rate Per Minute","description":"`flashes` over that span, per minute","default":0.0},"retention_hours":{"type":"number","title":"Retention Hours","description":"How long the live store keeps flashes; the hard ceiling on any window","default":24.0},"covers_full_day":{"type":"boolean","title":"Covers Full Day","description":"Whether the window spans a full 24 hours. A rolling 24 hours is still not a calendar day, so do not label this 'today'.","default":false}},"type":"object","required":["flashes"],"title":"LightningStats","description":"GLM flash counts over whatever window the live store actually holds.\n\nThe window is a rolling 24 hours and not a calendar day: at 09:00 it reaches\nback into yesterday morning. It is reported explicitly rather than assumed,\nso read its length from `window_seconds`. For per-day figures use\n/stats/lightning/daily, which survives the live store's retention."},"LimitsOut":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"max_places":{"type":"integer","title":"Max Places"},"contacts_per_place":{"type":"integer","title":"Contacts Per Place"},"sms_per_month":{"type":"integer","title":"Sms Per Month"},"voice_calls_per_month":{"type":"integer","title":"Voice Calls Per Month"}},"type":"object","required":["key","label","max_places","contacts_per_place","sms_per_month","voice_calls_per_month"],"title":"LimitsOut"},"LiveNow":{"properties":{"is_live":{"type":"boolean","title":"Is Live"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"viewers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viewers"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"embed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embed Url"},"watch_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Watch Url"}},"type":"object","required":["is_live"],"title":"LiveNow"},"Location":{"properties":{"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"},"fuzzed_radius_km":{"type":"number","title":"Fuzzed Radius Km"}},"type":"object","required":["lat","lon","fuzzed_radius_km"],"title":"Location","description":"The fuzzed point. The exact one never leaves the server."},"LocationSearchResponse":{"properties":{"query":{"type":"string","title":"Query","description":"The query that was searched, as sent."},"results":{"items":{"$ref":"#/components/schemas/LocationSuggestion"},"type":"array","title":"Results","description":"Matches, best first, at most `limit`. Empty when nothing matched."}},"type":"object","required":["query","results"],"title":"LocationSearchResponse","description":"The places a free text query matched, best match first.","examples":[{"query":"pensacola","results":[{"display_name":"Pensacola, FL","id":40512,"kind":"city","lat":30.4213,"lon":-87.2169,"name":"Pensacola","population":54312,"state":"FL","zoom":11},{"display_name":"32501, Pensacola, FL","id":91874,"kind":"zip","lat":30.4097,"lon":-87.2112,"name":"32501","state":"FL","zoom":12}]}]},"LocationSuggestion":{"properties":{"id":{"type":"integer","title":"Id","description":"Stable place id. Pass it as `location_id` to /forecast, /weather and similar."},"kind":{"type":"string","enum":["state","county","city","community","zip"],"title":"Kind","description":"What kind of place this is: state, county, city, community or zip."},"name":{"type":"string","title":"Name","description":"Bare name, e.g. 'Pensacola'"},"display_name":{"type":"string","title":"Display Name","description":"Disambiguated label, e.g. 'Pensacola, FL'"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Two-letter state or territory, when there is one."},"population":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Population","description":"2023 Census estimate; null for CDPs, communities and ZIPs, which the series omits"},"lat":{"type":"number","title":"Lat","description":"Latitude of the place's centroid, degrees."},"lon":{"type":"number","title":"Lon","description":"Longitude of the place's centroid, degrees."},"zoom":{"type":"integer","title":"Zoom","description":"Suggested map zoom. Locations carry a centroid rather than an extent, so this is derived from the geography type and its land area."}},"type":"object","required":["id","kind","name","display_name","lat","lon","zoom"],"title":"LocationSuggestion","description":"One place a search matched, with a point to center a map or forecast on."},"LsrSummary":{"properties":{"id":{"type":"integer","title":"Id","description":"Stable for the report. A corrected or reissued report updates the same row, so a client can key on it."},"valid_at":{"type":"string","format":"date-time","title":"Valid At","description":"When the event happened, in UTC. The product states local time and carries its zone only in its own header, so this is the converted value and the conversion happens once, at parse."},"event":{"type":"string","title":"Event","description":"The issuing office's own wording, verbatim. Not normalized, because the difference between 'Tstm Wnd Gst' and 'Non-Tstm Wnd Gst' is the whole point of those two strings and the category below cannot carry it."},"category":{"type":"string","title":"Category","description":"Coarse grouping for colour and icon choice: tornado, funnel, hail, wind, flood, rain, winter, lightning, fire, landslide, other."},"office":{"type":"string","title":"Office","description":"Issuing WFO, as the product carries it (KABQ)."},"lat":{"type":"number","title":"Lat","description":"Latitude as the office gave it, degrees."},"lon":{"type":"number","title":"Lon","description":"Longitude as the office gave it, degrees."},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"The office's wording, which may carry a distance and bearing ('3 W Midway') and may be truncated by the product's column width."},"county":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County","description":"County, as the office gave it."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Two-letter state or territory."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Who reported it: Mesonet, ASOS, Public, Trained Spotter, and so on."},"magnitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude","description":"The number, if the report has one. Null means no number was given, not zero."},"magnitude_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Unit","description":"MPH or INCH in practice; MI (visibility) for fog."},"magnitude_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Method","description":"'measured', 'estimated' or 'unknown', from the product's M/E/U flag. Never folded into the number: a WFO reads 'measured' as a claim about an instrument and treats the two very differently."},"magnitude_trace":{"type":"boolean","title":"Magnitude Trace","description":"A trace reading, below the smallest increment the product can express. Real, and neither an absent value nor zero, so `magnitude` is null when this is true.","default":false},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks","description":"The office's free text, or null."}},"type":"object","required":["id","valid_at","event","category","office","lat","lon"],"title":"LsrSummary","description":"One official NWS storm report.\n\nA flat object rather than a GeoJSON feature, which is what every other map\nfeed in this API answers with and what the web and Flutter layers already\nexpect: they want numbers to put a marker at, and nothing on either client\nreads a geometry."},"MagnitudeMeasurement":{"properties":{"method":{"type":"string","maxLength":16,"title":"Method"},"reference":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Reference"},"reference_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reference Mm"},"stone_mm":{"type":"number","title":"Stone Mm"},"inches_raw":{"type":"number","title":"Inches Raw"},"inches":{"type":"number","title":"Inches"},"uncertainty_in":{"type":"number","title":"Uncertainty In"},"adjusted":{"type":"boolean","title":"Adjusted","default":false},"device":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Device"},"ar":{"anyOf":[{"$ref":"#/components/schemas/ArMeasurement"},{"type":"null"}]}},"type":"object","required":["method","stone_mm","inches_raw","inches","uncertainty_in"],"title":"MagnitudeMeasurement","description":"How the app measured a hailstone, sent beside `magnitude_value`.\n\nPresent only when the size came from a measurement, never for a typed\none. Only the shape is checked here; whether the numbers agree with each\nother and with the report is services/spotter_reports.validate_measurement,\nso a refusal reads as a sentence like every other magnitude refusal."},"MapFocus":{"properties":{"reason":{"type":"string","enum":["highest-severity","most-alerts","none"],"title":"Reason","description":"Which rule chose the view. none means nothing with a shape qualified, and the view is the lower 48 with no features"},"center_lat":{"type":"number","title":"Center Lat","description":"Latitude of the view's center"},"center_lon":{"type":"number","title":"Center Lon","description":"Longitude of the view's center"},"bbox":{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4,"title":"Bbox","description":"[west, south, east, north]; pass straight to fitBounds"},"anchor_event":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Event","description":"Event the view is framed on. Null for most-alerts"},"anchor_office":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Office","description":"Office the view is framed on"},"anchor_area":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Area","description":"Readable area of the anchor alert, for a caption"}},"type":"object","required":["reason","center_lat","center_lon","bbox"],"title":"MapFocus","description":"Where a map should be looking, and why."},"MarineField":{"properties":{"value":{"title":"Value","description":"The measurement, converted into the response's unit system. A number for most fields. `cloud` is a list of sky layers, lowest first, and `wx_string` and `flight_category` are text."},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Machine-readable unit code, e.g. 'F', 'hPa'. Null for `cloud`, `wx_string` and `flight_category`, which are text rather than quantities."},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"The unit as it is displayed, e.g. '°F'. Null for text fields."},"station_id":{"type":"string","title":"Station Id","description":"The station that measured this, with its network in front, e.g. 'metar:KDTO'."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | fawn | pws"},"distance_m":{"type":"integer","title":"Distance M","description":"From the requested point to the station"},"age_seconds":{"type":"integer","title":"Age Seconds","description":"How old this reading was when served"},"derived":{"type":"boolean","title":"Derived","description":"Computed from another measurement rather than measured. A METAR carries no humidity and a CWOP packet carries no dew point, so the missing half of that pair is derived from the other."},"station_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Type","description":"The physical platform: land, coastal, buoy, platform, usv, dart, tao or other."}},"type":"object","required":["value","station_id","source","distance_m","age_seconds","derived"],"title":"MarineField","description":"One sea-state measurement, and which platform reported it.\n\nCarries `station_type` where a land field does not: \"water 26.1 °C\" reads\nvery differently depending on whether it came from a buoy 30 km out or a\ntide gauge on the pier the reader is standing on."},"MemberAdd":{"properties":{"user_id":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0},{"type":"null"}],"title":"User Id"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"role":{"type":"string","title":"Role","default":"member"},"status":{"anyOf":[{"type":"string","enum":["active","pending"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"MemberAdd","description":"`user_id` or `email`, exactly one, plus a role from the model.\n\n`status` is for platform admins: `active` (their default) or `pending`. A\nteam manager may only invite by email, which is always `pending`."},"MemberRole":{"properties":{"role":{"type":"string","title":"Role"}},"type":"object","required":["role"],"title":"MemberRole"},"MessageOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","enum":["question","reply"],"title":"Kind"},"author_role":{"type":"string","enum":["meteorologist","spotter"],"title":"Author Role"},"author_label":{"type":"string","title":"Author Label"},"mine":{"type":"boolean","title":"Mine"},"body":{"type":"string","title":"Body"},"prompt":{"anyOf":[{"type":"string","enum":["location","photo","time","still_visible"]},{"type":"null"}],"title":"Prompt"},"question_state":{"anyOf":[{"type":"string","enum":["open","answered","withdrawn","expired"]},{"type":"null"}],"title":"Question State"},"in_reply_to_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Reply To Id"},"photo_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Ref"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"promoted":{"type":"boolean","title":"Promoted","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"hidden":{"type":"boolean","title":"Hidden","default":false}},"type":"object","required":["id","kind","author_role","author_label","mine","body","created_at"],"title":"MessageOut"},"MeteorologistRequestIn":{"properties":{"agency":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Agency"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"directory_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Directory Url"},"office_kind":{"anyOf":[{"type":"string","enum":["nws","broadcast","other"]},{"type":"null"}],"title":"Office Kind"},"office_id":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Office Id"},"market":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Market"},"ams_cert_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Ams Cert No"},"nwa_seal_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Nwa Seal No"},"supervisor_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Supervisor Name"},"attest":{"type":"boolean","title":"Attest","default":false}},"type":"object","title":"MeteorologistRequestIn","description":"The form. Every field is optional while it is a draft; submit checks\nthat agency, job_title, work_phone, directory_url, office_kind, office_id\nand attest are present, and that work_email is verified."},"MeteorologistRequestOut":{"properties":{"agency":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Agency"},"job_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Job Title"},"work_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Work Email"},"work_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Work Phone"},"directory_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Directory Url"},"office_kind":{"anyOf":[{"type":"string","enum":["nws","broadcast","other"]},{"type":"null"}],"title":"Office Kind"},"office_id":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Office Id"},"market":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Market"},"ams_cert_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Ams Cert No"},"nwa_seal_no":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Nwa Seal No"},"supervisor_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Supervisor Name"},"attest":{"type":"boolean","title":"Attest","default":false},"id":{"type":"integer","title":"Id"},"status":{"type":"string","enum":["draft","pending","needs_info","approved","denied","withdrawn"],"title":"Status"},"work_email_verified":{"type":"boolean","title":"Work Email Verified"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Note"}},"type":"object","required":["id","status","work_email_verified"],"title":"MeteorologistRequestOut"},"ModelPoint":{"properties":{"tau":{"type":"integer","title":"Tau","description":"Hours after the cycle the point is forecast for."},"lat":{"type":"number","title":"Lat","description":"Forecast latitude, degrees north."},"lon":{"type":"number","title":"Lon","description":"Forecast longitude, degrees east, -180 to 180."},"vmax_kt":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vmax Kt","description":"The model's peak wind in knots, as the model gives it. Null where the aid gives no intensity, as with the consensus."}},"type":"object","required":["tau","lat","lon","vmax_kt"],"title":"ModelPoint","description":"One forecast position of a guidance model."},"ModelTrack":{"properties":{"id":{"type":"string","title":"Id","description":"A stable name for the model to color by: consensus, gfs, ecmwf, ukmet, hafs_a, hafs_b or cmc."},"label":{"type":"string","title":"Label","description":"What to call it on screen: Consensus, GFS, European, UK Met, HAFS-A, HAFS-B or Canadian."},"aid":{"type":"string","title":"Aid","description":"The ATCF aid the track was read from, e.g. AVNI or TVCN."},"points":{"items":{"$ref":"#/components/schemas/ModelPoint"},"type":"array","title":"Points","description":"Forecast positions every 6 or 12 hours from tau 0, at most to 168 hours."}},"type":"object","required":["id","label","aid","points"],"title":"ModelTrack","description":"One guidance model's forecast track."},"ModelsBlock":{"properties":{"nbm":{"$ref":"#/components/schemas/RunBlock","description":"The National Blend of Models run behind `hourly` and `daily`."},"hrrr":{"anyOf":[{"$ref":"#/components/schemas/RunBlock"},{"type":"null"}],"description":"Absent outside CONUS; HRRR has no other domain"}},"type":"object","required":["nbm"],"title":"ModelsBlock"},"ModerateIn":{"properties":{"action":{"type":"string","enum":["publish","hide","escalate","clear","remarks_publish","remarks_trim","remarks_hide","dispute_uphold","dispute_reject"],"title":"Action"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"trimmed":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Trimmed"}},"type":"object","required":["action"],"title":"ModerateIn"},"ModuleScore":{"properties":{"module":{"type":"string","title":"Module"},"correct":{"type":"integer","title":"Correct"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["module","correct","total"],"title":"ModuleScore"},"MqttCredentials":{"properties":{"url":{"type":"string","title":"Url"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"transport":{"type":"string","const":"wss","title":"Transport","default":"wss"},"path":{"type":"string","title":"Path"},"username":{"type":"string","title":"Username"},"client_id":{"type":"string","title":"Client Id"},"password":{"type":"string","title":"Password"}},"type":"object","required":["url","host","port","path","username","client_id","password"],"title":"MqttCredentials"},"MuteIn":{"properties":{"message_id":{"type":"integer","title":"Message Id"}},"type":"object","required":["message_id"],"title":"MuteIn"},"NarrativeBlock":{"properties":{"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"One line summing up the period. Null when there is none."},"body":{"items":{"type":"string"},"type":"array","title":"Body","description":"Paragraphs, already assembled. Empty where the facts supported nothing worth saying, which is a real answer and not an error."},"hazard":{"type":"boolean","title":"Hazard","description":"True when body[0] is a statement about an active alert rather than about the forecast. Clients that give the lead paragraph warning styling should read this instead of matching on words.","default":false}},"type":"object","title":"NarrativeBlock","description":"One narrative: an optional headline and the paragraphs under it."},"NarrativeSet":{"properties":{"now":{"$ref":"#/components/schemas/NarrativeBlock","description":"The conditions now and the next few hours."},"next_36h":{"$ref":"#/components/schemas/NarrativeBlock","description":"The next day and a half."},"week":{"$ref":"#/components/schemas/NarrativeBlock","description":"The rest of the week."}},"type":"object","required":["now","next_36h","week"],"title":"NarrativeSet","description":"Plain-language forecast text, generated from the series in this response.\n\nWritten by a rule engine against derived facts, not by a model and not by\na forecaster: every sentence is a template whose condition was true. It is\na reading of the same numbers below it and can never contain a fact that\nis not in them."},"NotesProblem":{"properties":{"code":{"type":"string","title":"Code"},"start":{"type":"integer","title":"Start"},"end":{"type":"integer","title":"End"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","start","end","message"],"title":"NotesProblem","description":"One span of the remarks a submit was refused over.\n\nThe 422 for a refused note is `{\"reason\": \"remarks_rejected\", \"message\",\n\"problems\": [NotesProblem]}`. `code` is one of `warning_demand`, `test`,\n`link`, `phone`, `email`, `all_caps`, `profanity` (the app's own rules,\nin snake case) or `too_long`. `start` and `end` are UTF-16 offsets into\n`remarks` as sent, end exclusive, so a Dart or JavaScript client can mark\nthe words without converting. See services/spotter_notes.py."},"NumberChangeIn":{"properties":{"destination":{"type":"string","maxLength":32,"minLength":7,"title":"Destination"},"attest":{"type":"boolean","title":"Attest"},"attest_version":{"type":"string","title":"Attest Version"}},"type":"object","required":["destination","attest","attest_version"],"title":"NumberChangeIn","description":"A new phone number for a voice contact. The attestation is given again,\nbecause it was given for the old number."},"ObservedField":{"properties":{"value":{"title":"Value","description":"The measurement, converted into the response's unit system. A number for most fields. `cloud` is a list of sky layers, lowest first, and `wx_string` and `flight_category` are text."},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Machine-readable unit code, e.g. 'F', 'hPa'. Null for `cloud`, `wx_string` and `flight_category`, which are text rather than quantities."},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"The unit as it is displayed, e.g. '°F'. Null for text fields."},"station_id":{"type":"string","title":"Station Id","description":"The station that measured this, with its network in front, e.g. 'metar:KDTO'."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | fawn | pws"},"distance_m":{"type":"integer","title":"Distance M","description":"From the requested point to the station"},"age_seconds":{"type":"integer","title":"Age Seconds","description":"How old this reading was when served"},"derived":{"type":"boolean","title":"Derived","description":"Computed from another measurement rather than measured. A METAR carries no humidity and a CWOP packet carries no dew point, so the missing half of that pair is derived from the other."}},"type":"object","required":["value","station_id","source","distance_m","age_seconds","derived"],"title":"ObservedField","description":"One measurement, and the instrument it came from.\n\nProvenance is per field rather than per response because a location's\nconditions are assembled from whichever station has each measurement: the\ntemperature can come from an airfield ten miles away while the rain rate\ncomes from a back-garden gauge on the next street. A single \"source\" line\nwould have to be a lie about one of them."},"ObservingStation":{"properties":{"station_id":{"type":"string","title":"Station Id","description":"Station id with its network in front, e.g. 'aprs:KC5CAM-13'."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"From the station roster. Airfield observations are named; a CWOP station usually is not, and this is null there."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | pws"},"distance_m":{"type":"integer","title":"Distance M","description":"From the requested point to the station"},"age_seconds":{"type":"integer","title":"Age Seconds","description":"How old the reading was when served"}},"type":"object","required":["station_id","source","distance_m","age_seconds"],"title":"ObservingStation","description":"The instrument behind `current`."},"Offer":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"}},"type":"object","required":["eligible"],"title":"Offer"},"OpenAttempt":{"properties":{"attempt_id":{"type":"string","title":"Attempt Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"seconds_remaining":{"type":"integer","title":"Seconds Remaining"},"answered":{"type":"integer","title":"Answered"},"total":{"type":"integer","title":"Total"},"state":{"type":"string","enum":["open","expired","submitted"],"title":"State"}},"type":"object","required":["attempt_id","started_at","expires_at","seconds_remaining","answered","total","state"],"title":"OpenAttempt","description":"Enough for /training/progress to offer a resume button."},"Outlook":{"properties":{"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When NHC issued the outlook, UTC."},"areas":{"items":{"$ref":"#/components/schemas/OutlookArea"},"type":"array","title":"Areas","description":"The areas NHC outlines. Empty when NHC expects nothing to form."}},"type":"object","required":["issued_at","areas"],"title":"Outlook","description":"NHC's tropical weather outlook: where a storm may form in the next seven days.","examples":[{"areas":[{"basin":"EP","category":"low","center":{"coordinates":[-90.6178,10.0391],"type":"Point"},"chance_2day_pct":0,"chance_7day_pct":0,"discussion":"Shower and thunderstorm activity has diminished near the small area of low pressure located several hundred miles offshore of El Salvador and Nicaragua.","geometry":{"coordinates":[[[[-90.6,10.0],[-89.6,10.0],[-89.6,9.0],[-90.6,10.0]]]],"type":"MultiPolygon"},"id":"EP-1","title":"Eastern East Pacific"}],"issued_at":"2026-11-09T17:18:00Z"}]},"OutlookArea":{"properties":{"id":{"type":"string","title":"Id","description":"'<basin>-<number>', e.g. AL-1. NHC numbers areas afresh in every issuance, so an id names an area within one outlook only."},"basin":{"type":"string","title":"Basin","description":"AL, EP or CP."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"NHC's name for the area, e.g. 'Western and Central Atlantic'."},"invest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invest","description":"The invest number, e.g. AL94, when NHC names one."},"chance_2day_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chance 2Day Pct","description":"NHC's chance of a tropical cyclone forming within 48 hours, percent."},"chance_7day_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chance 7Day Pct","description":"NHC's chance of a tropical cyclone forming within seven days, percent."},"category":{"type":"string","enum":["low","medium","high"],"title":"Category","description":"From the seven-day chance, as NHC colors the area: low is under 40 percent (NHC's 'near zero' counts as low), medium 40 to 60, high over 60."},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"The area NHC shades, as a GeoJSON MultiPolygon. Can be null."},"center":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Center","description":"The GeoJSON Point NHC marks with an X. Can be null."},"discussion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discussion","description":"The outlook text's paragraph for this area."}},"type":"object","required":["id","basin","chance_2day_pct","chance_7day_pct","category","geometry"],"title":"OutlookArea","description":"One area where NHC's seven-day outlook says a storm may form."},"OutlookAtPlaceOut":{"properties":{"product":{"type":"string","title":"Product"},"day":{"type":"integer","title":"Day"},"hazard":{"type":"string","title":"Hazard"},"product_label":{"type":"string","title":"Product Label"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"significant":{"type":"boolean","title":"Significant","default":false},"valid_to":{"type":"string","format":"date-time","title":"Valid To"},"would_notify":{"type":"boolean","title":"Would Notify","default":false}},"type":"object","required":["product","day","hazard","product_label","valid_to"],"title":"OutlookAtPlaceOut"},"OutlookFeatureCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always `FeatureCollection`.","default":"FeatureCollection"},"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The server's clock when the response was built, UTC."},"outlook":{"$ref":"#/components/schemas/OutlookSummary","description":"The summary of the product these areas belong to."},"features":{"items":{"$ref":"#/components/schemas/Feature"},"type":"array","title":"Features","description":"The risk areas, lowest risk first, which is also the order to draw them. Empty when there is nothing to draw, which is a normal answer, not an error."}},"type":"object","required":["server_time","outlook","features"],"title":"OutlookFeatureCollection","description":"One product's risk areas, lowest first.\n\nOrdered so a renderer can draw them in sequence and get the right result\nwithout sorting: a Slight Risk area sits inside the General Thunderstorms\narea it is part of, and drawing them the other way round hides it.\n\n`stroke` and `fill` on each feature are SPC's own colors, carried through\nrather than replaced. The palette of a convective outlook is the product.\n\nThe hatched significant-severe area, where there is one, is the last feature\nand carries `significant: true`. It is a hatch over the probabilities rather\nthan another band of them, and filling it solid would read as a higher\nprobability than SPC issued.","examples":[{"features":[{"geometry":{"coordinates":[[[[-101.06,30.7],[-99.82,31.12],[-98.8,31.09],[-101.06,30.7]]]],"type":"MultiPolygon"},"properties":{"product":"day1-categorical","level":"TSTM","rank":2,"label":"General Thunderstorms Risk","stroke":"#55BB55","fill":"#C1E9C1","significant":false},"type":"Feature"}],"outlook":{"areas":1,"changed_at":"2026-11-09T16:20:25.151796Z","day":1,"expired":false,"fetched_at":"2026-11-09T19:03:05.075558Z","forecaster":"Mosier/Moore","hazard":"categorical","issued_at":"2026-11-09T16:09:00Z","label":"Day 1 categorical","note":"Today's severe risk in the five named categories, from General Thunderstorms through High. Valid to 12Z tomorrow.","product":"day1-categorical","stale":false,"valid_from":"2026-11-09T16:30:00Z","valid_to":"2026-11-10T12:00:00Z"},"server_time":"2026-11-09T19:06:50.484971Z","type":"FeatureCollection"}]},"OutlookHour":{"properties":{"valid_time":{"type":"string","format":"date-time","title":"Valid Time","description":"The hour the value is valid for, UTC."},"visibility_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Visibility M","description":"HRRR block minimum, m"},"category":{"type":"integer","title":"Category","description":"1 reduced (3 to 5 mi), 2 low (1 to 3 mi), 3 very_low (1/4 to 1 mi), 4 near_zero (under 1/4 mi). 0 normal (5 mi or more) where a value is needed."},"category_name":{"type":"string","title":"Category Name","description":"normal, reduced, low, very_low or near_zero.","examples":["normal"]}},"type":"object","required":["valid_time","category","category_name"],"title":"OutlookHour","description":"One forecast hour of HRRR visibility."},"OutlookIndex":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The server's clock when the response was built, UTC."},"outlooks":{"items":{"$ref":"#/components/schemas/OutlookSummary"},"type":"array","title":"Outlooks","description":"The map products, ordered by day and then hazard. A product that has never been fetched is absent."}},"type":"object","required":["server_time","outlooks"],"title":"OutlookIndex","description":"The map products SPC has issued, without geometry.","examples":[{"outlooks":[{"areas":1,"changed_at":"2026-11-09T16:20:25.151796Z","day":1,"expired":false,"fetched_at":"2026-11-09T19:03:05.075558Z","forecaster":"Mosier/Moore","hazard":"categorical","issued_at":"2026-11-09T16:09:00Z","label":"Day 1 categorical","note":"Today's severe risk in the five named categories, from General Thunderstorms through High. Valid to 12Z tomorrow.","product":"day1-categorical","stale":false,"valid_from":"2026-11-09T16:30:00Z","valid_to":"2026-11-10T12:00:00Z"},{"areas":0,"changed_at":"2026-11-09T16:20:25.151796Z","day":1,"empty_label":"Less Than 2% All Areas","expired":false,"fetched_at":"2026-11-09T19:03:05.075558Z","forecaster":"Gleason","hazard":"tornado","issued_at":"2026-11-09T16:09:00Z","label":"Day 1 tornado probability","note":"The chance of a tornado within 25 miles of a point, today. The hatched area is where 10% or more of those would be EF2 or stronger.","product":"day1-tornado","stale":false,"valid_from":"2026-11-09T16:30:00Z","valid_to":"2026-11-10T12:00:00Z"}],"server_time":"2026-11-09T19:06:41.749666Z"}]},"OutlookNoticeOut":{"properties":{"id":{"type":"integer","title":"Id"},"place_id":{"type":"integer","title":"Place Id"},"place_label":{"type":"string","title":"Place Label"},"product":{"type":"string","title":"Product"},"day":{"type":"integer","title":"Day"},"hazard":{"type":"string","title":"Hazard"},"level":{"type":"string","title":"Level"},"rank":{"type":"integer","title":"Rank"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"significant":{"type":"boolean","title":"Significant"},"upgrade":{"type":"boolean","title":"Upgrade"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"},"valid_to":{"type":"string","format":"date-time","title":"Valid To"},"valid_clock":{"type":"string","title":"Valid Clock"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"map_url":{"type":"string","title":"Map Url"},"current":{"type":"boolean","title":"Current"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","place_id","place_label","product","day","hazard","level","rank","label","significant","upgrade","issued_at","valid_to","valid_clock","title","body","map_url","current","created_at"],"title":"OutlookNoticeOut"},"OutlookPlaceOut":{"properties":{"place_id":{"type":"integer","title":"Place Id"},"place_label":{"type":"string","title":"Place Label"},"available":{"type":"boolean","title":"Available"},"products":{"items":{"$ref":"#/components/schemas/OutlookAtPlaceOut"},"type":"array","title":"Products"}},"type":"object","required":["place_id","place_label","available"],"title":"OutlookPlaceOut"},"OutlookPrefs":{"properties":{"days":{"items":{"type":"integer","enum":[1,2,3]},"type":"array","maxItems":3,"title":"Days"},"min_level":{"type":"string","enum":["TSTM","MRGL","SLGT","ENH","MDT","HIGH"],"title":"Min Level","default":"SLGT"},"tornado_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Tornado Min"},"hail_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Hail Min"},"wind_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Wind Min"},"extended_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Extended Min"},"fire_min":{"anyOf":[{"type":"string","enum":["ELEV","CRIT","EXTM"]},{"type":"null"}],"title":"Fire Min"},"dry_thunder_min":{"anyOf":[{"type":"string","enum":["IDRT","SDRT"]},{"type":"null"}],"title":"Dry Thunder Min"},"fire_extended_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Fire Extended Min"},"dry_thunder_extended_min":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Dry Thunder Extended Min"},"md":{"type":"boolean","title":"Md","default":false},"push":{"type":"boolean","title":"Push","default":true},"email":{"type":"boolean","title":"Email","default":false}},"type":"object","title":"OutlookPrefs","description":"SPC convective outlook notifications for one place.\n\nOff unless somebody turns it on: `days` empty and every hazard threshold\nNone sends nothing.\n\n`days` and `min_level` cover the categorical outlooks (Day 1, 2 and 3).\nThe three `*_min` fields are the Day 1 probability outlooks, in percent:\nthe place is told when it is inside an area at least that likely. They\nare independent of `days`, so somebody who only cares about a 10%\ntornado risk can have exactly that.\n\nThe rest of what SPC issues, each off when None (or false):\n`extended_min` is the Day 4 to 8 severe probability (SPC draws 15 and 30);\n`fire_min` and `dry_thunder_min` the Day 1 and 2 fire weather levels;\n`fire_extended_min` and `dry_thunder_extended_min` the Day 3 to 8 fire\nprobabilities; `md` any mesoscale discussion drawn over the place."},"OutlookStatusOut":{"properties":{"open":{"type":"boolean","title":"Open"}},"type":"object","required":["open"],"title":"OutlookStatusOut"},"OutlookSummary":{"properties":{"product":{"type":"string","title":"Product","description":"The slug to pass to `/outlooks/{product}/geojson`."},"day":{"type":"integer","title":"Day","description":"Which day the outlook is for, 1 to 8."},"hazard":{"type":"string","enum":["categorical","tornado","hail","wind","severe","fire","dry_thunder","md"],"title":"Hazard","description":"Which outlook this is: categorical, tornado, hail or wind on the map products; severe, fire, dry_thunder or md on the others."},"label":{"type":"string","title":"Label","description":"A short name for the outlook, e.g. 'Day 1 categorical'."},"note":{"type":"string","title":"Note","description":"What this outlook actually claims, in a sentence."},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When the forecaster published this version."},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From","description":"Start of the period the outlook is about, UTC."},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To","description":"End of the period the outlook is about. Day 1 runs to 12Z tomorrow whatever time it was issued, so this is not 'when it goes stale'."},"forecaster":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Forecaster","description":"The forecaster or forecasters, as SPC signs it."},"areas":{"type":"integer","title":"Areas","description":"Drawable risk areas. Zero is a normal, common answer."},"empty_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Empty Label","description":"SPC's own phrasing when there is nothing to draw, e.g. 'Less Than 5% All Areas'. Null when there are areas. Present with `areas` 0, it is the difference between no risk and no data."},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"When the poller last reached SPC for this."},"changed_at":{"type":"string","format":"date-time","title":"Changed At","description":"When the content last actually moved. Lags `fetched_at` by design."},"expired":{"type":"boolean","title":"Expired","description":"Whether `valid_to` is in the past. A map should say so rather than draw it silently."},"stale":{"type":"boolean","title":"Stale","description":"Whether the poller has failed to refresh this for longer than it should have. What is stored may still be correct; it is no longer confirmed."},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error","description":"Why the last poll failed, if it did. Null after a success."}},"type":"object","required":["product","day","hazard","label","note","valid_from","forecaster","areas","fetched_at","changed_at","expired","stale"],"title":"OutlookSummary","description":"One product, without its geometry.\n\nWhat a client builds its picker from, and what tells it whether a product is\nworth drawing before it pays for the polygons."},"PackOffer":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"held":{"type":"integer","title":"Held","default":0},"held_product_ids":{"items":{"type":"string"},"type":"array","title":"Held Product Ids"}},"type":"object","required":["eligible"],"title":"PackOffer","description":"The pack offer, with what the person already holds.\n\nA store cannot sell one product twice at once, so the stores sell several\npack products (`capacity_pack`, `capacity_pack_2`, ...). The app offers\nthe first one not in `held_product_ids`. `held` is the live pack count from\nevery source, a Stripe quantity included."},"ParticipantOut":{"properties":{"label":{"type":"string","title":"Label"},"role":{"type":"string","enum":["meteorologist","spotter"],"title":"Role"},"message_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Message Id"},"muted":{"type":"boolean","title":"Muted","default":false},"left":{"type":"boolean","title":"Left","default":false}},"type":"object","required":["label","role"],"title":"ParticipantOut"},"PastPoint":{"properties":{"at":{"type":"string","format":"date-time","title":"At","description":"When the storm was at this position, UTC."},"lat":{"type":"number","title":"Lat","description":"Latitude, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude, degrees east, -180 to 180."},"max_wind_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Wind Mph","description":"Maximum sustained wind in mph at that time, rounded to the nearest 5 mph."}},"type":"object","required":["at","lat","lon","max_wind_mph"],"title":"PastPoint","description":"One known position of the storm."},"PersonIn":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"}},"type":"object","required":["label"],"title":"PersonIn"},"PersonList":{"properties":{"people":{"items":{"$ref":"#/components/schemas/PersonOut"},"type":"array","title":"People"}},"type":"object","required":["people"],"title":"PersonList"},"PersonOut":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","label","created_at"],"title":"PersonOut"},"PhotoAccepted":{"properties":{"ref":{"type":"string","title":"Ref","description":"This photograph's reference, for withdrawing it."},"provenance":{"type":"string","title":"Provenance","description":"What the camera's own metadata says about the report: 'live', 'exif_matched', 'exif_missing' or 'contradicted'."},"state":{"type":"string","title":"State","description":"'quarantined' while nothing has examined it, which is every upload until a content screener is configured, or 'published' when one has allowed it."},"duplicate":{"type":"boolean","title":"Duplicate","description":"True when this file was already on the report, so nothing was added.","default":false},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"measurement":{"anyOf":[{"$ref":"#/components/schemas/PhotoMeasurement"},{"type":"null"}],"description":"The hail measurement overlay sent with the upload, if one was."}},"type":"object","required":["ref","provenance","state","width","height"],"title":"PhotoAccepted","description":"The answer to an upload.\n\nDeliberately without a URL. Whether a photograph is reachable depends on a\nscreener having allowed it, and with none configured the answer is always\nno. Handing back an address that does not work would invite every client\nto poll it, or worse to render it and show a broken image under somebody's\ntornado report. `state` says what happened; `GET .../photos` is where a URL\ncomes from once there is one."},"PhotoMeasurement":{"properties":{"reference":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Reference"},"stone":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Stone"}},"type":"object","required":["stone"],"title":"PhotoMeasurement","description":"Where on a hail photograph the size was measured.\n\nEach segment is two points `[x, y]`, as fractions from 0 to 1 of the\nupright image from its top left, so they land on the same spot of the\nserved copy whatever size it is drawn at. `reference` is the coin's\ndiameter or the span of ruler read against, and null for AR."},"PhotoRef":{"properties":{"ref":{"type":"string","title":"Ref"},"url":{"type":"string","title":"Url","description":"On the Cloudflare-proxied domain, never the S3 endpoint."},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"state":{"type":"string","title":"State"},"provenance":{"type":"string","title":"Provenance"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At","description":"What the camera's clock said, when it said anything. Not the report's time, and not to be rendered as if it were."},"measurement":{"anyOf":[{"$ref":"#/components/schemas/PhotoMeasurement"},{"type":"null"}],"description":"Where on the picture a hail size was measured, if it was."}},"type":"object","required":["ref","url","width","height","state","provenance"],"title":"PhotoRef","description":"A photograph that has cleared quarantine, and can be rendered."},"PlaceContactList":{"properties":{"place_id":{"type":"integer","title":"Place Id"},"contacts":{"items":{"$ref":"#/components/schemas/AttachedContactOut"},"type":"array","title":"Contacts"},"contacts_per_place":{"type":"integer","title":"Contacts Per Place"}},"type":"object","required":["place_id","contacts","contacts_per_place"],"title":"PlaceContactList"},"PlaceContactRule":{"properties":{"significances":{"anyOf":[{"items":{"type":"string","enum":["W","A","Y","S"]},"type":"array"},{"type":"null"}],"title":"Significances"},"phenomena":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Phenomena"},"muted_phenomena":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Muted Phenomena"}},"type":"object","title":"PlaceContactRule","description":"Which hazards are worth this channel, on this place.\n\nBoth fields default in opposite directions, deliberately.\n\n`significances` None means \"inherit the place\", which is what every\nattachment meant before rules existed.\n\n`phenomena` None means every hazard. An allow-list only ever exists because\nsomebody typed it, so \"call me for tornadoes and nothing else\" is\nexpressible without a product nobody listed going silently undelivered.\n\n`muted_phenomena` is the deny half, and it is what \"everything except\nmarine\" needs. It adds to whatever the place already mutes and is checked\nafter the allow-list, so a mute always wins - a channel can ask for less\nthan its place and never for more."},"PlaceThreat":{"properties":{"storm_id":{"type":"string","title":"Storm Id","description":"The storm's ATCF id, e.g. CP042026."},"name":{"type":"string","title":"Name","description":"The storm's name."},"in_cone":{"type":"boolean","title":"In Cone","description":"Whether the point is inside the storm's latest cone."},"closest_approach_mi":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closest Approach Mi","description":"The nearest the forecast track comes to the point, in statute miles (great circle). The line between forecast points is not itself a forecast."},"closest_approach_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closest Approach At","description":"When the forecast track is nearest the point, UTC."},"ts_wind_prob_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ts Wind Prob Pct","description":"Five-day chance of 34 kt (39 mph) winds at the point, the lower bound of NHC's band. Null when this storm is not credited with the point's probability: NHC publishes one grid for all storms, credited to the storm whose track comes closest, within 600 miles."},"hurricane_wind_prob_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hurricane Wind Prob Pct","description":"The same chance for 64 kt (74 mph) winds. Null when it is under 5 percent, NHC's lowest band, or the storm is not credited."},"earliest_ts_wind_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Earliest Ts Wind At","description":"Earliest reasonable arrival of 34 kt winds, rounded to the hour, UTC."},"in_watch_or_warning":{"anyOf":[{"type":"string","enum":["hurricane_warning","hurricane_watch","tropical_storm_warning","tropical_storm_watch"]},{"type":"null"}],"title":"In Watch Or Warning","description":"The highest coastal watch or warning within 60 km of the point. Any warning outranks any watch. Null for none."}},"type":"object","required":["storm_id","name","in_cone","closest_approach_at"],"title":"PlaceThreat","description":"One active storm that reaches a point."},"PlacefileKeyCreate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"}},"type":"object","title":"PlacefileKeyCreate"},"PlacefileKeyCreated":{"properties":{"id":{"type":"integer","title":"Id"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"key":{"type":"string","title":"Key"},"placefile_url":{"type":"string","title":"Placefile Url"}},"type":"object","required":["id","prefix","created_at","key","placefile_url"],"title":"PlacefileKeyCreated","description":"The only response that ever carries the clear key."},"PlacefileKeyOut":{"properties":{"id":{"type":"integer","title":"Id"},"prefix":{"type":"string","title":"Prefix"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","prefix","created_at"],"title":"PlacefileKeyOut"},"PlainError":{"properties":{"detail":{"type":"string","title":"Detail","description":"What went wrong, in a sentence.","examples":["No such storm."]}},"type":"object","required":["detail"],"title":"PlainError","description":"An error whose `detail` is a sentence."},"PlanState":{"properties":{"active":{"type":"boolean","title":"Active"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"will_renew":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Will Renew"},"in_trial":{"type":"boolean","title":"In Trial","default":false}},"type":"object","required":["active"],"title":"PlanState"},"PointAdvisory":{"properties":{"event":{"type":"string","title":"Event","description":"The advisory's name.","examples":["Dense Fog Advisory"]},"phenomena":{"type":"string","title":"Phenomena","description":"FG, MF, ZF or SM"},"office":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Office","description":"The NWS office that issued the advisory."},"expires":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires","description":"When the advisory expires, UTC."},"ends":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends","description":"When the event is expected to end, UTC."}},"type":"object","required":["event","phenomena"],"title":"PointAdvisory","description":"An NWS fog or smoke advisory in force at the point."},"PointArea":{"properties":{"category":{"type":"integer","title":"Category","description":"1 reduced (3 to 5 mi), 2 low (1 to 3 mi), 3 very_low (1/4 to 1 mi), 4 near_zero (under 1/4 mi). 0 normal (5 mi or more) where a value is needed."},"category_name":{"type":"string","title":"Category Name","description":"normal, reduced, low, very_low or near_zero.","examples":["very_low"]},"cause":{"anyOf":[{"type":"string","enum":["fog","marine_fog","smoke"]},{"type":"null"}],"title":"Cause","description":"Null when normal"},"confidence":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}],"title":"Confidence","description":"low, medium or high, by how many independent sources agree. Null when normal."},"sources":{"items":{"type":"string"},"type":"array","title":"Sources","description":"analysis, station, advisory, reports"},"reported":{"type":"boolean","title":"Reported","description":"Created by a cluster of 10 or more independent driver reports","default":false},"vis_m_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vis M Min","description":"Lowest analysed visibility in the area, m"}},"type":"object","required":["category","category_name"],"title":"PointArea","description":"The worst current area at a point, or category 0 normal."},"PointLocation":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Bare place name. Null when asked by lat and lon."},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"Disambiguated label such as 'Mobile, AL'. Null when asked by lat/lon."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Two-letter state. Null when asked by lat and lon."},"lat":{"type":"number","title":"Lat","description":"Latitude of the point, degrees."},"lon":{"type":"number","title":"Lon","description":"Longitude of the point, degrees."}},"type":"object","required":["lat","lon"],"title":"PointLocation","description":"The point the answer is for, named only when you asked by name or id."},"PointOutlook":{"properties":{"model":{"type":"string","const":"hrrr","title":"Model","description":"The forecast model. Always `hrrr`.","default":"hrrr"},"cycle":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cycle","description":"The model run the hours come from, UTC."},"cell_id":{"type":"integer","title":"Cell Id","description":"Identifier of the model grid cell the point falls in."},"resolution_km":{"type":"number","title":"Resolution Km","description":"Grid spacing of the model, km."},"hours":{"items":{"$ref":"#/components/schemas/OutlookHour"},"type":"array","title":"Hours","description":"Each hour from the one in progress, in order."}},"type":"object","required":["cell_id","resolution_km","hours"],"title":"PointOutlook","description":"HRRR surface visibility for the next 6 hours at the point."},"PointStation":{"properties":{"station_id":{"type":"string","title":"Station Id","description":"The station, prefixed with its source.","examples":["metar:KSFO"]},"source":{"type":"string","title":"Source","description":"metar (airport) or ndbc (buoy)"},"distance_km":{"type":"number","title":"Distance Km","description":"Distance from the point to the station, km."},"visibility_m":{"type":"number","title":"Visibility M","description":"The visibility the station reported, in metres."},"observed_at":{"type":"string","format":"date-time","title":"Observed At","description":"When the station made the observation, UTC."}},"type":"object","required":["station_id","source","distance_km","visibility_m","observed_at"],"title":"PointStation","description":"The nearest measuring station with a recent visibility."},"PopularPlacesResponse":{"properties":{"window_days":{"type":"integer","title":"Window Days","description":"How many days of searches the ranking covers"},"results":{"items":{"$ref":"#/components/schemas/LocationSuggestion"},"type":"array","title":"Results","description":"Most searched first. Empty until enough people have searched; a client should keep its own defaults for that case."}},"type":"object","required":["window_days","results"],"title":"PopularPlacesResponse","description":"The places most searched for a forecast recently.","examples":[{"results":[{"display_name":"Pensacola, FL","id":40512,"kind":"city","lat":30.4213,"lon":-87.2169,"name":"Pensacola","population":54312,"state":"FL","zoom":11}],"window_days":7}]},"PositionAccepted":{"properties":{"min_interval_seconds":{"type":"integer","title":"Min Interval Seconds"},"stale_after_seconds":{"type":"integer","title":"Stale After Seconds"}},"type":"object","required":["min_interval_seconds","stale_after_seconds"],"title":"PositionAccepted","description":"What the app needs to pace itself: how often it may send, and how long\na position stays on the map without another one."},"PositionUpdate":{"properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat"},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon"}},"type":"object","required":["lat","lon"],"title":"PositionUpdate","description":"POST /spotter/position. Where the app is, and nothing else.\n\nNo accuracy, heading or speed. None of them is published, so none of them\nis collected."},"Preferences":{"properties":{"units":{"anyOf":[{"type":"string","enum":["metric","us"]},{"type":"null"}],"title":"Units"}},"type":"object","title":"Preferences"},"PreferencesPatch":{"properties":{"units":{"anyOf":[{"type":"string","enum":["metric","us"]},{"type":"null"}],"title":"Units"}},"additionalProperties":false,"type":"object","title":"PreferencesPatch"},"ProfileHideRequest":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"ProfileHideRequest"},"PublicOrg":{"properties":{"name":{"type":"string","title":"Name"},"short_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Name"},"org_type":{"type":"string","title":"Org Type"}},"type":"object","required":["name","org_type"],"title":"PublicOrg"},"PublicReportItem":{"properties":{"ref":{"type":"string","title":"Ref"},"type":{"type":"string","title":"Type"},"magnitude_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude Value"},"magnitude_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Unit"},"magnitude_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Method"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks"},"place":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place"},"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"},"validation":{"type":"string","title":"Validation"},"forecaster_remarks":{"items":{"$ref":"#/components/schemas/ForecasterRemarkOut"},"type":"array","title":"Forecaster Remarks","default":[]},"vet_summary":{"$ref":"#/components/schemas/VetSummary","default":{"good":0,"invalid":0,"narrative":0}}},"type":"object","required":["ref","type","occurred_at","lat","lon","validation"],"title":"PublicReportItem"},"PublicReportPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicReportItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"PublicReportPage"},"PublicSocial":{"properties":{"platform":{"type":"string","title":"Platform"},"handle":{"type":"string","title":"Handle"},"url":{"type":"string","title":"Url"},"live":{"anyOf":[{"$ref":"#/components/schemas/LiveNow"},{"type":"null"}]},"last_live_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Live At"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"}},"type":"object","required":["platform","handle","url"],"title":"PublicSocial"},"PublicSpotterPosition":{"properties":{"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"},"last_seen":{"type":"string","format":"date-time","title":"Last Seen"},"handle":{"type":"string","title":"Handle"},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"}},"type":"object","required":["lat","lon","last_seen","handle"],"title":"PublicSpotterPosition","description":"One spotter on the public map.\n\nThis is the whole public shape, and every field in it is deliberate. There\nis no id of any kind: a stable id would let a reader follow one dot across\nsessions even after a handle change, and nothing on the map needs one.\n`lat` and `lon` are rounded to about 110 metres and `last_seen` is floored\nto five minutes; see services/spotter_positions.py."},"PublicSpotterProfile":{"properties":{"handle":{"type":"string","title":"Handle"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"},"member_since":{"type":"string","format":"date","title":"Member Since"},"orgs":{"items":{"$ref":"#/components/schemas/PublicOrg"},"type":"array","title":"Orgs"},"service_area":{"$ref":"#/components/schemas/ServiceArea"},"trust":{"$ref":"#/components/schemas/PublicTrust"},"stats":{"$ref":"#/components/schemas/PublicStats"},"social":{"items":{"$ref":"#/components/schemas/PublicSocial"},"type":"array","title":"Social"},"public":{"type":"boolean","title":"Public"},"is_owner":{"type":"boolean","title":"Is Owner"},"hidden_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hidden Reason"}},"type":"object","required":["handle","member_since","service_area","trust","stats","public","is_owner"],"title":"PublicSpotterProfile"},"PublicStats":{"properties":{"reports_filed":{"type":"integer","title":"Reports Filed"},"reports_this_year":{"type":"integer","title":"Reports This Year"},"verified_count":{"type":"integer","title":"Verified Count"},"verified_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Verified Pct"},"median_seconds_to_file":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Seconds To File"},"last_report_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Report At"}},"type":"object","required":["reports_filed","reports_this_year","verified_count"],"title":"PublicStats"},"PublicTrust":{"properties":{"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"rung":{"type":"integer","title":"Rung"},"rung_label":{"type":"string","title":"Rung Label"},"provisional":{"type":"boolean","title":"Provisional"},"score_version":{"type":"integer","title":"Score Version"}},"type":"object","required":["rung","rung_label","provisional","score_version"],"title":"PublicTrust"},"PushDeviceIn":{"properties":{"fcm_token":{"type":"string","maxLength":4096,"minLength":1,"title":"Fcm Token"},"platform":{"type":"string","enum":["android","ios"],"title":"Platform"},"app_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"App Version"},"enabled":{"type":"boolean","title":"Enabled","default":true},"prefs":{"$ref":"#/components/schemas/PushPrefs"}},"type":"object","required":["fcm_token","platform"],"title":"PushDeviceIn","description":"Registering an install, or re-registering it.\n\nSent on launch and whenever the token rotates, so it has to be an upsert."},"PushDeviceList":{"properties":{"devices":{"items":{"$ref":"#/components/schemas/PushDeviceOut"},"type":"array","title":"Devices"},"max_devices":{"type":"integer","title":"Max Devices"},"life_safety":{"additionalProperties":true,"type":"object","title":"Life Safety"},"life_safety_events":{"items":{"type":"string"},"type":"array","title":"Life Safety Events"}},"type":"object","required":["devices","max_devices"],"title":"PushDeviceList"},"PushDeviceOut":{"properties":{"device_id":{"type":"string","title":"Device Id"},"platform":{"type":"string","title":"Platform"},"enabled":{"type":"boolean","title":"Enabled"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"accuracy_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Accuracy M"},"position_reported_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Position Reported At"},"prefs":{"additionalProperties":true,"type":"object","title":"Prefs"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"position_is_fresh":{"type":"boolean","title":"Position Is Fresh","default":false}},"type":"object","required":["device_id","platform","enabled","app_version","lat","lon","accuracy_m","position_reported_at","prefs","created_at","updated_at"],"title":"PushDeviceOut"},"PushPositionIn":{"properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat"},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon"},"accuracy_m":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Accuracy M"},"course_deg":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Course Deg"},"speed_mps":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Speed Mps"},"fixed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Fixed At"}},"type":"object","required":["lat","lon"],"title":"PushPositionIn","description":"The cadence beacon.\n\nIts own endpoint rather than a field on the registration, because the two\nchange at completely different rates - preferences when somebody opens the\nsettings screen, position every few minutes - and one fat call would rewrite\nunchanged preferences all day and make the rate limit impossible to tune."},"PushPrefs":{"properties":{"significances":{"items":{"type":"string","enum":["W","A","Y","S"]},"type":"array","title":"Significances"},"muted_phenomena":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Muted Phenomena"},"critical_phenomena":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Critical Phenomena"},"quiet_start":{"anyOf":[{"type":"integer","exclusiveMaximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Quiet Start"},"quiet_end":{"anyOf":[{"type":"integer","exclusiveMaximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Quiet End"},"audible_phenomena":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Audible Phenomena"},"audible_significances":{"anyOf":[{"items":{"type":"string","enum":["W","A","Y","S"]},"type":"array"},{"type":"null"}],"title":"Audible Significances"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"storm_enabled":{"type":"boolean","title":"Storm Enabled","default":false},"storm_device":{"type":"boolean","title":"Storm Device","default":true},"storm_places":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Storm Places"},"sky_capable":{"type":"boolean","title":"Sky Capable","default":false},"outlook_capable":{"type":"boolean","title":"Outlook Capable","default":false},"storm_center_capable":{"type":"boolean","title":"Storm Center Capable","default":false}},"type":"object","title":"PushPrefs","description":"The client's filter, resolved to the narrow question the server asks.\n\nNot the settings screen. The app owns `shouldAnnounce()` - twelve hazard\nrows, per-place modes, levels, quiet hours - and re-implementing that here\nwould be a second copy of the rules, free to disagree with the one the user\ncan actually see. This is only what the dispatcher needs to decide whether a\nhandset is worth waking at all, and the app derives it from its own state.\n\nEverything is optional with a permissive default. A device that registers\nbefore its settings have loaded should get too much rather than nothing."},"QuestionIn":{"properties":{"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"},"prompt":{"anyOf":[{"type":"string","enum":["location","photo","time","still_visible"]},{"type":"null"}],"title":"Prompt"}},"type":"object","required":["body"],"title":"QuestionIn"},"RawHour":{"properties":{"valid_time":{"type":"string","format":"date-time","title":"Valid Time","description":"The time this hour is valid for, in UTC."},"forecast_hour":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Forecast Hour","description":"Hours from `cycle` to `valid_time`"},"cycle":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cycle","description":"The model run this hour came from. For NBM it can differ between hours: each valid time comes from the newest cycle that reached it."},"values":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Values","description":"Single-level fields, by name. Null means no value."},"levels":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Levels","description":"HRRR and RRFS: one entry per pressure in `levels_hpa`, bottom up. Levels below the surface stay in the list with `below_ground: true` and every value null, so index k is always the same pressure."}},"type":"object","required":["valid_time"],"title":"RawHour"},"RawPointResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"model":{"type":"string","enum":["nbm","hrrr","rrfs"],"title":"Model","description":"The model the data is from."},"location":{"additionalProperties":{"type":"number"},"type":"object","title":"Location","description":"The point that was asked about: `lat` and `lon`, degrees."},"grid_point":{"additionalProperties":true,"type":"object","title":"Grid Point","description":"The grid point the data was read from. HRRR and RRFS: `i`, `j`, `lat`, `lon` and `resolution_km`. NBM: the cell, with `cell_id` and `domain`."},"run":{"anyOf":[{"$ref":"#/components/schemas/RawRun"},{"type":"null"}],"description":"HRRR and RRFS: the newest usable run every hour came from"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields","description":"The fields included in every hour, as chosen or defaulted."},"unavailable_fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Unavailable Fields","description":"Fields asked for that this model does not publish at this point (NBM precipitation type outside CONUS and Alaska, for example). They are present and null in every hour."},"units":{"additionalProperties":{"type":"string"},"type":"object","title":"Units","description":"The unit of every field in the response, keyed by field name. SI throughout, with pressures in hPa."},"levels_hpa":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Levels Hpa","description":"HRRR and RRFS: the pressure of each entry in an hour's `levels`, bottom up, hPa. Absent for NBM."},"hours":{"items":{"$ref":"#/components/schemas/RawHour"},"type":"array","title":"Hours","description":"Only the hours asked for, and only those that exist. Read what came back rather than assuming a length."}},"type":"object","required":["server_time","model","location","grid_point","fields","units","hours"],"title":"RawPointResponse","examples":[{"fields":["temperature_2m","mucape","mslp","temperature"],"grid_point":{"i":901,"j":407,"lat":35.20763,"lon":-97.43979,"resolution_km":3.0},"hours":[{"cycle":"2026-11-11T21:00:00Z","forecast_hour":6,"levels":[{"below_ground":true,"pressure":1000.0},{"below_ground":false,"pressure":975.0,"temperature":285.1},{"below_ground":false,"pressure":500.0,"temperature":258.8}],"valid_time":"2026-11-12T03:00:00Z","values":{"mslp":1018.26,"mucape":0.0,"temperature_2m":287.3}}],"levels_hpa":[1000.0,975.0,500.0],"location":{"lat":35.22,"lon":-97.44},"model":"rrfs","run":{"complete":false,"cycle":"2026-11-11T21:00:00Z","hours_available":13,"hours_expected":19},"server_time":"2026-11-12T01:11:35Z","units":{"mslp":"hPa, mean sea level pressure","mucape":"J/kg, 255-0 hPa most unstable parcel","pressure":"hPa","temperature":"K","temperature_2m":"K"}}]},"RawRun":{"properties":{"cycle":{"type":"string","format":"date-time","title":"Cycle","description":"When the run started, in UTC."},"hours_available":{"type":"integer","title":"Hours Available","description":"Forecast hours of this run on disk at the time of the request."},"hours_expected":{"type":"integer","title":"Hours Expected","description":"Forecast hours this run should have: 19, or 49 for a long run, for HRRR."},"complete":{"type":"boolean","title":"Complete","description":"True when every hour this run should have is available."}},"type":"object","required":["cycle","hours_available","hours_expected","complete"],"title":"RawRun"},"Reason":{"properties":{"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"Reason"},"RefundIn":{"properties":{"amount_cents":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Cents"},"reason":{"anyOf":[{"type":"string","enum":["duplicate","fraudulent","requested_by_customer"]},{"type":"null"}],"title":"Reason"}},"type":"object","title":"RefundIn"},"RegisterInstance":{"properties":{"instance_id":{"anyOf":[{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"},{"type":"null"}],"title":"Instance Id"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},"type":"object","title":"RegisterInstance"},"ReplyIn":{"properties":{"question_id":{"type":"integer","title":"Question Id"},"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"},"photo_ref":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Photo Ref"}},"type":"object","required":["question_id","body"],"title":"ReplyIn"},"ReportAccepted":{"properties":{"ref":{"type":"string","title":"Ref"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"status":{"type":"string","title":"Status"},"visibility":{"type":"string","title":"Visibility"},"visibility_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason"},"visibility_reason_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason Label"},"late_submission":{"type":"boolean","title":"Late Submission","default":false},"radar_state":{"type":"string","title":"Radar State"},"event_lat":{"type":"number","title":"Event Lat"},"event_lon":{"type":"number","title":"Event Lon"},"distance_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Km"},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg"},"remarks_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Review"},"remarks_public":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Public"},"remarks_removed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Removed"},"content_flags":{"items":{"type":"string"},"type":"array","title":"Content Flags"}},"type":"object","required":["ref","occurred_at","submitted_at","status","visibility","radar_state","event_lat","event_lon"],"title":"ReportAccepted","description":"What a client gets back the moment a report lands.\n\n`visibility` is here because it can be `restricted` from the first instant\n- a casualty count, or a tornado from somebody no organization vouches for\n- and a spotter who has just filed during a tornado should be told at once\nthat it is not on the public map, rather than discovering it later."},"ReportBatch":{"properties":{"reports":{"items":{"$ref":"#/components/schemas/ReportSubmission"},"type":"array","maxItems":25,"minItems":1,"title":"Reports"}},"type":"object","required":["reports"],"title":"ReportBatch","description":"POST /spotter/reports/batch: a queue draining after reconnection.\n\nOne request rather than N, because a phone that has just found signal in a\nmoving vehicle may not keep it, and five sequential round trips is five\nchances to lose it halfway with no way to know which half landed."},"ReportDetail":{"properties":{"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"magnitude_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude Value"},"magnitude_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Unit"},"magnitude_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Method"},"magnitude_measurement":{"anyOf":[{"$ref":"#/components/schemas/MagnitudeMeasurement"},{"type":"null"}]},"on_ground":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"On Ground"},"damage_observed":{"type":"boolean","title":"Damage Observed","default":false},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"late_submission":{"type":"boolean","title":"Late Submission","default":false},"observer_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observer Handle"},"observer_callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observer Callsign"},"relay_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relay Org Name"},"report_mode":{"type":"string","title":"Report Mode"},"spotter_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spotter Lat"},"spotter_lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spotter Lon"},"event_lat":{"type":"number","title":"Event Lat"},"event_lon":{"type":"number","title":"Event Lon"},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg"},"distance_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Km"},"status":{"type":"string","title":"Status"},"reporter_trust":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reporter Trust"},"plausibility":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plausibility"},"confidence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confidence"},"radar_state":{"type":"string","title":"Radar State"},"forecaster_remarks":{"items":{"$ref":"#/components/schemas/ForecasterRemarkOut"},"type":"array","title":"Forecaster Remarks","default":[]},"vet_summary":{"$ref":"#/components/schemas/VetSummary","default":{"good":0,"invalid":0,"narrative":0}},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility"},"visibility_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason"},"visibility_reason_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Reason Label"},"remarks_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Review"},"remarks_public":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Public"},"remarks_removed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks Removed"},"supersedes_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supersedes Ref"},"superseded_by_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By Ref"},"retracted_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Retracted Reason"},"pin_disagreement_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pin Disagreement Km"},"device_clock_skew_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Device Clock Skew Seconds"},"validation":{"anyOf":[{"$ref":"#/components/schemas/ReportValidation"},{"type":"null"}]}},"type":"object","required":["ref","event_type","occurred_at","submitted_at","report_mode","event_lat","event_lon","status","radar_state"],"title":"ReportDetail","description":"A single report, with the parts only its own side gets to see."},"ReportSubmission":{"properties":{"event_type":{"type":"string","maxLength":24,"title":"Event Type"},"magnitude_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude Value"},"magnitude_method":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Magnitude Method"},"magnitude_measurement":{"anyOf":[{"$ref":"#/components/schemas/MagnitudeMeasurement"},{"type":"null"}]},"on_ground":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"On Ground"},"damage_observed":{"type":"boolean","title":"Damage Observed","default":false},"injuries":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Injuries"},"fatalities":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Fatalities"},"remarks":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Remarks"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"queued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Queued At"},"device_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Device Sent At"},"reporter_tz":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reporter Tz"},"submission_key":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Submission Key"},"spotter_lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Spotter Lat"},"spotter_lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Spotter Lon"},"spotter_accuracy_m":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Spotter Accuracy M"},"bearing_deg":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Bearing Deg"},"distance_km":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Distance Km"},"event_lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Event Lat"},"event_lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Event Lon"},"location_method":{"type":"string","maxLength":16,"title":"Location Method","default":"device_gps"},"source":{"type":"string","maxLength":8,"title":"Source","default":"mobile"},"relay_org_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Relay Org Id"},"observer_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Observer User Id"},"observer_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Observer Name"},"observer_callsign":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Observer Callsign"},"observer_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Observer Phone"},"observer_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Observer Email"}},"type":"object","required":["event_type","occurred_at"],"title":"ReportSubmission","description":"POST /spotter/reports.\n\nLocation arrives one of two ways and the model accepts either:\n\n* `bearing_deg` and `distance_km` from the spotter's own position, which is\n  the mobile case and what SKYWARN already trains. You cannot GPS a\n  tornado; you can say it is four miles southwest.\n* `event_lat` and `event_lon` from a pin dropped on the map, which is the\n  web case.\n\nWhichever arrives, the server derives the other and stores both.\n\nThe spotter's own position is optional in two cases, and only with a pin:\n\n* `map_pin`: a self report from a device with no GPS fix. The spotter puts\n  the event on the map, and that pin is the whole of the location.\n* `relayed`: an EOC operator filing what came in on the net, who knows\n  where the event is and often not where the spotter is standing.\n\nWithout a spotter position there is nothing to project a bearing from and\nnothing to measure one back to, so a vector without a position is refused\nand the stored bearing and distance stay null."},"ReportSummary":{"properties":{"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"magnitude_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude Value"},"magnitude_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Unit"},"magnitude_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Method"},"magnitude_measurement":{"anyOf":[{"$ref":"#/components/schemas/MagnitudeMeasurement"},{"type":"null"}]},"on_ground":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"On Ground"},"damage_observed":{"type":"boolean","title":"Damage Observed","default":false},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"late_submission":{"type":"boolean","title":"Late Submission","default":false},"observer_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observer Handle"},"observer_callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observer Callsign"},"relay_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relay Org Name"},"report_mode":{"type":"string","title":"Report Mode"},"spotter_lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spotter Lat"},"spotter_lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spotter Lon"},"event_lat":{"type":"number","title":"Event Lat"},"event_lon":{"type":"number","title":"Event Lon"},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg"},"distance_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Km"},"status":{"type":"string","title":"Status"},"reporter_trust":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reporter Trust"},"plausibility":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plausibility"},"confidence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confidence"},"radar_state":{"type":"string","title":"Radar State"},"forecaster_remarks":{"items":{"$ref":"#/components/schemas/ForecasterRemarkOut"},"type":"array","title":"Forecaster Remarks","default":[]},"vet_summary":{"$ref":"#/components/schemas/VetSummary","default":{"good":0,"invalid":0,"narrative":0}}},"type":"object","required":["ref","event_type","occurred_at","submitted_at","report_mode","event_lat","event_lon","status","radar_state"],"title":"ReportSummary","description":"One report as the map and the placefile see it.\n\nNo name, no email, no phone, and a callsign only when its owner chose to\nshow one. `observer_handle` is the identity that publishes."},"ReportValidation":{"properties":{"state":{"type":"string","title":"State"},"rating":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rating"},"survey_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Survey Date"},"distance_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance M"},"quality_controlled":{"type":"boolean","title":"Quality Controlled","default":false},"preliminary":{"type":"boolean","title":"Preliminary","default":true},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"}},"type":"object","required":["state"],"title":"ReportValidation","description":"What a damage survey later said about this report.\n\n⚠️ Separate from `plausibility` and never folded into it. The score says\nwhat could be told at the time; this says what turned out to be true. A\nreader needs both and they answer different questions.\n\nAlways **preliminary**. NOAA says so itself: the Damage Assessment Toolkit\nis quality-controlled but not official, and the official statistics are\nNCEI Storm Data. Any surface showing this has to say so."},"Response":{"properties":{"token":{"type":"string","title":"Token"},"choice_ids":{"items":{"type":"string"},"type":"array","title":"Choice Ids","default":[]}},"type":"object","required":["token"],"title":"Response","description":"One item's answer.\n\nA list for both kinds, with one entry for a 'single' item. Two shapes for\nthe same field is how a client ends up sending the wrong one to an older\ndeployment, and the exam is not so large that a scalar saves anything.\n\nAn empty list is not an answer. It means the candidate cleared what they\nhad picked, which the server stores as unanswered rather than as an\nanswer of nothing: \"never touched\" and \"touched and emptied\" have to be\none state or the answered count is wrong."},"Result":{"properties":{"attempt_id":{"type":"string","title":"Attempt Id"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"score_pct":{"type":"integer","title":"Score Pct"},"correct":{"type":"integer","title":"Correct"},"total":{"type":"integer","title":"Total"},"passed":{"type":"boolean","title":"Passed"},"passing_score":{"type":"integer","title":"Passing Score"},"breakdown":{"items":{"$ref":"#/components/schemas/ModuleScore"},"type":"array","title":"Breakdown","description":"Per module, in teaching order. Deliberately the most specific feedback given: which items were wrong, or what the right answers were, would turn three attempts into a guaranteed pass."},"attempts_used":{"type":"integer","title":"Attempts Used"},"attempts_remaining":{"type":"integer","title":"Attempts Remaining"},"cooldown_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cooldown Until"},"certified":{"type":"boolean","title":"Certified"},"certified_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified Until"},"state":{"type":"string","const":"submitted","title":"State","default":"submitted"}},"type":"object","required":["attempt_id","submitted_at","score_pct","correct","total","passed","passing_score","breakdown","attempts_used","attempts_remaining","certified"],"title":"Result"},"RetractionRequest":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"RetractionRequest"},"RosterEntry":{"properties":{"user_id":{"type":"integer","title":"User Id"},"handle":{"type":"string","title":"Handle"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"},"role":{"type":"string","title":"Role"}},"type":"object","required":["user_id","handle","role"],"title":"RosterEntry","description":"One person on an organization's roster, for relay autocomplete.\n\nWithin your own organization the name is the roster on the wall, so it is\nreturned. The callsign follows its owner's `show_callsign`, because ULS\nresolves it to a legal name and a street address either way."},"RunBlock":{"properties":{"resolution_km":{"type":"number","title":"Resolution Km","description":"Grid spacing for THIS model. NBM and HRRR differ, and a nowcast labeled with the forecast's resolution is a false claim."},"cycle":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cycle","description":"When the model run started, in UTC."},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds","description":"How long ago the model ran. Staleness lives here."},"steps":{"type":"integer","title":"Steps","description":"Number of forecast steps this model has for the point."},"first_valid":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Valid","description":"Valid time of the first step, in UTC."},"last_valid":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Valid","description":"Valid time of the last step, in UTC."},"horizon_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Horizon Hours","description":"Hours from now to the last valid time"}},"type":"object","required":["resolution_km","steps"],"title":"RunBlock"},"RundownPlace":{"properties":{"name":{"type":"string","title":"Name","description":"Place name"},"display_name":{"type":"string","title":"Display Name","description":"As the search box shows it: \"Pensacola, FL\""},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or territory code"},"county":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County","description":"County name"},"population":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Population","description":"Population, when known"},"lat":{"type":"number","title":"Lat","description":"Latitude, degrees north"},"lon":{"type":"number","title":"Lon","description":"Longitude, degrees east"},"minutes":{"type":"integer","title":"Minutes","description":"Minutes from the scan (`valid_time`) until the storm's leading edge reaches the place; 0 when the storm is already over it"},"eta":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Eta","description":"The same arrival as an absolute time"},"distance_km":{"type":"number","title":"Distance Km","description":"Distance down the track from the storm's center"},"turn":{"type":"boolean","title":"Turn","description":"Reached only by the turn lobe, the cone along the HRRR storm motion","default":false}},"type":"object","required":["name","display_name","state","county","population","lat","lon","minutes","distance_km"],"title":"RundownPlace","description":"A city or town inside the storm cell's cone, with its arrival time."},"RundownPoi":{"properties":{"kind":{"type":"string","title":"Kind","description":"school, college, hospital, nursing_home, assisted_living, mobile_home_park, venue, campground, airport, prison or shelter"},"name":{"type":"string","title":"Name","description":"Name of the facility"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"The town it is in, or the nearest one"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or territory code"},"lat":{"type":"number","title":"Lat","description":"Latitude, degrees north"},"lon":{"type":"number","title":"Lon","description":"Longitude, degrees east"},"minutes":{"type":"integer","title":"Minutes","description":"As on a place: minutes from `valid_time` to the leading edge"},"eta":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Eta","description":"The same arrival as an absolute time"},"distance_km":{"type":"number","title":"Distance Km","description":"Distance down the track from the storm's center"},"turn":{"type":"boolean","title":"Turn","description":"Reached only by the turn lobe, the cone along the HRRR storm motion","default":false}},"type":"object","required":["kind","name","lat","lon","minutes","distance_km"],"title":"RundownPoi","description":"A school, hospital, nursing home or other point of interest inside the\ncone, timed exactly as the towns are."},"SaveRequest":{"properties":{"responses":{"items":{"$ref":"#/components/schemas/Response"},"type":"array","title":"Responses","default":[]},"flags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Flags","description":"The complete flag set, not a delta. Null leaves flags alone."}},"type":"object","title":"SaveRequest"},"SaveResult":{"properties":{"saved":{"type":"integer","title":"Saved"},"seconds_remaining":{"type":"integer","title":"Seconds Remaining"},"server_time":{"type":"string","format":"date-time","title":"Server Time"}},"type":"object","required":["saved","seconds_remaining","server_time"],"title":"SaveResult"},"SavedPlaceIn":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat"},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"sms_significances":{"anyOf":[{"items":{"type":"string","enum":["W","A","Y","S"]},"type":"array"},{"type":"null"}],"title":"Sms Significances"},"muted_phenomena":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Muted Phenomena"},"sms_enabled":{"type":"boolean","title":"Sms Enabled","default":true},"sky":{"anyOf":[{"$ref":"#/components/schemas/SkyPrefs"},{"type":"null"}]},"outlook":{"anyOf":[{"$ref":"#/components/schemas/OutlookPrefs"},{"type":"null"}]},"tropical":{"anyOf":[{"type":"string","enum":["off","alert","silent"]},{"type":"null"}],"title":"Tropical"},"winter_impacts":{"anyOf":[{"type":"string","enum":["off","alert","silent"]},{"type":"null"}],"title":"Winter Impacts"},"lightning_radius_km":{"anyOf":[{"type":"integer","maximum":322.0,"minimum":1.0},{"type":"null"}],"title":"Lightning Radius Km"}},"type":"object","required":["label","lat","lon"],"title":"SavedPlaceIn"},"SavedPlaceList":{"properties":{"places":{"items":{"$ref":"#/components/schemas/SavedPlaceOut"},"type":"array","title":"Places"},"max_places":{"type":"integer","title":"Max Places"},"tier":{"type":"string","title":"Tier","default":"free"},"tier_label":{"type":"string","title":"Tier Label","default":"Free"},"sky_available":{"type":"boolean","title":"Sky Available","default":false},"outlook_available":{"type":"boolean","title":"Outlook Available","default":false},"life_safety":{"additionalProperties":true,"type":"object","title":"Life Safety"},"life_safety_events":{"items":{"type":"string"},"type":"array","title":"Life Safety Events"}},"type":"object","required":["places","max_places"],"title":"SavedPlaceList"},"SavedPlaceOut":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"sms_significances":{"items":{"type":"string"},"type":"array","title":"Sms Significances"},"muted_phenomena":{"items":{"type":"string"},"type":"array","title":"Muted Phenomena"},"sms_enabled":{"type":"boolean","title":"Sms Enabled"},"sky":{"$ref":"#/components/schemas/SkyPrefs"},"outlook":{"$ref":"#/components/schemas/OutlookPrefs"},"tropical":{"type":"string","enum":["off","alert","silent"],"title":"Tropical","default":"off"},"winter_impacts":{"type":"string","enum":["off","alert","silent"],"title":"Winter Impacts","default":"off"},"lightning_radius_km":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lightning Radius Km"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","label","lat","lon","display_name","sms_significances","sms_enabled","created_at"],"title":"SavedPlaceOut"},"ScopeInfo":{"properties":{"scope":{"type":"string","title":"Scope"},"description":{"type":"string","title":"Description"},"allowed":{"type":"boolean","title":"Allowed"}},"type":"object","required":["scope","description","allowed"],"title":"ScopeInfo"},"ServiceArea":{"properties":{"primary":{"items":{"$ref":"#/components/schemas/CountyRef"},"type":"array","title":"Primary"},"secondary":{"items":{"$ref":"#/components/schemas/CountyRef"},"type":"array","title":"Secondary"},"cwa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cwa"},"cwa_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cwa Name"},"geometry":{"additionalProperties":true,"type":"object","title":"Geometry"}},"type":"object","required":["geometry"],"title":"ServiceArea"},"SkyEvaluationOut":{"properties":{"kind":{"type":"string","title":"Kind","description":"`sunrise` or `sunset`."},"local_date":{"type":"string","title":"Local Date","description":"The date of the event at the point, YYYY-MM-DD."},"event_time":{"type":"string","format":"date-time","title":"Event Time","description":"The instant of the event, UTC."},"event_clock":{"type":"string","title":"Event Clock","description":"The same instant on the place's own clock, ready to show, e.g. '5:47 PM CST'."},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"The colour score from 0 to 100: whether the low sun will light up cloud from below. Null when the event could not be scored."},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"The colour score's category: poor (below 25), fair (25 to below 50), good (50 to below 75) or great (75 and up)."},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence","description":"`high`, `medium` or `low`, from the forecast source and its lead time."},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons","description":"Plain words for what made the colour score, best first."},"clear_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Clear Score","description":"The clear sun score from 0 to 100: whether the sun's own disc will be visible down to the horizon. A cloudless sky is its best case, which the colour score rates poor by design."},"clear_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clear Category","description":"The clear sun score's category, on the same scale as `category`."},"clear_reasons":{"items":{"type":"string"},"type":"array","title":"Clear Reasons","description":"Plain words for what made the clear sun score. Can be empty."},"id":{"type":"integer","title":"Id"},"place_id":{"type":"integer","title":"Place Id"},"place_label":{"type":"string","title":"Place Label"},"product":{"type":"string","title":"Product","default":"colour"},"qualified":{"type":"boolean","title":"Qualified"},"feedback":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Feedback"}},"type":"object","required":["kind","local_date","event_time","event_clock","score","category","confidence","id","place_id","place_label","qualified","feedback"],"title":"SkyEvaluationOut"},"SkyFeedbackIn":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"}},"type":"object","required":["rating"],"title":"SkyFeedbackIn"},"SkyNoEvent":{"properties":{"kind":{"type":"string","title":"Kind","description":"`sunrise` or `sunset`, whichever does not happen."},"local_date":{"type":"string","title":"Local Date","description":"The date at the point, YYYY-MM-DD."},"reason":{"type":"string","title":"Reason","description":"`polar_night` (the sun stays down) or `polar_day` (it stays up)."}},"type":"object","required":["kind","local_date","reason"],"title":"SkyNoEvent","description":"A day in the horizon with no sunrise or no sunset at all."},"SkyOutlookEvent":{"properties":{"kind":{"type":"string","title":"Kind","description":"`sunrise` or `sunset`."},"local_date":{"type":"string","title":"Local Date","description":"The date of the event at the point, YYYY-MM-DD."},"event_time":{"type":"string","format":"date-time","title":"Event Time","description":"The instant of the event, UTC."},"event_clock":{"type":"string","title":"Event Clock","description":"The same instant on the place's own clock, ready to show, e.g. '5:47 PM CST'."},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"The colour score from 0 to 100: whether the low sun will light up cloud from below. Null when the event could not be scored."},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"The colour score's category: poor (below 25), fair (25 to below 50), good (50 to below 75) or great (75 and up)."},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence","description":"`high`, `medium` or `low`, from the forecast source and its lead time."},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons","description":"Plain words for what made the colour score, best first."},"clear_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Clear Score","description":"The clear sun score from 0 to 100: whether the sun's own disc will be visible down to the horizon. A cloudless sky is its best case, which the colour score rates poor by design."},"clear_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clear Category","description":"The clear sun score's category, on the same scale as `category`."},"clear_reasons":{"items":{"type":"string"},"type":"array","title":"Clear Reasons","description":"Plain words for what made the clear sun score. Can be empty."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"`HRRR` or `NBM`, the model whose cloud the event was scored from."},"lead_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lead Hours","description":"Hours from that model's run to the event."},"best_colour":{"type":"boolean","title":"Best Colour","description":"True for the one event most worth going out for on the colour score, after weighting by confidence. At most one event is true, and none when nothing reaches fair.","default":false},"best_clear":{"type":"boolean","title":"Best Clear","description":"The same for the clear sun score. At most one event is true, and none when nothing reaches fair.","default":false}},"type":"object","required":["kind","local_date","event_time","event_clock","score","category","confidence"],"title":"SkyOutlookEvent"},"SkyOutlookOut":{"properties":{"available":{"type":"boolean","title":"Available","description":"False when the point is outside every forecast grid. The other fields are then null, empty or false, still with a 200."},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat","description":"Latitude of the center of the forecast cell that was scored, not the point asked about."},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon","description":"Longitude of the center of the forecast cell that was scored, not the point asked about."},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone","description":"The point's own IANA time zone."},"today":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Today","description":"Today's date at the point, YYYY-MM-DD, so a client elsewhere can say 'today' and 'tomorrow' by the place's calendar."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"The forecast domain: `co` (the lower 48 and the edges of Canada and Mexico), `ak`, `hi`, `pr` (with the Virgin Islands) or `gu` (with the Northern Marianas). Outside `co` there is only total cloud and no terrain, so confidence is medium at best."},"sky_alerts":{"type":"boolean","title":"Sky Alerts","description":"Whether wxalerts.org sends sunrise and sunset notifications for a place saved here. Hawaii and Guam are scored but not alerted.","default":false},"horizon_days":{"type":"integer","title":"Horizon Days","description":"How many days are covered: today and the next four, by the place's calendar.","default":5},"events":{"items":{"$ref":"#/components/schemas/SkyOutlookEvent"},"type":"array","title":"Events","description":"Every sunrise and sunset still ahead in the horizon, soonest first. One that has already happened today is not listed."},"no_events":{"items":{"$ref":"#/components/schemas/SkyNoEvent"},"type":"array","title":"No Events","description":"Days with no sunrise or no sunset at all, so a page can say so rather than leave a gap. Empty everywhere but the far north."}},"type":"object","required":["available"],"title":"SkyOutlookOut","examples":[{"available":true,"domain":"co","events":[{"best_clear":false,"best_colour":true,"category":"great","clear_category":"fair","clear_reasons":["cloud along the sun's path may hide it"],"clear_score":44.5,"confidence":"high","event_clock":"5:28 PM CST","event_time":"2026-11-09T23:28:41.527566Z","kind":"sunset","lead_hours":6.5,"local_date":"2026-11-09","reasons":["broken mid and high cloud to catch the colour","a clear horizon toward the sun"],"score":79.0,"source":"NBM"}],"horizon_days":5,"lat":35.208,"lon":-97.365,"no_events":[],"sky_alerts":true,"time_zone":"America/Chicago","today":"2026-11-09"}]},"SkyPrefs":{"properties":{"sunrise":{"type":"boolean","title":"Sunrise","default":false},"sunset":{"type":"boolean","title":"Sunset","default":false},"min_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Min Score","default":50},"push":{"type":"boolean","title":"Push","default":true},"email":{"type":"boolean","title":"Email","default":false},"product":{"anyOf":[{"type":"string","enum":["colour","clear","both"]},{"type":"null"}],"title":"Product"}},"type":"object","title":"SkyPrefs","description":"Sunrise and sunset notifications for one place.\n\nOff unless somebody turns it on. `min_score` is the lowest score worth a\nnotification: 50 is the bottom of Good and 75 of Great. `product` is which\nforecast it is judged on: `colour` (a colourful sky), `clear` (the sun's\nown disc visible down to the horizon) or `both` (either one). Always set\non the way out; on the way in, None leaves the stored choice alone, so a\nclient that predates it cannot reset it by omission."},"SkyPreviewOut":{"properties":{"place_id":{"type":"integer","title":"Place Id"},"place_label":{"type":"string","title":"Place Label"},"available":{"type":"boolean","title":"Available"},"events":{"items":{"$ref":"#/components/schemas/SkyScoreOut"},"type":"array","title":"Events"}},"type":"object","required":["place_id","place_label","available"],"title":"SkyPreviewOut"},"SkyScoreOut":{"properties":{"kind":{"type":"string","title":"Kind","description":"`sunrise` or `sunset`."},"local_date":{"type":"string","title":"Local Date","description":"The date of the event at the point, YYYY-MM-DD."},"event_time":{"type":"string","format":"date-time","title":"Event Time","description":"The instant of the event, UTC."},"event_clock":{"type":"string","title":"Event Clock","description":"The same instant on the place's own clock, ready to show, e.g. '5:47 PM CST'."},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"The colour score from 0 to 100: whether the low sun will light up cloud from below. Null when the event could not be scored."},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"The colour score's category: poor (below 25), fair (25 to below 50), good (50 to below 75) or great (75 and up)."},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence","description":"`high`, `medium` or `low`, from the forecast source and its lead time."},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons","description":"Plain words for what made the colour score, best first."},"clear_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Clear Score","description":"The clear sun score from 0 to 100: whether the sun's own disc will be visible down to the horizon. A cloudless sky is its best case, which the colour score rates poor by design."},"clear_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clear Category","description":"The clear sun score's category, on the same scale as `category`."},"clear_reasons":{"items":{"type":"string"},"type":"array","title":"Clear Reasons","description":"Plain words for what made the clear sun score. Can be empty."}},"type":"object","required":["kind","local_date","event_time","event_clock","score","category","confidence"],"title":"SkyScoreOut"},"SkyStatusOut":{"properties":{"open":{"type":"boolean","title":"Open"}},"type":"object","required":["open"],"title":"SkyStatusOut"},"SmsEnrollment":{"properties":{"status":{"type":"string","enum":["none","pending","active"],"title":"Status"},"phone_last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Last4"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"pending_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pending Expires At"},"eligible":{"type":"boolean","title":"Eligible","default":false},"required_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Required Tier"}},"type":"object","required":["status"],"title":"SmsEnrollment","description":"What the account page shows about a number.\n\nThe full number is never returned. Last four is enough for somebody to\nrecognize their own handset and useless to anyone who has taken a copy of\nthis response."},"SmsStartRequest":{"properties":{"phone":{"type":"string","maxLength":32,"title":"Phone","description":"As typed; punctuation is fine"},"consent_version":{"type":"string","maxLength":32,"title":"Consent Version"},"consent_text":{"type":"string","maxLength":2000,"title":"Consent Text"}},"type":"object","required":["phone","consent_version","consent_text"],"title":"SmsStartRequest"},"SmsVerifyRequest":{"properties":{"code":{"type":"string","maxLength":12,"title":"Code"}},"type":"object","required":["code"],"title":"SmsVerifyRequest"},"SocialLinkIn":{"properties":{"platform":{"type":"string","maxLength":16,"title":"Platform"},"url":{"type":"string","maxLength":2000,"title":"Url"}},"type":"object","required":["platform","url"],"title":"SocialLinkIn"},"SocialLinkOut":{"properties":{"platform":{"type":"string","title":"Platform"},"url":{"type":"string","title":"Url"},"handle":{"type":"string","title":"Handle"}},"type":"object","required":["platform","url","handle"],"title":"SocialLinkOut","description":"A stored link: the normalised URL, never the string that was pasted."},"SoundingGridPoint":{"properties":{"i":{"type":"integer","title":"I","description":"Column of the grid point, from the south-west corner"},"j":{"type":"integer","title":"J","description":"Row of the grid point, from the south-west corner"},"lat":{"type":"number","title":"Lat","description":"Latitude of the grid point (cell centre)"},"lon":{"type":"number","title":"Lon","description":"Longitude of the grid point (cell centre)"},"resolution_km":{"type":"number","title":"Resolution Km","description":"HRRR grid spacing, kilometers."}},"type":"object","required":["i","j","lat","lon","resolution_km"],"title":"SoundingGridPoint"},"SoundingHour":{"properties":{"valid_time":{"type":"string","format":"date-time","title":"Valid Time","description":"The time this hour is valid for, in UTC."},"forecast_hour":{"type":"integer","title":"Forecast Hour","description":"Hours from the run's cycle to `valid_time`."},"surface":{"$ref":"#/components/schemas/SoundingSurface","description":"Surface and near-surface values for this hour."},"levels":{"items":{"$ref":"#/components/schemas/SoundingLevel"},"type":"array","title":"Levels","description":"Bottom up, one entry per pressure in `levels_hpa`."}},"type":"object","required":["valid_time","forecast_hour","surface","levels"],"title":"SoundingHour"},"SoundingLevel":{"properties":{"pressure_hpa":{"type":"number","title":"Pressure Hpa","description":"Pressure of this level, hPa."},"below_ground":{"type":"boolean","title":"Below Ground","description":"True when this pressure is greater than the hour's surface pressure. HRRR fills such levels with values extrapolated below the terrain; they are not real air, so every value on the level is null. The level stays in the array so index k is always the same pressure."},"height_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height M","description":"Geopotential height, m"},"temperature_k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature K","description":"Air temperature, K."},"dewpoint_k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dewpoint K","description":"Dew point, K."},"u_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Ms","description":"Eastward wind, m/s. Earth-relative (rotated from HRRR's grid-relative components): u toward east, v toward north, direction the wind blows from in degrees true."},"v_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"V Ms","description":"Northward wind, m/s. Earth-relative (rotated from HRRR's grid-relative components): u toward east, v toward north, direction the wind blows from in degrees true."},"wind_speed_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Speed Ms","description":"Wind speed, m/s."},"wind_direction_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Direction Deg","description":"Direction the wind blows from, degrees true."}},"type":"object","required":["pressure_hpa","below_ground"],"title":"SoundingLevel"},"SoundingLocation":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Place name. Set only when the point was given as `q` or `location_id`."},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"Place name with its state. Same rule as `name`."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or region of the named place."},"lat":{"type":"number","title":"Lat","description":"Latitude that was asked about, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude that was asked about, degrees east."}},"type":"object","required":["lat","lon"],"title":"SoundingLocation"},"SoundingResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"location":{"$ref":"#/components/schemas/SoundingLocation","description":"The point that was asked about."},"grid_point":{"$ref":"#/components/schemas/SoundingGridPoint","description":"The HRRR 3 km grid cell the point fell in. The grid is not averaged."},"run":{"$ref":"#/components/schemas/SoundingRun","description":"The model run every hour came from."},"levels_hpa":{"items":{"type":"number"},"type":"array","title":"Levels Hpa","description":"Pressure of each entry in `levels`, bottom up"},"units":{"additionalProperties":{"type":"string"},"type":"object","title":"Units","description":"The unit of every field, keyed by field name. The same in every response."},"hours":{"items":{"$ref":"#/components/schemas/SoundingHour"},"type":"array","title":"Hours","description":"One entry per forecast hour on hand, in valid time order. Hours can arrive out of order, so read `forecast_hour` and `valid_time` rather than assuming one step per position."}},"type":"object","required":["server_time","location","grid_point","run","levels_hpa","units","hours"],"title":"SoundingResponse","examples":[{"grid_point":{"i":902,"j":407,"lat":35.2076,"lon":-97.40682,"resolution_km":3.0},"hours":[{"forecast_hour":0,"levels":[{"below_ground":true,"pressure_hpa":1000.0},{"below_ground":false,"dewpoint_k":283.1,"height_m":403.0,"pressure_hpa":975.0,"temperature_k":291.0,"u_ms":1.8,"v_ms":4.2,"wind_direction_deg":203.0,"wind_speed_ms":4.6}],"surface":{"dewpoint_2m_k":283.2,"pbl_height_m":785.0,"pressure_hpa":979.1,"temperature_2m_k":292.6,"u10_ms":1.4,"u80_ms":1.7,"v10_ms":3.9,"v80_ms":4.4,"wind_direction_10m_deg":200.0,"wind_direction_80m_deg":201.0,"wind_speed_10m_ms":4.1,"wind_speed_80m_ms":4.7},"valid_time":"2026-11-09T18:00:00Z"}],"levels_hpa":[1000.0,975.0],"location":{"lat":35.2,"lon":-97.4},"run":{"complete":false,"cycle":"2026-11-09T18:00:00Z","hours_available":9,"hours_expected":49,"model":"hrrr"},"server_time":"2026-11-09T19:08:10Z","units":{"height_m":"m (geopotential)","pressure_hpa":"hPa","temperature_k":"K"}}]},"SoundingRun":{"properties":{"model":{"type":"string","title":"Model","description":"The model the column comes from.","default":"hrrr"},"cycle":{"type":"string","format":"date-time","title":"Cycle","description":"When the run started, in UTC."},"hours_available":{"type":"integer","title":"Hours Available","description":"Forecast hours of this cycle on disk at the time of the request"},"hours_expected":{"type":"integer","title":"Hours Expected","description":"49 for 00/06/12/18Z cycles, 19 otherwise"},"complete":{"type":"boolean","title":"Complete","description":"True when every hour this cycle should have is available"}},"type":"object","required":["cycle","hours_available","hours_expected","complete"],"title":"SoundingRun"},"SoundingSurface":{"properties":{"temperature_2m_k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature 2M K","description":"2 m air temperature, K."},"dewpoint_2m_k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dewpoint 2M K","description":"2 m dew point, K."},"pressure_hpa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pressure Hpa","description":"Surface pressure, hPa"},"u10_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U10 Ms","description":"10 m eastward wind, m/s. Earth-relative (rotated from HRRR's grid-relative components): u toward east, v toward north, direction the wind blows from in degrees true."},"v10_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"V10 Ms","description":"10 m northward wind, m/s."},"wind_speed_10m_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Speed 10M Ms","description":"10 m wind speed, m/s."},"wind_direction_10m_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Direction 10M Deg","description":"10 m wind direction, degrees true, the direction it blows from."},"u80_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U80 Ms","description":"80 m eastward wind, m/s. Earth-relative (rotated from HRRR's grid-relative components): u toward east, v toward north, direction the wind blows from in degrees true."},"v80_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"V80 Ms","description":"80 m northward wind, m/s."},"wind_speed_80m_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Speed 80M Ms","description":"80 m wind speed, m/s."},"wind_direction_80m_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Direction 80M Deg","description":"80 m wind direction, degrees true, the direction it blows from."},"pbl_height_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pbl Height M","description":"Planetary boundary layer height above ground, m"}},"type":"object","title":"SoundingSurface"},"SpotApprove":{"properties":{"class_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Class Date"},"issuing_office":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Issuing Office"}},"type":"object","title":"SpotApprove","description":"Optional. A completion date (and office) the reviewer read off the\ncertificate themselves, when the reading missed or misread it. Either\none works the expiry out again under the office's rule."},"SpotterEligibility":{"properties":{"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle"},"can_submit":{"type":"boolean","title":"Can Submit"},"can_submit_web":{"type":"boolean","title":"Can Submit Web"},"can_relay":{"type":"boolean","title":"Can Relay"},"deny_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deny Reason"},"orgs":{"items":{"$ref":"#/components/schemas/SpotterOrgSummary"},"type":"array","title":"Orgs"},"profile_complete":{"type":"boolean","title":"Profile Complete"},"missing":{"items":{"type":"string"},"type":"array","title":"Missing"},"certified":{"type":"boolean","title":"Certified","default":false},"can_edit_profile":{"type":"boolean","title":"Can Edit Profile","default":false},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"},"callsign_verified":{"type":"boolean","title":"Callsign Verified","default":false},"share_location":{"type":"boolean","title":"Share Location","default":false}},"type":"object","required":["can_submit","can_submit_web","can_relay","profile_complete"],"title":"SpotterEligibility","description":"What this account may do, and why not when it may not.\n\nAnyone with a complete, unsuspended profile can file from the app and the\nweb alike, so `can_submit_web` now always equals `can_submit`; it is kept\nfor the clients that read it. `can_submit` is the profile standing only:\nsince 2026-11-07 a self report also needs a current spotter credential\n(`certified` here, `can_file` on GET /account/type), and without one the\nsubmit route answers 403 `spotter_required`.\n\n`can_relay` is the EOC grant (docs/spotter/eoc.md): a live grant in\n`auth.eoc_operators` on an EOC that may relay today. Membership of an EOC\norg no longer confers it. Exactly one entry of `orgs`, the EOC the grant\nnames, has `can_relay` true when it is.\n\n`deny_reason` is populated whenever filing would be refused (suspended, no\nprofile, an incomplete one)."},"SpotterOrgSummary":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"org_type":{"type":"string","title":"Org Type"},"role":{"type":"string","title":"Role"},"can_relay":{"type":"boolean","title":"Can Relay","default":false}},"type":"object","required":["id","slug","name","org_type","role"],"title":"SpotterOrgSummary","description":"One organization, as it appears in somebody's standing.\n\nNo contact details and no service area: this is what a client renders next\nto \"reporting on behalf of\", not the organization's record."},"SpotterProfileResponse":{"properties":{"handle":{"type":"string","title":"Handle"},"handle_change_allowed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Handle Change Allowed At"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"callsign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign"},"callsign_verified":{"type":"boolean","title":"Callsign Verified","default":false},"callsign_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callsign Source"},"callsign_grant_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Callsign Grant Date"},"show_callsign":{"type":"boolean","title":"Show Callsign","default":false},"discoverable":{"type":"boolean","title":"Discoverable","default":false},"share_location":{"type":"boolean","title":"Share Location","default":false},"photo_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo State"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"show_photo":{"type":"boolean","title":"Show Photo","default":false},"training_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Notes"},"has_home_point":{"type":"boolean","title":"Has Home Point","default":false},"suspended":{"type":"boolean","title":"Suspended","default":false},"editable":{"type":"boolean","title":"Editable","default":true},"public_profile":{"type":"boolean","title":"Public Profile","default":false},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"primary_counties":{"items":{"type":"string"},"type":"array","title":"Primary Counties"},"secondary_counties":{"items":{"type":"string"},"type":"array","title":"Secondary Counties"},"social_links":{"items":{"$ref":"#/components/schemas/SocialLinkOut"},"type":"array","title":"Social Links"},"hidden_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hidden Reason"}},"type":"object","required":["handle"],"title":"SpotterProfileResponse","description":"The profile, returned only to its owner.\n\nThis is the one shape in this module that carries name, email and phone,\nand it is reachable only through a route that has already resolved the\nsession to this user."},"SpotterProfileUpdate":{"properties":{"handle":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Handle"},"full_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Full Name"},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contact Phone"},"show_callsign":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Callsign"},"discoverable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Discoverable"},"share_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Share Location"},"show_photo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Photo"},"training_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Training Notes"},"home_lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Home Lat"},"home_lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Home Lon"},"public_profile":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public Profile"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"bio":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Bio"},"primary_counties":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Primary Counties"},"secondary_counties":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Secondary Counties"},"social_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/SocialLinkIn"},"type":"array","maxItems":20},{"type":"null"}],"title":"Social Links"}},"type":"object","title":"SpotterProfileUpdate","description":"PUT /spotter/profile. Every field optional; absent means unchanged.\n\nAbsent and null are deliberately different. A field left out is untouched;\na field sent as null is cleared. Without that distinction there is no way\nto remove a phone number once it has been given."},"SpotterRecord":{"properties":{"reports_filed":{"type":"integer","title":"Reports Filed"},"marked_good":{"type":"integer","title":"Marked Good"},"flags_upheld":{"type":"integer","title":"Flags Upheld"}},"type":"object","required":["reports_filed","marked_good","flags_upheld"],"title":"SpotterRecord","description":"GET /spotter/me/record: the signed-in spotter's own three numbers.\n\nOwner only, never on the public profile (whose `reports_filed` is a\ndifferent set: published, public, with them as the observer). Defined in\nservices/spotter_scoring_pass.own_record; documented for clients in\ndocs/spotter/scoring.md (\"The spotter's own record\")."},"Station":{"properties":{"station_id":{"type":"integer","title":"Station Id"},"device_id":{"type":"string","title":"Device Id"},"station_key":{"type":"string","title":"Station Key"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"alt_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alt M"},"wind_height_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Height M"},"selected":{"type":"boolean","title":"Selected"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"last_fields":{"items":{"type":"string"},"type":"array","title":"Last Fields"},"last_obs_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Obs At"},"relay_owner":{"type":"string","title":"Relay Owner"},"rssi_db":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rssi Db"},"snr_db":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Snr Db"},"battery_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Battery Ok"}},"type":"object","required":["station_id","device_id","station_key","name","model","alt_m","wind_height_m","selected","fields","last_fields","last_obs_at","relay_owner"],"title":"Station"},"StationCurrent":{"properties":{"station_id":{"type":"integer","title":"Station Id"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"bucket_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Bucket Start"},"age_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age S"},"stale":{"type":"boolean","title":"Stale","default":true},"interval_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval S"},"values":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object","title":"Values"},"aggregates":{"additionalProperties":{"$ref":"#/components/schemas/Aggregate"},"type":"object","title":"Aggregates"}},"type":"object","required":["station_id","observed_at","values"],"title":"StationCurrent"},"StationDetail":{"properties":{"station_id":{"type":"string","title":"Station Id","description":"Station id with its network in front, e.g. 'metar:KDTO'."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | fawn | pws"},"station_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Type","description":"The physical platform: land, coastal, buoy, platform, usv, dart, tao or other."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"`land` or `marine`: whether the station may speak for conditions ashore."},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network","description":"The roster's name for the program, e.g. ASOS/AWOS, CWOP, NOS/CO-OPS."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"From the station roster. Often null for CWOP."},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat","description":"Station latitude, degrees north."},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon","description":"Station longitude, degrees east."},"elevation_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Elevation M","description":"Station elevation above sea level, meters."},"trust_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trust Tier","description":"1 METAR/ASOS · 2 mesonet · 3 hosted PWS · 4 CWOP/APRS"},"position_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position Source","description":"Where the coordinates came from. A roster position ('madis', 'awc') outranks one parsed from a beacon ('aprs'), which is self-reported."},"first_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Seen At","description":"When this station first reported to the service, in UTC."},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At","description":"When this station last reported to the service, in UTC."},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At","description":"When the latest reading was taken, in UTC. Null if it has none."},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds","description":"How old the latest reading was when served. Null if it has none."},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw","description":"The latest raw METAR or APRS packet."},"latest":{"additionalProperties":true,"type":"object","title":"Latest","description":"Latest reading, converted. Only fields this station reports are present; an absent key means it has no such sensor."}},"type":"object","required":["station_id","source"],"title":"StationDetail"},"StationDetailResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"units":{"$ref":"#/components/schemas/ConditionsUnits","description":"The unit system and the unit of every field."},"station":{"$ref":"#/components/schemas/StationDetail","description":"The station and its latest reading."}},"type":"object","required":["server_time","units","station"],"title":"StationDetailResponse","description":"One station and its latest reading.","examples":[{"server_time":"2026-11-09T19:09:12Z","station":{"age_seconds":992,"elevation_m":199.0,"first_seen_at":"2026-08-31T13:55:55Z","last_seen_at":"2026-11-09T19:09:11Z","lat":33.2088,"latest":{"cloud":[{"base_ft_agl":3900.0,"cover":"BKN"}],"dewpoint":55.0,"flight_category":"VFR","pressure_altimeter":30.2,"pressure_sea_level":30.18,"relative_humidity":65.6,"temperature":66.9,"visibility":10.0,"wind_direction":170.0,"wind_speed":3.5},"lon":-97.1992,"name":"Denton Muni, TX","network":"ASOS/AWOS","observed_at":"2026-11-09T18:53:00Z","position_source":"awc","raw":"METAR KDTO 091853Z AUTO 17003KT 10SM BKN039 19/13 A3020 RMK AO2 SLP221 T01940128","source":"metar","station_id":"metar:KDTO","trust_tier":1},"units":{"fields":{"pressure_altimeter":{"description":"Altimeter setting, as reported in a METAR.","label":"inHg","unit":"inHg"},"temperature":{"description":"Air temperature.","label":"°F","unit":"F"}},"source":"explicit","system":"us"}}]},"StationHistoryResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"station_id":{"type":"string","title":"Station Id","description":"The station these readings are from."},"hours":{"type":"integer","title":"Hours","description":"The window that was asked for, in hours back from now."},"count":{"type":"integer","title":"Count","description":"Number of samples returned."},"units":{"$ref":"#/components/schemas/ConditionsUnits","description":"The unit system and the unit of every field."},"samples":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Samples","description":"Oldest first. Each carries `observed_at` and only the fields that reading had. When the window holds more than `limit` readings, the newest are kept."}},"type":"object","required":["server_time","station_id","hours","count","units","samples"],"title":"StationHistoryResponse","description":"One station's recent readings, oldest first.","examples":[{"count":2,"hours":3,"samples":[{"cloud":[{"base_ft_agl":4500.0,"cover":"OVC"}],"dewpoint":55.9,"flight_category":"VFR","observed_at":"2026-11-09T16:53:00Z","pressure_altimeter":30.25,"pressure_sea_level":30.24,"relative_humidity":83.5,"temperature":61.0,"visibility":10.0,"wind_direction":0.0,"wind_speed":0.0},{"dewpoint":57.0,"observed_at":"2026-11-09T17:53:00Z","temperature":64.4,"wind_direction":170.0,"wind_speed":2.3}],"server_time":"2026-11-09T19:09:41Z","station_id":"metar:KDTO","units":{"fields":{"pressure_altimeter":{"description":"Altimeter setting, as reported in a METAR.","label":"inHg","unit":"inHg"},"temperature":{"description":"Air temperature.","label":"°F","unit":"F"}},"source":"explicit","system":"us"}}]},"StationPut":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"alt_m":{"anyOf":[{"type":"number","maximum":9000.0,"minimum":-500.0},{"type":"null"}],"title":"Alt M"},"wind_height_m":{"anyOf":[{"type":"number","maximum":500.0,"minimum":0.0},{"type":"null"}],"title":"Wind Height M"},"selected":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Selected"},"fields":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}],"title":"Fields"}},"additionalProperties":false,"type":"object","title":"StationPut","description":"The fields to set; one that is left out is unchanged."},"StationSummary":{"properties":{"station_id":{"type":"string","title":"Station Id","description":"Station id with its network in front, e.g. 'metar:KLUD' or 'cwop:GW4373'."},"source":{"type":"string","title":"Source","description":"The feed the station reports through: metar | aprs | ndbc | fawn | pws"},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network","description":"The roster's name for the program, finer than `source`: ASOS/AWOS, CWOP, APRSWXNET, NOS/CO-OPS, IOOS Partners and so on."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"From the station roster. Often null for CWOP."},"lat":{"type":"number","title":"Lat","description":"Station latitude, degrees north."},"lon":{"type":"number","title":"Lon","description":"Station longitude, degrees east."},"elevation_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Elevation M","description":"Station elevation above sea level, meters."},"trust_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trust Tier","description":"1 METAR/ASOS · 2 mesonet · 3 hosted PWS · 4 CWOP/APRS"},"station_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Station Type","description":"The physical platform, which `source` does not tell you: land, coastal, buoy, platform, usv, dart, tao or other."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"`land` or `marine`: whether the station may speak for conditions ashore. The one thing a map layer needs to decide whether to draw it."},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At","description":"When the station reported, in UTC."},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds","description":"How old the reading was when served. Null if it has never reported."},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature","description":"Air temperature, in the response's units."},"dewpoint":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dewpoint","description":"Dew point, in the response's units."},"relative_humidity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Relative Humidity","description":"Relative humidity, percent."},"wind_direction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Direction","description":"Direction the wind blows from, degrees true."},"wind_speed":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Speed","description":"Sustained wind speed, in the response's units."},"wind_gust":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wind Gust","description":"Peak gust, in the response's units."},"pressure_sea_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pressure Sea Level","description":"Pressure reduced to sea level, in the response's units."},"precip_1h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Precip 1H","description":"Precipitation over the last hour, in the response's units."},"water_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Water Temperature","description":"Water temperature near the surface. Null ashore."},"wave_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wave Height","description":"Significant wave height, in the response's units. Null ashore."},"wave_period_dominant":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wave Period Dominant","description":"Dominant wave period, seconds. Null ashore."},"wave_direction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wave Direction","description":"Direction the dominant waves come from, degrees true. Null ashore."},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw","description":"The station's own report: a raw METAR or APRS packet."},"withheld":{"items":{"type":"string"},"type":"array","title":"Withheld","description":"Fields this station reported that disagreed with its neighbors badly enough to be withheld. Each is set to null above. Empty when nothing was refused."}},"type":"object","required":["station_id","source","lat","lon"],"title":"StationSummary","description":"A station on a map: where it is, and enough of a reading to label it."},"Stations":{"properties":{"stations":{"items":{"$ref":"#/components/schemas/Station"},"type":"array","title":"Stations"}},"type":"object","required":["stations"],"title":"Stations"},"StationsResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"count":{"type":"integer","title":"Count","description":"Number of stations in `stations`."},"truncated":{"type":"boolean","title":"Truncated","description":"The viewport holds more reporting stations than the limit returned. Zoom in rather than assuming this is all of them."},"units":{"$ref":"#/components/schemas/ConditionsUnits","description":"The unit system and the unit of every field."},"stations":{"items":{"$ref":"#/components/schemas/StationSummary"},"type":"array","title":"Stations","description":"Stations in the box, airfields and buoys first, then the most recent. With `detail=minimal` each row carries only a few keys."}},"type":"object","required":["server_time","count","truncated","units","stations"],"title":"StationsResponse","description":"The stations in a viewport.","examples":[{"count":1,"server_time":"2026-11-09T19:10:02Z","stations":[{"age_seconds":927,"dewpoint":53.6,"domain":"land","elevation_m":319.0,"lat":33.2568,"lon":-97.5826,"name":"Decatur Muni, TX","network":"ASOS/AWOS","observed_at":"2026-11-09T18:55:00Z","raw":"METAR KLUD 091855Z AUTO 19004KT 10SM FEW029 FEW036 FEW100 19/12 A3020 RMK AO2","relative_humidity":63.8,"source":"metar","station_id":"metar:KLUD","station_type":"land","temperature":66.2,"trust_tier":1,"wind_direction":190.0,"wind_speed":4.6,"withheld":[]}],"truncated":true,"units":{"fields":{"pressure_altimeter":{"description":"Altimeter setting, as reported in a METAR.","label":"inHg","unit":"inHg"},"temperature":{"description":"Air temperature.","label":"°F","unit":"F"}},"source":"explicit","system":"us"}}]},"Status":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time"},"attempt":{"anyOf":[{"$ref":"#/components/schemas/OpenAttempt"},{"type":"null"}]},"attempts_used":{"type":"integer","title":"Attempts Used"},"attempts_remaining":{"type":"integer","title":"Attempts Remaining"},"attempt_limit":{"type":"integer","title":"Attempt Limit"},"cooldown_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cooldown Until"},"certified":{"type":"boolean","title":"Certified"},"certified_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified Until"},"may_start":{"type":"boolean","title":"May Start"},"reason":{"anyOf":[{"type":"string","enum":["cooldown","exhausted"]},{"type":"null"}],"title":"Reason"}},"type":"object","required":["server_time","attempts_used","attempts_remaining","attempt_limit","certified","may_start"],"title":"Status","description":"Where one candidate stands, without dealing them anything."},"StoreSubscriptionOut":{"properties":{"entitlement":{"type":"string","title":"Entitlement"},"source":{"type":"string","title":"Source"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"will_renew":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Will Renew"},"in_trial":{"type":"boolean","title":"In Trial"}},"type":"object","required":["entitlement","source","product_id","status","expires_at","will_renew","in_trial"],"title":"StoreSubscriptionOut"},"StormCollection":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the server built this response, in UTC."},"feed_valid_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Feed Valid Time","description":"Newest scan ingested. Null means nothing has been ingested yet."},"feed_age_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Feed Age Seconds","description":"Seconds between the newest scan's valid time and now. 100 to 220 is normal. A much larger number means the feed has stopped."},"storms":{"items":{"$ref":"#/components/schemas/wxalerts_api__schemas__storms__StormSummary"},"type":"array","title":"Storms","description":"Active storms, ordered by ProbTor then ProbSevere, highest first."}},"type":"object","required":["server_time","feed_age_seconds","storms"],"title":"StormCollection","description":"Every active storm, without geometry, with the freshness of the feed.","examples":[{"feed_age_seconds":166.645814,"feed_valid_time":"2026-11-09T19:04:34Z","server_time":"2026-11-09T19:07:20.745325Z","storms":[{"alerted":false,"alerted_at":"2026-11-09T18:41:34Z","along_track_km":38.771297454833984,"bearing_deg":48.74721145629883,"cone_speed_kmh":24.379592895507812,"cross_track_km":55.9759635925293,"feed_ids":[81531],"first_seen":"2026-11-09T17:32:36Z","id":297397,"last_seen":"2026-11-09T19:04:34Z","lat":25.585429,"lon":-96.922616,"peak_prob_severe":6,"peak_prob_tor":1,"prob_hail":0,"prob_severe":3,"prob_tor":1,"prob_wind":1,"scan_count":47,"speed_kmh":20.236125946044922,"steer_u_kmh":6.4435505867004395,"steer_v_kmh":27.785707473754883,"valid_time":"2026-11-09T19:04:34Z"}]}]},"StormFeatureCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always `FeatureCollection`.","default":"FeatureCollection"},"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the server built this response, in UTC."},"feed_valid_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Feed Valid Time","description":"Newest scan ingested. Null means nothing has been ingested yet."},"feed_age_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Feed Age Seconds","description":"Seconds between the newest scan's valid time and now. 100 to 220 is normal."},"lead_minutes":{"type":"integer","title":"Lead Minutes","description":"The cone lead time requested, in minutes."},"profile":{"type":"string","title":"Profile","description":"The cone profile requested: `wide` or `tight`."},"features":{"items":{"$ref":"#/components/schemas/Feature"},"type":"array","title":"Features","description":"Features in draw order: cones first, then cells, then couplets with their cones, lines and tracks, then the cell forecast lines and tracks."}},"type":"object","required":["server_time","feed_valid_time","feed_age_seconds","lead_minutes","profile","features"],"title":"StormFeatureCollection","description":"Cells, tracks, forecast lines and cones in one collection.\n\nOne request rather than four: a map layer redraws all of it together, and\nfour round trips per pan is four chances to show a cone belonging to a\nstorm whose cell has already moved. Every feature carries `kind`.\n\n`track` is where the storm has been; `forecast-track` is where its fitted\nmotion puts it next, down the middle of the `cone` that carries the spread\naround that line. The couplet kinds are the same four for a rotation.","examples":[{"features":[{"geometry":{"coordinates":[[[-96.98,25.87],[-96.92,25.87],[-96.92,25.81],[-96.98,25.87]]],"type":"Polygon"},"properties":{"kind":"cell","storm_id":297397,"prob_tor":1,"prob_severe":3,"prob_hail":0,"prob_wind":1,"peak_prob_tor":1,"peak_prob_severe":6,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"alerted":false,"alerted_at":"2026-11-09T18:41:34Z","valid_time":"2026-11-09T19:04:34Z","first_seen":"2026-11-09T17:32:36Z","scan_count":47,"feed_ids":[81531],"lon":-96.922616,"lat":25.585429},"type":"Feature"},{"geometry":{"coordinates":[[-96.92262,25.58543],[-96.87691,25.62156],[-96.83118,25.65769],[-96.78543,25.69379]],"type":"LineString"},"properties":{"kind":"forecast-track","storm_id":297397,"lead_minutes":45,"speed_kmh":20.2,"cone_speed_kmh":24.4,"bearing_deg":49,"ticks":[{"at":"2026-11-09T19:19:34Z","lat":25.62156,"lon":-96.87691,"minutes":15},{"at":"2026-11-09T19:34:34Z","lat":25.65769,"lon":-96.83118,"minutes":30},{"at":"2026-11-09T19:49:34Z","lat":25.69379,"lon":-96.78543,"minutes":45}],"prob_tor":1,"prob_severe":3,"alerted":false},"type":"Feature"}],"feed_age_seconds":172.44656,"feed_valid_time":"2026-11-09T19:04:34Z","lead_minutes":45,"profile":"tight","server_time":"2026-11-09T19:07:28.027599Z","type":"FeatureCollection"}]},"StormLinks":{"properties":{"advisory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory","description":"NHC public advisory (TCP) URL."},"discussion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discussion","description":"NHC forecast discussion (TCD) URL."},"graphics":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graphics","description":"NHC's graphics page for the storm."}},"type":"object","title":"StormLinks","description":"Where to read NHC's own products for the storm. Any can be null."},"StormModels":{"properties":{"storm_id":{"type":"string","title":"Storm Id","description":"The storm's ATCF id."},"cycle":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cycle","description":"The synoptic time the guidance was run from, UTC. Null when none is stored yet."},"models":{"items":{"$ref":"#/components/schemas/ModelTrack"},"type":"array","title":"Models","description":"The model tracks, consensus first. A model with no track this cycle is left out. Empty when there is no guidance yet."}},"type":"object","required":["storm_id","cycle"],"title":"StormModels","description":"The model guidance NHC publishes for a storm at the newest cycle stored.","examples":[{"cycle":"2026-11-09T18:00:00Z","models":[{"aid":"AVNI","id":"gfs","label":"GFS","points":[{"lat":11.4,"lon":-160.0,"tau":0,"vmax_kt":35},{"lat":16.0,"lon":161.7,"tau":168,"vmax_kt":18}]},{"aid":"HFAI","id":"hafs_a","label":"HAFS-A","points":[{"lat":11.4,"lon":-160.0,"tau":0,"vmax_kt":35},{"lat":11.5,"lon":-162.4,"tau":12,"vmax_kt":36}]}],"storm_id":"CP042026"}]},"StormTrack":{"properties":{"storm_id":{"type":"integer","title":"Storm Id","description":"The storm's WxAlerts id."},"points":{"items":{"$ref":"#/components/schemas/TrackPoint"},"type":"array","title":"Points","description":"One point per scan in the window, oldest first, across every ProbSevere ID the storm has worn. Empty for an unknown id or a storm that ended before the window."},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"LineString through the centroids, oldest first. Null until there are two points."}},"type":"object","required":["storm_id","points"],"title":"StormTrack","description":"Where one storm has been, oldest scan first.","examples":[{"geometry":{"coordinates":[[-96.927201,25.479222],[-96.922616,25.585429]],"type":"LineString"},"points":[{"bearing_deg":48.74721145629883,"feed_id":81531,"jumped":true,"lat":25.479222,"lon":-96.927201,"prob_hail":0,"prob_severe":2,"prob_tor":0,"prob_wind":0,"speed_kmh":20.236125946044922,"valid_time":"2026-11-09T19:02:37Z"},{"bearing_deg":48.74721145629883,"feed_id":81531,"jumped":false,"lat":25.585429,"lon":-96.922616,"prob_hail":0,"prob_severe":3,"prob_tor":1,"prob_wind":1,"speed_kmh":20.236125946044922,"valid_time":"2026-11-09T19:04:34Z"}],"storm_id":297397}]},"SummaryStats":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"The database clock"},"alerts":{"$ref":"#/components/schemas/AlertStats","description":"Counts of the alerts in effect now"},"lightning":{"$ref":"#/components/schemas/LightningStats","description":"The GLM flash window and its rate"}},"type":"object","required":["server_time","alerts","lightning"],"title":"SummaryStats","description":"Active alert counts and the GLM lightning window.","examples":[{"alerts":{"active":370,"with_geometry":370},"lightning":{"covers_full_day":true,"flashes":1214878,"rate_per_minute":834.0,"retention_hours":24.0,"window_end":"2026-11-09T19:46:39.319450Z","window_seconds":87399,"window_start":"2026-11-08T19:30:00.010682Z"},"server_time":"2026-11-09T19:07:18.638865Z"}]},"SupportStats":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time"},"active_supporters":{"type":"integer","title":"Active Supporters","description":"Recurring gifts currently in good standing"},"goal_supporters":{"type":"integer","title":"Goal Supporters"},"monthly_cents":{"type":"integer","title":"Monthly Cents","description":"Recurring gifts per month, fee cover excluded"},"monthly_cost_cents":{"type":"integer","title":"Monthly Cost Cents","description":"What the infrastructure actually costs"},"percent_covered":{"type":"number","title":"Percent Covered","description":"monthly_cents as a percentage of monthly_cost_cents, capped at 100"},"one_time_last_30d_cents":{"type":"integer","title":"One Time Last 30D Cents","description":"One-time gifts in the last 30 days. Reported separately because they are not recurring revenue and must not be shown as covering a monthly bill."}},"type":"object","required":["server_time","active_supporters","goal_supporters","monthly_cents","monthly_cost_cents","percent_covered","one_time_last_30d_cents"],"title":"SupportStats","description":"Figures behind the support page's progress bar."},"SyncOut":{"properties":{"app_user_id":{"type":"string","title":"App User Id"},"plan":{"$ref":"#/components/schemas/PlanState"},"capacity_packs":{"type":"integer","title":"Capacity Packs"},"capacity_pack":{"$ref":"#/components/schemas/PackOffer"},"subscriptions":{"items":{"$ref":"#/components/schemas/StoreSubscriptionOut"},"type":"array","title":"Subscriptions"},"limits":{"$ref":"#/components/schemas/LimitsOut"}},"type":"object","required":["app_user_id","plan","capacity_packs","capacity_pack","subscriptions","limits"],"title":"SyncOut"},"ThreadListItem":{"properties":{"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"spotter_label":{"type":"string","title":"Spotter Label"},"state":{"type":"string","enum":["open","closed"],"title":"State"},"my_open_question_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"My Open Question Id"},"unread":{"type":"integer","title":"Unread","default":0},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At"}},"type":"object","required":["ref","event_type","occurred_at","spotter_label","state","last_activity_at"],"title":"ThreadListItem"},"ThreadView":{"properties":{"ref":{"type":"string","title":"Ref"},"state":{"type":"string","enum":["open","closed"],"title":"State"},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At"},"participants":{"items":{"$ref":"#/components/schemas/ParticipantOut"},"type":"array","title":"Participants"},"messages":{"items":{"$ref":"#/components/schemas/MessageOut"},"type":"array","title":"Messages"},"answerable_question_ids":{"items":{"type":"integer"},"type":"array","title":"Answerable Question Ids","default":[]},"can_ask":{"type":"boolean","title":"Can Ask","default":false},"my_open_question_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"My Open Question Id"},"unread":{"type":"integer","title":"Unread","default":0}},"type":"object","required":["ref","state","opened_at","last_activity_at","participants","messages"],"title":"ThreadView"},"TrackPoint":{"properties":{"valid_time":{"type":"string","format":"date-time","title":"Valid Time","description":"The scan this position comes from, in UTC."},"lon":{"type":"number","title":"Lon","description":"Longitude of the centroid, in degrees east."},"lat":{"type":"number","title":"Lat","description":"Latitude of the centroid, in degrees north."},"prob_tor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Tor","description":"ProbTor on this scan, 0 to 100."},"prob_severe":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Severe","description":"ProbSevere on this scan, 0 to 100."},"prob_hail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Hail","description":"ProbHail on this scan, 0 to 100."},"prob_wind":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Wind","description":"ProbWind on this scan, 0 to 100."},"speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed Kmh","description":"The fitted storm speed on this scan, in km/h."},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg","description":"The fitted direction of motion on this scan, in degrees clockwise from north."},"feed_id":{"type":"integer","title":"Feed Id","description":"The ProbSevere ID the storm wore on this scan."},"jumped":{"type":"boolean","title":"Jumped","description":"The centroid moved more than 10 km in one scan, which no storm does: the polygon absorbed a neighbor on a merge. Kept because it is a real observation, excluded from the motion fit."}},"type":"object","required":["valid_time","lon","lat","prob_tor","prob_severe","speed_kmh","bearing_deg","feed_id","jumped"],"title":"TrackPoint","description":"One scan of a storm's track."},"TrainingModuleProgress":{"properties":{"slug":{"type":"string","title":"Slug"},"lessons_done":{"type":"integer","title":"Lessons Done"},"lessons":{"items":{"type":"string"},"type":"array","title":"Lessons"}},"type":"object","required":["slug","lessons_done"],"title":"TrainingModuleProgress","description":"One module's standing for one user."},"TrainingProgress":{"properties":{"certified":{"type":"boolean","title":"Certified"},"certified_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Certified Until"},"attempts_used":{"type":"integer","title":"Attempts Used"},"modules":{"items":{"$ref":"#/components/schemas/TrainingModuleProgress"},"type":"array","title":"Modules"},"scenarios":{"items":{"$ref":"#/components/schemas/TrainingScenarioProgress"},"type":"array","title":"Scenarios"}},"type":"object","required":["certified","certified_until","attempts_used","modules","scenarios"],"title":"TrainingProgress","description":"The whole of what /training/progress returns."},"TrainingScenarioProgress":{"properties":{"slug":{"type":"string","title":"Slug"},"state":{"type":"string","title":"State"},"questions_done":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Questions Done"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"type":"object","required":["slug","state"],"title":"TrainingScenarioProgress","description":"One continuing-education scenario's standing.\n\nNothing writes these yet. The field exists because the contract has it and\nan empty list is the correct answer for \"no scenarios attempted\", which is\ntrue of everybody."},"TypePopularity":{"properties":{"order":{"items":{"type":"string"},"type":"array","title":"Order"},"window_days":{"type":"integer","title":"Window Days"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"type":"object","required":["order","window_days","generated_at"],"title":"TypePopularity","description":"GET /spotter/event-types/popularity: the order the report picker lists.\n\nSlugs only, never counts. How many reports of each kind this network holds\nis a figure about the network rather than about the weather, kept to\nourselves for the same reason the public reference is not the row id."},"UnitSpec":{"properties":{"unit":{"type":"string","title":"Unit","description":"Machine-readable code, e.g. 'F', 'hPa', 'm/s'"},"label":{"type":"string","title":"Label","description":"For display, e.g. '°F'"},"description":{"type":"string","title":"Description","description":"One line saying what the field is."}},"type":"object","required":["unit","label","description"],"title":"UnitSpec"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Verification":{"properties":{"credential_no":{"type":"string","title":"Credential No"},"holder_name":{"type":"string","title":"Holder Name"},"status":{"type":"string","enum":["valid","expired","revoked"],"title":"Status"},"certified_on":{"type":"string","format":"date","title":"Certified On"},"certified_until":{"type":"string","format":"date","title":"Certified Until"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"}},"type":"object","required":["credential_no","holder_name","status","certified_on","certified_until"],"title":"Verification","description":"What a stranger holding a printed certificate is told.\n\nThe name is here because leaving it out would make verification useless:\n\"this number exists\" cannot distinguish a real certificate from one with a\nforged name typed over a real number, which is the forgery this endpoint\nexists to catch.\n\nEverything else about the holder is absent by construction - no email, no\nscore, no attempt history, no account id - and the endpoint is rate limited,\nbecause a public lookup keyed on a five-digit serial is a public lookup\nsomebody will try to enumerate."},"VetBoard":{"properties":{"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"cwa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cwa"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"hours":{"type":"integer","title":"Hours"},"items":{"items":{"$ref":"#/components/schemas/VetBoardItem"},"type":"array","title":"Items"}},"type":"object","required":["generated_at","hours","items"],"title":"VetBoard"},"VetBoardItem":{"properties":{"ref":{"type":"string","title":"Ref"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"event_lat":{"type":"number","title":"Event Lat"},"event_lon":{"type":"number","title":"Event Lon"},"magnitude_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magnitude Value"},"magnitude_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Magnitude Unit"},"remarks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remarks"},"content_flags":{"items":{"type":"string"},"type":"array","title":"Content Flags","default":[]},"visibility":{"type":"string","title":"Visibility"},"observer_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observer Handle"},"relay_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relay Org Name"},"radar_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Radar Evidence"},"environment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Environment"},"vet_summary":{"$ref":"#/components/schemas/VetSummary"},"my_mark":{"anyOf":[{"type":"string","enum":["good","invalid","narrative"]},{"type":"null"}],"title":"My Mark"},"forecaster_remarks":{"items":{"$ref":"#/components/schemas/ForecasterRemarkOut"},"type":"array","title":"Forecaster Remarks","default":[]}},"type":"object","required":["ref","event_type","occurred_at","submitted_at","event_lat","event_lon","visibility","vet_summary"],"title":"VetBoardItem","description":"One report on a meteorologist's board: everything needed to judge it\nbeside the radar, and their own mark if they made one."},"VetMarkIn":{"properties":{"verdict":{"type":"string","enum":["good","invalid","narrative"],"title":"Verdict"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["verdict"],"title":"VetMarkIn"},"VetMarkOut":{"properties":{"ref":{"type":"string","title":"Ref"},"verdict":{"type":"string","enum":["good","invalid","narrative"],"title":"Verdict"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"saw_via_feed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Saw Via Feed"},"report_restricted":{"type":"boolean","title":"Report Restricted"}},"type":"object","required":["ref","verdict","created_at","report_restricted"],"title":"VetMarkOut"},"VetSummary":{"properties":{"good":{"type":"integer","title":"Good","default":0},"invalid":{"type":"integer","title":"Invalid","default":0},"narrative":{"type":"integer","title":"Narrative","default":0}},"type":"object","title":"VetSummary","description":"Public counts. Who marked what is not public; the remarks are."},"VisibilityFeature":{"properties":{"type":{"type":"string","const":"Feature","title":"Type","description":"Always `Feature`.","default":"Feature"},"geometry":{"additionalProperties":true,"type":"object","title":"Geometry","description":"A GeoJSON MultiPolygon in longitude, latitude order, clipped to the bbox."},"properties":{"additionalProperties":true,"type":"object","title":"Properties","description":"category, category_name, cause, confidence, sources, reported, vis_m_min, analysis_time"}},"type":"object","required":["geometry","properties"],"title":"VisibilityFeature","description":"One group of areas sharing a category, confidence, cause and sources."},"VisibilityFeatureCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always `FeatureCollection`.","default":"FeatureCollection"},"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When this response was built, UTC."},"analysis_time":{"type":"string","format":"date-time","title":"Analysis Time","description":"The valid time of the analysis the areas come from, UTC."},"published_at":{"type":"string","format":"date-time","title":"Published At","description":"When that analysis was published, UTC."},"bbox":{"items":{"type":"number"},"type":"array","title":"Bbox","description":"The box asked for, as west, south, east, north in degrees."},"min_category":{"type":"integer","title":"Min Category","description":"The `min_category` filter that was applied, 1 to 4."},"legend":{"items":{"$ref":"#/components/schemas/LegendEntry"},"type":"array","title":"Legend","description":"The category table with its edges in metres, so a client can label a map."},"features":{"items":{"$ref":"#/components/schemas/VisibilityFeature"},"type":"array","title":"Features","description":"The areas, least severe first. Empty when visibility is normal in the box."}},"type":"object","required":["server_time","analysis_time","published_at","bbox","min_category","legend","features"],"title":"VisibilityFeatureCollection","description":"The current areas in a bbox, clipped to it, least severe first.\n\nNo feature anywhere means normal visibility there. WxAlerts sets no\nthresholds: filter on `category` and `confidence` for what to show.","examples":[{"analysis_time":"2026-11-09T18:45:00Z","bbox":[-123.2,37.4,-121.8,38.2],"features":[{"geometry":{"coordinates":[[[[-122.52,37.71],[-122.38,37.71],[-122.38,37.82],[-122.52,37.82],[-122.52,37.71]]]],"type":"MultiPolygon"},"properties":{"category":4,"category_name":"near_zero","cause":"marine_fog","confidence":"high","sources":["analysis","station","advisory"],"reported":false,"vis_m_min":180.0,"analysis_time":"2026-11-09T18:45:00Z"},"type":"Feature"}],"legend":[{"category":1,"category_name":"reduced","max_m":8047.0,"min_m":4828.0,"range_mi":"3 to 5 mi"},{"category":4,"category_name":"near_zero","max_m":402.0,"range_mi":"under 1/4 mi"}],"min_category":1,"published_at":"2026-11-09T19:08:21Z","server_time":"2026-11-09T19:12:04Z","type":"FeatureCollection"}]},"VisibilityPointResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When this response was built, UTC."},"location":{"$ref":"#/components/schemas/PointLocation","description":"The point the answer is for."},"analysis_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Analysis Time","description":"The run `current` comes from. Null before the first run."},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At","description":"When that analysis was published, UTC. Null before the first run."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Set when there is no analysis yet; `current` is then null."},"current":{"anyOf":[{"$ref":"#/components/schemas/PointArea"},{"type":"null"}],"description":"The worst current area at the point, or category 0 normal"},"station":{"anyOf":[{"$ref":"#/components/schemas/PointStation"},{"type":"null"}],"description":"Nearest airport or buoy within 25 km with a visibility in the last 90 minutes"},"advisories":{"items":{"$ref":"#/components/schemas/PointAdvisory"},"type":"array","title":"Advisories","description":"NWS fog and smoke advisories in force at the point, soonest to expire first."},"outlook":{"anyOf":[{"$ref":"#/components/schemas/PointOutlook"},{"type":"null"}],"description":"HRRR visibility, next 6 hours. Null outside the HRRR grid."},"legend":{"items":{"$ref":"#/components/schemas/LegendEntry"},"type":"array","title":"Legend","description":"The category table, edges in metres."}},"type":"object","required":["server_time","location","advisories","legend"],"title":"VisibilityPointResponse","description":"Everything known about visibility at one point.","examples":[{"advisories":[],"analysis_time":"2026-11-09T18:45:00Z","current":{"category":3,"category_name":"very_low","cause":"fog","confidence":"medium","reported":false,"sources":["analysis","station"],"vis_m_min":424.0},"legend":[{"category":1,"category_name":"reduced","max_m":8047.0,"min_m":4828.0,"range_mi":"3 to 5 mi"}],"location":{"lat":37.62,"lon":-122.38},"outlook":{"cell_id":267091,"cycle":"2026-11-09T18:00:00Z","hours":[{"category":0,"category_name":"normal","valid_time":"2026-11-09T19:00:00Z","visibility_m":13500.0},{"category":0,"category_name":"normal","valid_time":"2026-11-09T20:00:00Z","visibility_m":17200.0}],"model":"hrrr","resolution_km":6.0},"published_at":"2026-11-09T19:08:21Z","server_time":"2026-11-09T19:12:05Z","station":{"distance_km":1.3,"observed_at":"2026-11-09T18:56:00Z","source":"metar","station_id":"metar:KSFO","visibility_m":1207.0}}]},"VisibilityReportBatch":{"properties":{"sender":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9_]+$","title":"Sender","description":"Which integration is sending, e.g. mobile_traffic"},"reports":{"items":{"$ref":"#/components/schemas/VisibilityReportIn"},"type":"array","maxItems":500,"minItems":1,"title":"Reports","description":"Up to 500 reports in one call."}},"type":"object","required":["sender","reports"],"title":"VisibilityReportBatch","description":"A batch of driver reports from one integration."},"VisibilityReportIn":{"properties":{"report_id":{"type":"string","maxLength":128,"minLength":1,"title":"Report Id","description":"Opaque, unique per report"},"reporter":{"type":"string","maxLength":256,"minLength":1,"title":"Reporter","description":"Opaque per-reporter token. Hashed on receipt; never stored as sent."},"observed_at":{"type":"string","format":"date-time","title":"Observed At","description":"ISO 8601 with an offset. At most 6 hours old, 5 minutes ahead."},"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat","description":"Latitude of the report, degrees."},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon","description":"Longitude of the report, degrees."},"heading_deg":{"anyOf":[{"type":"number","maximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Heading Deg","description":"Direction of travel in degrees, if known."},"chip":{"type":"string","const":"fog_low_visibility","title":"Chip","description":"The kind of report. Only `fog_low_visibility` is accepted."}},"type":"object","required":["report_id","reporter","observed_at","lat","lon","chip"],"title":"VisibilityReportIn","description":"One driver's report of low visibility."},"VisibilityReportResponse":{"properties":{"received":{"type":"integer","title":"Received","description":"Reports in the request"},"stored":{"type":"integer","title":"Stored","description":"New rows; a report_id already stored is not stored twice"},"results":{"items":{"$ref":"#/components/schemas/VisibilityReportResult"},"type":"array","title":"Results","description":"One entry per report received, in the order sent."}},"type":"object","required":["received","stored","results"],"title":"VisibilityReportResponse","description":"What was received and stored, with a status for every report.","examples":[{"received":2,"results":[{"report_id":"r-1001","status":"corroborated"},{"report_id":"r-1002","status":"uncorroborated"}],"stored":2}]},"VisibilityReportResult":{"properties":{"report_id":{"type":"string","title":"Report Id","description":"The report_id the integration sent."},"status":{"type":"string","enum":["corroborated","contradicted","uncorroborated"],"title":"Status","description":"corroborated, contradicted or uncorroborated. See the endpoint description for the rules."}},"type":"object","required":["report_id","status"],"title":"VisibilityReportResult","description":"How one report was judged against the product and nearby stations."},"WatchWarningCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always `FeatureCollection`.","default":"FeatureCollection"},"features":{"items":{"$ref":"#/components/schemas/WatchWarningFeature"},"type":"array","title":"Features","description":"One feature per type in effect. Empty when there are none."}},"type":"object","required":["features"],"title":"WatchWarningCollection","description":"The coastal watches and warnings in effect for a storm."},"WatchWarningFeature":{"properties":{"type":{"type":"string","const":"Feature","title":"Type","description":"Always `Feature`.","default":"Feature"},"geometry":{"additionalProperties":true,"type":"object","title":"Geometry","description":"A GeoJSON MultiLineString following the stretch of coast, WGS84."},"properties":{"additionalProperties":true,"type":"object","title":"Properties","description":"`type` is hurricane_warning, hurricane_watch, tropical_storm_warning or tropical_storm_watch; `code` is HWR, HWA, TWR or TWA; `advisory` is the advisory that set them."}},"type":"object","required":["geometry","properties"],"title":"WatchWarningFeature","description":"One type of coastal watch or warning, as NHC draws it along the coast."},"WeatherResponse":{"properties":{"server_time":{"type":"string","format":"date-time","title":"Server Time","description":"When the response was built, in UTC."},"location":{"$ref":"#/components/schemas/wxalerts_api__schemas__weather__LocationBlock","description":"The point the response is for."},"units":{"$ref":"#/components/schemas/wxalerts_api__schemas__weather__UnitsBlock","description":"The unit of every measurement in the response."},"current":{"anyOf":[{"$ref":"#/components/schemas/CurrentConditions"},{"type":"null"}],"description":"Null when no station within 50 miles has reported recently, a different answer from every field coming back empty."},"hourly":{"items":{"$ref":"#/components/schemas/HourlyStep"},"type":"array","title":"Hourly","description":"From the hour containing `server_time`, so `[0]` is now. Hourly to forecast hour 47, then 3-hourly, then 6-hourly past about day 8. The hours a cycle has already covered stay on /forecast."},"daily":{"items":{"$ref":"#/components/schemas/DailyBucket"},"type":"array","title":"Daily","description":"Rolled into local calendar days, from today at the forecast location, so `[0]` is today."}},"type":"object","required":["server_time","location","units"],"title":"WeatherResponse","description":"Conditions now, and the forecast from here.\n\n`current` is observed. `hourly` and `daily` are the National Blend of\nModels. They are not blended together and they can disagree: an\nobservation is a fact about this minute and a forecast is a guess about\nthe next one.","examples":[{"current":{"dewpoint":57.9,"icon":"cloudy","is_day":true,"observed_at":"2026-11-09T19:11:00Z","precip_1h":0.0,"precip_24h":0.0,"pressure":30.21,"relative_humidity":70.0,"sky":"Mostly cloudy","station":{"age_seconds":121,"distance_m":2094,"source":"aprs","station_id":"aprs:KC5CAM-13"},"temperature":68.0,"visibility":10.0,"wind_direction":179.0,"wind_direction_cardinal":"S","wind_gust":1.0,"wind_speed":1.0},"daily":[{"cloud_cover":73.7,"date":"2026-11-09","dewpoint_high":61.6,"high":71.3,"hours":11,"icon":"cloudy","low":61.1,"precip_amount":0.005,"precip_probability":12.0,"precip_type":"rain","sky":"Mostly cloudy","wind_direction_cardinal":"SSW","wind_gust":10.1,"wind_speed":5.4}],"hourly":[{"cloud_cover":83.1,"dewpoint":59.8,"icon":"cloudy","is_day":true,"precip_amount":0.0,"precip_probability":3.0,"precip_type":"rain","relative_humidity":68.9,"sky":"Mostly cloudy","temperature":70.6,"time":"2026-11-09T13:00:00-06:00","wind_direction_cardinal":"SSW","wind_gust":8.7,"wind_speed":4.3}],"location":{"display_name":"Denton, TX","lat":33.2174,"lon":-97.1413,"name":"Denton","state":"TX","timezone":"America/Chicago"},"server_time":"2026-11-09T19:13:00Z","units":{"fields":{"temperature":{"label":"°F","unit":"F"}},"system":"us"}}]},"WebPushConfig":{"properties":{"available":{"type":"boolean","title":"Available"},"public_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key"}},"type":"object","required":["available"],"title":"WebPushConfig","description":"What a page needs before it can subscribe.\n\n`available` is false on a deployment with no VAPID key, so the site can\nleave the offer out rather than walk somebody through adding it to their\nHome Screen for a switch that does nothing."},"WebPushKeys":{"properties":{"p256dh":{"type":"string","maxLength":128,"minLength":1,"title":"P256Dh"},"auth":{"type":"string","maxLength":64,"minLength":1,"title":"Auth"}},"type":"object","required":["p256dh","auth"],"title":"WebPushKeys"},"WebPushSubscriptionIn":{"properties":{"endpoint":{"type":"string","maxLength":2048,"minLength":1,"title":"Endpoint"},"keys":{"$ref":"#/components/schemas/WebPushKeys"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"app_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"App Version"}},"type":"object","required":["endpoint","keys"],"title":"WebPushSubscriptionIn","description":"A browser's PushSubscription.toJSON(), as the page has it.\n\nSent whenever the page finds itself subscribed, not only the first time,\nbecause a browser may replace the subscription on its own and this is the\nonly way the new endpoint reaches us. `expirationTime`, which toJSON also\ncarries, is ignored: Safari sends null, and an expired subscription is\nreported by the push service answering 410, which the dispatcher handles."},"WebhookTestOut":{"properties":{"ok":{"type":"boolean","title":"Ok"},"detail":{"type":"string","title":"Detail"}},"type":"object","required":["ok","detail"],"title":"WebhookTestOut"},"WfoState":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"limit":{"type":"integer","title":"Limit"},"selected":{"items":{"type":"string"},"type":"array","title":"Selected"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices"}},"type":"object","required":["eligible","limit","selected","choices"],"title":"WfoState"},"WinterAt":{"properties":{"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"The WSSI run this answer is from. Null before the first ingest."},"sources":{"$ref":"#/components/schemas/WinterSources","description":"The newest issuance in each product family."},"wssi":{"items":{"$ref":"#/components/schemas/WssiDay"},"type":"array","title":"Wssi","description":"WSSI for Days 1 to 3, skipping any day whose window has ended. Empty out of season."},"odds":{"items":{"$ref":"#/components/schemas/WinterOdds"},"type":"array","title":"Odds","description":"Each PWPF day, kind and threshold where the place's chance is 10 percent or more, sorted by day, snow before ice, then threshold."},"days3to7":{"items":{"$ref":"#/components/schemas/WinterHazard"},"type":"array","title":"Days3To7","description":"WPC's medium range hazards outlook covers Days 3 to 7; winter hazards only."},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"The highest WSSI impact at the place and when, or null."},"attribution":{"type":"string","title":"Attribution","description":"Credit this where you show the data.","default":"NOAA Weather Prediction Center"}},"type":"object","title":"WinterAt","description":"The WSSI, PWPF odds and Day 3 to 7 winter hazards at one point.","examples":[{"attribution":"NOAA Weather Prediction Center","days3to7":[],"headline":"Major blowing snow impacts at this place by Day 2","issued_at":"2026-11-09T17:15:00Z","odds":[{"day":1,"issued_at":"2026-11-09T08:45:00Z","kind":"snow","label":"Snow, 4 in or more","pct":30,"threshold_in":4.0,"valid_date":"2026-11-09"},{"day":2,"issued_at":"2026-11-09T09:57:00Z","kind":"snow","label":"Snow, 8 in or more","pct":50,"threshold_in":8.0,"valid_date":"2026-11-10"}],"sources":{"hazards":"2026-11-09T18:15:20Z","pwpf":"2026-11-09T15:56:00Z","wssi":"2026-11-09T17:15:00Z"},"wssi":[{"components":{"blowing_snow":"moderate","ice_accumulation":"none","snow_amount":"winter_weather_area","snow_load":"minor"},"day":1,"overall":"moderate","valid_date":"2026-11-09","valid_from":"2026-11-09T17:00:00Z","valid_to":"2026-11-10T12:00:00Z"},{"components":{"blowing_snow":"major","ice_accumulation":"none","snow_amount":"winter_weather_area","snow_load":"moderate"},"day":2,"overall":"major","valid_date":"2026-11-10","valid_from":"2026-11-10T12:00:00Z","valid_to":"2026-11-11T12:00:00Z"}]}]},"WinterFeatureCollection":{"properties":{"type":{"type":"string","const":"FeatureCollection","title":"Type","description":"Always `FeatureCollection`.","default":"FeatureCollection"},"features":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Features","description":"GeoJSON Polygon or MultiPolygon features, lowest rank first so drawing them in order leaves the most severe on top. Each `properties` carries `product`, `family`, `day`, `level`, `rank`, `label`, `issued_at`, `valid_from` and `valid_to`, plus fields specific to the layer. Empty when WPC forecasts nothing or out of season."},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When the issuance drawn was issued, UTC. Null when nothing is drawn."},"attribution":{"type":"string","title":"Attribution","description":"Credit this where you show the data.","default":"NOAA Weather Prediction Center"}},"type":"object","required":["features"],"title":"WinterFeatureCollection","description":"A map layer: GeoJSON polygons for one WPC winter product, lowest rank first."},"WinterHazard":{"properties":{"hazard":{"type":"string","enum":["heavy_snow","freezing_rain","hazardous_cold"],"title":"Hazard","description":"The hazard: heavy_snow, freezing_rain or hazardous_cold."},"category":{"type":"string","title":"Category","description":"WPC's own label. The product carries no probability."},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date","description":"First day of the hazard, inclusive."},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date","description":"Last day of the hazard, inclusive."}},"type":"object","required":["hazard","category","start_date","end_date"],"title":"WinterHazard","description":"A winter hazard from WPC's Day 3 to 7 hazards outlook that covers the place."},"WinterOdds":{"properties":{"label":{"type":"string","title":"Label","description":"'Snow, 4 in or more' or 'Freezing rain, 0.01 in or more'."},"kind":{"type":"string","enum":["snow","ice"],"title":"Kind","description":"`snow`, or `ice`, which here means freezing rain accretion."},"threshold_in":{"type":"number","title":"Threshold In","description":"The amount the chance is for, inches: 4, 8 or 12 for snow; 0.01, 0.1 or 0.25 for ice."},"day":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Day","description":"Forecast day, 1 to 3."},"valid_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid Date","description":"UTC date the 24 hour window starts on."},"pct":{"type":"integer","title":"Pct","description":"The highest WPC probability contour containing the place, so a lower bound: 40 means at least 40 percent. Only 10 or more is listed."},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When WPC issued the probability this entry is read from. PWPF products are issued separately, so entries can differ from each other and from sources.pwpf."}},"type":"object","required":["label","kind","threshold_in","day","pct"],"title":"WinterOdds","description":"The chance that a 24 hour period brings at least a given amount at the place."},"WinterSources":{"properties":{"wssi":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Wssi","description":"Newest WSSI issuance, UTC."},"pwpf":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pwpf","description":"Newest PWPF (snow and freezing rain probability) issuance, UTC."},"hazards":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Hazards","description":"Newest Day 3 to 7 hazards outlook issuance, UTC."}},"type":"object","title":"WinterSources","description":"The newest issuance on hand in each product family. A family is several\nproducts issued on their own clocks, so a value here is the latest of\nthem; each odds entry carries its own `issued_at`."},"WorkEmailStart":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"WorkEmailStart"},"WorkEmailStarted":{"properties":{"sent_to":{"type":"string","title":"Sent To"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"auto_grant":{"type":"boolean","title":"Auto Grant"}},"type":"object","required":["sent_to","expires_at","auto_grant"],"title":"WorkEmailStarted","description":"The link went out. `auto_grant` says whether confirming it will grant\nthe meteorologist type on its own (noaa.gov, or an exact research list\nmatch) or only verify the address on the open request."},"WssiComponents":{"properties":{"snow_amount":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Snow Amount","description":"Impact category for the amount of snow."},"snow_load":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Snow Load","description":"Impact category for the weight of snow on trees and power lines."},"ice_accumulation":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Ice Accumulation","description":"Impact category for freezing rain accretion."},"flash_freeze":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Flash Freeze","description":"Always null: WPC does not publish a flash freeze component."},"blowing_snow":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Blowing Snow","description":"Impact category for blowing snow."},"ground_blizzard":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Ground Blizzard","description":"Always null: WPC's ground blizzard GIS has not been updated since October 2025 and is not ingested."}},"type":"object","title":"WssiComponents","description":"The WSSI categories of the components behind the overall index."},"WssiDay":{"properties":{"day":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Day","description":"Forecast day, 1 to 3."},"valid_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid Date","description":"UTC date the 24 hour window starts on."},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From","description":"Start of WPC's window for the day, UTC. Day 1 starts around the issue time, later days run 12Z to 12Z."},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To","description":"End of WPC's window for the day, UTC."},"overall":{"anyOf":[{"type":"string","enum":["none","winter_weather_area","minor","moderate","major","extreme"]},{"type":"null"}],"title":"Overall","description":"The overall impact category: none, winter_weather_area, minor, moderate, major or extreme. 'none' is a place outside every area of the layer; null means the layer is not available at all."},"components":{"$ref":"#/components/schemas/WssiComponents","description":"The categories of the components."}},"type":"object","required":["day","overall","components"],"title":"WssiDay","description":"The Winter Storm Severity Index at the place for one forecast day."},"wxalerts_api__schemas__forecast__LocationBlock":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Place name. Null when no place was close enough to name."},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"Place name with its state, e.g. 'Norman, OK'. Same rule as `name`."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or region of the named place."},"lat":{"type":"number","title":"Lat","description":"Latitude the forecast is for, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude the forecast is for, degrees east."},"timezone":{"type":"string","title":"Timezone","description":"IANA zone the local times are in"},"approximate":{"type":"boolean","title":"Approximate","description":"True when the name is the nearest place to the point rather than the point itself, so a display should qualify it: 'near Zurich, KS'. False both when the caller named the place and when the point falls inside the named one.","default":false},"distance_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Km","description":"Kilometres from this point to the named place's centre. Null when the caller named the place, and when no place was close enough to name at all - in which case name, display_name and state are null too and only the coordinates are available."}},"type":"object","required":["lat","lon","timezone"],"title":"LocationBlock","description":"Where this forecast is for, and how confidently it can be named.\n\nA caller who passed `q` or `location_id` named the place themselves, and\ngets that name back. A caller who passed `lat`/`lon` - which is every \"use\nmy location\" button - gets the place those coordinates fall in, resolved\nhere rather than left for each client to work out. `approximate` is what\nseparates the two, because the honest rendering differs: a point inside a\ncity can be headed with its name, and one 16 km outside needs a \"near\"."},"wxalerts_api__schemas__forecast__UnitsBlock":{"properties":{"system":{"type":"string","title":"System","description":"si | metric | us | uk"},"source":{"type":"string","title":"Source","description":"How the system was chosen. 'explicit': you asked for it. 'geo': derived from the caller's country, which means this response varies by caller and is not shared-cacheable. 'default'."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Country the system was derived from, when it was"},"hourly":{"additionalProperties":{"$ref":"#/components/schemas/UnitSpec"},"type":"object","title":"Hourly","description":"The unit of every field in `hourly` and `daily`, keyed by field name."},"nowcast":{"additionalProperties":{"$ref":"#/components/schemas/UnitSpec"},"type":"object","title":"Nowcast","description":"The unit of every field in `nowcast` and `current`, keyed by field name."}},"type":"object","required":["system","source","hourly","nowcast"],"title":"UnitsBlock"},"wxalerts_api__schemas__storms__StormDetail":{"properties":{"id":{"type":"integer","title":"Id","description":"WxAlerts' own id for the storm. It stays the same when ProbSevere renames the cell on a merge or split, so keep this one."},"first_seen":{"type":"string","format":"date-time","title":"First Seen","description":"When the storm was first ingested, in UTC."},"last_seen":{"type":"string","format":"date-time","title":"Last Seen","description":"The newest scan the storm was found on, in UTC."},"valid_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Time","description":"Scan this state came from. The feed's cadence is ~2 minutes."},"prob_severe":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Severe","description":"ProbSevere probability of any severe hazard on the newest scan, 0 to 100. Null when the scan carried no value."},"prob_hail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Hail","description":"ProbSevere probability of severe hail on the newest scan, 0 to 100."},"prob_wind":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Wind","description":"ProbSevere probability of severe wind on the newest scan, 0 to 100."},"prob_tor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Tor","description":"ProbSevere probability of a tornado on the newest scan, 0 to 100. Not on the same scale as prob_severe: on an ordinary convective day 88% of objects sit at zero, and about 70 is the practical ceiling."},"peak_prob_tor":{"type":"integer","title":"Peak Prob Tor","description":"The highest prob_tor the storm has reached."},"peak_prob_severe":{"type":"integer","title":"Peak Prob Severe","description":"The highest prob_severe the storm has reached."},"speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed Kmh","description":"Storm speed in km/h, fitted from the storm's own centroid history rather than from the feed's MOTION_EAST and MOTION_SOUTH, which are in no identifiable unit. Null on a storm's first scan, and null rather than zero, because zero would claim the storm is stationary."},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg","description":"Direction the storm is moving toward, in degrees clockwise from true north."},"cone_speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cone Speed Kmh","description":"The speed the cone and the forecast line are drawn at: the track speed blended 50/50 with the nearest HRRR storm motion. Null where there was no HRRR sample, and the cone is then drawn at speed_kmh."},"steer_u_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steer U Kmh","description":"East component of the HRRR storm motion sampled at the storm, in km/h."},"steer_v_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steer V Kmh","description":"North component of the HRRR storm motion sampled at the storm, in km/h."},"cross_track_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cross Track Km","description":"The storm's measured width across its motion, in km. Sets the cone's starting width."},"along_track_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Along Track Km","description":"The storm's measured length along its motion, in km. Sets the cone's starting length."},"scan_count":{"type":"integer","title":"Scan Count","description":"How many scans the storm has been found on."},"feed_ids":{"items":{"type":"integer"},"type":"array","title":"Feed Ids","description":"Every ProbSevere ID this storm has been published under. More than one means the feed re-identified it on a merge or split, which happens to about half of significant tracks while the storm is still going."},"alerted":{"type":"boolean","title":"Alerted","description":"Over the notification threshold, after hysteresis: fires at ProbTor 30 or more, clears only below 15 sustained across three scans."},"alerted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Alerted At","description":"When the storm last crossed the notification threshold. Null if it never has."},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon","description":"Longitude of the storm's centroid, in degrees east."},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat","description":"Latitude of the storm's centroid, in degrees north."},"nearest_radar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nearest Radar","description":"The nearest operational WSR-88D to the centroid. Null before the ingest recorded it."},"radar_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Radar Km","description":"Range from that radar to the centroid, in km."},"limited_coverage":{"type":"boolean","title":"Limited Coverage","description":"True when the nearest WSR-88D is more than 100 km away. Its lowest beam is then too high to see low-level rotation, and ProbTor is less able to tell tornadic storms from the rest. A caveat to show, not a change to any threshold.","default":false},"geometry":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geometry","description":"The storm's polygon on the newest scan, as a GeoJSON geometry."},"latest_feed_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Feed Id","description":"The ProbSevere ID the storm is currently published under."},"active":{"type":"boolean","title":"Active","description":"Whether the storm is still in the tracked set."},"missing_scans":{"type":"integer","title":"Missing Scans","description":"How many scans in a row the storm has not been found. Zero while it is seen."},"motion_fit_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Motion Fit Points","description":"Centroids backing the motion fit on the newest scan, out of a ten-point window. Zero means the storm is coasting on its previous velocity because a merge had just truncated its history; the speed and bearing are still the best estimate, they are simply not re-derived from this scan."},"properties":{"additionalProperties":true,"type":"object","title":"Properties","description":"The feed's own properties for the newest scan, verbatim. Every value is a string. Its MOTION_EAST and MOTION_SOUTH are in no identifiable unit, so use speed_kmh and bearing_deg instead."}},"type":"object","required":["id","first_seen","last_seen","prob_severe","prob_hail","prob_wind","peak_prob_tor","peak_prob_severe","cross_track_km","along_track_km","scan_count","alerted","alerted_at","lon","lat","geometry","latest_feed_id","active","missing_scans"],"title":"StormDetail","description":"One storm in full, including the diagnostic fields behind the score.","examples":[{"active":true,"alerted":false,"alerted_at":"2026-11-09T18:41:34Z","along_track_km":38.771297454833984,"bearing_deg":48.74721145629883,"cone_speed_kmh":24.379592895507812,"cross_track_km":55.9759635925293,"feed_ids":[81531],"first_seen":"2026-11-09T17:32:36Z","geometry":{"coordinates":[[[-96.98,25.87],[-96.92,25.87],[-96.92,25.81],[-96.98,25.87]]],"type":"Polygon"},"id":297397,"last_seen":"2026-11-09T19:04:34Z","lat":25.585429,"latest_feed_id":81531,"lon":-96.922616,"missing_scans":0,"motion_fit_points":0,"peak_prob_severe":6,"peak_prob_tor":1,"prob_hail":0,"prob_severe":3,"prob_tor":1,"prob_wind":1,"properties":{"ID":"81531","ProbTor":"1","ProbSevere":"3","ProbHail":"0","ProbWind":"1","MLCAPE":"728","MUCAPE":"1262","EBSHEAR":"30","SRH01KM":"28","MESH":"0.06","MAXLLAZ":"0.008","P98LLAZ":"0.006","FLASH_RATE":"0","COMPREF":"56.0","MOTION_EAST":"2.8","MOTION_SOUTH":"-3"},"scan_count":47,"speed_kmh":20.236125946044922,"steer_u_kmh":6.4435505867004395,"steer_v_kmh":27.785707473754883,"valid_time":"2026-11-09T19:04:34Z"}]},"wxalerts_api__schemas__storms__StormSummary":{"properties":{"id":{"type":"integer","title":"Id","description":"WxAlerts' own id for the storm. It stays the same when ProbSevere renames the cell on a merge or split, so keep this one."},"first_seen":{"type":"string","format":"date-time","title":"First Seen","description":"When the storm was first ingested, in UTC."},"last_seen":{"type":"string","format":"date-time","title":"Last Seen","description":"The newest scan the storm was found on, in UTC."},"valid_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Time","description":"Scan this state came from. The feed's cadence is ~2 minutes."},"prob_severe":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Severe","description":"ProbSevere probability of any severe hazard on the newest scan, 0 to 100. Null when the scan carried no value."},"prob_hail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Hail","description":"ProbSevere probability of severe hail on the newest scan, 0 to 100."},"prob_wind":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Wind","description":"ProbSevere probability of severe wind on the newest scan, 0 to 100."},"prob_tor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prob Tor","description":"ProbSevere probability of a tornado on the newest scan, 0 to 100. Not on the same scale as prob_severe: on an ordinary convective day 88% of objects sit at zero, and about 70 is the practical ceiling."},"peak_prob_tor":{"type":"integer","title":"Peak Prob Tor","description":"The highest prob_tor the storm has reached."},"peak_prob_severe":{"type":"integer","title":"Peak Prob Severe","description":"The highest prob_severe the storm has reached."},"speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Speed Kmh","description":"Storm speed in km/h, fitted from the storm's own centroid history rather than from the feed's MOTION_EAST and MOTION_SOUTH, which are in no identifiable unit. Null on a storm's first scan, and null rather than zero, because zero would claim the storm is stationary."},"bearing_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bearing Deg","description":"Direction the storm is moving toward, in degrees clockwise from true north."},"cone_speed_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cone Speed Kmh","description":"The speed the cone and the forecast line are drawn at: the track speed blended 50/50 with the nearest HRRR storm motion. Null where there was no HRRR sample, and the cone is then drawn at speed_kmh."},"steer_u_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steer U Kmh","description":"East component of the HRRR storm motion sampled at the storm, in km/h."},"steer_v_kmh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steer V Kmh","description":"North component of the HRRR storm motion sampled at the storm, in km/h."},"cross_track_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cross Track Km","description":"The storm's measured width across its motion, in km. Sets the cone's starting width."},"along_track_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Along Track Km","description":"The storm's measured length along its motion, in km. Sets the cone's starting length."},"scan_count":{"type":"integer","title":"Scan Count","description":"How many scans the storm has been found on."},"feed_ids":{"items":{"type":"integer"},"type":"array","title":"Feed Ids","description":"Every ProbSevere ID this storm has been published under. More than one means the feed re-identified it on a merge or split, which happens to about half of significant tracks while the storm is still going."},"alerted":{"type":"boolean","title":"Alerted","description":"Over the notification threshold, after hysteresis: fires at ProbTor 30 or more, clears only below 15 sustained across three scans."},"alerted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Alerted At","description":"When the storm last crossed the notification threshold. Null if it never has."},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon","description":"Longitude of the storm's centroid, in degrees east."},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat","description":"Latitude of the storm's centroid, in degrees north."},"nearest_radar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nearest Radar","description":"The nearest operational WSR-88D to the centroid. Null before the ingest recorded it."},"radar_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Radar Km","description":"Range from that radar to the centroid, in km."},"limited_coverage":{"type":"boolean","title":"Limited Coverage","description":"True when the nearest WSR-88D is more than 100 km away. Its lowest beam is then too high to see low-level rotation, and ProbTor is less able to tell tornadic storms from the rest. A caveat to show, not a change to any threshold.","default":false}},"type":"object","required":["id","first_seen","last_seen","prob_severe","prob_hail","prob_wind","peak_prob_tor","peak_prob_severe","cross_track_km","along_track_km","scan_count","alerted","alerted_at","lon","lat"],"title":"StormSummary","description":"One tracked storm, without geometry.","examples":[{"alerted":false,"alerted_at":"2026-11-09T18:41:34Z","along_track_km":38.771297454833984,"bearing_deg":48.74721145629883,"cone_speed_kmh":24.379592895507812,"cross_track_km":55.9759635925293,"feed_ids":[81531],"first_seen":"2026-11-09T17:32:36Z","id":297397,"last_seen":"2026-11-09T19:04:34Z","lat":25.585429,"lon":-96.922616,"peak_prob_severe":6,"peak_prob_tor":1,"prob_hail":0,"prob_severe":3,"prob_tor":1,"prob_wind":1,"scan_count":47,"speed_kmh":20.236125946044922,"steer_u_kmh":6.4435505867004395,"steer_v_kmh":27.785707473754883,"valid_time":"2026-11-09T19:04:34Z"}]},"wxalerts_api__schemas__tropical__StormDetail":{"properties":{"id":{"type":"string","title":"Id","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026."},"name":{"type":"string","title":"Name","description":"The storm's name, or its number for an unnamed system."},"classification":{"type":"string","title":"Classification","description":"TD (tropical depression), TS (tropical storm), HU (hurricane), MH (major hurricane, 96 kt and up), PTC (potential tropical cyclone), PC (post-tropical), SD (subtropical depression) or SS (subtropical storm). A code NHC adds that the API does not know is passed through upper cased."},"basin":{"type":"string","title":"Basin","description":"AL (Atlantic), EP (eastern Pacific) or CP (central Pacific)."},"advisory_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory Number","description":"The advisory number as a string, because intermediate advisories carry a letter: '5', or '5A'."},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When that advisory was issued, UTC."},"lat":{"type":"number","title":"Lat","description":"Latitude of the storm's center at the advisory, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude of the storm's center at the advisory, degrees east, -180 to 180."},"max_wind_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Wind Mph","description":"Maximum sustained wind in mph, converted from NHC's knots and rounded to the nearest 5 mph."},"gusts_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gusts Mph","description":"Wind gusts in mph, rounded to the nearest 5 mph."},"min_pressure_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Pressure Mb","description":"Minimum central pressure in millibars."},"movement_dir_deg":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Movement Dir Deg","description":"Direction the storm is moving toward, degrees clockwise from north. This is the opposite of the 'from' convention used for wind."},"movement_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Movement Mph","description":"Forward speed in mph."},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"NHC's one line summary of the advisory."},"active":{"type":"boolean","title":"Active","description":"False for a storm NHC no longer advises on. Such a storm is kept for 30 days."},"forecast_advisory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Forecast Advisory","description":"The advisory the forecast track came from. It lags `advisory_number` across intermediate advisories, which carry no new forecast."},"forecast_track":{"items":{"$ref":"#/components/schemas/ForecastPoint"},"type":"array","title":"Forecast Track","description":"NHC's official forecast points from tau 0 out to 120 hours, 12 hourly at first and then 24 hourly. Longitudes stay in -180 to 180, so unwrap a track that crosses the date line before drawing a line."},"cone":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cone","description":"The cone of uncertainty as a GeoJSON MultiPolygon, or null when NHC has not drawn one. It is the area the center is likely to stay inside, not the size of the storm. A cone that crosses the date line is split there into two polygons."},"watches_warnings":{"$ref":"#/components/schemas/WatchWarningCollection","description":"The coastal watches and warnings in effect, as a GeoJSON FeatureCollection."},"past_track":{"items":{"$ref":"#/components/schemas/PastPoint"},"type":"array","title":"Past Track","description":"Every known position since the storm formed, oldest first: NHC's best track fixes plus each advisory's own position."},"links":{"$ref":"#/components/schemas/StormLinks","description":"Links to NHC's public products for the storm."}},"type":"object","required":["id","name","classification","basin","issued_at","lat","lon","max_wind_mph","gusts_mph","min_pressure_mb","movement_mph","headline","active","forecast_track","watches_warnings","past_track","links"],"title":"StormDetail","description":"A storm's latest advisory with its forecast, history and map shapes.","examples":[{"active":true,"advisory_number":"12","basin":"CP","classification":"TS","cone":{"coordinates":[[[[-161.2,12.9],[-157.8,12.9],[-157.8,9.9],[-161.2,12.9]]]],"type":"MultiPolygon"},"forecast_advisory":"12","forecast_track":[{"classification":"TS","lat":11.4,"lon":-159.5,"max_wind_mph":40,"valid_at":"2026-11-09T12:00:00Z"},{"classification":"TS","lat":11.4,"lon":-161.6,"max_wind_mph":40,"valid_at":"2026-11-10T00:00:00Z"}],"gusts_mph":50,"headline":"PENA PERSISTS AS A TROPICAL CYCLONE FOR NOW","id":"CP042026","issued_at":"2026-11-09T15:00:00Z","lat":11.4,"links":{"advisory":"https://www.nhc.noaa.gov/text/HFOTCPCP4.shtml","discussion":"https://www.nhc.noaa.gov/text/HFOTCDCP4.shtml","graphics":"https://www.nhc.noaa.gov/graphics_cp4.shtml"},"lon":-159.5,"max_wind_mph":40,"min_pressure_mb":1004,"movement_dir_deg":265,"movement_mph":9,"name":"Pena","past_track":[{"at":"2026-11-02T12:00:00Z","lat":7.7,"lon":-129.8,"max_wind_mph":25},{"at":"2026-11-09T15:00:00Z","lat":11.4,"lon":-159.5,"max_wind_mph":40}],"watches_warnings":{"features":[],"type":"FeatureCollection"}}]},"wxalerts_api__schemas__tropical__StormSummary":{"properties":{"id":{"type":"string","title":"Id","description":"NHC's ATCF storm id: basin, two digit storm number and year, e.g. AL142026 or CP042026."},"name":{"type":"string","title":"Name","description":"The storm's name, or its number for an unnamed system."},"classification":{"type":"string","title":"Classification","description":"TD (tropical depression), TS (tropical storm), HU (hurricane), MH (major hurricane, 96 kt and up), PTC (potential tropical cyclone), PC (post-tropical), SD (subtropical depression) or SS (subtropical storm). A code NHC adds that the API does not know is passed through upper cased."},"basin":{"type":"string","title":"Basin","description":"AL (Atlantic), EP (eastern Pacific) or CP (central Pacific)."},"advisory_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory Number","description":"The advisory number as a string, because intermediate advisories carry a letter: '5', or '5A'."},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At","description":"When that advisory was issued, UTC."},"lat":{"type":"number","title":"Lat","description":"Latitude of the storm's center at the advisory, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude of the storm's center at the advisory, degrees east, -180 to 180."},"max_wind_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Wind Mph","description":"Maximum sustained wind in mph, converted from NHC's knots and rounded to the nearest 5 mph."},"gusts_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gusts Mph","description":"Wind gusts in mph, rounded to the nearest 5 mph."},"min_pressure_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Pressure Mb","description":"Minimum central pressure in millibars."},"movement_dir_deg":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Movement Dir Deg","description":"Direction the storm is moving toward, degrees clockwise from north. This is the opposite of the 'from' convention used for wind."},"movement_mph":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Movement Mph","description":"Forward speed in mph."},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"NHC's one line summary of the advisory."}},"type":"object","required":["id","name","classification","basin","issued_at","lat","lon","max_wind_mph","gusts_mph","min_pressure_mb","movement_mph","headline"],"title":"StormSummary","description":"One active system, as of its latest advisory.","examples":[{"advisory_number":"12","basin":"CP","classification":"TS","gusts_mph":50,"headline":"PENA PERSISTS AS A TROPICAL CYCLONE FOR NOW","id":"CP042026","issued_at":"2026-11-09T15:00:00Z","lat":11.4,"lon":-159.5,"max_wind_mph":40,"min_pressure_mb":1004,"movement_dir_deg":265,"movement_mph":9,"name":"Pena"}]},"wxalerts_api__schemas__weather__LocationBlock":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Place name. Null when the point was given as coordinates."},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"Place name with its state, e.g. 'Denton, TX'. Same rule as `name`."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or region of the named place."},"lat":{"type":"number","title":"Lat","description":"Latitude the forecast is for, degrees north."},"lon":{"type":"number","title":"Lon","description":"Longitude the forecast is for, degrees east."},"timezone":{"type":"string","title":"Timezone","description":"IANA zone the local times are in"}},"type":"object","required":["lat","lon","timezone"],"title":"LocationBlock"},"wxalerts_api__schemas__weather__UnitsBlock":{"properties":{"system":{"type":"string","title":"System","description":"si | metric | us | uk"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldUnit"},"type":"object","title":"Fields","description":"Every measurement name that can appear in this response, in one map. Observed and forecast fields share a vocabulary: a `temperature` in `current` and a `temperature` in `hourly` are the same kind of number in the same unit."}},"type":"object","required":["system","fields"],"title":"UnitsBlock"}},"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"An account API key (`wx_live_...`), made at https://wxalerts.org/account/. Send it in this header or as a Bearer token. Never put it in the query string: a request with `key` or `api_key` in the URL is refused with a 400."},"BearerApiKey":{"type":"http","scheme":"bearer","description":"The same account API key sent as `Authorization: Bearer wx_live_...`, for clients that can set that header and not X-API-Key."}}},"servers":[{"url":"https://api.wxalerts.org"}]}