{
  "version": 1,
  "authentication": {
    "type": "bearer",
    "login": "/api/auth/device/code"
  },
  "writeContract": {
    "header": "x-operat-write-contract",
    "value": "4"
  },
  "resources": "/api/v1/resources",
  "schemas": "/api/v1/schemas/{schemaId}",
  "maximumRequestBytes": 44804779,
  "actions": [
    {
      "path": "/api/v1/actions/authority-notes/list",
      "method": "POST",
      "summary": "List shared notes about Wody Polskie offices (Zarządy Zlewni and RZGW).",
      "schema": "/api/v1/actions/authority-notes/list",
      "notes": "Account-scoped; no project is required. Returns notes newest first and the current viewer. Agents have read-only access. Filter by `officeIds`; use `projects/authority-office/get` (`officeId`, `rzgwId`) to fetch the notes the app shows for a project.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/calculations/evaluate",
      "method": "POST",
      "summary": "Evaluate calculation state without saving.",
      "schema": "/api/v1/actions/calculations/evaluate",
      "notes": "Project evaluations return an exact evaluationBasis. Supply it on create or update to reject changed sources. An empty basis asserts no active links; omission makes no assertion."
    },
    {
      "path": "/api/v1/actions/calculations/methods/get",
      "method": "POST",
      "summary": "Read a method contract and its explanation.",
      "schema": "/api/v1/actions/calculations/methods/get"
    },
    {
      "path": "/api/v1/actions/calculations/methods/list",
      "method": "POST",
      "summary": "List methods from the calculation type registry.",
      "schema": "/api/v1/actions/calculations/methods/list"
    },
    {
      "path": "/api/v1/actions/calculations/peak-matched-storm",
      "method": "POST",
      "summary": "Calculate a peak-matched design hydrograph or retention scenario from saved inputs without storing fitted results.",
      "schema": "/api/v1/actions/calculations/peak-matched-storm"
    },
    {
      "path": "/api/v1/actions/calculations/types/get",
      "method": "POST",
      "summary": "Read a calculation type, its state schema, results, exported values and slots.",
      "schema": "/api/v1/actions/calculations/types/get"
    },
    {
      "path": "/api/v1/actions/calculations/types/list",
      "method": "POST",
      "summary": "List the available calculation types.",
      "schema": "/api/v1/actions/calculations/types/list"
    },
    {
      "path": "/api/v1/actions/calculations/validate",
      "method": "POST",
      "summary": "Validate calculation state and dependency admission without saving.",
      "schema": "/api/v1/actions/calculations/validate"
    },
    {
      "path": "/api/v1/actions/characteristic-points/commands",
      "method": "POST",
      "summary": "Create, patch, delete, locate, or import Characteristic Points.",
      "schema": "/api/v1/actions/characteristic-points/commands",
      "notes": "Import accepts typed point records; no expectedRevision is required. HTTP supplies a write envelope; MCP supplies it automatically. Original engineering coordinates may be incomplete."
    },
    {
      "path": "/api/v1/actions/characteristic-points/list",
      "method": "POST",
      "summary": "List project Characteristic Points.",
      "schema": "/api/v1/actions/characteristic-points/list"
    },
    {
      "path": "/api/v1/actions/cost-estimates/ath",
      "method": "POST",
      "summary": "Export a cost estimate as base64 Windows-1250 ATH.",
      "schema": "/api/v1/actions/cost-estimates/ath",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/create",
      "method": "POST",
      "summary": "Utwórz kosztorys z przykładowymi ustawieniami do sprawdzenia.",
      "schema": "/api/v1/actions/cost-estimates/create",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/delete",
      "method": "POST",
      "summary": "Usuń kosztorys; ponowne usunięcie nie zmienia stanu.",
      "schema": "/api/v1/actions/cost-estimates/delete",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/edit",
      "method": "POST",
      "summary": "Zmień kosztorys; dodanie pozycji wymaga kompletnego zapisanego obrazu pozycji.",
      "schema": "/api/v1/actions/cost-estimates/edit",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/export-pdf",
      "method": "POST",
      "summary": "Download a PDF of the requested saved estimate revision.",
      "schema": "/api/v1/actions/cost-estimates/export-pdf",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/get",
      "method": "POST",
      "summary": "Read a cost estimate and its summary.",
      "schema": "/api/v1/actions/cost-estimates/get",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/kosztorys",
      "method": "POST",
      "summary": "Read priced rows, resources and totals.",
      "schema": "/api/v1/actions/cost-estimates/kosztorys",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/list",
      "method": "POST",
      "summary": "List project cost estimates.",
      "schema": "/api/v1/actions/cost-estimates/list",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/przedmiar",
      "method": "POST",
      "summary": "Read the bill of quantities.",
      "schema": "/api/v1/actions/cost-estimates/przedmiar",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/cost-estimates/read",
      "method": "POST",
      "summary": "Odczytaj listę kosztorysów, podsumowanie, działy, pozycje, przedmiar, nakłady R/M/S lub odnośnik ATH.",
      "schema": "/api/v1/actions/cost-estimates/read",
      "notes": "Continue with params.offset = nextOffset and expectedRevision (expectedListVersion for list). Przedmiar/kosztorys offsets span the whole estimate, without a section selector. Join every row/fragment sectionKey to the ordered sections read for names, position counts and totals, including empty sections. Positions remain section-scoped. Report items with kind row include measurements/resources; kind fragment requires a position read with the report view. Position json fragments use UTF-16 offsets; concatenate before parsing. ATH links require a signed-in engineer.",
      "feature": "cost-estimates"
    },
    {
      "path": "/api/v1/actions/documents/assets/admission",
      "method": "POST",
      "summary": "Read cloud document asset admission and revision. Local files have no admission clock.",
      "schema": "/api/v1/actions/documents/assets/admission",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/assets/delete",
      "method": "POST",
      "summary": "Delete an asset with stale-selection protection. Cloud storage also checks the asset revision.",
      "schema": "/api/v1/actions/documents/assets/delete",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/assets/list",
      "method": "POST",
      "summary": "List embedded document assets.",
      "schema": "/api/v1/actions/documents/assets/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/assets/recover",
      "method": "POST",
      "summary": "Recover a cloud asset mutation attempt. Local file operations do not recover.",
      "schema": "/api/v1/actions/documents/assets/recover",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/blueprints/list",
      "method": "POST",
      "summary": "Discover document blueprints and versions.",
      "schema": "/api/v1/actions/documents/blueprints/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/config/describe",
      "method": "POST",
      "summary": "Discover configuration choices and applicable sections.",
      "schema": "/api/v1/actions/documents/config/describe",
      "notes": "Describes schema-versioned scope, qualifier and calculation choices. Config JSON is checked against these choices when it is previewed or saved.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/config/get",
      "method": "POST",
      "summary": "Read document configuration and revision.",
      "schema": "/api/v1/actions/documents/config/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/config/preview",
      "method": "POST",
      "summary": "Preview the sections a document configuration includes.",
      "schema": "/api/v1/actions/documents/config/preview",
      "notes": "Previews an existing document, with its saved config or a candidate one. Returns each section's title and what it is for, and the structure changes; writing instructions are TODO text in the document. Use documents/config/describe for supported choices.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/config/update",
      "method": "POST",
      "summary": "Replace document configuration at its expected revision.",
      "schema": "/api/v1/actions/documents/config/update",
      "notes": "Config is document-type JSON. This update does not reconcile or regenerate authored body content.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/create",
      "method": "POST",
      "summary": "Create a document from a blueprint.",
      "schema": "/api/v1/actions/documents/create",
      "notes": "Initial config is document-type JSON. Discover blueprint choices and documents/config/describe before authoring config. Local source access requires the installed runtime.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/delete",
      "method": "POST",
      "summary": "Delete a document with revision and change identity.",
      "schema": "/api/v1/actions/documents/delete",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/delete/admission",
      "method": "POST",
      "summary": "Read admission facts for document deletion.",
      "schema": "/api/v1/actions/documents/delete/admission",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/delete/recover",
      "method": "POST",
      "summary": "Recover the original document deletion attempt.",
      "schema": "/api/v1/actions/documents/delete/recover",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/design/get",
      "method": "POST",
      "summary": "Read a document's design with its team's style and reset values.",
      "schema": "/api/v1/actions/documents/design/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/design/mutate",
      "method": "POST",
      "summary": "Change a document's revisioned design: title page content and style overrides.",
      "schema": "/api/v1/actions/documents/design/mutate",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export-config/get",
      "method": "POST",
      "summary": "Read export preferences and configuration revision.",
      "schema": "/api/v1/actions/documents/export-config/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export-config/update",
      "method": "POST",
      "summary": "Update export preferences with a stable request identity.",
      "schema": "/api/v1/actions/documents/export-config/update",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export/admission",
      "method": "POST",
      "summary": "Inspect document export target readiness.",
      "schema": "/api/v1/actions/documents/export/admission",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export/create",
      "method": "POST",
      "summary": "Submit a remote HTML, PDF or DOCX export job.",
      "schema": "/api/v1/actions/documents/export/create",
      "notes": "Only remote_set is supported. Poll the returned job identity and download through the export resource route. Local exports require the installed runtime.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export/jobs/dismiss",
      "method": "POST",
      "summary": "Dismiss an export job.",
      "schema": "/api/v1/actions/documents/export/jobs/dismiss",
      "notes": "Dismissal does not cancel rendering.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export/jobs/get",
      "method": "POST",
      "summary": "Read export job state and artifact manifest.",
      "schema": "/api/v1/actions/documents/export/jobs/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/export/jobs/list",
      "method": "POST",
      "summary": "List export jobs for the expected actor and organization.",
      "schema": "/api/v1/actions/documents/export/jobs/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/generated-blocks/list",
      "method": "POST",
      "summary": "List generated document blocks.",
      "schema": "/api/v1/actions/documents/generated-blocks/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/generated-blocks/refresh",
      "method": "POST",
      "summary": "Preview or apply a generated block refresh.",
      "schema": "/api/v1/actions/documents/generated-blocks/refresh",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/get",
      "method": "POST",
      "summary": "Read document metadata and readiness.",
      "schema": "/api/v1/actions/documents/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/list",
      "method": "POST",
      "summary": "List project documents, optionally filtered by document kind.",
      "schema": "/api/v1/actions/documents/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/organization-style/get",
      "method": "POST",
      "summary": "Read an organization's document style.",
      "schema": "/api/v1/actions/documents/organization-style/get"
    },
    {
      "path": "/api/v1/actions/documents/organization-style/save",
      "method": "POST",
      "summary": "Save an organization's document style.",
      "schema": "/api/v1/actions/documents/organization-style/save",
      "notes": "Changes the organization style under organization policy. Logo bytes use a separate resource route."
    },
    {
      "path": "/api/v1/actions/documents/readiness",
      "method": "POST",
      "summary": "Inspect document source readiness.",
      "schema": "/api/v1/actions/documents/readiness",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/sections/refresh",
      "method": "POST",
      "summary": "Preview or apply a generated section refresh.",
      "schema": "/api/v1/actions/documents/sections/refresh",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/create",
      "method": "POST",
      "summary": "Create a specification from ordered tasks and template or blank items.",
      "schema": "/api/v1/actions/documents/specification/create",
      "notes": "Supply a stable documentId, document_absent precondition and saved presentation write. Identical retry and projects/writes/status return the original assembly result.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/items/add",
      "method": "POST",
      "summary": "Insert a template or blank specification item.",
      "schema": "/api/v1/actions/documents/specification/items/add",
      "notes": "Requires expectedRevision and an immutable presentation write. Save the full command before sending and retry it unchanged.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/items/list",
      "method": "POST",
      "summary": "Read specification task and item keys with the observed body revision.",
      "schema": "/api/v1/actions/documents/specification/items/list",
      "notes": "Use bodyRevision as expectedRevision for subsequent structural edits.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/items/remove",
      "method": "POST",
      "summary": "Remove a specification item by section key.",
      "schema": "/api/v1/actions/documents/specification/items/remove",
      "notes": "Requires expectedRevision and an immutable presentation write. Surrounding authored content is retained.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/items/reorder",
      "method": "POST",
      "summary": "Replace the ordered item keys of one specification task.",
      "schema": "/api/v1/actions/documents/specification/items/reorder",
      "notes": "Requires expectedRevision and an immutable presentation write, including a no-op order. Recover uncertain results through projects/writes/status.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/renumber",
      "method": "POST",
      "summary": "Renumber specification tasks and items.",
      "schema": "/api/v1/actions/documents/specification/renumber",
      "notes": "Requires the caller body revision, including when numbering is already current, and an immutable presentation write.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/specification/templates/list",
      "method": "POST",
      "summary": "List available technical specification templates.",
      "schema": "/api/v1/actions/documents/specification/templates/list",
      "notes": "Use these template IDs with documents/specification/create and documents/specification/items/add.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/structure/get",
      "method": "POST",
      "summary": "Read the document structure.",
      "schema": "/api/v1/actions/documents/structure/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/structure/reconcile",
      "method": "POST",
      "summary": "Preview or apply document structure reconciliation.",
      "schema": "/api/v1/actions/documents/structure/reconcile",
      "notes": "Apply reuses preview body/config revisions, relevantInputToken and the original change identity. Preview changes nothing; apply writes the reconciled structure.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/sync-status",
      "method": "POST",
      "summary": "Inspect background document synchronization.",
      "schema": "/api/v1/actions/documents/sync-status",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/documents/update",
      "method": "POST",
      "summary": "Update document title or export basename.",
      "schema": "/api/v1/actions/documents/update",
      "notes": "Requires nonempty updates and metadata_fields expected values for exactly those fields, observedConfigRevision from documents/get, and an immutable presentation write envelope. Returns stored metadata and documents revision. After uncertainty use projects/writes/status or resend the identical saved command. A conflict requires reread and reconsideration with a new attempt.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/evidence/refresh",
      "method": "POST",
      "summary": "Schedule evidence acquisition for one target or up to 200 project targets.",
      "schema": "/api/v1/actions/evidence/refresh",
      "notes": "Returns planned run and probe identifiers. Read the report lifecycle for completion. A lost response does not mean the work was not scheduled; read the report before retrying."
    },
    {
      "path": "/api/v1/actions/evidence/report",
      "method": "POST",
      "summary": "Read retained evidence and lifecycle for one target or up to 200 project targets.",
      "schema": "/api/v1/actions/evidence/report"
    },
    {
      "path": "/api/v1/actions/evidence/retry",
      "method": "POST",
      "summary": "Schedule an evidence acquisition retry.",
      "schema": "/api/v1/actions/evidence/retry",
      "notes": "Read the report lifecycle for completion. A lost response does not mean the work was not scheduled; read the report before retrying."
    },
    {
      "path": "/api/v1/actions/evidence/water-devices/collect",
      "method": "POST",
      "summary": "Fetch external data for every water device that was never fetched, changed since, or failed.",
      "schema": "/api/v1/actions/evidence/water-devices/collect",
      "notes": "Resumes fetching if it was paused. Devices that are up to date are skipped, so repeating the call only finds new work; `all: true` fetches every device with points again, also those up to date. Read `evidence/water-devices/progress` for completion."
    },
    {
      "path": "/api/v1/actions/evidence/water-devices/pause",
      "method": "POST",
      "summary": "Pause or resume fetching external data for the project's water devices.",
      "schema": "/api/v1/actions/evidence/water-devices/pause",
      "notes": "Queries already sent finish; no new ones start until resumed. Queued devices keep their place."
    },
    {
      "path": "/api/v1/actions/evidence/water-devices/progress",
      "method": "POST",
      "summary": "Count the project's water devices by the state of their external data.",
      "schema": "/api/v1/actions/evidence/water-devices/progress",
      "notes": "`fresh` devices are complete, `pending` are being fetched, `failed` have a source that failed, `stale` changed since their last fetch, `missing` were never fetched and `withoutPoints` have no points to query. `paused` is true while fetching is paused."
    },
    {
      "path": "/api/v1/actions/files/capabilities",
      "method": "POST",
      "summary": "Inspect project file readiness and capabilities.",
      "schema": "/api/v1/actions/files/capabilities"
    },
    {
      "path": "/api/v1/actions/files/folders/create",
      "method": "POST",
      "summary": "Create a folder using its original reservation and write envelope.",
      "schema": "/api/v1/actions/files/folders/create"
    },
    {
      "path": "/api/v1/actions/files/folders/reconcile",
      "method": "POST",
      "summary": "Reconcile the original folder creation reservation.",
      "schema": "/api/v1/actions/files/folders/reconcile"
    },
    {
      "path": "/api/v1/actions/files/folders/reserve",
      "method": "POST",
      "summary": "Reserve a project folder creation.",
      "schema": "/api/v1/actions/files/folders/reserve"
    },
    {
      "path": "/api/v1/actions/files/list",
      "method": "POST",
      "summary": "Read one provider-backed file page. Default 100, maximum 500, at most 1 MiB.",
      "schema": "/api/v1/actions/files/list",
      "notes": "Continue with page.nextCursor and the same project/folder/limit. A page can be empty while hidden entries are skipped; continue until page.complete. Check page.complete. Cursor errors require restarting without a cursor. Drive/FS observations are not transactional snapshots."
    },
    {
      "path": "/api/v1/actions/files/move",
      "method": "POST",
      "summary": "Move a file to another project folder.",
      "schema": "/api/v1/actions/files/move"
    },
    {
      "path": "/api/v1/actions/files/rename",
      "method": "POST",
      "summary": "Rename a file at its expected write revision.",
      "schema": "/api/v1/actions/files/rename"
    },
    {
      "path": "/api/v1/actions/files/trash",
      "method": "POST",
      "summary": "Trash a file using its revisioned write envelope.",
      "schema": "/api/v1/actions/files/trash"
    },
    {
      "path": "/api/v1/actions/files/uploads/reconcile",
      "method": "POST",
      "summary": "Reconcile the original file upload reservation.",
      "schema": "/api/v1/actions/files/uploads/reconcile"
    },
    {
      "path": "/api/v1/actions/files/uploads/reserve",
      "method": "POST",
      "summary": "Reserve a bounded project file upload.",
      "schema": "/api/v1/actions/files/uploads/reserve",
      "notes": "Upload bytes use a separate resource route. Keep reservation identity, size, hash and content type unchanged."
    },
    {
      "path": "/api/v1/actions/forms/batch/get",
      "method": "POST",
      "summary": "Read a form batch and its ordered membership.",
      "schema": "/api/v1/actions/forms/batch/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/create",
      "method": "POST",
      "summary": "Create a form draft with a stable request identity.",
      "schema": "/api/v1/actions/forms/create",
      "notes": "Field dictionaries are template-specific JSON; values are checked against the template fields. createRequestId is unique per account across projects; reuse with other input is DOCX_FORM_CREATE_IDENTITY_CONFLICT.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/create-batch",
      "method": "POST",
      "summary": "Create an ordered batch of form drafts.",
      "schema": "/api/v1/actions/forms/create-batch",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/delete",
      "method": "POST",
      "summary": "Delete a form draft with its original request identity.",
      "schema": "/api/v1/actions/forms/delete",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/download",
      "method": "POST",
      "summary": "Download form drafts as DOCX or ZIP (MCP: browser URL; HTTP: base64).",
      "schema": "/api/v1/actions/forms/download",
      "notes": "Accepts up to 100 unique revisioned forms; expectedRevision is configRevision from forms/get. HTTP returns base64 bounded to 8 MiB; MCP returns a five-minute downloadUrl requiring project access in the browser. No Drive storage is needed.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/get",
      "method": "POST",
      "summary": "Read a form draft and revision.",
      "schema": "/api/v1/actions/forms/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/list",
      "method": "POST",
      "summary": "List project form drafts.",
      "schema": "/api/v1/actions/forms/list",
      "notes": "Published files are not retained form history. Published-state listing returns no historical forms.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/party-candidates",
      "method": "POST",
      "summary": "Discover profile-derived parties for a form.",
      "schema": "/api/v1/actions/forms/party-candidates",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/preview-batch-draft",
      "method": "POST",
      "summary": "Preview an ordered batch of form drafts.",
      "schema": "/api/v1/actions/forms/preview-batch-draft",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/preview-draft",
      "method": "POST",
      "summary": "Preview a form draft before creation.",
      "schema": "/api/v1/actions/forms/preview-draft",
      "notes": "Field dictionaries are template-specific extensible JSON. Discover template field definitions before supplying values.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/preview-values",
      "method": "POST",
      "summary": "Preview effective form values.",
      "schema": "/api/v1/actions/forms/preview-values",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/publication/cancel",
      "method": "POST",
      "summary": "Cancel the original publication when its owner allows.",
      "schema": "/api/v1/actions/forms/publication/cancel",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/publication/readiness",
      "method": "POST",
      "summary": "Inspect project-file publication prerequisites.",
      "schema": "/api/v1/actions/forms/publication/readiness",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/publication/save",
      "method": "POST",
      "summary": "Publish revisioned form output into project files.",
      "schema": "/api/v1/actions/forms/publication/save",
      "notes": "Writes provider files. Preserve operation, binding and form revisions while recovering uncertain outcomes.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/publication/status",
      "method": "POST",
      "summary": "Read form publication and recovery state.",
      "schema": "/api/v1/actions/forms/publication/status",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/refresh-computed-values",
      "method": "POST",
      "summary": "Refresh a form computed-value snapshot.",
      "schema": "/api/v1/actions/forms/refresh-computed-values",
      "notes": "Omit fieldValues to keep saved overrides. fieldValues with expectedFormRevision replaces every saved override; {} clears them. resetFieldKeys recomputes single fields.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/templates/list",
      "method": "POST",
      "summary": "Discover form templates and field definitions.",
      "schema": "/api/v1/actions/forms/templates/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/update-batch-drafts",
      "method": "POST",
      "summary": "Update revisioned form drafts in a batch.",
      "schema": "/api/v1/actions/forms/update-batch-drafts",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/forms/update-fields",
      "method": "POST",
      "summary": "Update form fields at the expected revision.",
      "schema": "/api/v1/actions/forms/update-fields",
      "notes": "Field values are template-specific extensible JSON. Discover form template definitions for supported fields.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/location/commands",
      "method": "POST",
      "summary": "Apply typed project Location commands.",
      "schema": "/api/v1/actions/location/commands",
      "notes": "Each command checks the revisions of the location data it changes. Document-reference commands store metadata and do not upload project folder files."
    },
    {
      "path": "/api/v1/actions/location/egib-recipient-plan/build",
      "method": "POST",
      "summary": "Build cadastral-document recipient groups.",
      "schema": "/api/v1/actions/location/egib-recipient-plan/build",
      "notes": "Requires the existing map-edit permission. Produces a plan without creating documents or submitting requests."
    },
    {
      "path": "/api/v1/actions/location/get",
      "method": "POST",
      "summary": "Read a project Location domain.",
      "schema": "/api/v1/actions/location/get",
      "notes": "Required domain: location_parcels (accepted parcels), location_inspections (inspection points), location_stakeholders (parties), or location_documents (document references). Government-document metadata may contain project-folder-relative references. It does not supply document bytes."
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/add-map-point",
      "method": "POST",
      "summary": "Add a parcel inspection point from map coordinates.",
      "schema": "/api/v1/actions/location/parcel-inspection/add-map-point"
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/add-point",
      "method": "POST",
      "summary": "Add a parcel inspection point.",
      "schema": "/api/v1/actions/location/parcel-inspection/add-point"
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/clear-points",
      "method": "POST",
      "summary": "Clear parcel inspection points.",
      "schema": "/api/v1/actions/location/parcel-inspection/clear-points",
      "notes": "Does not check for changes since your last read. Read back after an uncertain outcome before retrying."
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/get",
      "method": "POST",
      "summary": "Read parcel inspection points.",
      "schema": "/api/v1/actions/location/parcel-inspection/get",
      "notes": "May synthesize default points without persisting them. Inspection points are separate from Characteristic Points."
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/remove-point",
      "method": "POST",
      "summary": "Remove a parcel inspection point.",
      "schema": "/api/v1/actions/location/parcel-inspection/remove-point"
    },
    {
      "path": "/api/v1/actions/location/parcel-inspection/set-points",
      "method": "POST",
      "summary": "Replace parcel inspection points.",
      "schema": "/api/v1/actions/location/parcel-inspection/set-points",
      "notes": "Does not check for changes since your last read. Read back after an uncertain outcome before retrying."
    },
    {
      "path": "/api/v1/actions/location/parcels/accept",
      "method": "POST",
      "summary": "Accept parcel candidates into the project.",
      "schema": "/api/v1/actions/location/parcels/accept",
      "notes": "Records where each accepted value came from and uses the supplied write envelope. Discovery alone does not accept parcels."
    },
    {
      "path": "/api/v1/actions/location/parcels/cancel-candidate-egib-details",
      "method": "POST",
      "summary": "Cancel candidate cadastral-detail acquisition.",
      "schema": "/api/v1/actions/location/parcels/cancel-candidate-egib-details",
      "notes": "Cancellation does not roll back facts already acquired."
    },
    {
      "path": "/api/v1/actions/location/parcels/candidate-egib-details",
      "method": "POST",
      "summary": "Acquire cadastral details for parcel candidates.",
      "schema": "/api/v1/actions/location/parcels/candidate-egib-details",
      "notes": "Accepts one candidate/subscriptionId or candidates:[{candidate,subscriptionId}] (up to 200, 20000 total vertices); batch results retain input order. Starts or reuses persisted acquisition operations and subscriptions. Discovery does not accept a parcel into the project."
    },
    {
      "path": "/api/v1/actions/location/parcels/delete",
      "method": "POST",
      "summary": "Delete an accepted Project Parcel.",
      "schema": "/api/v1/actions/location/parcels/delete",
      "notes": "Also removes the parcel map feature, stakeholders and inspection points, and takes the parcel off every water device that lists it. Uses the supplied write envelope."
    },
    {
      "path": "/api/v1/actions/location/parcels/discover-exact",
      "method": "POST",
      "summary": "Find a parcel by its exact identifier.",
      "schema": "/api/v1/actions/location/parcels/discover-exact"
    },
    {
      "path": "/api/v1/actions/location/parcels/discover-hierarchy",
      "method": "POST",
      "summary": "Find parcels through the cadastral hierarchy.",
      "schema": "/api/v1/actions/location/parcels/discover-hierarchy"
    },
    {
      "path": "/api/v1/actions/location/parcels/discover-point",
      "method": "POST",
      "summary": "Find parcel candidates at one map point or up to 200 ordered points.",
      "schema": "/api/v1/actions/location/parcels/discover-point",
      "notes": "Batch points return ordered results including null candidates. Maximum 20000 result vertices; split larger batches."
    },
    {
      "path": "/api/v1/actions/location/parcels/discover-region",
      "method": "POST",
      "summary": "Find parcel candidates in a region.",
      "schema": "/api/v1/actions/location/parcels/discover-region"
    },
    {
      "path": "/api/v1/actions/location/parcels/update",
      "method": "POST",
      "summary": "Update accepted Project Parcel metadata.",
      "schema": "/api/v1/actions/location/parcels/update",
      "notes": "Records where each changed field came from and uses the supplied write envelope."
    },
    {
      "path": "/api/v1/actions/location/reference-data/gminy",
      "method": "POST",
      "summary": "List Polish municipalities.",
      "schema": "/api/v1/actions/location/reference-data/gminy"
    },
    {
      "path": "/api/v1/actions/location/reference-data/obreby",
      "method": "POST",
      "summary": "List cadastral districts.",
      "schema": "/api/v1/actions/location/reference-data/obreby"
    },
    {
      "path": "/api/v1/actions/location/reference-data/powiaty",
      "method": "POST",
      "summary": "List Polish counties.",
      "schema": "/api/v1/actions/location/reference-data/powiaty"
    },
    {
      "path": "/api/v1/actions/location/reference-data/resolve-parcels",
      "method": "POST",
      "summary": "Resolve administrative references for parcel identifiers.",
      "schema": "/api/v1/actions/location/reference-data/resolve-parcels"
    },
    {
      "path": "/api/v1/actions/location/reference-data/wojewodztwa",
      "method": "POST",
      "summary": "List Polish voivodeships.",
      "schema": "/api/v1/actions/location/reference-data/wojewodztwa"
    },
    {
      "path": "/api/v1/actions/location/search/address",
      "method": "POST",
      "summary": "Search for addresses.",
      "schema": "/api/v1/actions/location/search/address"
    },
    {
      "path": "/api/v1/actions/location/search/obreb-hints",
      "method": "POST",
      "summary": "Search for cadastral district hints.",
      "schema": "/api/v1/actions/location/search/obreb-hints"
    },
    {
      "path": "/api/v1/actions/maps/appearance/clear",
      "method": "POST",
      "summary": "Clear drawing appearance overrides.",
      "schema": "/api/v1/actions/maps/appearance/clear",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/appearance/get",
      "method": "POST",
      "summary": "Read drawing appearance overrides.",
      "schema": "/api/v1/actions/maps/appearance/get"
    },
    {
      "path": "/api/v1/actions/maps/capabilities/get",
      "method": "POST",
      "summary": "Read registered map service capabilities.",
      "schema": "/api/v1/actions/maps/capabilities/get",
      "notes": "Reads registered map sources only. Capabilities documents larger than 2 MiB are refused."
    },
    {
      "path": "/api/v1/actions/maps/catalog/composition/apply",
      "method": "POST",
      "summary": "Replace the catalogue layer selection.",
      "schema": "/api/v1/actions/maps/catalog/composition/apply",
      "notes": "Uses the project write envelope. Replaces catalogue-managed selection while preserving project drawings."
    },
    {
      "path": "/api/v1/actions/maps/catalog/datasets/get",
      "method": "POST",
      "summary": "Read a map dataset, its entries and services.",
      "schema": "/api/v1/actions/maps/catalog/datasets/get"
    },
    {
      "path": "/api/v1/actions/maps/catalog/datasets/list",
      "method": "POST",
      "summary": "List map datasets.",
      "schema": "/api/v1/actions/maps/catalog/datasets/list"
    },
    {
      "path": "/api/v1/actions/maps/catalog/hydrology",
      "method": "POST",
      "summary": "Read the hydrology catalogue.",
      "schema": "/api/v1/actions/maps/catalog/hydrology"
    },
    {
      "path": "/api/v1/actions/maps/catalog/library",
      "method": "POST",
      "summary": "Read the catalogue groups and the entries the project map shows.",
      "schema": "/api/v1/actions/maps/catalog/library",
      "notes": "Browse other entries with maps/catalog/datasets/list (filter by a group id as providerId) and maps/catalog/datasets/get, which return each entry sourceRef. maps/catalog/composition/apply replaces the whole selection: send the selected sourceRefs plus the ones to add, or without the ones to remove."
    },
    {
      "path": "/api/v1/actions/maps/catalog/providers/list",
      "method": "POST",
      "summary": "List map providers.",
      "schema": "/api/v1/actions/maps/catalog/providers/list"
    },
    {
      "path": "/api/v1/actions/maps/drawings/add",
      "method": "POST",
      "summary": "Add mixed drawings atomically to an existing or named new layer.",
      "schema": "/api/v1/actions/maps/drawings/add",
      "notes": "All-or-nothing, up to 1000 features, 16384 vertices per feature and 100000 total vertices. GeoJSON EPSG:2180 is [easting,northing] in metres. Survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]; survey-xy accepts [X,Y] explicitly. Read landed bounds and compare with the expected location."
    },
    {
      "path": "/api/v1/actions/maps/explorer/focus-target",
      "method": "POST",
      "summary": "Resolve bounds for a map explorer item.",
      "schema": "/api/v1/actions/maps/explorer/focus-target",
      "notes": "Returns a focus target without navigating an attached browser."
    },
    {
      "path": "/api/v1/actions/maps/explorer/tree",
      "method": "POST",
      "summary": "Read the map explorer tree.",
      "schema": "/api/v1/actions/maps/explorer/tree",
      "notes": "Returns one bounded layer/feature fragment page. Layers retain saved position order with ID ties. Continue with tree.page.nextCursor until tree.page.complete."
    },
    {
      "path": "/api/v1/actions/maps/feature-details/commands",
      "method": "POST",
      "summary": "Change drawing details and appearance.",
      "schema": "/api/v1/actions/maps/feature-details/commands",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence. Protected features are refused."
    },
    {
      "path": "/api/v1/actions/maps/feature-groups/add-children",
      "method": "POST",
      "summary": "Add drawings to a feature group.",
      "schema": "/api/v1/actions/maps/feature-groups/add-children",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/feature-groups/create",
      "method": "POST",
      "summary": "Group drawing features.",
      "schema": "/api/v1/actions/maps/feature-groups/create",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/feature-groups/remove-children",
      "method": "POST",
      "summary": "Remove drawings from a feature group.",
      "schema": "/api/v1/actions/maps/feature-groups/remove-children",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/feature-groups/ungroup",
      "method": "POST",
      "summary": "Ungroup drawing features.",
      "schema": "/api/v1/actions/maps/feature-groups/ungroup",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/features/bounds",
      "method": "POST",
      "summary": "Read drawing feature bounds.",
      "schema": "/api/v1/actions/maps/features/bounds"
    },
    {
      "path": "/api/v1/actions/maps/features/commands",
      "method": "POST",
      "summary": "Apply drawing geometry and membership commands.",
      "schema": "/api/v1/actions/maps/features/commands",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence. Protected features are refused. Restore consumes a captured snapshot, not a server undo history."
    },
    {
      "path": "/api/v1/actions/maps/features/delete",
      "method": "POST",
      "summary": "Delete a drawing feature.",
      "schema": "/api/v1/actions/maps/features/delete",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/features/details",
      "method": "POST",
      "summary": "Read the saved details of a project parcel or catchment shown on the map.",
      "schema": "/api/v1/actions/maps/features/details",
      "notes": "A parcel answers its cadastral facts from the last captured land registry record; a catchment answers its saved calculation as stored. Other features answer null."
    },
    {
      "path": "/api/v1/actions/maps/features/get",
      "method": "POST",
      "summary": "Read a drawing feature.",
      "schema": "/api/v1/actions/maps/features/get"
    },
    {
      "path": "/api/v1/actions/maps/features/query",
      "method": "POST",
      "summary": "Read drawing features in a project layer.",
      "schema": "/api/v1/actions/maps/features/query",
      "notes": "Returns one bounded page: default 50, maximum 50 features and 1 MiB. Follow nextCursor until complete; partialReason explains an incomplete page. On snapshot_changed, discard accumulated pages and restart without a cursor."
    },
    {
      "path": "/api/v1/actions/maps/features/upsert",
      "method": "POST",
      "summary": "Create or update a drawing feature.",
      "schema": "/api/v1/actions/maps/features/upsert",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/geometry/bounds",
      "method": "POST",
      "summary": "Compute geometry or referenced feature bounds.",
      "schema": "/api/v1/actions/maps/geometry/bounds",
      "notes": "EPSG:2180 uses [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. EPSG:4326 uses [longitude,latitude]."
    },
    {
      "path": "/api/v1/actions/maps/geometry/buffer",
      "method": "POST",
      "summary": "Compute a geometry buffer.",
      "schema": "/api/v1/actions/maps/geometry/buffer",
      "notes": "State whether the distance is in metres or map units. EPSG:2180 uses [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. EPSG:4326 uses [longitude,latitude]."
    },
    {
      "path": "/api/v1/actions/maps/geometry/intersects",
      "method": "POST",
      "summary": "Test whether geometries intersect.",
      "schema": "/api/v1/actions/maps/geometry/intersects",
      "notes": "EPSG:2180 uses [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. EPSG:4326 uses [longitude,latitude]."
    },
    {
      "path": "/api/v1/actions/maps/geometry/transform",
      "method": "POST",
      "summary": "Transform geometry between explicit projections.",
      "schema": "/api/v1/actions/maps/geometry/transform",
      "notes": "fromProjection must equal geometry.projection. EPSG:2180 uses [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. No silent axis correction."
    },
    {
      "path": "/api/v1/actions/maps/import/start",
      "method": "POST",
      "summary": "Import inline GeoJSON into an existing drawing layer.",
      "schema": "/api/v1/actions/maps/import/start",
      "notes": "Uses the project write envelope. Supply source.projection explicitly (EPSG:2180, EPSG:4326 or EPSG:3857). Converts once to EPSG:2180. Reports acceptedCount, skipped indexed reasons and placement; zero accepted is refused. displayName must end in .geojson or .json. EPSG:2180 positions are [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Completion is returned inline, not as a pollable cloud job."
    },
    {
      "path": "/api/v1/actions/maps/layer-parameters/commands",
      "method": "POST",
      "summary": "Change dataset or source-layer parameters.",
      "schema": "/api/v1/actions/maps/layer-parameters/commands",
      "notes": "Uses the project-presentation write envelope. maps/render-descriptors/get returns the effective values; a dataset target takes a layer datasetId, a layer target its id."
    },
    {
      "path": "/api/v1/actions/maps/layers/add",
      "method": "POST",
      "summary": "Add project drawing layers.",
      "schema": "/api/v1/actions/maps/layers/add",
      "notes": "Drawings use featureKind map-core-feature. Style: strokeColor, fillColor (rgba for opacity), strokeWidth, radius, lineType solid|dashed, lineEnding none|arrow|arrow-both, arrowSize. EPSG:2180 is [easting,northing] metres: survey X=678465.20 Y=469232.50 becomes [469232.5,678465.2]. Read maps/layers/list and copy projectLayerId; create with maps/layers/add sources:[{kind:custom-vector,layerName:Rowy}]. Requires a stable project-presentation write and the exact observed map-scope precondition. Creates require caller IDs and absence. Replacement checks the full feature. Deletion and group edits check affected relations, order and appearances. Retain the complete request for identical retry or projects/writes/status. A conflict requires reconsideration and a fresh sequence."
    },
    {
      "path": "/api/v1/actions/maps/layers/commands",
      "method": "POST",
      "summary": "Change project layer display, visibility, or membership.",
      "schema": "/api/v1/actions/maps/layers/commands",
      "notes": "A conflict means the project layers changed; reread them before resubmitting."
    },
    {
      "path": "/api/v1/actions/maps/layers/get-effective",
      "method": "POST",
      "summary": "Read effective project drawing layers.",
      "schema": "/api/v1/actions/maps/layers/get-effective",
      "notes": "Returns drawing and project-file VECTOR layers, not every visible provider layer; maps/render-descriptors/get describes every layer."
    },
    {
      "path": "/api/v1/actions/maps/layers/list",
      "method": "POST",
      "summary": "List project drawing layers.",
      "schema": "/api/v1/actions/maps/layers/list",
      "notes": "Returns drawing and project-file VECTOR layers, not every visible provider layer; maps/render-descriptors/get describes every layer."
    },
    {
      "path": "/api/v1/actions/maps/layers/source",
      "method": "POST",
      "summary": "Read a layer source.",
      "schema": "/api/v1/actions/maps/layers/source"
    },
    {
      "path": "/api/v1/actions/maps/layers/tree",
      "method": "POST",
      "summary": "Read the map layer tree.",
      "schema": "/api/v1/actions/maps/layers/tree"
    },
    {
      "path": "/api/v1/actions/maps/orthophoto-history/get",
      "method": "POST",
      "summary": "Read orthophoto history at a point.",
      "schema": "/api/v1/actions/maps/orthophoto-history/get"
    },
    {
      "path": "/api/v1/actions/maps/personal-viewport/get",
      "method": "POST",
      "summary": "Read the saved personal map camera.",
      "schema": "/api/v1/actions/maps/personal-viewport/get"
    },
    {
      "path": "/api/v1/actions/maps/personal-viewport/set",
      "method": "POST",
      "summary": "Save the personal map camera.",
      "schema": "/api/v1/actions/maps/personal-viewport/set",
      "notes": "Uses the supplied expectedRevision and write envelope. Does not navigate an attached browser."
    },
    {
      "path": "/api/v1/actions/maps/point-info/get",
      "method": "POST",
      "summary": "Query provider information at a point.",
      "schema": "/api/v1/actions/maps/point-info/get",
      "notes": "Provider lookups are rate-limited; after a rate-limit refusal, wait before retrying. A nullable height does not establish elevation provenance.\nSprawdź, czy punkt wypada we właściwym miejscu."
    },
    {
      "path": "/api/v1/actions/maps/presets/apply",
      "method": "POST",
      "summary": "Apply a map preset to a project.",
      "schema": "/api/v1/actions/maps/presets/apply",
      "notes": "Uses the project write envelope and preserves project drawings."
    },
    {
      "path": "/api/v1/actions/maps/presets/create",
      "method": "POST",
      "summary": "Create an organization map preset.",
      "schema": "/api/v1/actions/maps/presets/create",
      "notes": "Uses the organization write envelope and source-reference validation."
    },
    {
      "path": "/api/v1/actions/maps/presets/delete",
      "method": "POST",
      "summary": "Delete an organization map preset.",
      "schema": "/api/v1/actions/maps/presets/delete",
      "notes": "Uses the organization write envelope and preserves system-preset ownership."
    },
    {
      "path": "/api/v1/actions/maps/presets/duplicate",
      "method": "POST",
      "summary": "Duplicate a map preset into an organization.",
      "schema": "/api/v1/actions/maps/presets/duplicate",
      "notes": "Uses the organization write envelope."
    },
    {
      "path": "/api/v1/actions/maps/presets/get",
      "method": "POST",
      "summary": "Read a map preset definition.",
      "schema": "/api/v1/actions/maps/presets/get"
    },
    {
      "path": "/api/v1/actions/maps/presets/list",
      "method": "POST",
      "summary": "List map preset definitions.",
      "schema": "/api/v1/actions/maps/presets/list"
    },
    {
      "path": "/api/v1/actions/maps/presets/project-binding",
      "method": "POST",
      "summary": "Read the project map preset binding.",
      "schema": "/api/v1/actions/maps/presets/project-binding"
    },
    {
      "path": "/api/v1/actions/maps/presets/project-state",
      "method": "POST",
      "summary": "Read the project map preset state.",
      "schema": "/api/v1/actions/maps/presets/project-state"
    },
    {
      "path": "/api/v1/actions/maps/presets/restore-defaults",
      "method": "POST",
      "summary": "Restore project map preset defaults.",
      "schema": "/api/v1/actions/maps/presets/restore-defaults",
      "notes": "Uses the project write envelope and preserves project drawings."
    },
    {
      "path": "/api/v1/actions/maps/presets/update",
      "method": "POST",
      "summary": "Update an organization map preset.",
      "schema": "/api/v1/actions/maps/presets/update",
      "notes": "Uses the organization write envelope and preserves system-preset ownership."
    },
    {
      "path": "/api/v1/actions/maps/render-descriptors/get",
      "method": "POST",
      "summary": "Describe every project map layer: label, visibility, source and settings.",
      "schema": "/api/v1/actions/maps/render-descriptors/get",
      "notes": "Hidden layers are included. Credits name who publishes the data; source tells a provider service, project drawings, a Tarvena dataset, a reference image, the basemap or a reference dataset. parameters are the effective layer settings that maps/layer-parameters/commands changes."
    },
    {
      "path": "/api/v1/actions/maps/roads/axis",
      "method": "POST",
      "summary": "Route one continuous BDOT10k road axis through ordered points ({easting,northing} or {longitude,latitude}), optionally with a flat-ended catchment strip.",
      "schema": "/api/v1/actions/maps/roads/axis",
      "notes": "Account map access required. Output uses the input projection (the first named point selects it). Inputs use {x,y}, {easting,northing} or {longitude,latitude}; optional point.projection names the CRS. GeoJSON output uses axes: EPSG:2180 [easting,northing] or EPSG:4326 [longitude,latitude]. 2–200 ordered points; 16 KiB request; each leg <= 2000 m, routed within 100 m of the straight leg. Each point snaps to its nearest road within 100 m. Endpoints/vertices join within 5 m; crossings without shared vertices do not connect. Shortest paths are undirected geometry routes, not traffic directions. lengthM and snapDistancesM are metres. Optional bufferM <= 100 creates buffer Polygon with flat caps at the first/last snapped point, ready for import_catchment. Engineer must review road selection and drainage width. Limits: route up to 40 km and 2048 axis vertices without repeated segments; buffer up to 4096 vertices, 256 rings and 4 km²; at most 2000 road fragments. Most routes finish within a few seconds; a route that needs more than 5 seconds stops. No partial route. Refusals (422): road_axis_gap_too_large (add a point between distant points), road_axis_no_route (move points onto one connected road), stream_time_limit_exceeded, road_axis_tile_limit_exceeded, road_axis_graph_limit_exceeded, road_axis_buffer_limit_exceeded and road_axis_buffer_coverage_limit_exceeded (split the road into shorter axes or reduce bufferM)."
    },
    {
      "path": "/api/v1/actions/maps/roads/query",
      "method": "POST",
      "summary": "Read BDOT10k road lines near points ({easting,northing} or {longitude,latitude}, radiusM defaults to 50 m) or a bounding box.",
      "schema": "/api/v1/actions/maps/roads/query",
      "notes": "Account map access required. bbox is WGS84 [west,south,east,north]; projection selects output axes [easting,northing] or [longitude,latitude]. Reads the BDOT10k road lines (OT_SKDR_L) at full detail. Features are tile-clipped fragments, not complete original BDOT objects. The served roads carry no number, management category or name: only feature_id, source_layer and semantic_id. A query cannot confirm DK22 or another road identity. These attributes exist in the source GeoPackage (NUMERDROGI, KATEGORIAZARZADZANIA, NAZWADROGI) but require a rebuilt road tile release that retains them. Up to 32 WGS84 points with radiusM <= 500 or one bbox up to about 0.5 km across; at most 2000 returned fragments. Queries finish within 5 seconds or fail without partial results. Submit all outlet points in one call; results are merged and deduplicated. On stream_tile_limit_exceeded or another limit refusal, reduce radii or narrow the bbox."
    },
    {
      "path": "/api/v1/actions/maps/user-sources/create",
      "method": "POST",
      "summary": "Create an organization map source.",
      "schema": "/api/v1/actions/maps/user-sources/create",
      "notes": "Requires organization authority. Does not check for changes since your last read."
    },
    {
      "path": "/api/v1/actions/maps/user-sources/delete",
      "method": "POST",
      "summary": "Delete an organization map source.",
      "schema": "/api/v1/actions/maps/user-sources/delete",
      "notes": "Requires organization authority. Does not check for changes since your last read."
    },
    {
      "path": "/api/v1/actions/maps/user-sources/get",
      "method": "POST",
      "summary": "Read an organization map source.",
      "schema": "/api/v1/actions/maps/user-sources/get"
    },
    {
      "path": "/api/v1/actions/maps/user-sources/list",
      "method": "POST",
      "summary": "List organization map sources.",
      "schema": "/api/v1/actions/maps/user-sources/list"
    },
    {
      "path": "/api/v1/actions/maps/user-sources/update",
      "method": "POST",
      "summary": "Update an organization map source name or description.",
      "schema": "/api/v1/actions/maps/user-sources/update",
      "notes": "Requires organization authority. Does not check for changes since your last read."
    },
    {
      "path": "/api/v1/actions/maps/view/get",
      "method": "POST",
      "summary": "Read the saved shared map camera and its revision.",
      "schema": "/api/v1/actions/maps/view/get"
    },
    {
      "path": "/api/v1/actions/maps/view/set",
      "method": "POST",
      "summary": "Replace the shared camera at expectedRevision. Retain the write attempt for identical retry or projects/writes/status recovery.",
      "schema": "/api/v1/actions/maps/view/set",
      "notes": "Uses the caller revision. A stale basis returns precondition_failed with the current view and recovery. The personal viewport has its own revision."
    },
    {
      "path": "/api/v1/actions/maps/wody-polskie/session-status",
      "method": "POST",
      "summary": "Read Wody Polskie provider availability.",
      "schema": "/api/v1/actions/maps/wody-polskie/session-status",
      "notes": "available is false while the provider refuses access; retryAfter says when Tarvena tries again."
    },
    {
      "path": "/api/v1/actions/projects/access/leave",
      "method": "POST",
      "summary": "Leave the original guest grant at its expected version.",
      "schema": "/api/v1/actions/projects/access/leave"
    },
    {
      "path": "/api/v1/actions/projects/access/status",
      "method": "POST",
      "summary": "Read the expected actor guest access state.",
      "schema": "/api/v1/actions/projects/access/status"
    },
    {
      "path": "/api/v1/actions/projects/authority-office/get",
      "method": "POST",
      "summary": "Read the project Wody Polskie office id, or null when unresolved.",
      "schema": "/api/v1/actions/projects/authority-office/get",
      "notes": "Requires project document-read access. Office ids match officeId in authority-notes/list and identify office type and seat. No public office directory is exposed; the authority-notes architecture document points to the directory of office names. Filter by `officeIds`; use `projects/authority-office/get` (`officeId`, `rzgwId`) to fetch the notes the app shows for a project.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/projects/create",
      "method": "POST",
      "summary": "Create a remote project.",
      "schema": "/api/v1/actions/projects/create",
      "notes": "HTTP requires organizationId; MCP may omit it only when exactly one eligible organization exists. Creates a cloud project without setting up a local project folder."
    },
    {
      "path": "/api/v1/actions/projects/delete",
      "method": "POST",
      "summary": "Delete project data under organization policy.",
      "schema": "/api/v1/actions/projects/delete",
      "notes": "Data deletion is separate from provider folder removal."
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/begin",
      "method": "POST",
      "summary": "Reserve remote removal with exact folder identity.",
      "schema": "/api/v1/actions/projects/folder-removal/begin"
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/data-only",
      "method": "POST",
      "summary": "Finalize project data deletion without confirmed folder removal.",
      "schema": "/api/v1/actions/projects/folder-removal/data-only"
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/execute",
      "method": "POST",
      "summary": "Execute the original remote folder removal.",
      "schema": "/api/v1/actions/projects/folder-removal/execute"
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/for-project",
      "method": "POST",
      "summary": "Read a project remote removal operation.",
      "schema": "/api/v1/actions/projects/folder-removal/for-project"
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/preview",
      "method": "POST",
      "summary": "Preview remote project folder removal.",
      "schema": "/api/v1/actions/projects/folder-removal/preview"
    },
    {
      "path": "/api/v1/actions/projects/folder-removal/status",
      "method": "POST",
      "summary": "Reconcile the original remote folder removal.",
      "schema": "/api/v1/actions/projects/folder-removal/status"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/begin",
      "method": "POST",
      "summary": "Reserve a remote folder rename with exact target identity.",
      "schema": "/api/v1/actions/projects/folder-rename/begin"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/cancel",
      "method": "POST",
      "summary": "Cancel the original remote folder rename when allowed.",
      "schema": "/api/v1/actions/projects/folder-rename/cancel"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/execute",
      "method": "POST",
      "summary": "Execute the original remote folder rename.",
      "schema": "/api/v1/actions/projects/folder-rename/execute"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/pending",
      "method": "POST",
      "summary": "Read pending remote folder rename state.",
      "schema": "/api/v1/actions/projects/folder-rename/pending"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/preview",
      "method": "POST",
      "summary": "Preview a remote project folder rename.",
      "schema": "/api/v1/actions/projects/folder-rename/preview"
    },
    {
      "path": "/api/v1/actions/projects/folder-rename/status",
      "method": "POST",
      "summary": "Reconcile the original remote folder rename.",
      "schema": "/api/v1/actions/projects/folder-rename/status"
    },
    {
      "path": "/api/v1/actions/projects/get",
      "method": "POST",
      "summary": "Read project metadata.",
      "schema": "/api/v1/actions/projects/get"
    },
    {
      "path": "/api/v1/actions/projects/invitations/change-access",
      "method": "POST",
      "summary": "Cancel an invitation or remove project access.",
      "schema": "/api/v1/actions/projects/invitations/change-access"
    },
    {
      "path": "/api/v1/actions/projects/invitations/list",
      "method": "POST",
      "summary": "List project invitations and access.",
      "schema": "/api/v1/actions/projects/invitations/list"
    },
    {
      "path": "/api/v1/actions/projects/invitations/read",
      "method": "POST",
      "summary": "Read an invitation for the expected account.",
      "schema": "/api/v1/actions/projects/invitations/read"
    },
    {
      "path": "/api/v1/actions/projects/invitations/recover",
      "method": "POST",
      "summary": "Recover the original invitation command outcome.",
      "schema": "/api/v1/actions/projects/invitations/recover"
    },
    {
      "path": "/api/v1/actions/projects/invitations/respond",
      "method": "POST",
      "summary": "Accept or decline an invitation for the expected account.",
      "schema": "/api/v1/actions/projects/invitations/respond",
      "notes": "Requires the intended recipient account. Browser callers retain Origin checks."
    },
    {
      "path": "/api/v1/actions/projects/invitations/send",
      "method": "POST",
      "summary": "Create or resend an invitation under sender policy.",
      "schema": "/api/v1/actions/projects/invitations/send",
      "notes": "Sends an external invitation. Recovery is a separate action and must not silently resend."
    },
    {
      "path": "/api/v1/actions/projects/list",
      "method": "POST",
      "summary": "List cloud projects across the personal workspace and all teams, with organization names, kinds and roles.",
      "schema": "/api/v1/actions/projects/list",
      "notes": "Newest first. organizations includes every workspace and team you belong to. Pass organizationId to list one team and query to find projects whose name contains it. Pass that organizationId to projects/create to create there."
    },
    {
      "path": "/api/v1/actions/projects/members/list",
      "method": "POST",
      "summary": "List explicit project owners and the current membership revision.",
      "schema": "/api/v1/actions/projects/members/list",
      "notes": "Organization project owners and organization managers may list owners. Returns directory email and active or removed organization membership state. This is not the full organization access roster. Personal project sharing is denied."
    },
    {
      "path": "/api/v1/actions/projects/members/remove",
      "method": "POST",
      "summary": "Remove an explicit project owner at the expected membership revision.",
      "schema": "/api/v1/actions/projects/members/remove",
      "notes": "Requires project ownership or organization management. Self-removal and removal of the last stored owner are forbidden. Removed owners retain inherited organization editor access. Personal project sharing is denied. Repeat the submitted request unchanged. Removing an absent owner succeeds without advancing the revision; a stale removal cannot remove ownership granted later."
    },
    {
      "path": "/api/v1/actions/projects/members/upsert",
      "method": "POST",
      "summary": "Assign organization project ownership at the expected membership revision.",
      "schema": "/api/v1/actions/projects/members/upsert",
      "notes": "Requires project ownership or organization management. Only role owner is assignable; editor and viewer inputs are rejected because organization editing is inherited. Use the revision from projects/members/list. Repeat the submitted request unchanged. Setting an existing owner does not advance the revision; a stale attempt cannot restore a removed owner."
    },
    {
      "path": "/api/v1/actions/projects/open",
      "method": "POST",
      "summary": "Resolve authorized project opening and access state.",
      "schema": "/api/v1/actions/projects/open"
    },
    {
      "path": "/api/v1/actions/projects/ownership/assign",
      "method": "POST",
      "summary": "Assign a project owner at the expected member revision.",
      "schema": "/api/v1/actions/projects/ownership/assign"
    },
    {
      "path": "/api/v1/actions/projects/ownership/inspect",
      "method": "POST",
      "summary": "Inspect project ownership and member revision.",
      "schema": "/api/v1/actions/projects/ownership/inspect"
    },
    {
      "path": "/api/v1/actions/projects/ownership/remove",
      "method": "POST",
      "summary": "Remove a project owner with sole-owner safeguards.",
      "schema": "/api/v1/actions/projects/ownership/remove"
    },
    {
      "path": "/api/v1/actions/projects/profile/defaults/get",
      "method": "POST",
      "summary": "Read organization profile defaults. Get organizationId from projects/list.",
      "schema": "/api/v1/actions/projects/profile/defaults/get"
    },
    {
      "path": "/api/v1/actions/projects/profile/defaults/update",
      "method": "POST",
      "summary": "Update revisioned organization profile defaults. Get organizationId from projects/list.",
      "schema": "/api/v1/actions/projects/profile/defaults/update",
      "notes": "Existing project profiles change only through an explicit apply operation."
    },
    {
      "path": "/api/v1/actions/projects/profile/get",
      "method": "POST",
      "summary": "Read the project profile and its revision.",
      "schema": "/api/v1/actions/projects/profile/get"
    },
    {
      "path": "/api/v1/actions/projects/profile/mutate",
      "method": "POST",
      "summary": "Apply one revisioned project profile operation.",
      "schema": "/api/v1/actions/projects/profile/mutate"
    },
    {
      "path": "/api/v1/actions/projects/record-opened",
      "method": "POST",
      "summary": "Record the current actor entering a project.",
      "schema": "/api/v1/actions/projects/record-opened",
      "notes": "Changes personal activity only. Reads do not call this automatically."
    },
    {
      "path": "/api/v1/actions/projects/scratch/convert",
      "method": "POST",
      "summary": "Convert a scratch project into an organization project.",
      "schema": "/api/v1/actions/projects/scratch/convert",
      "notes": "Converting into another organization follows the same source and destination rules as project transfer."
    },
    {
      "path": "/api/v1/actions/projects/scratch/ensure",
      "method": "POST",
      "summary": "Ensure the current actor has a scratch project.",
      "schema": "/api/v1/actions/projects/scratch/ensure"
    },
    {
      "path": "/api/v1/actions/projects/scratch/reset",
      "method": "POST",
      "summary": "Reset a scratch project at its expected revision.",
      "schema": "/api/v1/actions/projects/scratch/reset"
    },
    {
      "path": "/api/v1/actions/projects/set-archived",
      "method": "POST",
      "summary": "Archive or unarchive project metadata.",
      "schema": "/api/v1/actions/projects/set-archived"
    },
    {
      "path": "/api/v1/actions/projects/shared/list",
      "method": "POST",
      "summary": "List projects shared with the current account.",
      "schema": "/api/v1/actions/projects/shared/list"
    },
    {
      "path": "/api/v1/actions/projects/sharing/activate",
      "method": "POST",
      "summary": "Activate public map disclosure.",
      "schema": "/api/v1/actions/projects/sharing/activate",
      "notes": "Activates public map access. This does not grant access to project documents."
    },
    {
      "path": "/api/v1/actions/projects/sharing/copy-to-scratch",
      "method": "POST",
      "summary": "Copy allowed public map content into the actor scratch project.",
      "schema": "/api/v1/actions/projects/sharing/copy-to-scratch"
    },
    {
      "path": "/api/v1/actions/projects/sharing/get",
      "method": "POST",
      "summary": "Read the project public map link state.",
      "schema": "/api/v1/actions/projects/sharing/get"
    },
    {
      "path": "/api/v1/actions/projects/sharing/prepare",
      "method": "POST",
      "summary": "Prepare a public map link under project policy.",
      "schema": "/api/v1/actions/projects/sharing/prepare"
    },
    {
      "path": "/api/v1/actions/projects/sharing/resolve",
      "method": "POST",
      "summary": "Resolve the limited viewer for a possessed link token.",
      "schema": "/api/v1/actions/projects/sharing/resolve",
      "notes": "The link token grants access to the shared view; keep it out of logs and messages. Repeated failed lookups are rate-limited."
    },
    {
      "path": "/api/v1/actions/projects/sharing/revoke",
      "method": "POST",
      "summary": "Revoke public map access.",
      "schema": "/api/v1/actions/projects/sharing/revoke"
    },
    {
      "path": "/api/v1/actions/projects/transfer/execute",
      "method": "POST",
      "summary": "Transfer a personal project into a team organization.",
      "schema": "/api/v1/actions/projects/transfer/execute",
      "notes": "Keep the original request id when retrying or checking a transfer. Both the source and the destination organization must allow the transfer."
    },
    {
      "path": "/api/v1/actions/projects/transfer/status",
      "method": "POST",
      "summary": "Read the original project transfer receipt.",
      "schema": "/api/v1/actions/projects/transfer/status"
    },
    {
      "path": "/api/v1/actions/projects/update",
      "method": "POST",
      "summary": "Update project metadata at its expected revision.",
      "schema": "/api/v1/actions/projects/update"
    },
    {
      "path": "/api/v1/actions/projects/writes/status",
      "method": "POST",
      "summary": "Read an authenticated metadata, shared camera, drawing or specification write outcome without executing a write.",
      "schema": "/api/v1/actions/projects/writes/status",
      "notes": "Supports documents.metadata.update, maps.view.set, maps.features.mutate, maps.features.details, maps.features.upsert, maps.features.remove, maps.groups.create, maps.groups.children, documents.specyfikacja.create, documents.specyfikacja.renumber, documents.specyfikacja.items.add, documents.specyfikacja.items.remove and documents.specyfikacja.items.reorder. Recovered success equals the ordinary runtime/public setter result, including camera view.center [x,y] and drawing featureId. Unseen can be in flight. Retry only the identical saved attempt and payload. Exact receipts require the recorded operation permission, documents.write or map.edit."
    },
    {
      "path": "/api/v1/actions/reference-data/hydrology/gauge-flood-quantiles",
      "method": "POST",
      "summary": "Complete flood statistics for up to 128 retained gauges without a map release.",
      "schema": "/api/v1/actions/reference-data/hydrology/gauge-flood-quantiles"
    },
    {
      "path": "/api/v1/actions/reference-data/hydrology/gauge-selection",
      "method": "POST",
      "summary": "Propose IMGW gauges for a catchment outlet.",
      "schema": "/api/v1/actions/reference-data/hydrology/gauge-selection",
      "notes": "Searches IMGW gauges within result.rules.searchRadiusKm of the outlet. Usually answers within a few seconds; allow up to 50 seconds. Omit bundleId and generation to use the installed national release. Set outletCell to the row and column of outlet.cell from catchments/analyze, and outlet to its WGS84 point. On status failed: invalid-outlet means outletCell is not an outlet in the installed release; release-mismatch means a pinned release no longer matches, so omit the pins or analyze the catchment again; provider-unavailable can be retried after a short delay. Stations whose IMGW data failed are counted as unavailable."
    },
    {
      "path": "/api/v1/actions/reference-data/hydrology/outlet-watercourse",
      "method": "POST",
      "summary": "Read the MPHP watercourse name and kilometre at an outlet.",
      "schema": "/api/v1/actions/reference-data/hydrology/outlet-watercourse",
      "notes": "May return no matching watercourse.\nSprawdź, czy punkt wypada we właściwym miejscu."
    },
    {
      "path": "/api/v1/actions/reference-data/hydrology/receiving-river",
      "method": "POST",
      "summary": "Read the receiving-river name by MPHP hydrological ID.",
      "schema": "/api/v1/actions/reference-data/hydrology/receiving-river"
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/catchment-rainfall",
      "method": "POST",
      "summary": "Read IMGW catchment rainfall.",
      "schema": "/api/v1/actions/reference-data/imgw/catchment-rainfall",
      "notes": "Returns the IMGW PMAXTP 24-hour, 1% rainfall (H1) at the outlet coordinate. Omit bundleId and generation to use the installed national release. bundleId, generation and outletCell are echoed with the result; they do not check that the outlet belongs to that catchment. Usually answers within a few seconds; after unavailable with provider-error or source-failure, retry after a short delay. Preserve source and missing-data fields.\nSprawdź, czy punkt wypada we właściwym miejscu."
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/design-hyetograph",
      "method": "POST",
      "summary": "Get a 5-minute IMGW PMAXTP design hyetograph as JSON, CSV or a SWMM rain file.",
      "schema": "/api/v1/actions/reference-data/imgw/design-hyetograph",
      "notes": "Durations are the IMGW rows from 15 minutes to 24 hours. Euler II is the default. CSV and SWMM file bytes match the rain-curves popup. Use SWMM SI units, Rain Format VOLUME and Time Interval 0:05. Preserve source and qualification metadata.\nSprawdź, czy punkt wypada we właściwym miejscu."
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/design-rainfall",
      "method": "POST",
      "summary": "Read IMGW PMAXTP design rainfall.",
      "schema": "/api/v1/actions/reference-data/imgw/design-rainfall",
      "notes": "Returns the IMGW PMAXTP design depths at point, or at the outlet coordinate of the catchment form; bundleId, generation and outletCell are echoed and do not check catchment identity. Preserve source metadata. Use linear interpolation between tabulated durations.\nSprawdź, czy punkt wypada we właściwym miejscu."
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/flood-quantiles",
      "method": "POST",
      "summary": "Read station flood quantiles.",
      "schema": "/api/v1/actions/reference-data/imgw/flood-quantiles"
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/list-stations",
      "method": "POST",
      "summary": "List IMGW stations.",
      "schema": "/api/v1/actions/reference-data/imgw/list-stations"
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/refresh-stations",
      "method": "POST",
      "summary": "Refresh the IMGW station list.",
      "schema": "/api/v1/actions/reference-data/imgw/refresh-stations",
      "notes": "Fetches the current station list from IMGW and updates it for every project, not just this one. Use it only when list-stations is out of date. Allow up to 25 seconds; after a timeout, retry later."
    },
    {
      "path": "/api/v1/actions/reference-data/imgw/station-details",
      "method": "POST",
      "summary": "Read an IMGW station and its data availability.",
      "schema": "/api/v1/actions/reference-data/imgw/station-details"
    },
    {
      "path": "/api/v1/actions/references/add",
      "method": "POST",
      "summary": "Add a typed project-scoped reference edge.",
      "schema": "/api/v1/actions/references/add",
      "notes": "Edge payload is free-form JSON for the reference kind. Date timestamps are returned as ISO strings.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/list-from",
      "method": "POST",
      "summary": "List outgoing references for a typed node.",
      "schema": "/api/v1/actions/references/list-from",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/list-to",
      "method": "POST",
      "summary": "List incoming references for a typed node.",
      "schema": "/api/v1/actions/references/list-to",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/mentions/list",
      "method": "POST",
      "summary": "List retained document mentions.",
      "schema": "/api/v1/actions/references/mentions/list",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/mentions/replace",
      "method": "POST",
      "summary": "Replace the mentions owned by a document section.",
      "schema": "/api/v1/actions/references/mentions/replace",
      "notes": "Mention payload is free-form JSON for the mention kind. This graph does not read attachment bytes.",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/mentions/resolve-context",
      "method": "POST",
      "summary": "Resolve a mention context under project policy.",
      "schema": "/api/v1/actions/references/mentions/resolve-context",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/mentions/search",
      "method": "POST",
      "summary": "Search bounded mention suggestions.",
      "schema": "/api/v1/actions/references/mentions/search",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/remove",
      "method": "POST",
      "summary": "Remove a project-scoped reference edge.",
      "schema": "/api/v1/actions/references/remove",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/references/sections/get",
      "method": "POST",
      "summary": "Read incoming and outgoing section references.",
      "schema": "/api/v1/actions/references/sections/get",
      "feature": "documents"
    },
    {
      "path": "/api/v1/actions/storage/connection/disconnect",
      "method": "POST",
      "summary": "Disconnect the personal-organization provider connection.",
      "schema": "/api/v1/actions/storage/connection/disconnect"
    },
    {
      "path": "/api/v1/actions/storage/connection/get",
      "method": "POST",
      "summary": "Read provider connection status without credential values.",
      "schema": "/api/v1/actions/storage/connection/get"
    },
    {
      "path": "/api/v1/actions/storage/flow/cancel",
      "method": "POST",
      "summary": "Cancel the original provider authorization flow.",
      "schema": "/api/v1/actions/storage/flow/cancel"
    },
    {
      "path": "/api/v1/actions/storage/flow/get",
      "method": "POST",
      "summary": "Read provider authorization flow state.",
      "schema": "/api/v1/actions/storage/flow/get"
    },
    {
      "path": "/api/v1/actions/storage/flow/start",
      "method": "POST",
      "summary": "Start the interactive provider authorization flow.",
      "schema": "/api/v1/actions/storage/flow/start",
      "notes": "Returns a browser consent handoff. It does not complete provider consent headlessly or return provider credentials."
    },
    {
      "path": "/api/v1/actions/storage/picker/cancel",
      "method": "POST",
      "summary": "Cancel the original folder picker flow.",
      "schema": "/api/v1/actions/storage/picker/cancel"
    },
    {
      "path": "/api/v1/actions/storage/picker/get",
      "method": "POST",
      "summary": "Read the original folder picker state.",
      "schema": "/api/v1/actions/storage/picker/get"
    },
    {
      "path": "/api/v1/actions/storage/picker/start",
      "method": "POST",
      "summary": "Start an interactive existing-folder picker.",
      "schema": "/api/v1/actions/storage/picker/start",
      "notes": "Requires a browser folder selection. The returned handoff is not a headless file discovery API."
    },
    {
      "path": "/api/v1/actions/storage/projects/attach",
      "method": "POST",
      "summary": "Attach a Google Drive folder chosen in the folder picker to a project.",
      "schema": "/api/v1/actions/storage/projects/attach"
    },
    {
      "path": "/api/v1/actions/storage/projects/creation/cancel",
      "method": "POST",
      "summary": "Cancel the original provider folder allocation when allowed.",
      "schema": "/api/v1/actions/storage/projects/creation/cancel"
    },
    {
      "path": "/api/v1/actions/storage/projects/creation/execute",
      "method": "POST",
      "summary": "Execute the original provider folder allocation.",
      "schema": "/api/v1/actions/storage/projects/creation/execute"
    },
    {
      "path": "/api/v1/actions/storage/projects/creation/reserve",
      "method": "POST",
      "summary": "Reserve provider folder allocation for a project.",
      "schema": "/api/v1/actions/storage/projects/creation/reserve"
    },
    {
      "path": "/api/v1/actions/storage/projects/creation/status",
      "method": "POST",
      "summary": "Reconcile the original provider folder allocation.",
      "schema": "/api/v1/actions/storage/projects/creation/status"
    },
    {
      "path": "/api/v1/actions/storage/projects/location",
      "method": "POST",
      "summary": "Read the authorized project provider location.",
      "schema": "/api/v1/actions/storage/projects/location"
    },
    {
      "path": "/api/v1/actions/storage/projects/preview",
      "method": "POST",
      "summary": "Preview attachment of a project provider folder.",
      "schema": "/api/v1/actions/storage/projects/preview"
    },
    {
      "path": "/api/v1/actions/storage/projects/repair/execute",
      "method": "POST",
      "summary": "Execute the admitted project provider binding repair.",
      "schema": "/api/v1/actions/storage/projects/repair/execute"
    },
    {
      "path": "/api/v1/actions/storage/projects/repair/preview",
      "method": "POST",
      "summary": "Preview repair of a project provider binding.",
      "schema": "/api/v1/actions/storage/projects/repair/preview"
    },
    {
      "path": "/api/v1/actions/storage/roots/default",
      "method": "POST",
      "summary": "Select the organization default provider root.",
      "schema": "/api/v1/actions/storage/roots/default"
    },
    {
      "path": "/api/v1/actions/storage/roots/get",
      "method": "POST",
      "summary": "Read registered provider roots and defaults.",
      "schema": "/api/v1/actions/storage/roots/get"
    },
    {
      "path": "/api/v1/actions/storage/roots/register",
      "method": "POST",
      "summary": "Register an authorized provider folder as a root.",
      "schema": "/api/v1/actions/storage/roots/register"
    },
    {
      "path": "/api/v1/actions/water-design/commands",
      "method": "POST",
      "summary": "Apply typed Water Design envelope commands for devices, services, catchments, and calculations.",
      "schema": "/api/v1/actions/water-design/commands",
      "notes": "Uses the owner revisions and write contract. Command-specific permissions apply, including calculations.catchment for catchment import, geometry changes, or sketch promotion. promote_sketch_to_catchment also requires map.edit and an expected map-features revision; its creation ID determines manual:<creationId>."
    },
    {
      "path": "/api/v1/actions/water-design/devices/assign-parcels",
      "method": "POST",
      "summary": "Assign cadastral parcels to every water device: under its points, along a 1 m corridor of its lines and under its polygons.",
      "schema": "/api/v1/actions/water-design/devices/assign-parcels",
      "notes": "Adds the parcels the project lacks and links each to its devices; never removes a link. Runs as one job per project: a call while it runs joins it (`started:false`), and a call after it adds only what is missing. Read `water-design/devices/parcel-assignment` until `status` is `done`."
    },
    {
      "path": "/api/v1/actions/water-design/devices/parcel-assignment",
      "method": "POST",
      "summary": "Read the project's water-device parcel assignment: idle, running, stopped or done.",
      "schema": "/api/v1/actions/water-design/devices/parcel-assignment",
      "notes": "`running` and `stopped` count the devices gone through (`processed` of `devices`). `done` gives `parcelsAdded` and `unassigned`: each device without any parcel, with `reason` `no-location` (no points or drawings), `too-large` (area over one search), `not-found` (no parcel in the register) or `failed` (the register did not answer)."
    },
    {
      "path": "/api/v1/actions/water-design/query",
      "method": "POST",
      "summary": "Query the Water Design envelope: devices, services, and calculations.",
      "schema": "/api/v1/actions/water-design/query",
      "notes": "query.kind is one of revision, tree, device, evidence_devices, device_mention, device_mentions, description, descriptions, service, services, calculations, unreadable_calculations, calculation, calculation_dependencies, dependency_options; the schema lists each kind's fields. Calculation reads never write. Calculations use calculationId and per-calculation revisions."
    },
    {
      "path": "/api/v1/actions/water-device-points/commands",
      "method": "POST",
      "summary": "Create or change Water Device point links.",
      "schema": "/api/v1/actions/water-device-points/commands",
      "notes": "Create-and-link checks the Characteristic Point and Water Design revisions together; either both change or neither does."
    },
    {
      "path": "/api/v1/actions/water-device-points/references",
      "method": "POST",
      "summary": "Read ordered Water Device and Characteristic Point references.",
      "schema": "/api/v1/actions/water-device-points/references"
    }
  ]
}
