operator-runs

Get Permit Runs

List the org's permit_registration runs — ONE row per permit (latest run).

Only production runs surface (business_workflow_version like "prod%"), matching the warranty tab. A permit's stable identity is its sheet coordinate (trade tab + sheet_row_ref — the request_id's key); retries and re-runs each write an agent_runs row, so rows are deduped to the latest run per permit. Orgs with the permit workflow disabled get an empty list.

A permit a manager resolved (POST /permit-runs/resolve) is hidden while its latest run predates the resolution; a newer run resurfaces it. The row shape follows operator_config.permit.mode (packet vs. portal columns).

get/permit-runs

Response

Successful Response

{"stackTrail":"paths:/permit-runs:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes