v3
OpenAPI 3.1.02026-08-06274467602.9 KBWarm County Boundary
Pre-warm the boundary MV for a county without creating a project.
Called from the picker the moment a user soft-selects a county, so the Neon roundtrip (TIGER GEOID lookup + CREATE MATERIALIZED VIEW + index) overlaps with prompt composition instead of blocking the subsequent project-create. Idempotent — the MV is workspace-scoped and deterministically named by county_fips; concurrent warms are serialized inside ensure_county_boundary_mv by an advisory lock and the second caller fast-paths on the existing MV.
Workspace RBAC mirrors create_sandbox_project: FIPS not in the user's available geographies → 403, FIPS not loaded into the workspace's workspace_counties table → 404, FIPS not present in the workspace's tiger_county table → 404. No project row is created on any path — the warm flow is read-only at the app-DB level.
Request body
Response
Successful Response