{"openapi":"3.1.0","info":{"title":"RD Workx AI Node Manager API","version":"1.0.0","description":"OpenAPI-documentatie voor health, readiness en beheerbare resources binnen de RD Workx API-envelope."},"servers":[{"url":"/api/v1","description":"Huidige Next.js deployment"}],"tags":[{"name":"system","description":"Health- en readiness-controles."},{"name":"resources","description":"Tenant-aware CRUD-resources met paginering."},{"name":"project-packages","description":"Project + epics + backlog in een transactionele integratieroute."},{"name":"project-style-kits","description":"Projectgebonden huisstijl-archives en logo-preview voor backlog-realisatie."},{"name":"project-chat","description":"Projectgebonden Hermes chatsessies en prompts."},{"name":"delivery","description":"GitOps fase-events, documenten en gates."},{"name":"dashboard","description":"Realtime project- en backlogoverzichten."},{"name":"orchestration","description":"Queue-opdrachten voor Hermes en workers."}],"paths":{"/openapi.json":{"get":{"tags":["system"],"summary":"OpenAPI JSON","description":"Machineleesbare OpenAPI 3.1-specificatie voor deze API.","responses":{"200":{"description":"OpenAPI-document."}}}},"/health":{"get":{"tags":["system"],"summary":"Healthcheck","responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"service":{"type":"string"}},"required":["status","service"]}},"required":["success","data"]}]}}}}}}},"/ready":{"get":{"tags":["system"],"summary":"Readinesscheck","responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ReadyStatus"}},"required":["success","data"]}]}}}},"503":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/build-info":{"get":{"tags":["system"],"summary":"Build- en versie-informatie","description":"Geeft de gedeployde commit-id en lokale commitdatum/tijd terug voor de app-shell.","responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BuildInfo"}},"required":["success","data"]}]}}}}}}},"/resources/{resource}":{"get":{"tags":["resources"],"summary":"List resource","description":"Generieke list-route. Expliciete resource-paden documenteren de veldschema's.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Resource"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create resource","description":"Generieke create-route. Expliciete resource-paden documenteren de veldschema's.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Resource"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/{resource}/{id}":{"get":{"tags":["resources"],"summary":"Read resource","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Resource"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update resource","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Resource"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete resource","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Resource"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/project-packages":{"post":{"tags":["project-packages"],"summary":"Create project package","description":"Maakt transactioneel een project met epics en backlog-items aan. Backlog-items kunnen in een epic worden genest of via backlog_items met epic_key aan een epic worden gekoppeld.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/ProjectPackageProjectInput"},"epics":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPackageEpicInput"},"default":[]},"backlog_items":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPackageBacklogItemInput"},"default":[]}},"required":["project"],"additionalProperties":false}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectPackage"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"409":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/project-packages/{id}":{"get":{"tags":["project-packages"],"summary":"Read project package","description":"Leest een project inclusief alle epics en backlog-items voor externe integraties en MCP-adapters.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectPackage"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/style-kit":{"get":{"tags":["project-style-kits"],"summary":"Read project style-kit","description":"Geeft de actieve style-kit, uploadhistorie en agent-context voor backlog-realisatie terug.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectStyleKitState"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["project-style-kits"],"summary":"Upload project style-kit","description":"Uploadt een zip, tar, tar.gz, tgz of rar als actieve projecthuisstijl. Zip/tar/tgz worden op een logo-preview gecontroleerd.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"},"description":{"type":"string"},"usageInstructions":{"type":"string"}},"required":["file"]}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectStyleKitUploadResult"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["project-style-kits"],"summary":"Delete active project style-kit","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectStyleKitDeleteResult"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/style-kit/{styleKitId}":{"delete":{"tags":["project-style-kits"],"summary":"Delete project style-kit file","description":"Verwijdert een specifiek style-kit bestand. Als dit de actieve style-kit was, wordt de nieuwste overgebleven style-kit actief.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/StyleKitId"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectStyleKitDeleteResult"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/style-kit/generate":{"post":{"tags":["project-style-kits"],"summary":"Generate project style-kit from URL","description":"Genereert een project style-kit vanaf een website URL, slaat deze op en maakt hem direct actief.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sourceUrl":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"usageInstructions":{"type":"string"}},"required":["sourceUrl"]}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectStyleKitUploadResult"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/style-kit/archive":{"get":{"tags":["project-style-kits"],"summary":"Download active project style-kit archive","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Binary archive van de actieve style-kit."},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/style-kit/logo":{"get":{"tags":["project-style-kits"],"summary":"Read active project style-kit logo preview","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Binary logo-preview uit de actieve style-kit."},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/hermes-chat":{"get":{"tags":["project-chat"],"summary":"List project Hermes chat sessions","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"sessions":{"type":"array","items":{"type":"object","additionalProperties":true}}},"required":["sessions"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["project-chat"],"summary":"Create project Hermes chat session","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"epicId":{"type":"string","format":"uuid","nullable":true},"backlogItemId":{"type":"string","format":"uuid","nullable":true},"deliveryPhaseId":{"type":"string","format":"uuid","nullable":true},"metadata":{"type":"object","additionalProperties":true}}}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"session":{"type":"object","additionalProperties":true}},"required":["session"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/hermes-chat/{sessionId}":{"get":{"tags":["project-chat"],"summary":"Read project Hermes chat session","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"session":{"type":"object","additionalProperties":true},"messages":{"type":"array","items":{"type":"object","additionalProperties":true}}},"required":["session","messages"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["project-chat"],"summary":"Delete project Hermes chat session","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid"}},"required":["sessionId"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/projects/{id}/hermes-chat/{sessionId}/messages":{"post":{"tags":["project-chat"],"summary":"Queue project Hermes chat prompt","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/SessionId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}},"required":["content"]}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/backlog-items/{id}/claim":{"post":{"tags":["delivery"],"summary":"Claim backlog item","description":"Registreert dat een agent of orchestrator een backlog item oppakt.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"actor":{"type":"string"},"executor":{"type":"string"},"source":{"type":"string","enum":["ainodemanager","hermes","codex_desktop","codex_cli","cursor"]},"correlationId":{"type":"string"},"gateResult":{"type":"string","enum":["GO","GWR","NO-GO"]},"evidence":{"type":"object","additionalProperties":true},"risks":{"type":"array","items":{}},"neededFromConductor":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/backlog-items/{id}/phases/{phase}/start":{"post":{"tags":["delivery"],"summary":"Start GitOps phase","description":"Start refinement, development of deployment en dwingt de startgate server-side af.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/Phase"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"actor":{"type":"string"},"executor":{"type":"string"},"source":{"type":"string","enum":["ainodemanager","hermes","codex_desktop","codex_cli","cursor"]},"correlationId":{"type":"string"},"gateResult":{"type":"string","enum":["GO","GWR","NO-GO"]},"evidence":{"type":"object","additionalProperties":true},"risks":{"type":"array","items":{}},"neededFromConductor":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/backlog-items/{id}/phases/{phase}/complete":{"post":{"tags":["delivery"],"summary":"Complete GitOps phase","description":"Sluit refinement, development of deployment af met GO, GWR of NO-GO en valideert de GitOps-gate.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/Phase"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"actor":{"type":"string"},"executor":{"type":"string"},"source":{"type":"string","enum":["ainodemanager","hermes","codex_desktop","codex_cli","cursor"]},"correlationId":{"type":"string"},"gateResult":{"type":"string","enum":["GO","GWR","NO-GO"]},"evidence":{"type":"object","additionalProperties":true},"risks":{"type":"array","items":{}},"neededFromConductor":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/backlog-items/{id}/documents":{"post":{"tags":["delivery"],"summary":"Store work document","description":"Slaat een plan of rapport in PostgreSQL op als single source of truth.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"documentType":{"type":"string","enum":["refined_story","testplan","testreport","deploy_plan","deploy_report","security_audit","gwr","done_checklist","ux_review","architect_review","security_review","security_triage","development_prompt","scrum_master_checklist","gitops_document"]},"title":{"type":"string"},"bodyMarkdown":{"type":"string"},"metadata":{"type":"object","additionalProperties":true},"actor":{"type":"string"},"source":{"type":"string"}},"required":["documentType","title","bodyMarkdown"],"additionalProperties":false}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/backlog-items/{id}/timeline":{"get":{"tags":["delivery"],"summary":"Read backlog timeline","description":"Geeft fases, documenten en events voor een backlog item terug.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BacklogTimeline"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/dashboard/project-overview":{"get":{"tags":["dashboard"],"summary":"Project overview dashboard data","description":"Live dashboarddata uit PostgreSQL voor projecten, epics, backlog, fases, documenten en events.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectOverview"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/orchestration/commands":{"post":{"tags":["orchestration"],"summary":"Queue orchestration command","description":"Publiceert een queue-opdracht waarmee Hermes een backlog item of epic kan claimen en uitvoeren. Payload defaults bevatten Codex CLI als preferredExecutor, pipeline scheduling en projectafhankelijke deploymentroute.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"backlogItemId":{"type":"string","format":"uuid"},"epicId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"commandType":{"type":"string","enum":["start_backlog_item","resume_backlog_item","pause_backlog_item","cancel_backlog_item","run_smoke","start_epic","resume_epic","pause_epic","cancel_epic","fix_blocked_phase","ensure_project_repo"],"default":"start_backlog_item"},"targetOrchestrator":{"type":"string","default":"hermes"},"source":{"type":"string","default":"ainodemanager"},"payload":{"type":"object","additionalProperties":true},"correlationId":{"type":"string"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/projects":{"get":{"tags":["resources"],"summary":"List projects","description":"Projecten als hoogste single source of truth container. Gebruik path resource 'projects'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProjectsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create projects","description":"Projecten als hoogste single source of truth container. Vereiste velden: key, name.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/projects/{id}":{"get":{"tags":["resources"],"summary":"Read projects","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update projects","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProjectsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete projects","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/epics":{"get":{"tags":["resources"],"summary":"List epics","description":"Epics binnen projecten met gekoppelde backlog items. Gebruik path resource 'epics'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EpicsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create epics","description":"Epics binnen projecten met gekoppelde backlog items. Vereiste velden: project_id, key, title.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpicsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EpicsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/epics/{id}":{"get":{"tags":["resources"],"summary":"Read epics","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EpicsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update epics","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpicsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EpicsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete epics","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/backlog_items":{"get":{"tags":["resources"],"summary":"List backlog","description":"Backlog-items voor product- en sprintsturing. Gebruik path resource 'backlog_items'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BacklogRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create backlog","description":"Backlog-items voor product- en sprintsturing. Vereiste velden: title.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BacklogRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/backlog_items/{id}":{"get":{"tags":["resources"],"summary":"Read backlog","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BacklogRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update backlog","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BacklogRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete backlog","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/delivery_phases":{"get":{"tags":["resources"],"summary":"List delivery_phases","description":"GitOps-fases met start/einde, gate-uitkomst en timing. Gekoppeld aan phases tabel via phase_id. Gebruik path resource 'delivery_phases'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryPhasesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create delivery_phases","description":"GitOps-fases met start/einde, gate-uitkomst en timing. Gekoppeld aan phases tabel via phase_id. Vereiste velden: backlog_item_id, phase_id.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryPhasesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeliveryPhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/delivery_phases/{id}":{"get":{"tags":["resources"],"summary":"Read delivery_phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeliveryPhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update delivery_phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryPhasesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeliveryPhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete delivery_phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phases":{"get":{"tags":["resources"],"summary":"List phases","description":"Fase-configuratie (Refinement, Development, Deployment). Geseed en daarna read-only. Gebruik path resource 'phases'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PhasesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create phases","description":"Fase-configuratie (Refinement, Development, Deployment). Geseed en daarna read-only. Vereiste velden: name, phase_order.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhasesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phases/{id}":{"get":{"tags":["resources"],"summary":"Read phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhasesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhasesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete phases","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/capabilities":{"get":{"tags":["resources"],"summary":"List capabilities","description":"Capabilities/rollen die door fase-stappen worden uitgevoerd (PO, UX, ARC, etc.). Geseed en daarna read-only. Gebruik path resource 'capabilities'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CapabilitiesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create capabilities","description":"Capabilities/rollen die door fase-stappen worden uitgevoerd (PO, UX, ARC, etc.). Geseed en daarna read-only. Vereiste velden: code, name, description.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/capabilities/{id}":{"get":{"tags":["resources"],"summary":"Read capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phase_capabilities":{"get":{"tags":["resources"],"summary":"List phase_capabilities","description":"Koppelt capabilities aan fases met volgorde en taakomschrijving. Definieert welke stappen elke fase heeft. Gebruik path resource 'phase_capabilities'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PhaseCapabilitiesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create phase_capabilities","description":"Koppelt capabilities aan fases met volgorde en taakomschrijving. Definieert welke stappen elke fase heeft. Vereiste velden: phase_id, capability_id, step_order, task_description.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseCapabilitiesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseCapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phase_capabilities/{id}":{"get":{"tags":["resources"],"summary":"Read phase_capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseCapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update phase_capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseCapabilitiesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseCapabilitiesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete phase_capabilities","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phase_steps":{"get":{"tags":["resources"],"summary":"List phase_steps","description":"Concrete uitvoeringsstappen binnen een delivery phase. Elke step correspondeert met een phase_capability. Gebruik path resource 'phase_steps'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PhaseStepsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create phase_steps","description":"Concrete uitvoeringsstappen binnen een delivery phase. Elke step correspondeert met een phase_capability. Vereiste velden: delivery_phase_id, backlog_item_id, phase_capability_id.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseStepsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseStepsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/phase_steps/{id}":{"get":{"tags":["resources"],"summary":"Read phase_steps","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseStepsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update phase_steps","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseStepsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PhaseStepsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete phase_steps","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/process_events":{"get":{"tags":["resources"],"summary":"List process_events","description":"Auditbare proces-events voor realtime dashboarding. Gebruik path resource 'process_events'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProcessEventsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create process_events","description":"Auditbare proces-events voor realtime dashboarding. Vereiste velden: event_type, message.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessEventsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProcessEventsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/process_events/{id}":{"get":{"tags":["resources"],"summary":"Read process_events","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProcessEventsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update process_events","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessEventsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ProcessEventsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete process_events","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/work_documents":{"get":{"tags":["resources"],"summary":"List work_documents","description":"Plannen en rapporten die door GitOps-fases worden geproduceerd. Gebruik path resource 'work_documents'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WorkDocumentsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create work_documents","description":"Plannen en rapporten die door GitOps-fases worden geproduceerd. Vereiste velden: backlog_item_id, document_type, title, body_markdown.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkDocumentsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WorkDocumentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/work_documents/{id}":{"get":{"tags":["resources"],"summary":"Read work_documents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WorkDocumentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update work_documents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkDocumentsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WorkDocumentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete work_documents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/orchestration_commands":{"get":{"tags":["resources"],"summary":"List orchestration_commands","description":"Queue-opdrachten waarmee AINodeManager Hermes laat orchestreren. Gebruik path resource 'orchestration_commands'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OrchestrationCommandsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create orchestration_commands","description":"Queue-opdrachten waarmee AINodeManager Hermes laat orchestreren. Vereiste velden: geen.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestrationCommandsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrchestrationCommandsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/orchestration_commands/{id}":{"get":{"tags":["resources"],"summary":"Read orchestration_commands","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrchestrationCommandsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update orchestration_commands","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestrationCommandsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrchestrationCommandsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete orchestration_commands","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/tool_runs":{"get":{"tags":["resources"],"summary":"List tool_runs","description":"Uitvoering van Hermes, Codex CLI, Codex Desktop of toekomstige tools. Gebruik path resource 'tool_runs'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ToolRunsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create tool_runs","description":"Uitvoering van Hermes, Codex CLI, Codex Desktop of toekomstige tools. Vereiste velden: tool_name, executor.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ToolRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/tool_runs/{id}":{"get":{"tags":["resources"],"summary":"Read tool_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ToolRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update tool_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ToolRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete tool_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/stories":{"get":{"tags":["resources"],"summary":"List stories","description":"Stories die door het RD Workx 3-loop model lopen. Gebruik path resource 'stories'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StoriesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create stories","description":"Stories die door het RD Workx 3-loop model lopen. Vereiste velden: title.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoriesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StoriesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/stories/{id}":{"get":{"tags":["resources"],"summary":"Read stories","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StoriesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update stories","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoriesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StoriesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete stories","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/subtasks":{"get":{"tags":["resources"],"summary":"List subtasks","description":"Subtaken onder stories voor uitvoeringsplanning. Gebruik path resource 'subtasks'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SubtasksRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create subtasks","description":"Subtaken onder stories voor uitvoeringsplanning. Vereiste velden: story_id, title.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtasksRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SubtasksRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/subtasks/{id}":{"get":{"tags":["resources"],"summary":"Read subtasks","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SubtasksRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update subtasks","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtasksRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SubtasksRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete subtasks","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/nodes":{"get":{"tags":["resources"],"summary":"List nodes","description":"Worker- en runtime-nodes waarop agents kunnen draaien. Gebruik path resource 'nodes'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/NodesRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create nodes","description":"Worker- en runtime-nodes waarop agents kunnen draaien. Vereiste velden: name, hostname.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodesRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/NodesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/nodes/{id}":{"get":{"tags":["resources"],"summary":"Read nodes","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/NodesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update nodes","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodesRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/NodesRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete nodes","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/agents":{"get":{"tags":["resources"],"summary":"List agents","description":"Beschikbare agents, rollen en executor-capabilities. Gebruik path resource 'agents'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create agents","description":"Beschikbare agents, rollen en executor-capabilities. Vereiste velden: name, executor_type.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/agents/{id}":{"get":{"tags":["resources"],"summary":"Read agents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update agents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgentsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete agents","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/task_runs":{"get":{"tags":["resources"],"summary":"List task_runs","description":"Uitvoeringen van agenttaken met status en metadata. Gebruik path resource 'task_runs'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TaskRunsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create task_runs","description":"Uitvoeringen van agenttaken met status en metadata. Vereiste velden: geen.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TaskRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/task_runs/{id}":{"get":{"tags":["resources"],"summary":"Read task_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TaskRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update task_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TaskRunsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete task_runs","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/gwr_items":{"get":{"tags":["resources"],"summary":"List gwr","description":"Gebruiker-wacht-rij-items voor beslissingen buiten de agentflow. Gebruik path resource 'gwr_items'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GwrRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create gwr","description":"Gebruiker-wacht-rij-items voor beslissingen buiten de agentflow. Vereiste velden: title, problem, recommendation.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GwrRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GwrRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/gwr_items/{id}":{"get":{"tags":["resources"],"summary":"Read gwr","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GwrRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update gwr","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GwrRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GwrRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete gwr","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/settings":{"get":{"tags":["resources"],"summary":"List settings","description":"Applicatie-instellingen per providerorganisatie. Gebruik path resource 'settings'.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/AssignedTo"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SettingsRecord"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"post":{"tags":["resources"],"summary":"Create settings","description":"Applicatie-instellingen per providerorganisatie. Vereiste velden: key.","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsRecordInput"}}}},"responses":{"201":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SettingsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"422":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}},"/resources/settings/{id}":{"get":{"tags":["resources"],"summary":"Read settings","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SettingsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"patch":{"tags":["resources"],"summary":"Update settings","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsRecordPatch"}}}},"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SettingsRecord"}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}},"delete":{"tags":["resources"],"summary":"Delete settings","parameters":[{"$ref":"#/components/parameters/ProviderOrganizationId"},{"$ref":"#/components/parameters/ActorId"},{"$ref":"#/components/parameters/ActorPermissions"},{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"description":"Succesvolle response in de standaard API-envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiSuccessEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["success","data"]}]}}}},"400":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"403":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"404":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}},"500":{"description":"Foutresponse in de standaard API-envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorEnvelope"}}}}}}}},"components":{"parameters":{"ProviderOrganizationId":{"name":"x-provider-organization-id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Tenant/providerorganisatie waarop de resource-query verplicht wordt gescoped."},"ActorId":{"name":"x-actor-id","in":"header","required":true,"schema":{"type":"string","minLength":1},"description":"Actor die het API-verzoek uitvoert."},"ActorPermissions":{"name":"x-actor-permissions","in":"header","required":true,"schema":{"type":"string","minLength":1},"description":"Comma-separated permissies voor de actor."},"Resource":{"name":"resource","in":"path","required":true,"schema":{"type":"string","enum":["projects","epics","backlog_items","delivery_phases","phases","capabilities","phase_capabilities","phase_steps","process_events","work_documents","orchestration_commands","tool_runs","stories","subtasks","nodes","agents","task_runs","gwr_items","settings"]},"description":"backlog_items documenteert backlog; gwr_items documenteert GWR."},"Id":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"StyleKitId":{"name":"styleKitId","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Unieke id van het style-kit bestand binnen het project."},"SessionId":{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Unieke id van de Hermes chatsessie binnen het project."},"Phase":{"name":"phase","in":"path","required":true,"schema":{"type":"string","enum":["refinement","development","deployment"]},"description":"Exacte GitOps-fase."},"Page":{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}},"PageSize":{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},"AssignedTo":{"name":"assigned_to","in":"query","required":false,"schema":{"type":"string"},"description":"Filter backlog_items op toegewezen agent UUID of gebruik __unassigned voor niet-toegewezen items."}},"schemas":{"ApiSuccessEnvelope":{"type":"object","properties":{"success":{"type":"boolean","const":true},"data":{},"pagination":{"$ref":"#/components/schemas/Pagination"},"message":{"type":"string"}},"required":["success","data"]},"ApiErrorEnvelope":{"type":"object","properties":{"success":{"type":"boolean","const":false},"error":{"type":"string","enum":["VALIDATION_ERROR","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","INTERNAL_ERROR"]},"message":{"type":"string"}},"required":["success","error","message"]},"Pagination":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"pageSize":{"type":"integer","minimum":1},"total":{"type":"integer","minimum":0}},"required":["page","pageSize","total"]},"ReadyStatus":{"type":"object","properties":{"status":{"type":"string","enum":["ready"]},"checks":{"type":"object","properties":{"database":{"type":"string","enum":["ok","error","unknown"]},"queue":{"type":"string","enum":["ok","error","unknown"]}},"required":["database","queue"]}},"required":["status","checks"]},"BuildInfo":{"type":"object","properties":{"commitId":{"type":"string","nullable":true,"description":"Volledige commit SHA van de gedeployde build."},"shortCommitId":{"type":"string","description":"Korte commit-id voor compacte weergave."},"commitDate":{"type":"string","nullable":true,"description":"Originele commitdatum uit Git/GitHub."},"commitDateLocal":{"type":"string","description":"Commitdatum in lokale Nederlandse tijd met seconden."},"timeZone":{"type":"string","example":"Europe/Amsterdam"},"versionLabel":{"type":"string","description":"Compact label voor de app-shell."}},"required":["commitId","shortCommitId","commitDate","commitDateLocal","timeZone","versionLabel"]},"BacklogTimeline":{"type":"object","properties":{"backlogItem":{"type":"object","additionalProperties":true},"phases":{"type":"array","items":{"type":"object","additionalProperties":true}},"documents":{"type":"array","items":{"type":"object","additionalProperties":true}},"events":{"type":"array","items":{"type":"object","additionalProperties":true}}},"required":["backlogItem","phases","documents","events"]},"ProjectOverview":{"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","additionalProperties":true}},"epics":{"type":"array","items":{"type":"object","additionalProperties":true}},"backlogItems":{"type":"array","items":{"type":"object","additionalProperties":true}},"phases":{"type":"array","items":{"type":"object","additionalProperties":true}},"documents":{"type":"array","items":{"type":"object","additionalProperties":true}},"events":{"type":"array","items":{"type":"object","additionalProperties":true}},"commands":{"type":"array","items":{"type":"object","additionalProperties":true}},"metrics":{"type":"object","additionalProperties":true}},"required":["projects","epics","backlogItems","phases","documents","events","commands","metrics"]},"ProjectPackageProjectInput":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"repo_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["key","name"],"additionalProperties":false},"ProjectPackageBacklogItemInput":{"type":"object","properties":{"epic_key":{"type":"string","description":"Optioneel: koppel root backlog_items aan een epic binnen hetzelfde pakket."},"external_key":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["not_started","refinement","ready","in_progress","in_test","in_deploy","blocked","done"],"default":"not_started"},"t_shirt_size":{"type":"string","enum":["XS","S","M","L","XL","XXL","?"],"default":"?"},"story_points":{"type":"integer","minimum":0,"default":0},"priority":{"type":"integer","default":100},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["title"],"additionalProperties":false},"ProjectPackageEpicInput":{"type":"object","properties":{"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","done","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}},"backlog_items":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPackageBacklogItemInput"},"default":[]}},"required":["key","title"],"additionalProperties":false},"ProjectPackage":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/ProjectsRecord"},"epics":{"type":"array","items":{"$ref":"#/components/schemas/EpicsRecord"}},"backlogItems":{"type":"array","items":{"$ref":"#/components/schemas/BacklogRecord"}}},"required":["project","epics","backlogItems"]},"ProjectStyleKit":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"project_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"original_filename":{"type":"string"},"archive_format":{"type":"string","enum":["zip","tar","tar.gz","rar"]},"file_size_bytes":{"type":"integer","minimum":1},"sha256":{"type":"string"},"logo_filename":{"type":"string","nullable":true},"logo_mime_type":{"type":"string","nullable":true},"usage_instructions":{"type":"string","nullable":true},"is_active_style_kit":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","project_id","name","original_filename","archive_format","file_size_bytes","sha256","is_active_style_kit"]},"ProjectStyleKitState":{"type":"object","properties":{"activeStyleKit":{"$ref":"#/components/schemas/ProjectStyleKit","nullable":true},"styleKits":{"type":"array","items":{"$ref":"#/components/schemas/ProjectStyleKit"}},"agentContext":{"type":"object","additionalProperties":true,"nullable":true}},"required":["activeStyleKit","styleKits","agentContext"]},"ProjectStyleKitUploadResult":{"type":"object","properties":{"activeStyleKit":{"$ref":"#/components/schemas/ProjectStyleKit"},"agentContext":{"type":"object","additionalProperties":true}},"required":["activeStyleKit","agentContext"]},"ProjectStyleKitDeleteResult":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"activeStyleKit":{"$ref":"#/components/schemas/ProjectStyleKit","nullable":true}},"required":["id","activeStyleKit"]},"ProjectsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"key":{"type":"string"},"name":{"type":"string"},"repo_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","key","name"],"additionalProperties":true},"ProjectsRecordInput":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"repo_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["key","name"],"additionalProperties":false},"ProjectsRecordPatch":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"repo_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"EpicsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"project_id":{"type":"string","format":"uuid"},"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","done","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","project_id","key","title"],"additionalProperties":true},"EpicsRecordInput":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","done","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["project_id","key","title"],"additionalProperties":false},"EpicsRecordPatch":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused","done","archived"],"default":"active"},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"BacklogRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"project_id":{"type":"string","format":"uuid","nullable":true},"epic_id":{"type":"string","format":"uuid","nullable":true},"assigned_to":{"type":"string","format":"uuid","nullable":true},"external_key":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","default":"not_started"},"t_shirt_size":{"type":"string","default":"?"},"story_points":{"type":"integer","minimum":0,"default":0},"priority":{"type":"integer","default":100},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","title"],"additionalProperties":true},"BacklogRecordInput":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","nullable":true},"epic_id":{"type":"string","format":"uuid","nullable":true},"assigned_to":{"type":"string","format":"uuid","nullable":true},"external_key":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","default":"not_started"},"t_shirt_size":{"type":"string","default":"?"},"story_points":{"type":"integer","minimum":0,"default":0},"priority":{"type":"integer","default":100},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["title"],"additionalProperties":false},"BacklogRecordPatch":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","nullable":true},"epic_id":{"type":"string","format":"uuid","nullable":true},"assigned_to":{"type":"string","format":"uuid","nullable":true},"external_key":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"status":{"type":"string","default":"not_started"},"t_shirt_size":{"type":"string","default":"?"},"story_points":{"type":"integer","minimum":0,"default":0},"priority":{"type":"integer","default":100},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"DeliveryPhasesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid"},"phase_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"actor":{"type":"string","default":"system"},"executor":{"type":"string","nullable":true},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"evidence":{"type":"object","additionalProperties":true,"default":{}},"risks":{"type":"array","items":{},"default":[]},"needed_from_conductor":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"blocked_at":{"type":"string","format":"date-time","nullable":true}},"required":["id","provider_organization_id","created_at","updated_at","backlog_item_id","phase_id"],"additionalProperties":true},"DeliveryPhasesRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid"},"phase_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"actor":{"type":"string","default":"system"},"executor":{"type":"string","nullable":true},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"evidence":{"type":"object","additionalProperties":true,"default":{}},"risks":{"type":"array","items":{},"default":[]},"needed_from_conductor":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"blocked_at":{"type":"string","format":"date-time","nullable":true}},"required":["backlog_item_id","phase_id"],"additionalProperties":false},"DeliveryPhasesRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid"},"phase_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"actor":{"type":"string","default":"system"},"executor":{"type":"string","nullable":true},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"evidence":{"type":"object","additionalProperties":true,"default":{}},"risks":{"type":"array","items":{},"default":[]},"needed_from_conductor":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"blocked_at":{"type":"string","format":"date-time","nullable":true}},"required":[],"additionalProperties":false},"PhasesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"phase_order":{"type":"integer"}},"required":["id","provider_organization_id","created_at","updated_at","name","phase_order"],"additionalProperties":true},"PhasesRecordInput":{"type":"object","properties":{"name":{"type":"string"},"phase_order":{"type":"integer"}},"required":["name","phase_order"],"additionalProperties":false},"PhasesRecordPatch":{"type":"object","properties":{"name":{"type":"string"},"phase_order":{"type":"integer"}},"required":[],"additionalProperties":false},"CapabilitiesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["id","provider_organization_id","created_at","updated_at","code","name","description"],"additionalProperties":true},"CapabilitiesRecordInput":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["code","name","description"],"additionalProperties":false},"CapabilitiesRecordPatch":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":[],"additionalProperties":false},"PhaseCapabilitiesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"phase_id":{"type":"integer"},"capability_id":{"type":"integer"},"step_order":{"type":"integer"},"task_description":{"type":"string"}},"required":["id","provider_organization_id","created_at","updated_at","phase_id","capability_id","step_order","task_description"],"additionalProperties":true},"PhaseCapabilitiesRecordInput":{"type":"object","properties":{"phase_id":{"type":"integer"},"capability_id":{"type":"integer"},"step_order":{"type":"integer"},"task_description":{"type":"string"}},"required":["phase_id","capability_id","step_order","task_description"],"additionalProperties":false},"PhaseCapabilitiesRecordPatch":{"type":"object","properties":{"phase_id":{"type":"integer"},"capability_id":{"type":"integer"},"step_order":{"type":"integer"},"task_description":{"type":"string"}},"required":[],"additionalProperties":false},"PhaseStepsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"delivery_phase_id":{"type":"string","format":"uuid"},"backlog_item_id":{"type":"string","format":"uuid"},"phase_capability_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"step_gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"step_gate_notes":{"type":"string","nullable":true},"agent_id":{"type":"string","nullable":true},"agent_model":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","delivery_phase_id","backlog_item_id","phase_capability_id"],"additionalProperties":true},"PhaseStepsRecordInput":{"type":"object","properties":{"delivery_phase_id":{"type":"string","format":"uuid"},"backlog_item_id":{"type":"string","format":"uuid"},"phase_capability_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"step_gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"step_gate_notes":{"type":"string","nullable":true},"agent_id":{"type":"string","nullable":true},"agent_model":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["delivery_phase_id","backlog_item_id","phase_capability_id"],"additionalProperties":false},"PhaseStepsRecordPatch":{"type":"object","properties":{"delivery_phase_id":{"type":"string","format":"uuid"},"backlog_item_id":{"type":"string","format":"uuid"},"phase_capability_id":{"type":"integer"},"status":{"type":"string","default":"pending"},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"step_gate_result":{"type":"string","enum":["GO","GWR","NO-GO"],"nullable":true},"step_gate_notes":{"type":"string","nullable":true},"agent_id":{"type":"string","nullable":true},"agent_model":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"ProcessEventsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"event_type":{"type":"string"},"message":{"type":"string"},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","event_type","message"],"additionalProperties":true},"ProcessEventsRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"event_type":{"type":"string"},"message":{"type":"string"},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true,"default":{}}},"required":["event_type","message"],"additionalProperties":false},"ProcessEventsRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"event_type":{"type":"string"},"message":{"type":"string"},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"},"correlation_id":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"WorkDocumentsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid"},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"phase_step_id":{"type":"string","format":"uuid","nullable":true},"document_type":{"type":"string","enum":["refined_story","testplan","testreport","deploy_plan","deploy_report","security_audit","gwr","done_checklist","ux_review","architect_review","security_review","security_triage","development_prompt","scrum_master_checklist","gitops_document"]},"title":{"type":"string"},"body_markdown":{"type":"string"},"metadata":{"type":"object","additionalProperties":true,"default":{}},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"}},"required":["id","provider_organization_id","created_at","updated_at","backlog_item_id","document_type","title","body_markdown"],"additionalProperties":true},"WorkDocumentsRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid"},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"phase_step_id":{"type":"string","format":"uuid","nullable":true},"document_type":{"type":"string","enum":["refined_story","testplan","testreport","deploy_plan","deploy_report","security_audit","gwr","done_checklist","ux_review","architect_review","security_review","security_triage","development_prompt","scrum_master_checklist","gitops_document"]},"title":{"type":"string"},"body_markdown":{"type":"string"},"metadata":{"type":"object","additionalProperties":true,"default":{}},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"}},"required":["backlog_item_id","document_type","title","body_markdown"],"additionalProperties":false},"WorkDocumentsRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid"},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"phase_step_id":{"type":"string","format":"uuid","nullable":true},"document_type":{"type":"string","enum":["refined_story","testplan","testreport","deploy_plan","deploy_report","security_audit","gwr","done_checklist","ux_review","architect_review","security_review","security_triage","development_prompt","scrum_master_checklist","gitops_document"]},"title":{"type":"string"},"body_markdown":{"type":"string"},"metadata":{"type":"object","additionalProperties":true,"default":{}},"actor":{"type":"string","default":"system"},"source":{"type":"string","default":"ainodemanager"}},"required":[],"additionalProperties":false},"OrchestrationCommandsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"command_type":{"type":"string","enum":["start_backlog_item","resume_backlog_item","pause_backlog_item","cancel_backlog_item","run_smoke","start_epic","resume_epic","pause_epic","cancel_epic","ensure_project_repo","fix_blocked_phase","run_project_chat"],"default":"start_backlog_item"},"status":{"type":"string","default":"queued"},"requested_by":{"type":"string","default":"system"},"target_orchestrator":{"type":"string","default":"hermes"},"source":{"type":"string","default":"ainodemanager"},"payload":{"type":"object","additionalProperties":true,"default":{}},"correlation_id":{"type":"string","nullable":true}},"required":["id","provider_organization_id","created_at","updated_at"],"additionalProperties":true},"OrchestrationCommandsRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"command_type":{"type":"string","enum":["start_backlog_item","resume_backlog_item","pause_backlog_item","cancel_backlog_item","run_smoke","start_epic","resume_epic","pause_epic","cancel_epic","ensure_project_repo","fix_blocked_phase","run_project_chat"],"default":"start_backlog_item"},"status":{"type":"string","default":"queued"},"requested_by":{"type":"string","default":"system"},"target_orchestrator":{"type":"string","default":"hermes"},"source":{"type":"string","default":"ainodemanager"},"payload":{"type":"object","additionalProperties":true,"default":{}},"correlation_id":{"type":"string","nullable":true}},"required":[],"additionalProperties":false},"OrchestrationCommandsRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"command_type":{"type":"string","enum":["start_backlog_item","resume_backlog_item","pause_backlog_item","cancel_backlog_item","run_smoke","start_epic","resume_epic","pause_epic","cancel_epic","ensure_project_repo","fix_blocked_phase","run_project_chat"],"default":"start_backlog_item"},"status":{"type":"string","default":"queued"},"requested_by":{"type":"string","default":"system"},"target_orchestrator":{"type":"string","default":"hermes"},"source":{"type":"string","default":"ainodemanager"},"payload":{"type":"object","additionalProperties":true,"default":{}},"correlation_id":{"type":"string","nullable":true}},"required":[],"additionalProperties":false},"ToolRunsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"command_id":{"type":"string","format":"uuid","nullable":true},"tool_name":{"type":"string"},"executor":{"type":"string"},"status":{"type":"string","default":"queued"},"input":{"type":"object","additionalProperties":true,"default":{}},"output":{"type":"object","additionalProperties":true,"nullable":true},"error":{"type":"string","nullable":true}},"required":["id","provider_organization_id","created_at","updated_at","tool_name","executor"],"additionalProperties":true},"ToolRunsRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"command_id":{"type":"string","format":"uuid","nullable":true},"tool_name":{"type":"string"},"executor":{"type":"string"},"status":{"type":"string","default":"queued"},"input":{"type":"object","additionalProperties":true,"default":{}},"output":{"type":"object","additionalProperties":true,"nullable":true},"error":{"type":"string","nullable":true}},"required":["tool_name","executor"],"additionalProperties":false},"ToolRunsRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"delivery_phase_id":{"type":"string","format":"uuid","nullable":true},"command_id":{"type":"string","format":"uuid","nullable":true},"tool_name":{"type":"string"},"executor":{"type":"string"},"status":{"type":"string","default":"queued"},"input":{"type":"object","additionalProperties":true,"default":{}},"output":{"type":"object","additionalProperties":true,"nullable":true},"error":{"type":"string","nullable":true}},"required":[],"additionalProperties":false},"StoriesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"refinement"},"current_step":{"type":"string","default":"po_refinement"}},"required":["id","provider_organization_id","created_at","updated_at","title"],"additionalProperties":true},"StoriesRecordInput":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"refinement"},"current_step":{"type":"string","default":"po_refinement"}},"required":["title"],"additionalProperties":false},"StoriesRecordPatch":{"type":"object","properties":{"backlog_item_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"refinement"},"current_step":{"type":"string","default":"po_refinement"}},"required":[],"additionalProperties":false},"SubtasksRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"story_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["not_started","queued","running","paused","failed","done","blocked"],"default":"not_started"}},"required":["id","provider_organization_id","created_at","updated_at","story_id","title"],"additionalProperties":true},"SubtasksRecordInput":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["not_started","queued","running","paused","failed","done","blocked"],"default":"not_started"}},"required":["story_id","title"],"additionalProperties":false},"SubtasksRecordPatch":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["not_started","queued","running","paused","failed","done","blocked"],"default":"not_started"}},"required":[],"additionalProperties":false},"NodesRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"hostname":{"type":"string"},"ip_address":{"type":"string","nullable":true},"status":{"type":"string","default":"offline"},"capacity":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","name","hostname"],"additionalProperties":true},"NodesRecordInput":{"type":"object","properties":{"name":{"type":"string"},"hostname":{"type":"string"},"ip_address":{"type":"string","nullable":true},"status":{"type":"string","default":"offline"},"capacity":{"type":"object","additionalProperties":true,"default":{}}},"required":["name","hostname"],"additionalProperties":false},"NodesRecordPatch":{"type":"object","properties":{"name":{"type":"string"},"hostname":{"type":"string"},"ip_address":{"type":"string","nullable":true},"status":{"type":"string","default":"offline"},"capacity":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"AgentsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"name":{"type":"string"},"executor_type":{"type":"string"},"status":{"type":"string","default":"available"},"capabilities":{"type":"array","items":{"type":"string"},"default":[]}},"required":["id","provider_organization_id","created_at","updated_at","name","executor_type"],"additionalProperties":true},"AgentsRecordInput":{"type":"object","properties":{"name":{"type":"string"},"executor_type":{"type":"string"},"status":{"type":"string","default":"available"},"capabilities":{"type":"array","items":{"type":"string"},"default":[]}},"required":["name","executor_type"],"additionalProperties":false},"AgentsRecordPatch":{"type":"object","properties":{"name":{"type":"string"},"executor_type":{"type":"string"},"status":{"type":"string","default":"available"},"capabilities":{"type":"array","items":{"type":"string"},"default":[]}},"required":[],"additionalProperties":false},"TaskRunsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"story_id":{"type":"string","format":"uuid","nullable":true},"agent_id":{"type":"string","format":"uuid","nullable":true},"node_id":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","default":"queued"},"command":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at"],"additionalProperties":true},"TaskRunsRecordInput":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid","nullable":true},"agent_id":{"type":"string","format":"uuid","nullable":true},"node_id":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","default":"queued"},"command":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"TaskRunsRecordPatch":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid","nullable":true},"agent_id":{"type":"string","format":"uuid","nullable":true},"node_id":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","default":"queued"},"command":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false},"GwrRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"story_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"open"},"requested_by":{"type":"string","default":"system"},"problem":{"type":"string"},"recommendation":{"type":"string"}},"required":["id","provider_organization_id","created_at","updated_at","title","problem","recommendation"],"additionalProperties":true},"GwrRecordInput":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"open"},"requested_by":{"type":"string","default":"system"},"problem":{"type":"string"},"recommendation":{"type":"string"}},"required":["title","problem","recommendation"],"additionalProperties":false},"GwrRecordPatch":{"type":"object","properties":{"story_id":{"type":"string","format":"uuid","nullable":true},"title":{"type":"string"},"status":{"type":"string","default":"open"},"requested_by":{"type":"string","default":"system"},"problem":{"type":"string"},"recommendation":{"type":"string"}},"required":[],"additionalProperties":false},"SettingsRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider_organization_id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"key":{"type":"string"},"value":{"type":"object","additionalProperties":true,"default":{}}},"required":["id","provider_organization_id","created_at","updated_at","key"],"additionalProperties":true},"SettingsRecordInput":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object","additionalProperties":true,"default":{}}},"required":["key"],"additionalProperties":false},"SettingsRecordPatch":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object","additionalProperties":true,"default":{}}},"required":[],"additionalProperties":false}}}}