internal
workspaces
Provision Workspace
Provision a new workspace end-to-end with a Neon sandbox + counties.
Replaces the legacy bare-create POST /. A workspace granted no counties has zero geographic query access, so provisioning is the only sanctioned create path. Fires the stand_up_workspace Dagster job and returns once the rows are persisted (5-15s for Neon create).
A local workspace seeds its county rows claimed for the loader, and its county data loads asynchronously thereafter. A commons workspace is thin: its rows record the grant, no county load is queued, and the counties are available as soon as the call returns.
post/api/v1/internal/workspaces/provision
Request body
Response
Successful Response