{"openapi":"3.0.1","info":{"title":"Tangigo API","description":"Spring Boot gateway for Tangigo - the AI-powered product lifecycle platform","contact":{"name":"Tangigo support","email":"support@tangigo.com"},"version":"1.0.0"},"servers":[{"url":"http://tangigo-gateway-dev-754311562580.us-central1.run.app","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Users","description":"User profile management and administration"},{"name":"Build (internal)","description":"The build brief and the conformance step of a story build"},{"name":"Governance (internal)","description":"Definition-of-Ready check at build dispatch"},{"name":"Assembly Instructions","description":"CRUD for AI-generated or manual assembly instructions"},{"name":"Documents","description":"Markdown documents with versions, typed references and hierarchy"},{"name":"Governance checkpoints","description":"Raise and decide in-flow deviations; approval rules"},{"name":"Payment Methods","description":"Razorpay payment method management for organizations"},{"name":"Registry","description":"One envelope over every registry kind: lifecycle, versions, consumers"},{"name":"Agent pool (internal)","description":"Instance busy/idle transitions and provisioning for services and jobs"},{"name":"Control plane — principals","description":"Users, agent instances and service principals, and the profile each resolves to"},{"name":"Registry","description":"Entity-relationship diagrams for the registered data models"},{"name":"Architecture Principles","description":"Manage architecture principles for an organization"},{"name":"Fabrication Orders","description":"PCB fabrication order management and tracking"},{"name":"Registry tools","description":"Invoke a tool generated from a published API contract"},{"name":"Architecture Files","description":"Upload and manage files attached to architecture entities"},{"name":"Manufacturing Workflows","description":"Manufacturing workflow orchestration for multi-step production processes"},{"name":"Architecture Decisions","description":"Manage architecture decision records (ADRs)"},{"name":"Fabrication Partners","description":"PCB fabrication and assembly partner management"},{"name":"Control plane (internal)","description":"Budget and quota checks for services and jobs"},{"name":"Ingestion","description":"Requirements document ingestion for the wizards"},{"name":"Lineage","description":"PR → story → spec → principle, as a graph (S341)"},{"name":"Diagram Assets","description":"Versioned draw.io diagram assets embedded by id"},{"name":"Squads","description":"Named agent instances assigned to a backlog item (S420)"},{"name":"3D Models","description":"3D model file management for hardware and mechanical modules"},{"name":"Slicer Profiles","description":"Slicer profile management for 3D printing, CNC, and laser cutting"},{"name":"Control plane","description":"Policy decisions (RBAC + ABAC)"},{"name":"Architecture Diagrams","description":"Manage standalone architecture diagrams"},{"name":"External - Webhooks","description":"External API for inbound webhook processing and transformation rule management"},{"name":"External - Defects","description":"External API for defect CRUD operations via API key authentication"},{"name":"Materials","description":"Material inventory management for labs and manufacturing"},{"name":"Test Plans","description":"Test plan creation and management for organizing test execution within modules"},{"name":"Agent Tasks","description":"Manage tasks assigned to agent instances"},{"name":"Technology Standards","description":"Manage technology standards for an organization"},{"name":"AI Sessions","description":"AI agent conversation and context history management"},{"name":"Report Schedules","description":"Scheduled report configuration and management"},{"name":"Internal usage","description":"Service-to-service usage ingest (C122)"},{"name":"Architecture Board","description":"Manage architecture review board (one per org)"},{"name":"Teams","description":"CRUD for teams with member and agent management"},{"name":"Experiments","description":"Manage A/B experiments and feature flags"},{"name":"Design Reviews","description":"Manage UX/design coverage reviews that gate epic publication"},{"name":"Authentication","description":"User registration, login, and Firebase auth sync endpoints"},{"name":"Backlog merge","description":"Who may merge a story's PR, and the merge itself"},{"name":"Registry","description":"Org-scoped registry of every governed artefact"},{"name":"Control plane","description":"Kill switch for agent instances, definitions and the org"},{"name":"Deployments","description":"Deployment lifecycle management including approvals, rollbacks, and environment targeting"},{"name":"Governance","description":"Constraints in force on a product"},{"name":"Admin audit events","description":"Cross-organization audit events for the platform admin (S340)"},{"name":"Control plane (internal)","description":"Policy decisions for services and jobs"},{"name":"Agent Activities","description":"Log and query agent activity events"},{"name":"Schematic Files","description":"Schematic file management for PCB modules"},{"name":"Control plane (internal)","description":"Kill-switch status for services and jobs"},{"name":"Invoices","description":"Razorpay invoice records and billing history for organizations"},{"name":"Agent Handoffs","description":"Manage work handoffs between agent instances"},{"name":"GCode Files","description":"GCode file management for 3D printing, CNC, and robotic arm programs"},{"name":"Sprint Execution AI Proxy","description":"Smart proxy: gateway reads data, ai-orchestrator computes, gateway writes back"},{"name":"Internal audit","description":"Service-to-service audit ingest (S340)"},{"name":"Provisioning","description":"The reusable provisioning step: proposals of agents and skills for a scope"},{"name":"Modules","description":"Module management within products - create, read, update, and delete modules"},{"name":"Release Approvals","description":"Release approval workflow management for gated releases"},{"name":"Billing profile","description":"The billing identity a tax invoice is raised from"},{"name":"Sprint Executions","description":"Sprint execution management for AI agent-driven development"},{"name":"Feature Flags","description":"Feature flag management for controlled rollouts and A/B testing"},{"name":"Devices","description":"Device registry management for hardware devices"},{"name":"Flash Targets","description":"Firmware flash target management for MCU/FPGA devices"},{"name":"Agent Sessions","description":"Manage agent conversation sessions"},{"name":"Epic Threads","description":"Durable elaboration threads for maturing epics into design/ADR/contract artifacts"},{"name":"Device Communication","description":"Proxy endpoints for device communication via worker service"},{"name":"Learn","description":"Operate → Learn → Plan: backlog items auto-generated from operational signals"},{"name":"Agent Instances","description":"Manage agent instances within an organization"},{"name":"Credential bindings","description":"Credentials as registry metadata; the secret is write-only (S600)"},{"name":"Help Articles","description":"Help article interaction endpoints"},{"name":"Document types","description":"Per-organization document type registry"},{"name":"External - Deployments","description":"External API for triggering and listing deployments via API key authentication"},{"name":"KPI","description":"Key Performance Indicator aggregation endpoints"},{"name":"Device Jobs","description":"Job dispatch and management for registered devices"},{"name":"MCP","description":"Tangigo MCP catalog and the register → discover → install-as-skill flow"},{"name":"Architecture Reviews","description":"Manage architecture compliance reviews"},{"name":"Search","description":"Scope-aware full-text + vector search over documents, diagrams and registry entries"},{"name":"Community","description":"Community Q&A endpoints"},{"name":"Architecture Contracts","description":"Manage architecture contracts and compliance agreements"},{"name":"Audit events","description":"Immutable audit events of an organization (S340)"},{"name":"Reference Architectures","description":"Manage reference architecture blueprints"},{"name":"Local Agents","description":"Manage local agent registrations for device communication"},{"name":"Mission Control","description":"Read-only board aggregating active squads (epic threads + merge groups) per product"},{"name":"Control plane (internal)","description":"Model choice under the org model policy"},{"name":"Organizations","description":"Organization lifecycle management including member and role administration"},{"name":"BOM","description":"Bill of Materials management for hardware modules"},{"name":"Governance Log","description":"Read-only governance audit log (entries created internally by other services)"},{"name":"Registry publishing","description":"Self-registration of contracts, technologies and data models from a build"},{"name":"Incidents","description":"Incident tracking and resolution for production issue management"},{"name":"Governance (internal)","description":"Dispensation register enforcement"},{"name":"Agent pool","description":"Agent instances as principals with state, capacity and scope"},{"name":"Product Members","description":"Manage product members including human team members and persistent AI agents"},{"name":"Governance Validation","description":"Validate module tech stack against organization standards"},{"name":"Technology Radar","description":"Manage technology radar entries for an organization"},{"name":"Control plane","description":"What the control plane is doing to an org or module right now"},{"name":"Dispensations (legacy facade)","description":"Requests and grants of exceptions to standards — now governance checkpoints"},{"name":"Control plane","description":"Seed an org's control-plane profiles and agent catalog"},{"name":"Releases","description":"Release version management and tracking across module lifecycles"},{"name":"OAuth","description":"Social login via GitHub, Google, Microsoft"},{"name":"External - Backlog","description":"External API for backlog item CRUD operations via API key authentication"},{"name":"Vendor consultants","description":"External consultants engaged on named modules for a window (S422)"},{"name":"Support","description":"Contact support"},{"name":"Value Streams","description":"Manage value stream maps"},{"name":"Build (internal)","description":"The merge attempt after a story build opens its PR"},{"name":"Gerber Files","description":"Gerber file management for PCB fabrication"},{"name":"Credential resolution (internal)","description":"Per-call credential resolution for the tool router (S600)"},{"name":"Governance","description":"Dispensation register actions"},{"name":"Knowledge Documents","description":"Upload and manage knowledge base documents for AI context"},{"name":"Product Storage","description":"Proxy to worker service for product file operations"},{"name":"Governance (internal)","description":"Checkpoints raised by services on behalf of agents"},{"name":"Budgets","description":"Hierarchical budgets and quotas"},{"name":"External - Tests","description":"External API for triggering tests and retrieving results via API key authentication"},{"name":"Agent Definitions","description":"Manage agent definition templates"},{"name":"Labs","description":"Lab management for hardware testing environments"},{"name":"Merge Groups","description":"Cross-module epic merge groups: hold all story PRs until gated, then merge in dependency order"},{"name":"Enterprise Profile","description":"Manage enterprise profile (one per org)"},{"name":"Org templates","description":"Platform org templates for the org wizard (S243)"},{"name":"Architecture Components","description":"Manage standalone architecture components"},{"name":"Backlog Items","description":"Product backlog management - stories, tasks, bugs, and their lifecycle status transitions"},{"name":"Admin","description":"Super-admin platform management endpoints"},{"name":"Business Capabilities","description":"Manage business capability maps"},{"name":"GDPR Requests","description":"GDPR data export, deletion, and compliance management endpoints"},{"name":"Governance Model","description":"Manage governance model configuration (one per org)"}],"paths":{"/api/v1/users/{id}":{"get":{"tags":["Users"],"summary":"Get user by ID","description":"Retrieves a single user profile by their unique identifier","operationId":"getUserById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"User found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}},"404":{"description":"User not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}},"put":{"tags":["Users"],"summary":"Update a user","description":"Updates an existing user's profile information including name, roles, and active status","operationId":"updateUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"required":true},"responses":{"200":{"description":"User updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}},"404":{"description":"User not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserResponse"}}}}}},"delete":{"tags":["Users"],"operationId":"deleteUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/test-suites/{id}":{"get":{"tags":["test-suite-controller"],"operationId":"getTestSuiteById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestSuite"}}}}}},"put":{"tags":["test-suite-controller"],"operationId":"updateTestSuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSuite"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestSuite"}}}}}},"delete":{"tags":["test-suite-controller"],"operationId":"deleteTestSuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["test-suite-controller"],"operationId":"patchTestSuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSuite"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestSuite"}}}}}}},"/api/v1/targets/{id}":{"get":{"tags":["target-controller"],"operationId":"getTargetById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTarget"}}}}}},"put":{"tags":["target-controller"],"operationId":"updateTarget","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTarget"}}}}}},"delete":{"tags":["target-controller"],"operationId":"deleteTarget","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/sso-configs/{id}":{"get":{"tags":["sso-config-controller"],"operationId":"getById_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSSOConfig"}}}}}},"put":{"tags":["sso-config-controller"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSSOConfig"}}}}}},"delete":{"tags":["sso-config-controller"],"operationId":"delete_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sso-config-controller"],"operationId":"patchUpdate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSSOConfig"}}}}}}},"/api/v1/secret-rotations/{id}":{"get":{"tags":["secret-rotation-controller"],"operationId":"getById_9","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSecretRotation"}}}}}},"put":{"tags":["secret-rotation-controller"],"operationId":"update_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretRotation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSecretRotation"}}}}}},"delete":{"tags":["secret-rotation-controller"],"operationId":"delete_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/rate-limit-configs/{id}":{"get":{"tags":["rate-limit-config-controller"],"operationId":"getById_12","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRateLimitConfig"}}}}}},"put":{"tags":["rate-limit-config-controller"],"operationId":"update_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRateLimitConfig"}}}}}},"delete":{"tags":["rate-limit-config-controller"],"operationId":"delete_13","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/products/{id}":{"get":{"tags":["product-controller"],"operationId":"getProductById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProduct"}}}}}},"put":{"tags":["product-controller"],"operationId":"updateProduct","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProduct"}}}}}},"delete":{"tags":["product-controller"],"operationId":"deleteProduct","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["product-controller"],"operationId":"patchProduct","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProduct"}}}}}}},"/api/v1/product-storage/file":{"get":{"tags":["Product Storage"],"summary":"Read a file from product","operationId":"getFile","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"branch","in":"query","required":true,"schema":{"type":"string"}},{"name":"filePath","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"put":{"tags":["Product Storage"],"summary":"Write a file to product","operationId":"putFile","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"delete":{"tags":["Product Storage"],"summary":"Delete a file from product","operationId":"deleteFile","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/orgs/{orgId}/teams/{teamId}/default-profile":{"get":{"tags":["Control plane — principals"],"summary":"A team's default profile","description":"The profile every member inherits unless it has a direct one. A team is not a principal — this is the only control-plane field it carries.","operationId":"teamDefaultProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalProfileRequest"}}}}}},"put":{"tags":["Control plane — principals"],"summary":"Set or clear a team's default profile","description":"Organization owner or admin; refused to an agent principal. With several teams the defaults merge most-restrictively, so adding a team can only narrow what its members may do.","operationId":"setTeamDefaultProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrincipalProfileRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalProfileRequest"}}}}}}},"/api/v1/orgs/{orgId}/settings/build":{"get":{"tags":["build-settings-controller"],"operationId":"get","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseView"}}}}}},"put":{"tags":["build-settings-controller"],"operationId":"update_3","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Update"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseView"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}":{"get":{"tags":["Registry"],"summary":"Get a registry entry","description":"The entry with its resolved markdown body and the caller's edit right.","operationId":"get_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}},"put":{"tags":["Registry"],"summary":"Update a registry entry","description":"Always writes a new version. Pass `version` for an explicit semantic version; omitted, the patch segment is bumped.","operationId":"update_4","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trigger","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryEntryRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/credential-binding/{id}/secret":{"put":{"tags":["Credential bindings"],"summary":"Rotate the secret","description":"Stores the new secret, repoints the binding at it, then destroys the old one — in that order, so a failure leaves the integration working.","operationId":"rotate","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialRotateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/agent-definition/{id}/skills":{"put":{"tags":["Registry"],"summary":"Attach skills to an agent definition","description":"D9: an agent attaches skills, never raw tools. On a `lightweight` org the attach is live immediately and answers `status: active`. On `standard` or `formal` the skill and the tools it bundles stay where the governance model put them, one governance_review Action is raised, and the answer is `status: pending-approval` with the approvalId and the entries still to be approved — instead of the pre-C70 behaviour, where the attach appeared to succeed and the agent silently could not call the skill.","operationId":"attachSkills","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillAttachRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSkillAttachResponse"}}}}}}},"/api/v1/orgs/{orgId}/provisioning/proposals/{id}":{"get":{"tags":["Provisioning"],"summary":"One proposal","operationId":"get_2","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}},"put":{"tags":["Provisioning"],"summary":"Edit the proposal's lines (a new document version)","operationId":"edit","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisioningProposalEdit"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}}},"/api/v1/orgs/{orgId}/principals/{principalId}/status":{"put":{"tags":["Control plane — principals"],"summary":"Suspend, retire or reactivate a principal","description":"Organization owner or admin; refused to an agent principal. A suspended principal still resolves to a profile — the harness reads the status, so the chain stays inspectable after the fact.","operationId":"setStatus","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrincipalStatusRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalSummary"}}}}}}},"/api/v1/orgs/{orgId}/principals/{principalId}/profile":{"put":{"tags":["Control plane — principals"],"summary":"Assign or clear a principal's direct profile","description":"Organization owner or admin. Refused to an agent principal (D4): an agent is a principal in its own right and may not hand itself, or any other principal, a different control plane. A null profileId clears the assignment and puts the principal back on its teams' defaults.","operationId":"assignProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrincipalProfileRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalSummary"}}}}}}},"/api/v1/orgs/{orgId}/governance/approval-rules":{"get":{"tags":["Governance checkpoints"],"summary":"The org's approval rules in force","description":"The edited list, or the defaults for the governance level.","operationId":"approvalRules","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}},"put":{"tags":["Governance checkpoints"],"summary":"Replace the org's approval rules","description":"Org owner or admin. An empty list restores the level defaults. The rules are mirrored onto the org's default control-plane profile so the PDP's require-approval decisions follow them. A rule for an org-reaching class (production_deploy, principle_relaxation, skill_attach) is stored at blastRadius 'org' whatever radius was sent — the response and the GET reflect the lift (C178).","operationId":"replaceApprovalRules","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApprovalRuleSetting"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListApprovalRuleSetting"}}}}}}},"/api/v1/orgs/{orgId}/doc-types/{key}":{"get":{"tags":["Document types"],"summary":"Get a document type by key","operationId":"get_5","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentType"}}}}}},"put":{"tags":["Document types"],"summary":"Update a document type","description":"The key is immutable — documents reference a type by key.","operationId":"update_5","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentType"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentType"}}}}}},"delete":{"tags":["Document types"],"summary":"Delete a custom document type","description":"Platform defaults cannot be deleted; edit them instead.","operationId":"delete_16","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/orgs/{orgId}/budgets":{"get":{"tags":["Budgets"],"summary":"Read a scope's budget for the current period","operationId":"get_7","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":true,"schema":{"type":"string"}},{"name":"scopeId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBudget"}}}}}},"put":{"tags":["Budgets"],"summary":"Set a scope's budget for the current period","operationId":"put","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":true,"schema":{"type":"string"}},{"name":"scopeId","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetLimitsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBudget"}}}}}}},"/api/v1/orgs/{orgId}/billing/profile":{"get":{"tags":["Billing profile"],"summary":"Read the billing profile","description":"Returns the organization's billing country, state, GSTIN, legal name and address, whether the profile is complete, and the tax treatment the next invoice would carry.","operationId":"getProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBillingProfileResponse"}}}}}},"put":{"tags":["Billing profile"],"summary":"Set the billing profile","description":"Replaces the organization's billing identity. Country is required; an Indian address requires the two-digit GST state code, and a GSTIN must be well formed and agree with that state. Until this is set, a payment is recorded with taxTreatment PENDING_BILLING_PROFILE and no invoice number.","operationId":"updateProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBillingProfileResponse"}}}}}}},"/api/v1/organizations/{id}":{"get":{"tags":["Organizations"],"summary":"Get organization by ID","description":"Retrieves a single organization by its unique identifier","operationId":"getOrganizationById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Organization not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}},"200":{"description":"Organization found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}},"put":{"tags":["Organizations"],"summary":"Update an organization","description":"Partial update: absent fields are left alone. The plan tier and the Razorpay ids are billing-owned and not accepted here (C172); a value sent under those names is ignored.","operationId":"updateOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}},"delete":{"tags":["Organizations"],"operationId":"deleteOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Organizations"],"operationId":"patchOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}}},"/api/v1/modules/{id}":{"get":{"tags":["Modules"],"summary":"Get module by ID","description":"Retrieves a single module by its unique identifier","operationId":"getModuleById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Module found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}},"404":{"description":"Module not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}},"put":{"tags":["Modules"],"operationId":"updateModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Module"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}},"delete":{"tags":["Modules"],"operationId":"deleteModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Modules"],"operationId":"patchModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Module"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}}},"/api/v1/kubernetes-configs/{id}":{"get":{"tags":["kubernetes-config-controller"],"operationId":"getById_18","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKubernetesConfig"}}}}}},"put":{"tags":["kubernetes-config-controller"],"operationId":"update_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KubernetesConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKubernetesConfig"}}}}}},"delete":{"tags":["kubernetes-config-controller"],"operationId":"delete_22","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/ip-allowlists/{id}":{"get":{"tags":["ip-allowlist-controller"],"operationId":"getById_19","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIPAllowlist"}}}}}},"put":{"tags":["ip-allowlist-controller"],"operationId":"update_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IPAllowlist"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIPAllowlist"}}}}}},"delete":{"tags":["ip-allowlist-controller"],"operationId":"delete_23","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/iac-templates/{id}":{"get":{"tags":["ia-c-template-controller"],"operationId":"getById_20","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIaCTemplate"}}}}}},"put":{"tags":["ia-c-template-controller"],"operationId":"update_8","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IaCTemplate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIaCTemplate"}}}}}},"delete":{"tags":["ia-c-template-controller"],"operationId":"delete_24","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/governance/model":{"get":{"tags":["Governance Model"],"operationId":"get_10","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGovernanceModel"}}}}}},"put":{"tags":["Governance Model"],"operationId":"createOrUpdate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceModelUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGovernanceModel"}}}}}},"post":{"tags":["Governance Model"],"operationId":"create_28","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceModelUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGovernanceModel"}}}}}}},"/api/v1/governance/board":{"get":{"tags":["Architecture Board"],"operationId":"get_11","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}},"put":{"tags":["Architecture Board"],"operationId":"createOrUpdate_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureBoard"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}}},"/api/v1/environments/{id}":{"get":{"tags":["environment-controller"],"operationId":"getEnvironmentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironment"}}}}}},"put":{"tags":["environment-controller"],"operationId":"updateEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Environment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironment"}}}}}},"delete":{"tags":["environment-controller"],"operationId":"deleteEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["environment-controller"],"operationId":"patchEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Environment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironment"}}}}}}},"/api/v1/enterprise-profile":{"get":{"tags":["Enterprise Profile"],"operationId":"get_12","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnterpriseProfile"}}}}}},"put":{"tags":["Enterprise Profile"],"operationId":"createOrUpdate_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseProfile"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnterpriseProfile"}}}}}},"post":{"tags":["Enterprise Profile"],"operationId":"postCreateOrUpdate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseProfile"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnterpriseProfile"}}}}}}},"/api/v1/domain-configs/{id}":{"get":{"tags":["domain-config-controller"],"operationId":"getById_32","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDomainConfig"}}}}}},"put":{"tags":["domain-config-controller"],"operationId":"update_9","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDomainConfig"}}}}}},"delete":{"tags":["domain-config-controller"],"operationId":"delete_33","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/docs/{id}":{"get":{"tags":["Documents"],"summary":"Get a document","operationId":"get_13","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}},"put":{"tags":["Documents"],"summary":"Update a document (writes a new version)","description":"Bodies are never edited in place: every PUT appends a DocumentVersion carrying the acting principal, actor type, scope, trigger and line diff summary.","operationId":"update_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}},"delete":{"tags":["Documents"],"summary":"Delete a document","description":"Deletes its versions and outgoing references. Children are re-parented, not deleted; incoming references stay and start reporting a broken target.","operationId":"delete_35","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/diagrams/{id}/versions":{"get":{"tags":["Diagram Assets"],"summary":"List version history, newest first (metadata only — no XML or SVG)","operationId":"listVersions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDiagramVersion"}}}}}},"put":{"tags":["Diagram Assets"],"summary":"Append a new version (the non-destructive replacement for PATCH)","description":"An agent principal may version only a diagram it created (C71); users and plain services keep the ordinary scope and membership rules.","operationId":"createVersion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramVersionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiagramVersion"}}}}}}},"/api/v1/defects/{id}":{"get":{"tags":["defect-controller"],"operationId":"getDefectById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}},"put":{"tags":["defect-controller"],"operationId":"updateDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Defect"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}},"delete":{"tags":["defect-controller"],"operationId":"deleteDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["defect-controller"],"operationId":"patchDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Defect"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/v1/database-provisions/{id}":{"get":{"tags":["database-provision-controller"],"operationId":"getById_38","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDatabaseProvision"}}}}}},"put":{"tags":["database-provision-controller"],"operationId":"update_11","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProvision"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDatabaseProvision"}}}}}},"delete":{"tags":["database-provision-controller"],"operationId":"delete_39","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/custom-roles/{id}":{"get":{"tags":["custom-role-controller"],"operationId":"getById_39","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCustomRole"}}}}}},"put":{"tags":["custom-role-controller"],"operationId":"update_12","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRole"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCustomRole"}}}}}},"delete":{"tags":["custom-role-controller"],"operationId":"delete_40","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["custom-role-controller"],"operationId":"patchUpdate_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRole"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCustomRole"}}}}}}},"/api/v1/credentials/{id}":{"get":{"tags":["credential-controller"],"operationId":"getCredentialById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCredential"}}}}}},"put":{"tags":["credential-controller"],"operationId":"updateCredential","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCredential"}}}}}},"delete":{"tags":["credential-controller"],"operationId":"deleteCredential","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/compliance-checklists/{id}":{"get":{"tags":["compliance-checklist-controller"],"operationId":"getById_41","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseComplianceChecklist"}}}}}},"put":{"tags":["compliance-checklist-controller"],"operationId":"update_13","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceChecklist"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseComplianceChecklist"}}}}}},"delete":{"tags":["compliance-checklist-controller"],"operationId":"delete_42","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/community/questions/{id}":{"get":{"tags":["Community"],"summary":"Get question detail with answers","operationId":"getQuestion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}},"put":{"tags":["Community"],"summary":"Edit a question (author only)","operationId":"updateQuestion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityQuestion"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityQuestion"}}}}}}},"/api/v1/community/answers/{id}":{"put":{"tags":["Community"],"summary":"Edit an answer (author only)","operationId":"updateAnswer","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAnswer"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityAnswer"}}}}}}},"/api/v1/billing/organizations/{orgId}/credits/auto-reload":{"put":{"tags":["credit-controller"],"operationId":"updateAutoReload","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditAutoReloadRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCreditSummaryResponse"}}}}}}},"/api/v1/billing/organizations/{orgId}/billing-status":{"put":{"tags":["billing-controller"],"operationId":"updateBillingStatus","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/backlog/{id}":{"get":{"tags":["Backlog Items"],"summary":"Get backlog item by ID","description":"Retrieves a single backlog item by its unique identifier","operationId":"getBacklogItemById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Backlog item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"200":{"description":"Backlog item found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}},"put":{"tags":["Backlog Items"],"operationId":"updateBacklogItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}},"delete":{"tags":["Backlog Items"],"operationId":"deleteBacklogItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Backlog Items"],"operationId":"patchBacklogItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/agents/{id}/heartbeat":{"put":{"tags":["Local Agents"],"summary":"Agent heartbeat","description":"Updates the agent's heartbeat timestamp. Authenticated via X-Agent-Key header.","operationId":"heartbeat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Agent-Key","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Heartbeat recorded","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"401":{"description":"Invalid or missing agent key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"404":{"description":"Agent not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/agent-definitions/{id}":{"get":{"tags":["Agent Definitions"],"summary":"Get agent definition by ID","description":"Returns a single agent definition by its unique identifier","operationId":"getById_59","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentDefinition"}}}}}},"put":{"tags":["Agent Definitions"],"summary":"Update an agent definition","description":"Updates an existing agent definition by ID","operationId":"update_14","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDefinition"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentDefinition"}}}}}}},"/api/v1/admin/support-tickets/{id}":{"put":{"tags":["Admin"],"summary":"Update a support ticket","operationId":"updateTicket","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicket"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSupportTicket"}}}}}}},"/api/v1/admin/organizations/{id}/plan":{"put":{"tags":["Admin"],"summary":"Override organization plan tier","operationId":"updatePlanTier","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}}},"/api/v1/admin/feature-flags/{id}":{"put":{"tags":["Admin"],"summary":"Update a feature flag","operationId":"updateFeatureFlag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapObjectObject"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete a feature flag","operationId":"deleteFeatureFlag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/actions/{id}":{"get":{"tags":["action-controller"],"operationId":"getActionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}},"put":{"tags":["action-controller"],"operationId":"updateAction","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Action"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}}},"/api/v1/webhooks/razorpay":{"post":{"tags":["webhook-controller"],"operationId":"handleRazorpayWebhook","parameters":[{"name":"X-Razorpay-Signature","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}}}}},"/api/v1/webhooks/github":{"post":{"tags":["webhook-controller"],"operationId":"handleGithubWebhook","parameters":[{"name":"X-Hub-Signature-256","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-GitHub-Event","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}}}}},"/api/v1/visual-regression/diffs":{"get":{"tags":["visual-regression-controller"],"operationId":"getDiffs","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"testRunId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListVisualDiff"}}}}}},"post":{"tags":["visual-regression-controller"],"operationId":"createDiff","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualDiff"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVisualDiff"}}}}}}},"/api/v1/visual-regression/diffs/{id}/review":{"post":{"tags":["visual-regression-controller"],"operationId":"reviewDiff","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVisualDiff"}}}}}}},"/api/v1/visual-regression/baselines":{"get":{"tags":["visual-regression-controller"],"operationId":"getBaselines","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"pageName","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListVisualBaseline"}}}}}},"post":{"tags":["visual-regression-controller"],"operationId":"createBaseline","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualBaseline"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVisualBaseline"}}}}}}},"/api/v1/visual-regression/baselines/{id}/approve":{"post":{"tags":["visual-regression-controller"],"operationId":"approveBaseline","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVisualBaseline"}}}}}}},"/api/v1/ux-issues":{"get":{"tags":["ux-issue-controller"],"operationId":"getIssues","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUXIssue"}}}}}},"post":{"tags":["ux-issue-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UXIssue"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUXIssue"}}}}}}},"/api/v1/ux-issues/{id}/resolve":{"post":{"tags":["ux-issue-controller"],"operationId":"resolve","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUXIssue"}}}}}}},"/api/v1/usage/record":{"post":{"tags":["usage-controller"],"operationId":"recordUsage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageEvent"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUsageEvent"}}}}}}},"/api/v1/uptime/checks":{"get":{"tags":["uptime-controller"],"operationId":"getChecks","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUptimeCheck"}}}}}},"post":{"tags":["uptime-controller"],"operationId":"createCheck","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UptimeCheck"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUptimeCheck"}}}}}}},"/api/v1/uptime/checks/{id}/results":{"get":{"tags":["uptime-controller"],"operationId":"getResults","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUptimeResult"}}}}}},"post":{"tags":["uptime-controller"],"operationId":"recordResult","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UptimeResult"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUptimeResult"}}}}}}},"/api/v1/test-traceability":{"get":{"tags":["test-traceability-controller"],"operationId":"getByModule","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"coverageStatus","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestTraceability"}}}}}},"post":{"tags":["test-traceability-controller"],"operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestTraceability"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestTraceability"}}}}}}},"/api/v1/test-suites":{"get":{"tags":["test-suite-controller"],"operationId":"listTestSuitesByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestSuite"}}}}}},"post":{"tags":["test-suite-controller"],"operationId":"createTestSuite","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSuite"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestSuite"}}}}}}},"/api/v1/test-suites/{id}/runs":{"get":{"tags":["test-suite-controller"],"operationId":"listRunsBySuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestRun"}}}}}},"post":{"tags":["test-suite-controller"],"operationId":"triggerSuiteRun","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-schedules":{"get":{"tags":["test-schedule-controller"],"operationId":"list","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"post":{"tags":["test-schedule-controller"],"operationId":"create_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSchedule"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/test-schedules/{id}/executed":{"post":{"tags":["test-schedule-controller"],"operationId":"markExecuted","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/test-runs":{"post":{"tags":["test-run-controller"],"operationId":"createTestRun","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestRun"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-runs/generate-and-run":{"post":{"tags":["test-run-controller"],"operationId":"generateAndRun","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-runs/execute/suite/{testSuiteId}":{"post":{"tags":["test-run-controller"],"operationId":"executeSuite","parameters":[{"name":"testSuiteId","in":"path","required":true,"schema":{"type":"string"}},{"name":"triggeredBy","in":"query","required":false,"schema":{"type":"string","default":"api"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-runs/crawl":{"post":{"tags":["test-run-controller"],"operationId":"crawl","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/test-runs/crawl-and-execute":{"post":{"tags":["test-run-controller"],"operationId":"crawlAndExecute","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-plans":{"get":{"tags":["Test Plans"],"summary":"List test plans by module","description":"Retrieves all test plans for a module, with optional filtering by status","operationId":"getTestPlansByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Test plans retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestPlan"}}}}}},"post":{"tags":["Test Plans"],"summary":"Create a test plan","description":"Creates a new test plan for organizing and tracking test execution within a module","operationId":"createTestPlan","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPlan"}}},"required":true},"responses":{"400":{"description":"Invalid test plan data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}},"200":{"description":"Test plan created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}}}}},"/api/v1/test-plans/{id}/approve":{"post":{"tags":["Test Plans"],"operationId":"approve","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}}}}},"/api/v1/test-folders":{"get":{"tags":["test-folder-controller"],"operationId":"list_1","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestFolder"}}}}}},"post":{"tags":["test-folder-controller"],"operationId":"create_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestFolder"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestFolder"}}}}}}},"/api/v1/test-cycles":{"get":{"tags":["test-cycle-controller"],"operationId":"list_2","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestCycle"}}}}}},"post":{"tags":["test-cycle-controller"],"operationId":"create_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestCycle"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCycle"}}}}}}},"/api/v1/test-cycles/{id}/start":{"post":{"tags":["test-cycle-controller"],"operationId":"startCycle","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCycle"}}}}}}},"/api/v1/test-cases":{"get":{"tags":["test-case-controller"],"operationId":"list_3","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"folderId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestCase"}}}}}},"post":{"tags":["test-case-controller"],"operationId":"create_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestCase"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/review":{"post":{"tags":["test-case-controller"],"operationId":"submitForReview","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/link-suite/{suiteId}":{"post":{"tags":["test-case-controller"],"operationId":"linkToSuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"suiteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/link-defect/{defectId}":{"post":{"tags":["test-case-controller"],"operationId":"linkToDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"defectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/link-backlog/{itemId}":{"post":{"tags":["test-case-controller"],"operationId":"linkToBacklog","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/approve":{"post":{"tags":["test-case-controller"],"operationId":"approve_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"approvedBy","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/teams":{"get":{"tags":["Teams"],"summary":"List teams by organization, status, or product","operationId":"list_4","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTeam"}}}}}},"post":{"tags":["Teams"],"summary":"Create a new team","operationId":"create_6","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/teams/{id}/members":{"post":{"tags":["Teams"],"summary":"Add a member to a team","operationId":"addMember","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/teams/{id}/agents":{"post":{"tags":["Teams"],"summary":"Add an agent to a team","operationId":"addAgent","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/targets":{"post":{"tags":["target-controller"],"operationId":"createTarget","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTarget"}}}}}}},"/api/v1/support/tickets":{"post":{"tags":["Support"],"summary":"Open a support ticket","description":"Records a support_tickets row and mails the configured support queue. Signed-in callers are attributed to their account; anonymous callers must supply an email. Rate-limited per requester; a filled honeypot field is accepted and discarded.","operationId":"create_7","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSupportTicketResponse"}}}}}}},"/api/v1/staged-rollouts":{"get":{"tags":["staged-rollout-controller"],"operationId":"getStagedRolloutsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListStagedRollout"}}}}}},"post":{"tags":["staged-rollout-controller"],"operationId":"createStagedRollout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StagedRollout"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}}},"/api/v1/sso-configs":{"get":{"tags":["sso-config-controller"],"operationId":"getByOrganizationIdParam","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSSOConfig"}}}}}},"post":{"tags":["sso-config-controller"],"operationId":"create_8","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSSOConfig"}}}}}}},"/api/v1/sso-configs/{id}/test-connection":{"post":{"tags":["sso-config-controller"],"operationId":"testConnectionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/sso-configs/test-connection":{"post":{"tags":["sso-config-controller"],"operationId":"testConnection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSOConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/sprints":{"get":{"tags":["sprint-controller"],"operationId":"getSprintsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSprint"}}}}}},"post":{"tags":["sprint-controller"],"operationId":"createSprint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sprint"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprint"}}}}}}},"/api/v1/sprint-executions":{"get":{"tags":["Sprint Executions"],"summary":"List sprint executions by module","operationId":"getBySprintId_1","parameters":[{"name":"sprintId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}},"post":{"tags":["Sprint Executions"],"summary":"Create sprint execution","operationId":"create_9","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SprintExecution"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/api/v1/slicer-profiles":{"get":{"tags":["Slicer Profiles"],"summary":"List slicer profiles","description":"Retrieves slicer profiles by module, organization, or organization and profile type","operationId":"list_5","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"profileType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Slicer profiles retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSlicerProfile"}}}}}},"post":{"tags":["Slicer Profiles"],"summary":"Create a slicer profile","description":"Creates a new slicer profile for a module or organization","operationId":"create_10","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlicerProfile"}}},"required":true},"responses":{"400":{"description":"Invalid slicer profile data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}},"200":{"description":"Slicer profile created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}}}}},"/api/v1/slicer-profiles/{id}/set-default":{"post":{"tags":["Slicer Profiles"],"summary":"Set as organization default","description":"Sets this slicer profile as the organization default for its profile type","operationId":"setAsOrgDefault","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Slicer profile not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}},"200":{"description":"Slicer profile set as default successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}}}}},"/api/v1/slicer-profiles/{id}/clone":{"post":{"tags":["Slicer Profiles"],"summary":"Clone a slicer profile","description":"Creates a copy of an existing slicer profile with a new name","operationId":"cloneProfile","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"404":{"description":"Source slicer profile not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}},"200":{"description":"Slicer profile cloned successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}}}}},"/api/v1/secret-rotations":{"post":{"tags":["secret-rotation-controller"],"operationId":"create_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretRotation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSecretRotation"}}}}}}},"/api/v1/secret-rotations/{id}/rotate":{"post":{"tags":["secret-rotation-controller"],"operationId":"triggerRotation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"triggeredBy","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSecretRotation"}}}}}}},"/api/v1/scm/repos/{moduleId}/push-files":{"post":{"tags":["scm-proxy-controller"],"operationId":"pushFiles","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/repos/{moduleId}/pr":{"post":{"tags":["scm-proxy-controller"],"operationId":"createPullRequest","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/repos/{moduleId}/branches":{"post":{"tags":["scm-proxy-controller"],"operationId":"createBranch","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/merge-pr":{"post":{"tags":["scm-proxy-controller"],"operationId":"mergePullRequest","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/commit-from-storage":{"post":{"tags":["scm-proxy-controller"],"operationId":"commitFromStorage","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/clone-to-storage":{"post":{"tags":["scm-proxy-controller"],"operationId":"cloneToStorage","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm-connections":{"get":{"tags":["scm-connection-controller"],"operationId":"getSCMConnectionsByProductId","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSCMConnection"}}}}}},"post":{"tags":["scm-connection-controller"],"operationId":"createSCMConnection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCMConnection"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSCMConnection"}}}}}}},"/api/v1/schematics":{"get":{"tags":["Schematic Files"],"summary":"List schematic files","description":"Retrieves all schematic files for a module, optionally filtered by format","operationId":"list_6","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Schematic files retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSchematicFile"}}}}}},"post":{"tags":["Schematic Files"],"summary":"Create a schematic file","description":"Creates a new schematic file entry for a module","operationId":"create_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchematicFile"}}},"required":true},"responses":{"400":{"description":"Invalid schematic file data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}},"200":{"description":"Schematic file created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}}}}},"/api/v1/saved-reports":{"get":{"tags":["saved-report-controller"],"operationId":"getSavedReports","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"templateType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSavedReport"}}}}}},"post":{"tags":["saved-report-controller"],"operationId":"createSavedReport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSavedReport"}}}}}}},"/api/v1/sap-environments":{"get":{"tags":["sap-environment-controller"],"operationId":"getSapEnvironments","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSapEnvironment"}}}}}},"post":{"tags":["sap-environment-controller"],"operationId":"createSapEnvironment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapEnvironment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapEnvironment"}}}}}}},"/api/v1/sap-environments/{id}/refresh-status":{"post":{"tags":["sap-environment-controller"],"operationId":"refreshStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapEnvironment"}}}}}}},"/api/v1/sap-deployments":{"get":{"tags":["sap-deployment-controller"],"operationId":"getSapDeployments","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSapDeployment"}}}}}},"post":{"tags":["sap-deployment-controller"],"operationId":"createSapDeployment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapDeployment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDeployment"}}}}}}},"/api/v1/sap-deployments/{id}/rollback":{"post":{"tags":["sap-deployment-controller"],"operationId":"rollbackDeployment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDeployment"}}}}}}},"/api/v1/sap-defect-types":{"get":{"tags":["sap-defect-type-controller"],"operationId":"getSapDefectTypes","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSapDefectType"}}}}}},"post":{"tags":["sap-defect-type-controller"],"operationId":"createSapDefectType","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapDefectType"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDefectType"}}}}}}},"/api/v1/sap-builds":{"get":{"tags":["sap-build-controller"],"operationId":"getSapBuilds","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"environmentId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSapBuild"}}}}}},"post":{"tags":["sap-build-controller"],"operationId":"createSapBuild","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapBuild"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapBuild"}}}}}}},"/api/v1/sap-builds/{id}/cancel":{"post":{"tags":["sap-build-controller"],"operationId":"cancelBuild","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapBuild"}}}}}}},"/api/v1/sap-builds/trigger":{"post":{"tags":["sap-build-controller"],"operationId":"triggerBuild","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapBuild"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapBuild"}}}}}}},"/api/v1/rollbacks":{"get":{"tags":["rollback-record-controller"],"operationId":"getByModule_1","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRollbackRecord"}}}}}},"post":{"tags":["rollback-record-controller"],"operationId":"create_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackRecord"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRollbackRecord"}}}}}}},"/api/v1/report-schedules":{"get":{"tags":["Report Schedules"],"summary":"List report schedules","description":"Retrieves report schedules for an organization, optionally filtered by product","operationId":"getReportSchedules","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Report schedules retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListReportSchedule"}}}}}},"post":{"tags":["Report Schedules"],"summary":"Create a report schedule","description":"Creates a new scheduled report configuration with cron expression and recipients","operationId":"createReportSchedule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportSchedule"}}},"required":true},"responses":{"400":{"description":"Invalid schedule data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}},"200":{"description":"Report schedule created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}}}}},"/api/v1/releases":{"get":{"tags":["Releases"],"summary":"List releases by module or product","description":"Retrieves all releases for a given module or all modules in a product","operationId":"list_7","parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Releases retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRelease"}}}}}},"post":{"tags":["Releases"],"summary":"Create a release","description":"Creates a new release version for a module, tracking the set of changes and deployments associated with a version","operationId":"createRelease","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}},"required":true},"responses":{"400":{"description":"Invalid release data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRelease"}}}},"200":{"description":"Release created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRelease"}}}}}}},"/api/v1/releases/{releaseId}/approvals":{"get":{"tags":["Release Approvals"],"summary":"List approvals by release","description":"Retrieves all approval records for a given release","operationId":"getApprovalsByReleaseId","parameters":[{"name":"releaseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Approvals retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListReleaseApproval"}}}}}},"post":{"tags":["Release Approvals"],"summary":"Create a release approval","description":"Submits a new approval request for a release","operationId":"createApproval","parameters":[{"name":"releaseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseApproval"}}},"required":true},"responses":{"200":{"description":"Approval created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}},"400":{"description":"Invalid approval data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}}}}},"/api/v1/registry-tools/invoke":{"post":{"tags":["Registry tools"],"summary":"Invoke a registry tool","description":"Resolves the tool key inside the caller's organization, follows it to the API entry and the module that owns it, picks the module environment and forwards the call with the caller's identity. The target's own status is reported in the body — a 404 from the API is a tool result, not a gateway error.","operationId":"invoke","parameters":[{"name":"X-Organization-Id","in":"header","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolInvokeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryToolInvokeResponse"}}}}}}},"/api/v1/ratings/compute":{"post":{"tags":["contributor-rating-controller"],"operationId":"computeRating","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributorRating"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseContributorRating"}}}}}}},"/api/v1/rate-limit-configs":{"post":{"tags":["rate-limit-config-controller"],"operationId":"create_14","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRateLimitConfig"}}}}}}},"/api/v1/quality-gates":{"get":{"tags":["quality-gate-controller"],"operationId":"getQualityGatesByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"environmentId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListQualityGate"}}}}}},"post":{"tags":["quality-gate-controller"],"operationId":"createQualityGate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityGate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQualityGate"}}}}}}},"/api/v1/products":{"get":{"tags":["product-controller"],"operationId":"listProductsByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProduct"}}}}}},"post":{"tags":["product-controller"],"operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProduct"}}}}}}},"/api/v1/products/{wsId}/ai-sessions":{"get":{"tags":["AI Sessions"],"summary":"List AI sessions","description":"Retrieves AI sessions for a product, optionally filtered by user or session type","operationId":"getSessions","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sessionType","in":"query","required":false,"schema":{"type":"string","enum":["ARCHITECTURE","BACKLOG","CODE_GEN","TEST_GEN","REVIEW","PRODUCT_WIZARD"]}}],"responses":{"200":{"description":"AI sessions retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAISession"}}}}}},"post":{"tags":["AI Sessions"],"summary":"Create an AI session","description":"Creates a new AI conversation session for architecture planning, backlog generation, code generation, etc.","operationId":"createSession","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AISession"}}},"required":true},"responses":{"400":{"description":"Invalid session data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}},"200":{"description":"AI session created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}}}}},"/api/v1/products/{wsId}/ai-sessions/{id}/messages":{"post":{"tags":["AI Sessions"],"summary":"Add a message to an AI session","description":"Appends a new message to the AI session conversation history","operationId":"addMessage","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIMessage"}}},"required":true},"responses":{"200":{"description":"Message added successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}},"404":{"description":"AI session not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}}}}},"/api/v1/products/create-with-artifacts":{"post":{"tags":["product-controller"],"operationId":"createWithArtifacts","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/product-templates":{"get":{"tags":["product-template-controller"],"operationId":"getProductTemplates","parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"isPublic","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProductTemplate"}}}}}},"post":{"tags":["product-template-controller"],"operationId":"createProductTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductTemplate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProductTemplate"}}}}}}},"/api/v1/product-storage/sync-to-git":{"post":{"tags":["Product Storage"],"summary":"Commit and push product changes to git","operationId":"syncToGit","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-storage/sync-from-git":{"post":{"tags":["Product Storage"],"summary":"Sync product from git repository","operationId":"syncFromGit","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-storage/rename":{"post":{"tags":["Product Storage"],"summary":"Rename a file or directory in product","operationId":"rename","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-storage/push-files":{"post":{"tags":["Product Storage"],"summary":"Push files to a module repository via git","operationId":"pushFiles_1","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-storage/init":{"post":{"tags":["Product Storage"],"summary":"Initialize product storage","operationId":"initProduct","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-storage/directory":{"post":{"tags":["Product Storage"],"summary":"Create a directory in product","operationId":"createDirectory","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/product-members":{"get":{"tags":["Product Members"],"operationId":"list_8","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}},{"name":"memberType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProductMember"}}}}}},"post":{"tags":["Product Members"],"operationId":"create_15","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMember"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProductMember"}}}}}}},"/api/v1/plan-limits":{"get":{"tags":["plan-limit-controller"],"operationId":"getPlanLimits_1","parameters":[{"name":"planTier","in":"query","required":true,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePlanLimit"}}}}}},"post":{"tags":["plan-limit-controller"],"operationId":"savePlanLimits","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanLimit"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePlanLimit"}}}}}}},"/api/v1/phased-developments":{"get":{"tags":["phased-development-controller"],"operationId":"getPhasedDevelopmentsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPhasedDevelopment"}}}}}},"post":{"tags":["phased-development-controller"],"operationId":"createPhasedDevelopment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhasedDevelopment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePhasedDevelopment"}}}}}}},"/api/v1/outbound-webhooks":{"get":{"tags":["outbound-webhook-controller"],"operationId":"getWebhooksByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListWebhook"}}}}}},"post":{"tags":["outbound-webhook-controller"],"operationId":"createWebhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhook"}}}}}}},"/api/v1/orgs/{orgId}/vendors/{id}/revoke":{"post":{"tags":["Vendor consultants"],"summary":"End a vendor's engagement now","description":"endsAt = now, principal retired, membership removed, policy cache dropped. Also revokes a pending vendor invitation by its id. Org owner or admin.","operationId":"revoke","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVendorConsultantSummary"}}}}}}},"/api/v1/orgs/{orgId}/vendors/invite":{"post":{"tags":["Vendor consultants"],"summary":"Invite a vendor consultant","description":"Creates a vendor membership and principal at once for a registered email, or a pending vendor invitation carrying the engagement otherwise. Org owner or admin.","operationId":"invite","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorInviteRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVendorConsultantSummary"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}":{"get":{"tags":["Registry"],"summary":"List a registry kind","description":"Filters narrow by scope, lifecycle, tag and free text. With `pivot` the response is `{pivot, groups[]}` instead of a flat array (§3.3). With `includeRelated=true` a `productId` filter also matches entries promoted from the product (`sourceProductId`) or whose `usedBy` names it or its modules.","operationId":"list_10","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"lifecycle","in":"query","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","required":false,"schema":{"type":"string"}},{"name":"pivot","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeRelated","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}},"post":{"tags":["Registry"],"summary":"Create a registry entry","description":"The initial lifecycle comes from the org's governance level, not from the request: lightweight → active, standard/formal → proposed (S203).","operationId":"create_16","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"trigger","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryEntryRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/used-by":{"get":{"tags":["Registry"],"summary":"Consumers of a registry entry","operationId":"usedBy","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUsedByRef"}}}}}},"post":{"tags":["Registry"],"summary":"Register or remove a consumer","description":"Idempotent in both directions, so a build hook that re-runs cannot accumulate duplicates.","operationId":"updateUsedBy","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryUsedByRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUsedByRef"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/restore/{version}":{"post":{"tags":["Registry"],"summary":"Restore an earlier version","description":"Writes the old state forward as a NEW version; the history is never rewritten.","operationId":"restore","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/lifecycle":{"post":{"tags":["Registry"],"summary":"Move a registry entry along its lifecycle","description":"proposed → approved → active → deprecated → retired. Deprecating an entry with consumers answers 409 with the consumer list unless `force` is set by an owner or admin (§3.3).","operationId":"changeLifecycle","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryLifecycleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/approval":{"post":{"tags":["Registry"],"summary":"Record (or correct) the human approval on a governance artefact","description":"The approver is the caller — there is no `approvedBy` in the body. Organization owner or admin only; an agent principal is refused 403, and a kind that carries no approval record is a 400 (C21, S041).","operationId":"recordApproval","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryApprovalRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/publish/build":{"post":{"tags":["Registry publishing"],"summary":"Publish a build's contracts into the registry","description":"Called by deploy-engine after a post-merge build (and by its re-run route). Upserts an `api` entry per OpenAPI document with a compatibility diff — a removed operation is breaking and bumps the major, a new one bumps the minor, an identical contract writes no new version — registers the module as a consumer of every `standard` its technologies match, records the rest on the module's `component` entry with a deviation flag, and upserts a `data-model` per entity schema. Service principals only; idempotent on (moduleId, commitSha).","operationId":"publishFromBuild","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryPublishRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryPublishResponse"}}}}}}},"/api/v1/orgs/{orgId}/registry/migrate":{"post":{"tags":["Registry"],"summary":"Re-run the registry seeding for this org","description":"Two idempotent passes: the legacy architecture migration (S201 — legacy rows that already have an entry are skipped) and the platform agent catalog (S230 — tools, skills and agent definitions, updated in place from their stable keys). Exists so an org whose data changed after the startup run can be reconciled without a redeploy. Org owner or admin.","operationId":"migrate","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringRegistryMigrationMarker"}}}}}}},"/api/v1/orgs/{orgId}/registry/data-model/erd/generate":{"post":{"tags":["Registry"],"summary":"Generate or regenerate the ERD for a product or module","description":"Draws the data models registered in scope as a versioned draw.io asset and links it from each entry (`attributes.erdDiagramId`). Answers 409 when no data models are registered yet — a build publishes them from its OpenAPI schemas, and there is nothing to draw until one has run.","operationId":"generate","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryErdRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/orgs/{orgId}/registry/credential-binding":{"post":{"tags":["Credential bindings"],"summary":"Create a credential binding","description":"The transient `secret` is written to the credential store and replaced by an opaque `secretRef` before the entry is stored. It is never persisted on the entry and no read ever returns it.","operationId":"create_17","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialBindingCreateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/credential-binding/{id}/revoke":{"post":{"tags":["Credential bindings"],"summary":"Revoke the binding","description":"One-way: status becomes `revoked`, the secretRef is cleared and the material is destroyed. The entry stays, because who had which credential and when is the audit record.","operationId":"revoke_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/component/promote":{"post":{"tags":["Registry"],"summary":"Promote a module to an org-level reusable component","description":"Creates (or refreshes) the org-scoped `component` entry for the module: `contracts` are the api entries its builds published and `usedBy` lists the products consuming them. Lifecycle follows the org's governance level like every registry write. Product owner or admin.","operationId":"promote","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryDetail"}}}}}}},"/api/v1/orgs/{orgId}/registry/agent-definition/{id}/skills/approvals/{approvalId}":{"post":{"tags":["Registry"],"summary":"Approve a pending skill attachment","description":"Transitions the entries the approval named through proposed → approved → active and resolves the Action. Organization owner or admin only; an agent principal is refused — the rule is RegistryService.changeLifecycle's, not a second one invented here.","operationId":"approveSkillAttachment","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"approvalId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSkillAttachResponse"}}}}}}},"/api/v1/orgs/{orgId}/provisioning/proposals":{"get":{"tags":["Provisioning"],"summary":"List the org's provisioning proposals","operationId":"list_11","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProvisioningProposalView"}}}}}},"post":{"tags":["Provisioning"],"summary":"Analyse a scope and save a provisioning proposal","description":"trigger: org-onboarding | product-wizard | backlog-approval | staff-backlog; scope: {type: org|product|backlog, productId?}; backlogItemIds optional (defaults to the product's open backlog).","operationId":"propose","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisioningProposalRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}}},"/api/v1/orgs/{orgId}/provisioning/proposals/{id}/reject":{"post":{"tags":["Provisioning"],"summary":"Reject the proposal","operationId":"reject","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}}},"/api/v1/orgs/{orgId}/provisioning/proposals/{id}/approve":{"post":{"tags":["Provisioning"],"summary":"Approve: provision every create/clone line, register missing skills","description":"A clone line under an approval rule for `clone` raises a governance checkpoint instead; approve again once it is decided.","operationId":"approve_2","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}}},"/api/v1/orgs/{orgId}/provisioning/proposals/preview":{"post":{"tags":["Provisioning"],"summary":"Preview a provisioning proposal without saving it (S531)","description":"The same analysis as POST, answered without a document, an audit row or an id. Tenancy is bound in ProvisioningService.preview (requireMayDecide).","operationId":"preview","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisioningProposalRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProvisioningProposalView"}}}}}}},"/api/v1/orgs/{orgId}/principals/sync":{"post":{"tags":["Control plane — principals"],"summary":"Create the missing principal entries for this organization","description":"One entry per org member, agent instance and registered service principal, plus a refresh of team membership on the ones that exist. Idempotent — a second run over unchanged data creates nothing. Organization owner or admin.","operationId":"sync","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalSyncResult"}}}}}}},"/api/v1/orgs/{orgId}/mcp/sources/{id}/rediscover":{"post":{"tags":["MCP"],"summary":"Re-discover a registered MCP server's tools","description":"Re-runs `tools/list` against the STORED endpoint (re-checked by the URL safety guard) and compares the result with the entry's `discoveredTools`. Unchanged → `{changed:false}` and no version. Changed → a new version of the same entry carrying the diff in its changeNote and in `attributes.lastToolSetDiff`; removed tools are unlinked from the installed skill and deprecated; changed tools have their entry refreshed; added tools are NOT installed and come back as `installable`.","operationId":"rediscover","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMcpRediscoverResponse"}}}}}}},"/api/v1/orgs/{orgId}/mcp/register":{"post":{"tags":["MCP"],"summary":"Register an MCP server, optionally installing it as a skill","description":"Creates the `mcp-source` entry (lifecycle from the org's governance level) and, unless `install:false`, one `tool` entry per selected tool plus the `skill` that bundles them. The tool set is re-discovered server-side, never taken from the request.","operationId":"register","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpRegisterRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMcpRegisterResponse"}}}}}}},"/api/v1/orgs/{orgId}/mcp/discover":{"post":{"tags":["MCP"],"summary":"Discover an MCP server's tools","description":"Connects over the declared transport and runs `tools/list`. Writes nothing. Any credential in the body is used for this one connection and is never persisted — the entry stores a credentialBindingId reference.","operationId":"discover","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpDiscoverRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMcpDiscoveryResult"}}}}}}},"/api/v1/orgs/{orgId}/jobs/{jobId}/reject":{"post":{"tags":["job-approval-proxy-controller"],"operationId":"reject_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/orgs/{orgId}/jobs/{jobId}/approve":{"post":{"tags":["job-approval-proxy-controller"],"operationId":"approve_3","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/orgs/{orgId}/ingestion/extract":{"post":{"tags":["Ingestion"],"summary":"Extract the text of a requirements document","description":"PDF, DOCX, XLSX or plain text. Answers the text per page / section / sheet with a label for citations, the page count and whether the text was capped. A document with no extractable text (a scanned PDF, an empty file) is a 422 naming the cause. Nothing is stored. Org member.","operationId":"extract","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/orgs/{orgId}/governance/dispensations/{id}/revoke":{"post":{"tags":["Governance"],"summary":"Revoke a dispensation","description":"The exception stops applying now. Audited with the reason.","operationId":"revoke_2","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/governance/dispensations/{id}/renew":{"post":{"tags":["Governance"],"summary":"Renew a dispensation","description":"Creates a new dispensation entry with the new expiry, linked back through renewedFromId; the old entry becomes 'renewed'.","operationId":"renew","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/governance/checkpoints":{"get":{"tags":["Governance checkpoints"],"summary":"List governance checkpoints","description":"Filter by status (open|rejected|dispensed|relaxed|withdrawn), product or story.","operationId":"list_13","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"storyId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRegistryEntry"}}}}}},"post":{"tags":["Governance checkpoints"],"summary":"Raise a governance checkpoint","description":"The caller is the raiser. Opens an Action Center item for the approver role the org's approval rules name.","operationId":"raise","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceCheckpointRaiseRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/governance/checkpoints/{id}/withdraw":{"post":{"tags":["Governance checkpoints"],"summary":"Withdraw an open checkpoint","description":"The raiser or an org owner/admin.","operationId":"withdraw","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/governance/checkpoints/{id}/decide":{"post":{"tags":["Governance checkpoints"],"summary":"Decide a governance checkpoint","description":"outcome: reject | dispensation | relaxation. Approver role per the rule; agents refused; the raiser cannot decide their own. Every outcome writes an ADR; a dispensation writes a `dispensation` entry and records the exception on the rule; a relaxation writes a new version of the rule.","operationId":"decide","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceCheckpointDecideRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/docs/migrate":{"post":{"tags":["Documents"],"summary":"Re-run the legacy knowledge-document migration for this org","description":"Idempotent: legacy rows that already have a migrated document are skipped, and uploaded/binary rows are never migrated (they stay attachments). Exists so an org whose data changed after the startup run can be reconciled without a redeploy. Org owner or admin.","operationId":"migrate_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentMigrationMarker"}}}}}}},"/api/v1/orgs/{orgId}/doc-types":{"get":{"tags":["Document types"],"summary":"List document types","description":"Seeds the sixteen platform defaults into the org on first use.","operationId":"list_14","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocumentType"}}}}}},"post":{"tags":["Document types"],"summary":"Register a custom document type","operationId":"create_18","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentType"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentType"}}}}}}},"/api/v1/orgs/{orgId}/control-plane/seed":{"post":{"tags":["Control plane"],"summary":"Seed the org's control plane (idempotent)","description":"Writes the governance-level defaults and the five role profiles if missing, binds the level default, syncs principals and seeds the agent catalog. Answers the markers and the org's profiles. Org owner or admin.","operationId":"seed","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/orgs/{orgId}/control-plane/kill":{"get":{"tags":["Control plane"],"summary":"Active kill switches in the organization","operationId":"listActive","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKillSwitch"}}}}}},"post":{"tags":["Control plane"],"summary":"Throw the kill switch","description":"Stops new turns for the target immediately and cancels its running jobs. target: instance | definition | org. Answers 200 when the kill event reached the worker; 202 with propagated=false when it was recorded but could not be published (C112) — running jobs are then cancelled by the worker's kill-status poll.","operationId":"kill","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KillRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKillSwitch"}}}}}}},"/api/v1/orgs/{orgId}/backlog/{itemId}/squad/assign":{"post":{"tags":["Squads"],"summary":"Assign a squad (auto: the scheduler; manual: named instances)","operationId":"assign","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SquadAssignRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSquad"}}}}}}},"/api/v1/orgs/{orgId}/agents/pool/{id}/decommission":{"post":{"tags":["Agent pool"],"summary":"Decommission the instance (org admin)","description":"Refused while the instance is busy unless force=true; forced decommissions are audited as such.","operationId":"decommission","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPoolDecommissionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentPoolInstanceView"}}}}}}},"/api/v1/organizations":{"get":{"tags":["Organizations"],"operationId":"listOrganizations","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListOrganization"}}}}}},"post":{"tags":["Organizations"],"summary":"Create an organization","description":"Creates a new organization. The authenticated user becomes the owner. An initial default product is provisioned automatically.","operationId":"createOrganization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"required":true},"responses":{"400":{"description":"Invalid organization data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}},"200":{"description":"Organization created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}}},"/api/v1/organizations/{id}/members":{"get":{"tags":["Organizations"],"summary":"List organization members","description":"Retrieves all members of an organization with their roles","operationId":"getMembers","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Members retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListOrgMember"}}}},"404":{"description":"Organization not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListOrgMember"}}}}}},"post":{"tags":["Organizations"],"summary":"Invite a member to an organization","description":"Invites a user by email. If the email belongs to an existing user they are added immediately; otherwise a pending invitation with a secure token is created and an invitation email is sent. Returns the created OrgMember or the pending Invitation.","operationId":"addMember_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"400":{"description":"Invalid email or role, or user already a member","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}},"403":{"description":"Insufficient permissions","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}},"200":{"description":"Member added or invitation created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/api/v1/organizations/invitations/{token}/accept":{"post":{"tags":["Organizations"],"summary":"Accept an organization invitation","description":"Accepts a pending invitation on behalf of the authenticated user. Validates the token, expiry, and that the invitation was issued to the authenticated user's email, then creates the OrgMember.","operationId":"acceptInvitation","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Invitation expired, already used, or wrong recipient","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrgMember"}}}},"200":{"description":"Invitation accepted; member created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrgMember"}}}},"404":{"description":"Invitation not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrgMember"}}}}}}},"/api/v1/on-call-rotations":{"get":{"tags":["on-call-rotation-controller"],"operationId":"getRotationsByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListOnCallRotation"}}}}}},"post":{"tags":["on-call-rotation-controller"],"operationId":"createRotation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnCallRotation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOnCallRotation"}}}}}}},"/api/v1/notifications/read-all":{"post":{"tags":["notification-controller"],"operationId":"markAllAsReadPost","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["notification-controller"],"operationId":"markAllAsRead","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/modules":{"get":{"tags":["Modules"],"operationId":"listModulesByProductId","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListModule"}}}}}},"post":{"tags":["Modules"],"summary":"Create a module","description":"Creates a new module within a product. The module serves as the top-level container for backlog items, test plans, deployments, and releases.","operationId":"createModule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Module"}}},"required":true},"responses":{"400":{"description":"Invalid module data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}},"200":{"description":"Module created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}}},"/api/v1/modules/{id}/scaffold":{"post":{"tags":["Modules"],"summary":"Generate and push the module scaffold","description":"Runs the whole scaffold as ONE server-side operation: generate the starter files via ai-orchestrator, push them to the module's repository via the worker, then record the commit on the module and as a 'scaffold' document. Tangigo-managed repos are committed to their default branch; linked (BYOL) repos get a tangigo/scaffold branch and a pull request. Use it for the create wizard and for 'Generate scaffold' / 'Retry scaffold' from the module list.","operationId":"scaffoldModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleScaffoldRequest"}}}},"responses":{"502":{"description":"Generation or push failed (module is marked failed with the reason)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModuleScaffoldResult"}}}},"400":{"description":"Module has no repository, or invalid mode","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModuleScaffoldResult"}}}},"200":{"description":"Scaffold pushed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModuleScaffoldResult"}}}}}}},"/api/v1/modules/{id}/scaffold/skip":{"post":{"tags":["Modules"],"summary":"Skip the module scaffold","description":"Records a deliberate per-module decision not to scaffold.","operationId":"skipModuleScaffold","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleScaffoldRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModuleScaffoldResult"}}}}}}},"/api/v1/models-3d":{"get":{"tags":["3D Models"],"summary":"List 3D models","description":"Retrieves 3D models by module ID, optionally filtered by format","operationId":"list_18","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"3D models retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListModel3D"}}}}}},"post":{"tags":["3D Models"],"summary":"Create a 3D model","description":"Creates a new 3D model entry from a JSON body","operationId":"create_19","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Model3D"}}},"required":true},"responses":{"200":{"description":"3D model created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}},"400":{"description":"Invalid 3D model data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}}}}},"/api/v1/models-3d/{id}/new-version":{"post":{"tags":["3D Models"],"summary":"Create new version","description":"Clones the existing 3D model with an incremented version number and sets parentVersionId to the original","operationId":"createNewVersion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"New version created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}},"404":{"description":"3D model not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}}}}},"/api/v1/models-3d/upload":{"post":{"tags":["3D Models"],"summary":"Upload a 3D model file","description":"Creates a new 3D model from a multipart file upload. Detects format from extension. Files under 5MB are stored inline.","operationId":"upload","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"description","in":"query","required":false,"schema":{"type":"string"}},{"name":"tags","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Invalid upload data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}},"200":{"description":"3D model uploaded successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}}}}},"/api/v1/models-3d/migrate-to-gcs":{"post":{"tags":["3D Models"],"summary":"Migrate inline 3D models to GCS","description":"Admin-only: offloads inline byte[] payloads to Google Cloud Storage, replacing them with gcsUri pointers. Best-effort; no-op when GCS is unavailable.","operationId":"migrateToGcs","responses":{"200":{"description":"Migration completed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"403":{"description":"Super admin privileges required","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/mobile-build-configs":{"get":{"tags":["mobile-build-config-controller"],"operationId":"getMobileBuildConfigsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMobileBuildConfig"}}}}}},"post":{"tags":["mobile-build-config-controller"],"operationId":"createMobileBuildConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileBuildConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMobileBuildConfig"}}}}}}},"/api/v1/merge-groups/by-epic/{epicId}/merge":{"post":{"tags":["Merge Groups"],"summary":"Merge the epic's merge group (in dependency order) once gated","operationId":"merge","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMergeGroup"}}}}}}},"/api/v1/merge-groups/by-epic/{epicId}/members":{"post":{"tags":["Merge Groups"],"summary":"Upsert a story PR member into the epic's merge group","operationId":"upsertMember","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Member"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMergeGroup"}}}}}}},"/api/v1/materials":{"get":{"tags":["Materials"],"summary":"List materials","description":"Retrieves materials by organization, optionally filtered by lab, status, or type","operationId":"list_19","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"labId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Materials retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMaterial"}}}}}},"post":{"tags":["Materials"],"summary":"Create a material","description":"Creates a new material entry in the inventory","operationId":"create_20","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Material"}}},"required":true},"responses":{"200":{"description":"Material created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}},"400":{"description":"Invalid material data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}}}}},"/api/v1/manufacturing-workflows":{"get":{"tags":["Manufacturing Workflows"],"summary":"List manufacturing workflows","description":"Retrieves manufacturing workflows by module ID","operationId":"list_20","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Manufacturing workflows retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListManufacturingWorkflow"}}}}}},"post":{"tags":["Manufacturing Workflows"],"summary":"Create a manufacturing workflow","description":"Creates a new manufacturing workflow with step definitions","operationId":"create_21","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManufacturingWorkflow"}}},"required":true},"responses":{"200":{"description":"Manufacturing workflow created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"400":{"description":"Invalid workflow data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/manufacturing-workflows/{id}/steps/{stepIndex}/fail":{"post":{"tags":["Manufacturing Workflows"],"summary":"Fail a workflow step","description":"Marks a workflow step as failed with an error message, and sets the overall workflow status to failed","operationId":"failStep","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"stepIndex","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"Workflow step marked as failed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Workflow or step not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/manufacturing-workflows/{id}/steps/{stepIndex}/complete":{"post":{"tags":["Manufacturing Workflows"],"summary":"Complete a workflow step","description":"Marks a workflow step as completed with its result, and checks if dependent steps can start","operationId":"completeStep","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"stepIndex","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"Workflow step completed successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Workflow or step not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/manufacturing-workflows/{id}/execute":{"post":{"tags":["Manufacturing Workflows"],"summary":"Execute a manufacturing workflow","description":"Starts execution of a workflow, marking ready steps as pending","operationId":"execute","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Manufacturing workflow execution started","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Manufacturing workflow not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/manufacturing-workflows/{id}/cancel":{"post":{"tags":["Manufacturing Workflows"],"summary":"Cancel a manufacturing workflow","description":"Cancels a running or pending manufacturing workflow","operationId":"cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Manufacturing workflow cancelled","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Manufacturing workflow not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/maintenance-windows":{"get":{"tags":["maintenance-window-controller"],"operationId":"getMaintenanceWindows","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMaintenanceWindow"}}}}}},"post":{"tags":["maintenance-window-controller"],"operationId":"createMaintenanceWindow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceWindow"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaintenanceWindow"}}}}}}},"/api/v1/load-test-results":{"get":{"tags":["load-test-result-controller"],"operationId":"getByModule_2","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListLoadTestResult"}}}}}},"post":{"tags":["load-test-result-controller"],"operationId":"create_22","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadTestResult"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoadTestResult"}}}}}}},"/api/v1/load-test-configs":{"get":{"tags":["load-test-config-controller"],"operationId":"getLoadTestConfigsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListLoadTestConfig"}}}}}},"post":{"tags":["load-test-config-controller"],"operationId":"createLoadTestConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadTestConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoadTestConfig"}}}}}}},"/api/v1/labs":{"get":{"tags":["Labs"],"summary":"List labs","description":"Retrieves labs by organization","operationId":"list_21","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Labs retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListLab"}}}}}},"post":{"tags":["Labs"],"summary":"Create a lab","description":"Creates a new lab environment","operationId":"create_23","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lab"}}},"required":true},"responses":{"400":{"description":"Invalid lab data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}},"200":{"description":"Lab created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}}}}},"/api/v1/labs/{id}/devices":{"post":{"tags":["Labs"],"summary":"Add device to lab","description":"Associates a device with a lab","operationId":"addDevice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"Device added to lab","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}},"404":{"description":"Lab not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}}}}},"/api/v1/kubernetes-configs":{"post":{"tags":["kubernetes-config-controller"],"operationId":"create_24","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KubernetesConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKubernetesConfig"}}}}}}},"/api/v1/kubernetes-configs/{id}/health-check":{"post":{"tags":["kubernetes-config-controller"],"operationId":"healthCheck","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/kubernetes-configs/{id}/deploy":{"post":{"tags":["kubernetes-config-controller"],"operationId":"deploy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/ip-allowlists":{"post":{"tags":["ip-allowlist-controller"],"operationId":"create_25","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IPAllowlist"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIPAllowlist"}}}}}}},"/api/v1/ip-allowlists/{id}/toggle":{"post":{"tags":["ip-allowlist-controller"],"operationId":"toggle","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIPAllowlist"}}}}}}},"/api/v1/ip-allowlists/validate-ip":{"post":{"tags":["ip-allowlist-controller"],"operationId":"validateIp","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/integrations":{"get":{"tags":["integration-controller"],"operationId":"getIntegrationsByProductId","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListIntegration"}}}}}},"post":{"tags":["integration-controller"],"operationId":"createIntegration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integration"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIntegration"}}}}}}},"/api/v1/integrations/pagerduty":{"get":{"tags":["pager-duty-config-controller"],"operationId":"getPagerDutyConfigsByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPagerDutyConfig"}}}}}},"post":{"tags":["pager-duty-config-controller"],"operationId":"createPagerDutyConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagerDutyConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePagerDutyConfig"}}}}}}},"/api/v1/integrations/pagerduty/{id}/test":{"post":{"tags":["pager-duty-config-controller"],"operationId":"testAlert","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/integrations/jira-sync":{"get":{"tags":["jira-sync-config-controller"],"operationId":"getJiraSyncConfigsByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListJiraSyncConfig"}}}}}},"post":{"tags":["jira-sync-config-controller"],"operationId":"createJiraSyncConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JiraSyncConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseJiraSyncConfig"}}}}}}},"/api/v1/integrations/jira-sync/{id}/sync":{"post":{"tags":["jira-sync-config-controller"],"operationId":"triggerSync","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseJiraSyncConfig"}}}}}}},"/api/v1/integrations/confluence":{"get":{"tags":["confluence-config-controller"],"operationId":"getConfluenceConfigsByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListConfluenceConfig"}}}}}},"post":{"tags":["confluence-config-controller"],"operationId":"createConfluenceConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfluenceConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseConfluenceConfig"}}}}}}},"/api/v1/integrations/confluence/{id}/test":{"post":{"tags":["confluence-config-controller"],"operationId":"testConnection_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/integrations/confluence/{id}/publish":{"post":{"tags":["confluence-config-controller"],"operationId":"triggerPublish","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseConfluenceConfig"}}}}}}},"/api/v1/incidents":{"get":{"tags":["Incidents"],"summary":"List incidents","description":"Retrieves incidents filtered by module ID or organization ID. At least one filter parameter should be provided.","operationId":"getIncidents","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Incidents retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListIncident"}}}}}},"post":{"tags":["Incidents"],"summary":"Create an incident","description":"Creates a new incident report for tracking production issues. Incidents are scoped to a module and organization.","operationId":"createIncident","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}},"required":true},"responses":{"200":{"description":"Incident created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIncident"}}}},"400":{"description":"Invalid incident data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIncident"}}}}}}},"/api/v1/incidents/{id}/attachments":{"get":{"tags":["Incidents"],"summary":"List incident attachments","description":"Returns the incident's attachments, each with a short-lived signed download URL (null when storage is unavailable).","operationId":"listAttachments","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Attachments retrieved","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAttachmentResponse"}}}}}},"post":{"tags":["Incidents"],"summary":"Confirm an incident attachment","description":"Persists the attachment pointer after the client has PUT the bytes to GCS. Verifies the object exists (no faked uploads).","operationId":"confirmAttachment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmAttachmentRequest"}}},"required":true},"responses":{"200":{"description":"Attachment persisted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAttachment"}}}},"400":{"description":"Object missing or path does not belong to this incident","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAttachment"}}}}}}},"/api/v1/incidents/{id}/attachments/upload-url":{"post":{"tags":["Incidents"],"summary":"Request a signed upload URL for an incident attachment","description":"Mints a short-lived signed PUT URL so the client can upload an evidence file (log, screenshot, etc.) directly to GCS. Returns 503 when storage is not configured.","operationId":"requestAttachmentUploadUrl","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentUploadUrlRequest"}}},"required":true},"responses":{"503":{"description":"File storage is not configured","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAttachmentUploadUrlResponse"}}}},"200":{"description":"Signed upload URL issued","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAttachmentUploadUrlResponse"}}}}}}},"/api/v1/iac-templates":{"post":{"tags":["ia-c-template-controller"],"operationId":"create_26","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IaCTemplate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIaCTemplate"}}}}}}},"/api/v1/iac-templates/{id}/validate":{"post":{"tags":["ia-c-template-controller"],"operationId":"validate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/iac-templates/{id}/apply":{"post":{"tags":["ia-c-template-controller"],"operationId":"apply","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"appliedBy","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/help/articles/{slug}/helpful":{"post":{"tags":["Help Articles"],"summary":"Mark article as helpful or not helpful","operationId":"markHelpful","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArticleInteraction"}}}}}}},"/api/v1/governance/validate-tech-stack":{"post":{"tags":["Governance Validation"],"operationId":"validateTechStack","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/governance/reviews":{"get":{"tags":["Architecture Reviews"],"operationId":"list_22","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureReview"}}}}}},"post":{"tags":["Architecture Reviews"],"operationId":"create_27","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureReview"}}}}}}},"/api/v1/governance/reviews/{id}/complete":{"post":{"tags":["Architecture Reviews"],"operationId":"complete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureReview"}}}}}},"patch":{"tags":["Architecture Reviews"],"operationId":"patchComplete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureReview"}}}}}}},"/api/v1/governance/dispensations":{"get":{"tags":["Dispensations (legacy facade)"],"operationId":"list_24","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDispensation"}}}}}},"post":{"tags":["Dispensations (legacy facade)"],"operationId":"create_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dispensation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}}},"/api/v1/governance/dispensations/{id}/reject":{"post":{"tags":["Dispensations (legacy facade)"],"operationId":"reject_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}},"patch":{"tags":["Dispensations (legacy facade)"],"operationId":"patchReject","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}}},"/api/v1/governance/dispensations/{id}/approve":{"post":{"tags":["Dispensations (legacy facade)"],"operationId":"approve_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}},"patch":{"tags":["Dispensations (legacy facade)"],"operationId":"patchApprove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}}},"/api/v1/governance/contracts":{"get":{"tags":["Architecture Contracts"],"operationId":"list_25","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureContract"}}}}}},"post":{"tags":["Architecture Contracts"],"operationId":"create_30","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureContract"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureContract"}}}}}}},"/api/v1/governance/board/{boardId}/members":{"post":{"tags":["Architecture Board"],"operationId":"addMemberByBoardId","parameters":[{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardMember"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}}},"/api/v1/governance/board/members":{"post":{"tags":["Architecture Board"],"operationId":"addMember_2","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardMember"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}}},"/api/v1/gerbers":{"get":{"tags":["Gerber Files"],"summary":"List gerber files","description":"Retrieves all gerber files for a module, optionally filtered by status","operationId":"list_26","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Gerber files retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGerberFile"}}}}}},"post":{"tags":["Gerber Files"],"summary":"Create a gerber file","description":"Creates a new gerber file entry for a module","operationId":"create_31","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GerberFile"}}},"required":true},"responses":{"200":{"description":"Gerber file created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}},"400":{"description":"Invalid gerber file data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}}}}},"/api/v1/gdpr-requests":{"get":{"tags":["GDPR Requests"],"operationId":"getByOrganizationIdParam_1","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGDPRRequest"}}}}}},"post":{"tags":["GDPR Requests"],"operationId":"create_32","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GDPRRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/{id}/process":{"post":{"tags":["GDPR Requests"],"operationId":"process","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/{id}/generate-export":{"post":{"tags":["GDPR Requests"],"summary":"Generate export archive","description":"Processes a pending data export request: collects all user data across collections and generates a JSON archive.","operationId":"generateExport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/{id}/complete":{"post":{"tags":["GDPR Requests"],"operationId":"complete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/export":{"post":{"tags":["GDPR Requests"],"summary":"Initiate data export","description":"Creates a GDPR data export request for the specified user. Collects data from all platform collections.","operationId":"initiateExport","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/delete-user-data":{"post":{"tags":["GDPR Requests"],"summary":"Delete user data","description":"Initiates GDPR right-to-erasure: anonymizes user profile, removes memberships, notifications, and preferences.","operationId":"deleteUserData","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gcode-files":{"get":{"tags":["GCode Files"],"summary":"List GCode files","description":"Retrieves GCode files by module ID or source model ID","operationId":"list_27","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sourceModelId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"GCode files retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGCodeFile"}}}}}},"post":{"tags":["GCode Files"],"summary":"Create a GCode file","description":"Creates a new GCode file entry from JSON body","operationId":"create_33","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GCodeFile"}}},"required":true},"responses":{"200":{"description":"GCode file created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}},"400":{"description":"Invalid GCode file data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}}}}},"/api/v1/gcode-files/upload":{"post":{"tags":["GCode Files"],"summary":"Upload a GCode file","description":"Uploads a GCode file with metadata as multipart form data","operationId":"upload_1","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"sourceModelId","in":"query","required":false,"schema":{"type":"string"}},{"name":"slicerProfileId","in":"query","required":false,"schema":{"type":"string"}},{"name":"estimatedTimeSeconds","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"materialUsageGrams","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"layerCount","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Invalid upload data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}},"200":{"description":"GCode file uploaded successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}}}}},"/api/v1/gcode-files/migrate-to-gcs":{"post":{"tags":["GCode Files"],"summary":"Migrate inline GCode files to GCS","description":"Admin-only: offloads inline byte[] payloads to Google Cloud Storage, replacing them with gcsUri pointers. Best-effort; no-op when GCS is unavailable.","operationId":"migrateToGcs_1","responses":{"200":{"description":"Migration completed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"403":{"description":"Super admin privileges required","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/flash-targets":{"get":{"tags":["Flash Targets"],"summary":"List flash targets","description":"Retrieves all flash targets for a module, optionally filtered by status","operationId":"list_28","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Flash targets retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFlashTarget"}}}}}},"post":{"tags":["Flash Targets"],"summary":"Create a flash target","description":"Creates a new firmware flash target configuration for a module","operationId":"create_34","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashTarget"}}},"required":true},"responses":{"200":{"description":"Flash target created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}},"400":{"description":"Invalid flash target data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}}}}},"/api/v1/flaky-tests":{"get":{"tags":["flaky-test-record-controller"],"operationId":"getByModule_3","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFlakyTestRecord"}}}}}},"post":{"tags":["flaky-test-record-controller"],"operationId":"create_35","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlakyTestRecord"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlakyTestRecord"}}}}}}},"/api/v1/feedback":{"get":{"tags":["feedback-item-controller"],"operationId":"getFeedbackItems","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"serviceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sentiment","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFeedbackItem"}}}}}},"post":{"tags":["feedback-item-controller"],"operationId":"createFeedbackItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeedbackItem"}}}}}}},"/api/v1/feature-flags":{"get":{"tags":["Feature Flags"],"operationId":"getFlagsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFeatureFlag"}}}}}},"post":{"tags":["Feature Flags"],"summary":"Create a feature flag","description":"Creates a new feature flag for a module. Feature flags control feature visibility and enable gradual rollouts.","operationId":"createFlag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}},"required":true},"responses":{"400":{"description":"Invalid feature flag data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}},"200":{"description":"Feature flag created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}}}}},"/api/v1/fabrication-partners":{"get":{"tags":["Fabrication Partners"],"summary":"List fabrication partners","description":"Retrieves all fabrication partners for an organization, optionally filtered by status","operationId":"list_29","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fabrication partners retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFabricationPartner"}}}}}},"post":{"tags":["Fabrication Partners"],"summary":"Create a fabrication partner","description":"Registers a new PCB fabrication or assembly partner for the organization","operationId":"create_36","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FabricationPartner"}}},"required":true},"responses":{"400":{"description":"Invalid fabrication partner data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}},"200":{"description":"Fabrication partner created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}}}}},"/api/v1/fabrication-orders":{"get":{"tags":["Fabrication Orders"],"summary":"List fabrication orders","description":"Retrieves all fabrication orders for a module, optionally filtered by status","operationId":"list_30","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fabrication orders retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFabricationOrder"}}}}}},"post":{"tags":["Fabrication Orders"],"summary":"Create a fabrication order","description":"Creates a new PCB fabrication order","operationId":"create_37","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FabricationOrder"}}},"required":true},"responses":{"400":{"description":"Invalid fabrication order data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}},"200":{"description":"Fabrication order created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}}}}},"/api/v1/fabrication-orders/{id}/submit":{"post":{"tags":["Fabrication Orders"],"summary":"Submit a fabrication order","description":"Submits a draft fabrication order to the fabrication partner","operationId":"submit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Fabrication order not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}},"200":{"description":"Fabrication order submitted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}}}}},"/api/v1/experiments":{"get":{"tags":["Experiments"],"summary":"List experiments","description":"Returns experiments filtered by organizationId, productId, or status","operationId":"list_31","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListExperiment"}}}}}},"post":{"tags":["Experiments"],"summary":"Create an experiment","description":"Creates a new experiment in draft status","operationId":"create_38","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Experiment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}}},"/api/v1/epic-threads/by-epic/{epicId}/entries":{"post":{"tags":["Epic Threads"],"summary":"Append an entry to the epic's elaboration thread","operationId":"appendEntry","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadEntry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEpicThread"}}}}}}},"/api/v1/environments":{"get":{"tags":["environment-controller"],"operationId":"listEnvironmentsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEnvironment"}}}}}},"post":{"tags":["environment-controller"],"operationId":"createEnvironment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Environment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironment"}}}}}}},"/api/v1/environment-health":{"get":{"tags":["environment-health-check-controller"],"operationId":"getEnvironmentHealthChecksByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEnvironmentHealthCheck"}}}}}},"post":{"tags":["environment-health-check-controller"],"operationId":"createEnvironmentHealthCheck","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentHealthCheck"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironmentHealthCheck"}}}}}}},"/api/v1/domain-configs":{"get":{"tags":["domain-config-controller"],"operationId":"getByOrganizationIdParam_2","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDomainConfig"}}}}}},"post":{"tags":["domain-config-controller"],"operationId":"create_39","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDomainConfig"}}}}}}},"/api/v1/domain-configs/{id}/verify-dns":{"post":{"tags":["domain-config-controller"],"operationId":"verifyDns","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/domain-configs/{id}/provision-ssl":{"post":{"tags":["domain-config-controller"],"operationId":"provisionSsl","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/domain-configs/{id}/assign-environment":{"post":{"tags":["domain-config-controller"],"operationId":"assignToEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDomainConfig"}}}}}}},"/api/v1/documents":{"get":{"tags":["Knowledge Documents"],"operationId":"list_32","parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sessionId","in":"query","required":false,"schema":{"type":"string"}},{"name":"documentType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKnowledgeDocument"}}}}}},"post":{"tags":["Knowledge Documents"],"summary":"Upload a document","description":"Upload a document (PDF, markdown, text) to the knowledge base","operationId":"upload_2","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sessionId","in":"query","required":false,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"product"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/documents/{id}/link":{"post":{"tags":["Knowledge Documents"],"summary":"Add a linked entity to a document","operationId":"addLinkedEntity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedEntity"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}},"delete":{"tags":["Knowledge Documents"],"summary":"Remove a linked entity from a document","operationId":"removeLinkedEntity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/documents/text":{"post":{"tags":["Knowledge Documents"],"summary":"Create a text document","description":"Create a text/markdown document directly without file upload","operationId":"createText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeDocument"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/documents/image":{"post":{"tags":["Knowledge Documents"],"summary":"Create an image/binary document","description":"Persist a base64-encoded binary artifact (e.g. a raster PNG mockup or wireframe image); bytes are offloaded to GCS with an inline fallback when GCS is unavailable","operationId":"createImage","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/docs":{"get":{"tags":["Documents"],"summary":"List documents in a scope","description":"orgId is required. Optional filters narrow by scope, type, lifecycle or parent.","operationId":"list_33","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"lifecycle","in":"query","required":false,"schema":{"type":"string"}},{"name":"parentId","in":"query","required":false,"schema":{"type":"string"}},{"name":"rootsOnly","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocument"}}}}}},"post":{"tags":["Documents"],"summary":"Create a document","description":"Creates the document in lifecycle 'draft' and writes version 1.","operationId":"create_40","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/docs/{id}/restore/{version}":{"post":{"tags":["Documents"],"summary":"Restore an earlier version","description":"Writes the old body forward as a NEW version; history is never rewound.","operationId":"restore_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/docs/{id}/references":{"get":{"tags":["Documents"],"summary":"Outgoing references","description":"Parsed from ::ref{}/::diagram{} on every save, plus any explicit references. Each carries a resolution warning where one applies.","operationId":"references","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocumentReferenceView"}}}}}},"post":{"tags":["Documents"],"summary":"Add an explicit reference","description":"For links not expressible in the body; survives saves, unlike parsed references.","operationId":"addReference","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentReferenceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentReference"}}}}}}},"/api/v1/docs/{id}/move":{"post":{"tags":["Documents"],"summary":"Re-parent or reorder a document","description":"Does not write a version — the body did not change. A null parentId promotes to root.","operationId":"move","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentMoveRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/docs/{id}/lifecycle":{"post":{"tags":["Documents"],"summary":"Change lifecycle","description":"Enforces the transition table plus the document type's approvalRequired, canApproveRoles, requiredSections and requiredReferenceKinds.","operationId":"lifecycle","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentLifecycleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/diagrams":{"post":{"tags":["Diagram Assets"],"summary":"Create a diagram asset (version 1 is written when XML is supplied)","operationId":"create_41","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureDiagram"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}}},"/api/v1/diagrams/{id}/restore/{version}":{"post":{"tags":["Diagram Assets"],"summary":"Restore a version by appending it as a new one","operationId":"restore_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiagramVersion"}}}}}}},"/api/v1/diagrams/{id}/references":{"post":{"tags":["Diagram Assets"],"summary":"Add or remove a backlink (called by the document service on embed/unembed)","operationId":"updateReferences","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramReferenceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}}},"/api/v1/devices":{"get":{"tags":["Devices"],"summary":"List devices","description":"Retrieves devices by organization or module, optionally filtered by status","operationId":"list_34","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Devices retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDevice"}}}}}},"post":{"tags":["Devices"],"summary":"Register a device","description":"Creates a new device registration in the device registry","operationId":"create_42","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}}},"required":true},"responses":{"200":{"description":"Device registered successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}},"400":{"description":"Invalid device data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}}}}},"/api/v1/devices/{id}/heartbeat":{"post":{"tags":["Devices"],"summary":"Device heartbeat","description":"Updates the device's last heartbeat timestamp and sets status to online","operationId":"heartbeat_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Heartbeat recorded","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}}}}},"/api/v1/device-jobs":{"get":{"tags":["Device Jobs"],"summary":"List device jobs","description":"Retrieves jobs filtered by deviceId, moduleId, or organizationId","operationId":"list_35","parameters":[{"name":"deviceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Device jobs retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeviceJob"}}}}}},"post":{"tags":["Device Jobs"],"summary":"Create a device job","description":"Creates a new job to be dispatched to a device","operationId":"create_43","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceJob"}}},"required":true},"responses":{"400":{"description":"Invalid device job data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}},"200":{"description":"Device job created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}}}}},"/api/v1/device-jobs/{id}/dispatch":{"post":{"tags":["Device Jobs"],"summary":"Dispatch a device job","description":"Dispatches a pending job to its target device for execution","operationId":"dispatch","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Device job not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}},"200":{"description":"Device job dispatched","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}}}}},"/api/v1/device-farm-test-runs":{"get":{"tags":["device-farm-test-run-controller"],"operationId":"getByModule_4","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeviceFarmTestRun"}}}}}},"post":{"tags":["device-farm-test-run-controller"],"operationId":"create_44","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceFarmTestRun"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmTestRun"}}}}}}},"/api/v1/device-farm-configs":{"get":{"tags":["device-farm-config-controller"],"operationId":"getDeviceFarmConfigsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeviceFarmConfig"}}}}}},"post":{"tags":["device-farm-config-controller"],"operationId":"createDeviceFarmConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceFarmConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmConfig"}}}}}}},"/api/v1/device-farm-configs/{id}/test":{"post":{"tags":["device-farm-config-controller"],"operationId":"triggerDeviceTest","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/upload/{id}":{"post":{"tags":["Device Communication"],"summary":"Upload file to device","description":"Uploads a file (firmware, G-code, etc.) to a device","operationId":"uploadFile","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"File uploaded","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"400":{"description":"Invalid file","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/emergency-stop/{id}":{"post":{"tags":["Device Communication"],"summary":"Emergency stop","description":"Sends an emergency stop command to a device","operationId":"emergencyStop","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Emergency stop sent","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/discover":{"post":{"tags":["Device Communication"],"summary":"Discover devices","description":"Triggers device discovery on the local network","operationId":"discover_1","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Discovery initiated","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/disconnect/{id}":{"post":{"tags":["Device Communication"],"summary":"Disconnect from device","description":"Disconnects from a specific device","operationId":"disconnect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Disconnected from device","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/connect/{id}":{"post":{"tags":["Device Communication"],"summary":"Connect to device","description":"Establishes connection to a specific device","operationId":"connect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"200":{"description":"Connected to device","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/command/{id}":{"post":{"tags":["Device Communication"],"summary":"Send command to device","description":"Sends a command to a connected device","operationId":"sendCommand","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"200":{"description":"Command sent","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/design-reviews":{"get":{"tags":["Design Reviews"],"operationId":"list_36","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"epicId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDesignReview"}}}}}},"post":{"tags":["Design Reviews"],"operationId":"create_45","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesignReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDesignReview"}}}}}}},"/api/v1/design-reviews/{id}/complete":{"post":{"tags":["Design Reviews"],"operationId":"complete_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDesignReview"}}}}}},"patch":{"tags":["Design Reviews"],"operationId":"patchComplete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDesignReview"}}}}}}},"/api/v1/deployments":{"get":{"tags":["Deployments"],"operationId":"list_37","parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeployment"}}}}}},"post":{"tags":["Deployments"],"summary":"Create a deployment","description":"Creates a new deployment record targeting a specific environment. The deployment enters a pending state awaiting approval if approval gates are configured.","operationId":"createDeployment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}},"required":true},"responses":{"400":{"description":"Invalid deployment data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"200":{"description":"Deployment created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}}}}},"/api/v1/deployments/{id}/rollback":{"post":{"tags":["Deployments"],"summary":"Rollback a deployment","description":"Initiates a rollback for a completed deployment, reverting the environment to its previous state","operationId":"rollbackDeployment_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Rollback initiated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"404":{"description":"Deployment not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}}}}},"/api/v1/deployments/{id}/approve":{"post":{"tags":["Deployments"],"summary":"Approve or reject a deployment","description":"Processes an approval decision for a pending deployment. The approver is the authenticated caller — an approverId in the body is accepted for wire compatibility and ignored (C69). Takes role, decision (approved/rejected) and an optional comment; an agent principal is refused 403.","operationId":"approveDeployment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"404":{"description":"Deployment not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"200":{"description":"Approval decision processed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"400":{"description":"Invalid approval request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}}}}},"/api/v1/defects":{"get":{"tags":["defect-controller"],"operationId":"getDefectsByModuleIdParam","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDefect"}}}}}},"post":{"tags":["defect-controller"],"operationId":"createDefect","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Defect"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/v1/database-provisions":{"post":{"tags":["database-provision-controller"],"operationId":"create_46","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProvision"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDatabaseProvision"}}}}}}},"/api/v1/database-provisions/{id}/restore":{"post":{"tags":["database-provision-controller"],"operationId":"restore_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/database-provisions/{id}/backup":{"post":{"tags":["database-provision-controller"],"operationId":"backup","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/custom-roles":{"get":{"tags":["custom-role-controller"],"operationId":"getByOrganizationIdParam_3","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCustomRole"}}}}}},"post":{"tags":["custom-role-controller"],"operationId":"create_47","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRole"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCustomRole"}}}}}}},"/api/v1/custom-roles/{id}/assign":{"post":{"tags":["custom-role-controller"],"operationId":"assignToUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCustomRole"}}}}}}},"/api/v1/credentials":{"post":{"tags":["credential-controller"],"operationId":"createCredential","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credential"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCredential"}}}}}}},"/api/v1/crash-reports":{"get":{"tags":["crash-report-controller"],"operationId":"getReports","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCrashReport"}}}}}},"post":{"tags":["crash-report-controller"],"operationId":"create_48","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrashReport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCrashReport"}}}}}}},"/api/v1/control-plane/decide":{"post":{"tags":["Control plane"],"summary":"Decide one action","description":"Evaluates principal + action + resource + context against the policy decision point. Omit principalId to ask about yourself. A caller may only ask about another principal if it owns or administers the organization named on the request.","operationId":"decide_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDecision"}}}}}}},"/api/v1/control-plane/decide/batch":{"post":{"tags":["Control plane"],"summary":"Decide several actions at once","description":"Up to 50 decisions in one round trip; each is authorized independently and the order of the answers matches the order asked.","operationId":"decideBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionBatchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDecisionBatchResponse"}}}}}}},"/api/v1/compliance-checklists":{"post":{"tags":["compliance-checklist-controller"],"operationId":"create_49","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceChecklist"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseComplianceChecklist"}}}}}}},"/api/v1/community/questions":{"get":{"tags":["Community"],"summary":"List community questions","description":"Paginated, sortable list of community questions","operationId":"getQuestions","parameters":[{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"newest"}},{"name":"tag","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePageCommunityQuestion"}}}}}},"post":{"tags":["Community"],"summary":"Create a new question","operationId":"createQuestion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityQuestion"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityQuestion"}}}}}}},"/api/v1/community/questions/{id}/vote":{"post":{"tags":["Community"],"summary":"Vote on a question","operationId":"voteQuestion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/community/questions/{id}/answers":{"post":{"tags":["Community"],"summary":"Post an answer to a question","operationId":"createAnswer","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAnswer"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityAnswer"}}}}}}},"/api/v1/community/answers/{id}/vote":{"post":{"tags":["Community"],"summary":"Vote on an answer","operationId":"voteAnswer","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/community/answers/{id}/accept":{"post":{"tags":["Community"],"summary":"Accept an answer (question author only)","operationId":"acceptAnswer","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityAnswer"}}}}}}},"/api/v1/code-reviews":{"get":{"tags":["code-review-controller"],"operationId":"getCodeReviewsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCodeReview"}}}}}},"post":{"tags":["code-review-controller"],"operationId":"createCodeReview","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeReview"}}}}}}},"/api/v1/code-reviews/{id}/trigger":{"post":{"tags":["code-review-controller"],"operationId":"triggerReview","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeReview"}}}}}}},"/api/v1/code-quality":{"get":{"tags":["code-quality-metric-controller"],"operationId":"getByModule_5","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCodeQualityMetric"}}}}}},"post":{"tags":["code-quality-metric-controller"],"operationId":"create_50","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeQualityMetric"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeQualityMetric"}}}}}}},"/api/v1/build-propagations":{"get":{"tags":["build-propagation-controller"],"operationId":"getBuildPropagationsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBuildPropagation"}}}}}},"post":{"tags":["build-propagation-controller"],"operationId":"createBuildPropagation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildPropagation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildPropagation"}}}}}}},"/api/v1/build-artifacts":{"get":{"tags":["build-artifact-controller"],"operationId":"getBuildArtifactsByModuleId_1","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"deploymentId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBuildArtifact"}}}}}},"post":{"tags":["build-artifact-controller"],"operationId":"createBuildArtifact","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildArtifact"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildArtifact"}}}}}}},"/api/v1/bom":{"get":{"tags":["BOM"],"summary":"List BOM items","description":"Retrieves all BOM items for a module, optionally filtered by category","operationId":"list_38","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"BOM items retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBOMItem"}}}}}},"post":{"tags":["BOM"],"summary":"Create a BOM item","description":"Creates a new Bill of Materials entry for a module","operationId":"create_51","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BOMItem"}}},"required":true},"responses":{"200":{"description":"BOM item created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}},"400":{"description":"Invalid BOM item data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}}}}},"/api/v1/billing/organizations/{orgId}/payment/verify":{"post":{"tags":["billing-controller"],"operationId":"verifyPayment","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/billing/organizations/{orgId}/payment-methods":{"get":{"tags":["Payment Methods"],"summary":"List payment methods","description":"Retrieves all payment methods for an organization","operationId":"getPaymentMethods","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Payment methods retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPaymentMethod"}}}}}},"post":{"tags":["Payment Methods"],"summary":"Add a payment method","description":"Registers a new Razorpay payment method for the organization","operationId":"createPaymentMethod","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentMethod"}}},"required":true},"responses":{"200":{"description":"Payment method added successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}},"400":{"description":"Invalid payment method data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}}}}},"/api/v1/billing/organizations/{orgId}/invoices":{"get":{"tags":["Invoices"],"summary":"List invoices","description":"Retrieves all invoices for an organization, optionally filtered by status","operationId":"getInvoices","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["DRAFT","OPEN","PAID","VOID","UNCOLLECTIBLE"]}}],"responses":{"200":{"description":"Invoices retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListInvoice"}}}}}},"post":{"tags":["Invoices"],"summary":"Create an invoice record","description":"Creates a new invoice record, typically synced from Razorpay webhooks","operationId":"createInvoice","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}},"required":true},"responses":{"200":{"description":"Invoice created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseInvoice"}}}},"400":{"description":"Invalid invoice data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseInvoice"}}}}}}},"/api/v1/billing/organizations/{orgId}/downgrade":{"post":{"tags":["billing-controller"],"operationId":"downgradeOrganization","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/organizations/{orgId}/credits/topup":{"post":{"tags":["credit-controller"],"operationId":"topUp","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditTopUpRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTopUpOrderResponse"}}}}}}},"/api/v1/billing/organizations/{orgId}/checkout":{"post":{"tags":["billing-controller"],"operationId":"createCheckout","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}}}}},"/api/v1/billing/organizations/{orgId}/cancel":{"post":{"tags":["billing-controller"],"operationId":"cancelSubscription","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/billing/organizations/{orgId}/archive":{"post":{"tags":["billing-controller"],"operationId":"archiveOrganization","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/credits/charge":{"post":{"tags":["credit-controller"],"operationId":"charge","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditChargeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCreditChargeResponse"}}}}}}},"/api/v1/billing/credits/auto-reload":{"post":{"tags":["credit-controller"],"operationId":"triggerAutoReload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAutoReloadRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAutoReloadChargeResult"}}}}}}},"/api/v1/backlog":{"get":{"tags":["Backlog Items"],"summary":"List backlog items","description":"Retrieves backlog items filtered by product, module, status, or sprint. Provide productId for all items in a product, or moduleId for a specific module.","operationId":"listBacklogItems","parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"sprintId","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":500}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}}}},"post":{"tags":["Backlog Items"],"summary":"Create a backlog item","description":"Creates a new backlog item (story, task, bug, or epic) within a module","operationId":"createBacklogItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogItem"}}},"required":true},"responses":{"200":{"description":"Backlog item created successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"400":{"description":"Invalid backlog item data","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog/{id}/merge":{"post":{"tags":["Backlog merge"],"summary":"Merge a story's PR as a person (product owner/admin)","operationId":"merge_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/backlog/{id}/groom":{"post":{"tags":["Backlog Items"],"summary":"Groom a not-ready item (wave 12)","description":"Asks the elaboration agent for what the Definition of Ready says is missing — facets, empty sections, an estimate, a design draft — writes it through the document and item write paths (never over a section a person wrote), re-evaluates and returns what was applied and what still remains. The gate itself is never loosened.","operationId":"groom","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGroomResult"}}}}}}},"/api/v1/backlog/{id}/activity":{"post":{"tags":["Backlog Items"],"summary":"Append agent activity log entry","operationId":"addActivity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentActivity"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog/migrate-sprint-ids":{"post":{"tags":["Backlog Items"],"summary":"Backfill sprintId on items that only have sprint name","description":"One-time migration: resolves sprint name → sprint ID for all items in a module","operationId":"migrateSprintIds","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/backlog-imports":{"get":{"tags":["backlog-import-controller"],"operationId":"getBacklogImportsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogImport"}}}}}},"post":{"tags":["backlog-import-controller"],"operationId":"createBacklogImport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogImport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogImport"}}}}}}},"/api/v1/auth/sync":{"post":{"tags":["Authentication"],"summary":"Sync Firebase user","description":"Synchronizes a Firebase-authenticated user with the backend. Requires a valid Firebase ID token in the Authorization header.","operationId":"syncFirebaseUser","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirebaseSyncRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}}}}},"/api/v1/auth/sso/callback":{"post":{"tags":["Authentication"],"operationId":"handleSSOCallback","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/auth/reset-password":{"post":{"tags":["Authentication"],"summary":"Reset password (token-based)","description":"Resets password using a gateway-issued token. For Firebase reset links, the user resets directly via Firebase.","operationId":"resetPassword","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseString"}}}}}}},"/api/v1/auth/resend-verification":{"post":{"tags":["Authentication"],"summary":"Resend verification email","operationId":"resendVerification","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseString"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["Authentication"],"summary":"Register a new user","description":"Creates a new user in Firebase Auth and MongoDB, returns a JWT token","operationId":"register_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationRequest"}}},"required":true},"responses":{"400":{"description":"Email already exists or invalid input","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthResponse"}}}},"200":{"description":"User registered successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthResponse"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["Authentication"],"summary":"Refresh access token","operationId":"refreshToken","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthResponse"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["Authentication"],"summary":"Authenticate user","description":"Verifies email+password via Firebase Auth and returns a gateway JWT","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthRequest"}}},"required":true},"responses":{"200":{"description":"Login successful","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthResponse"}}}},"400":{"description":"Invalid credentials","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthResponse"}}}}}}},"/api/v1/auth/forgot-password":{"post":{"tags":["Authentication"],"summary":"Request password reset","description":"Sends a branded password reset email via SES with a gateway-issued token","operationId":"forgotPassword","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseString"}}}}}}},"/api/v1/assembly-instructions":{"get":{"tags":["Assembly Instructions"],"summary":"List assembly instructions by module or organization","operationId":"list_39","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAssemblyInstruction"}}}}}},"post":{"tags":["Assembly Instructions"],"summary":"Create a new assembly instruction","operationId":"create_52","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssemblyInstruction"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAssemblyInstruction"}}}}}}},"/api/v1/architecture/value-streams":{"get":{"tags":["Value Streams"],"operationId":"list_40","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListValueStream"}}}}}},"post":{"tags":["Value Streams"],"operationId":"create_53","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValueStream"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseValueStream"}}}}}}},"/api/v1/architecture/standards":{"get":{"tags":["Technology Standards"],"operationId":"list_41","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTechnologyStandard"}}}}}},"post":{"tags":["Technology Standards"],"operationId":"create_54","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyStandard"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyStandard"}}}}}}},"/api/v1/architecture/standards/{id}/status-change":{"post":{"tags":["Technology Standards"],"operationId":"proposeStatusChange","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyStandard"}}}}}}},"/api/v1/architecture/reference-architectures":{"get":{"tags":["Reference Architectures"],"operationId":"list_42","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"architecturePattern","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListReferenceArchitecture"}}}}}},"post":{"tags":["Reference Architectures"],"operationId":"create_55","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceArchitecture"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReferenceArchitecture"}}}}}}},"/api/v1/architecture/radar":{"get":{"tags":["Technology Radar"],"operationId":"list_43","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"quadrant","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTechnologyRadarEntry"}}}}}},"post":{"tags":["Technology Radar"],"operationId":"create_56","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyRadarEntry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyRadarEntry"}}}}}}},"/api/v1/architecture/principles":{"get":{"tags":["Architecture Principles"],"operationId":"list_44","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitecturePrinciple"}}}}}},"post":{"tags":["Architecture Principles"],"operationId":"create_57","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitecturePrinciple"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitecturePrinciple"}}}}}}},"/api/v1/architecture/principles/{id}/approve":{"post":{"tags":["Architecture Principles"],"operationId":"approve_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitecturePrinciple"}}}}}},"patch":{"tags":["Architecture Principles"],"operationId":"patchApprove_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitecturePrinciple"}}}}}}},"/api/v1/architecture/files":{"get":{"tags":["Architecture Files"],"summary":"List files for an entity","operationId":"list_45","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureFile"}}}}}},"post":{"tags":["Architecture Files"],"summary":"Upload a file","description":"Upload a file attachment to an architecture entity","operationId":"upload_3","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureFile"}}}}}}},"/api/v1/architecture/diagrams":{"get":{"tags":["Architecture Diagrams"],"operationId":"list_46","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"architectureId","in":"query","required":false,"schema":{"type":"string"}},{"name":"componentId","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureDiagram"}}}}}},"post":{"tags":["Architecture Diagrams"],"operationId":"create_58","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureDiagram"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}}},"/api/v1/architecture/diagrams/{id}/link":{"post":{"tags":["Architecture Diagrams"],"operationId":"link","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}}},"/api/v1/architecture/decisions":{"get":{"tags":["Architecture Decisions"],"operationId":"list_47","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"scopeId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureDecision"}}}}}},"post":{"tags":["Architecture Decisions"],"operationId":"create_59","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureDecision"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDecision"}}}}}}},"/api/v1/architecture/components":{"get":{"tags":["Architecture Components"],"operationId":"list_48","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"architectureId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListArchitectureComponent"}}}}}},"post":{"tags":["Architecture Components"],"operationId":"create_60","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureComponent"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureComponent"}}}}}}},"/api/v1/architecture/components/{id}/link":{"post":{"tags":["Architecture Components"],"operationId":"link_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureComponent"}}}}}}},"/api/v1/architecture/capabilities":{"get":{"tags":["Business Capabilities"],"operationId":"list_49","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"level","in":"query","required":false,"schema":{"type":"string"}},{"name":"parentCapabilityId","in":"query","required":false,"schema":{"type":"string"}},{"name":"strategicImportance","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBusinessCapability"}}}}}},"post":{"tags":["Business Capabilities"],"operationId":"create_61","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessCapability"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBusinessCapability"}}}}}}},"/api/v1/app-store-configs":{"get":{"tags":["app-store-config-controller"],"operationId":"getAppStoreConfigsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAppStoreConfig"}}}}}},"post":{"tags":["app-store-config-controller"],"operationId":"createAppStoreConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppStoreConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppStoreConfig"}}}}}}},"/api/v1/app-store-configs/{id}/submit":{"post":{"tags":["app-store-config-controller"],"operationId":"submitForReview_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppStoreConfig"}}}}}}},"/api/v1/apm-integrations":{"get":{"tags":["apm-integration-controller"],"operationId":"getIntegrations","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAPMIntegration"}}}}}},"post":{"tags":["apm-integration-controller"],"operationId":"create_62","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APMIntegration"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPMIntegration"}}}}}}},"/api/v1/apm-integrations/{id}/sync":{"post":{"tags":["apm-integration-controller"],"operationId":"triggerSync_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPMIntegration"}}}}}}},"/api/v1/api-test-definitions":{"get":{"tags":["api-test-definition-controller"],"operationId":"getApiTestDefinitionsByModuleId","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListApiTestDefinition"}}}}}},"post":{"tags":["api-test-definition-controller"],"operationId":"createApiTestDefinition","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTestDefinition"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseApiTestDefinition"}}}}}}},"/api/v1/api-keys":{"get":{"tags":["api-key-controller"],"operationId":"getAPIKeysByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAPIKey"}}}}}},"post":{"tags":["api-key-controller"],"operationId":"createAPIKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKey"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/api-keys/{id}/rotate":{"post":{"tags":["api-key-controller"],"operationId":"rotateAPIKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/api-keys/{id}/revoke":{"post":{"tags":["api-key-controller"],"operationId":"revokeAPIKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPIKey"}}}}}}},"/api/v1/alert-rules":{"get":{"tags":["alert-rule-controller"],"operationId":"getAlertRulesByOrganizationId","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAlertRule"}}}}}},"post":{"tags":["alert-rule-controller"],"operationId":"createAlertRule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRule"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAlertRule"}}}}}}},"/api/v1/agents/register":{"post":{"tags":["Local Agents"],"summary":"Register a new local agent","description":"Creates a new local agent and returns a one-time API key","operationId":"register_2","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"Agent registered successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}},"400":{"description":"Invalid request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}}}}},"/api/v1/agent-tasks":{"get":{"tags":["Agent Tasks"],"summary":"List agent tasks","description":"Returns agent tasks filtered by agentInstanceId, status, phase, or sessionId","operationId":"list_50","parameters":[{"name":"agentInstanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"phase","in":"query","required":false,"schema":{"type":"string"}},{"name":"sessionId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentTask"}}}}}},"post":{"tags":["Agent Tasks"],"summary":"Create an agent task","description":"Creates a new task and assigns it to an agent instance","operationId":"create_63","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTask"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentTask"}}}}}}},"/api/v1/agent-sessions":{"get":{"tags":["Agent Sessions"],"summary":"List agent sessions","description":"Returns agent sessions filtered by agentInstanceId, productId, phase, cycleId, releaseId, or status","operationId":"list_51","parameters":[{"name":"agentInstanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"phase","in":"query","required":false,"schema":{"type":"string"}},{"name":"cycleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"releaseId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentSession"}}}}}},"post":{"tags":["Agent Sessions"],"summary":"Create an agent session","description":"Creates a new session for an agent instance","operationId":"create_64","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSession"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentSession"}}}}}}},"/api/v1/agent-instances":{"get":{"tags":["Agent Instances"],"summary":"List agent instances","description":"Returns agent instances filtered by organization, status, definition, product, or team","operationId":"list_52","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"definitionId","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentInstance"}}}}}},"post":{"tags":["Agent Instances"],"summary":"Create an agent instance","description":"Creates a new agent instance from a definition","operationId":"create_65","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInstance"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}}},"/api/v1/agent-handoffs":{"get":{"tags":["Agent Handoffs"],"summary":"List agent handoffs","description":"Returns agent handoffs filtered by fromAgentInstanceId, toAgentInstanceId, or status","operationId":"list_53","parameters":[{"name":"fromAgentInstanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"toAgentInstanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentHandoff"}}}}}},"post":{"tags":["Agent Handoffs"],"summary":"Create an agent handoff","description":"Creates a new handoff request between two agent instances","operationId":"create_66","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentHandoff"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentHandoff"}}}}}}},"/api/v1/agent-definitions":{"get":{"tags":["Agent Definitions"],"summary":"List all agent definitions","description":"Returns all agent definitions, optionally filtered by system flag","operationId":"list_54","parameters":[{"name":"system","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentDefinition"}}}}}},"post":{"tags":["Agent Definitions"],"summary":"Create a custom agent definition","description":"Creates a new custom agent definition template","operationId":"create_67","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDefinition"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentDefinition"}}}}}}},"/api/v1/agent-activities":{"get":{"tags":["Agent Activities"],"summary":"List agent activities","description":"Returns agent activity logs filtered by agentInstanceId, sessionId, entityType, or entityId","operationId":"list_55","parameters":[{"name":"agentInstanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sessionId","in":"query","required":false,"schema":{"type":"string"}},{"name":"entityType","in":"query","required":false,"schema":{"type":"string"}},{"name":"entityId","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentActivityLog"}}}}}},"post":{"tags":["Agent Activities"],"summary":"Log an agent activity","description":"Records a new activity event for an agent instance","operationId":"create_68","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentActivityLog"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentActivityLog"}}}}}}},"/api/v1/admin/users/{id}/disable":{"post":{"tags":["Admin"],"summary":"Toggle user active status","operationId":"toggleUserActive","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUser"}}}}}}},"/api/v1/admin/models/discovery/run":{"post":{"tags":["Admin"],"summary":"Run model discovery now","description":"Lists each configured vendor's models, reconciles with the catalog and returns the report","operationId":"run","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/admin/feature-flags":{"get":{"tags":["Admin"],"summary":"List all global feature flags","operationId":"getFeatureFlags","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMapObjectObject"}}}}}},"post":{"tags":["Admin"],"summary":"Create a feature flag","operationId":"createFeatureFlag","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapObjectObject"}}}}}}},"/api/v1/activity":{"get":{"tags":["activity-event-controller"],"operationId":"getActivityEvents","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePageActivityEvent"}}}}}},"post":{"tags":["activity-event-controller"],"operationId":"recordEvent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityEvent"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseActivityEvent"}}}}}}},"/api/v1/actions":{"get":{"tags":["action-controller"],"operationId":"listActions","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"assignedTo","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBy","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"priority","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAction"}}}}}},"post":{"tags":["action-controller"],"operationId":"createAction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Action"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}}},"/api/v1/actions/{id}/resolve":{"post":{"tags":["action-controller"],"operationId":"resolveAction","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}}},"/api/v1/actions/{id}/reassign":{"post":{"tags":["action-controller"],"operationId":"reassignAction","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}}},"/api/v1/actions/{id}/cancel":{"post":{"tags":["action-controller"],"operationId":"cancelAction","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAction"}}}}}}},"/api/internal/usage/events":{"post":{"tags":["Internal usage"],"summary":"Record one tokens.used row, priced from the rate card","description":"The gateway stamps metadata.costUsd from ModelPricing when the emitter sends none, binds the row to the org / product / module it names and to the caller's principal, and answers 201 with the persisted event.","operationId":"ingest","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageIngestRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUsageEvent"}}}}}}},"/api/internal/search/reindex":{"post":{"tags":["Search"],"summary":"Rebuild the search index for an organization","description":"Internal/admin. Walks every document, registry entry and diagram in the org.","operationId":"reindex","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReindexReport"}}}}}}},"/api/internal/governance/checkpoints":{"post":{"tags":["Governance (internal)"],"summary":"Raise a governance checkpoint on behalf of an agent (internal)","operationId":"raise_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceCheckpointRaiseRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/internal/governance/checkpoints/{orgId}/{id}/withdraw":{"post":{"tags":["Governance (internal)"],"summary":"Withdraw an open checkpoint on the raiser's behalf (internal, C114)","description":"The orchestrator, when the user cancels the paused tool call. raisedBy must be the principal recorded on the checkpoint; anything else is refused.","operationId":"withdraw_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/internal/crypto/encrypt":{"post":{"tags":["internal-crypto-controller"],"operationId":"encrypt","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/internal/crypto/decrypt":{"post":{"tags":["internal-crypto-controller"],"operationId":"decrypt","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/internal/credentials/resolve":{"post":{"tags":["Credential resolution (internal)"],"summary":"Resolve a credential binding for one tool call","description":"Internal service principals only (X-Service-Auth). Returns the credential for a single call; the caller must not log it, cache it, place it in a model context or return it in a tool result.","operationId":"resolve_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialResolveRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCredentialResolveResponse"}}}}}}},"/api/internal/control-plane/model-choice":{"post":{"tags":["Control plane (internal)"],"summary":"Choose the model for a definition in an org / product / module under the model policy (internal)","operationId":"modelChoice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelChoiceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModelChoiceResponse"}}}}}}},"/api/internal/control-plane/kill-status/{killId}/propagated":{"post":{"tags":["Control plane (internal)"],"summary":"Acknowledge that a kill reached the running jobs (internal)","description":"Flips propagated=true on a kill whose publish had failed, resolves the operator's Action item and audits it. Idempotent.","operationId":"propagated","parameters":[{"name":"killId","in":"path","required":true,"schema":{"type":"string"}},{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKillSwitch"}}}}}}},"/api/internal/control-plane/instance-quota-check":{"post":{"tags":["Control plane (internal)"],"summary":"Check the instance quota of an agent definition before spawning (internal)","operationId":"instanceQuotaCheck","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstanceQuotaCheckRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseInstanceQuotaCheckResponse"}}}}}}},"/api/internal/control-plane/decide":{"post":{"tags":["Control plane (internal)"],"summary":"Decide one action on behalf of a principal (internal)","operationId":"decide_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDecision"}}}}}}},"/api/internal/control-plane/decide/batch":{"post":{"tags":["Control plane (internal)"],"summary":"Decide a batch of actions on behalf of a principal (internal)","description":"Up to 50 decisions; answers are returned in the order asked.","operationId":"decideBatch_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionBatchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDecisionBatchResponse"}}}}}}},"/api/internal/control-plane/budget-check":{"post":{"tags":["Control plane (internal)"],"summary":"Check budget headroom for a principal in a module / product / org (internal)","operationId":"budgetCheck","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetCheckRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBudgetCheckResponse"}}}}}}},"/api/internal/build/stories/{storyId}/merge-attempt":{"post":{"tags":["Build (internal)"],"summary":"Decide and, when the policy allows, merge a story's PR (internal)","operationId":"attempt","parameters":[{"name":"storyId","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Organization-Id","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAttemptResult"}}}}}}},"/api/internal/build/stories/{storyId}/conformance":{"post":{"tags":["Build (internal)"],"summary":"Record a story build's conformance outcome; raise checkpoints on violations (internal)","operationId":"conformance","parameters":[{"name":"storyId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildConformanceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOutcome"}}}}}}},"/api/internal/build/stories/{storyId}/brief":{"post":{"tags":["Build (internal)"],"summary":"Assemble the build brief for a story and record its manifest on the story (internal)","operationId":"brief","parameters":[{"name":"storyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildBrief"}}}}}}},"/api/internal/audit/events":{"post":{"tags":["Internal audit"],"summary":"Ingest a batch of audit events","description":"Up to 500 events. Answers 202 with the accepted count and the rejected indexes; a rejected event is never partially written.","operationId":"ingest_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIngestResult"}}}}}}},"/api/internal/agents/pool/{id}/state":{"post":{"tags":["Agent pool (internal)"],"summary":"Apply a busy/idle transition to a pool instance (internal)","operationId":"setState","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}}},"/api/internal/agents/pool/provision":{"post":{"tags":["Agent pool (internal)"],"summary":"Resolve or provision an instance for a definition (internal)","description":"With reuse=true (the default here) an idle instance whose scopes cover the product is returned; otherwise one is provisioned under the definition's quota.","operationId":"provision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPoolProvisionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}}},"/api/external/v1/webhooks/rules":{"get":{"tags":["External - Webhooks"],"summary":"List transformation rules","description":"Lists all webhook transformation rules for the organization.","operationId":"listTransformRules","responses":{"200":{"description":"Rules returned","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListWebhookTransformRule"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListWebhookTransformRule"}}}}}},"post":{"tags":["External - Webhooks"],"summary":"Create a transformation rule","description":"Creates a new webhook transformation rule. Defines how inbound webhook payloads from a specific source are mapped to Tangigo entities. Request body should contain: name, sourceType, targetEntity, fieldMappings, and optional filterExpression.","operationId":"createTransformRule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTransformRule"}}},"required":true},"responses":{"400":{"description":"Invalid request body","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhookTransformRule"}}}},"200":{"description":"Rule created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhookTransformRule"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhookTransformRule"}}}}}}},"/api/external/v1/webhooks/inbound":{"post":{"tags":["External - Webhooks"],"summary":"Receive inbound webhook","description":"Receives a generic webhook payload and applies matching transformation rules to create entities (backlog items, defects, incidents). Request body should contain: sourceType (required: 'generic', 'github', 'jira', 'custom'), payload (required: the webhook data to transform).","operationId":"receiveWebhook","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"400":{"description":"Invalid request body","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"200":{"description":"Webhook processed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/external/v1/tests/trigger":{"post":{"tags":["External - Tests"],"summary":"Trigger test suite execution","description":"Triggers execution of a test suite by its ID. The test run is created and executed asynchronously. Request body should contain: testSuiteId (required), authConfig (optional).","operationId":"triggerTestExecution","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"Test execution triggered","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}},"400":{"description":"Missing testSuiteId","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/external/v1/deployments/trigger":{"post":{"tags":["External - Deployments"],"summary":"Trigger a deployment","description":"Creates a new deployment targeting a specific environment. Request body should contain: moduleId (required), environmentId (required), version (optional), metadata (optional map of deployment metadata).","operationId":"triggerDeployment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}},"required":true},"responses":{"400":{"description":"Invalid request body","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"200":{"description":"Deployment triggered","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}}}}},"/api/external/v1/defects":{"get":{"tags":["External - Defects"],"summary":"List defects","description":"Lists defects for a given module. Supports optional status and severity filters.","operationId":"listDefects","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Defects returned","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDefect"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDefect"}}}}}},"post":{"tags":["External - Defects"],"summary":"Create a defect","description":"Creates a new defect within a module. Requires moduleId and title in the request body.","operationId":"createDefect_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Defect"}}},"required":true},"responses":{"400":{"description":"Invalid request body","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}},"200":{"description":"Defect created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/external/v1/backlog":{"get":{"tags":["External - Backlog"],"summary":"List backlog items","description":"Lists backlog items for a given module. Supports optional status filter.","operationId":"listBacklogItems_1","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Backlog items returned","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}}}},"post":{"tags":["External - Backlog"],"summary":"Create a backlog item","description":"Creates a new backlog item within the organization's module. Requires moduleId, title, and type in the request body.","operationId":"createBacklogItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogItem"}}},"required":true},"responses":{"400":{"description":"Invalid request body","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"200":{"description":"Backlog item created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/ai/api/sprint-execution/{id}/start":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Start sprint execution","operationId":"startExecution","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/ai/api/sprint-execution/{id}/resume":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Resume sprint execution","operationId":"resumeExecution","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/ai/api/sprint-execution/{id}/pause":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Pause sprint execution","operationId":"pauseExecution","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/ai/api/sprint-execution/{id}/complete-story":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Mark a story as completed within a sprint execution","operationId":"completeStory","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/ai/api/sprint-execution/suggest-assignments":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Suggest agent assignments for sprint stories","operationId":"suggestAssignments","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObject"}}}}}}},"/ai/api/sprint-execution/generate-plans":{"post":{"tags":["Sprint Execution AI Proxy"],"summary":"Generate implementation plans for sprint execution","operationId":"generatePlans","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/api/v1/visual-regression/baselines/{id}":{"delete":{"tags":["visual-regression-controller"],"operationId":"deleteBaseline","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["visual-regression-controller"],"operationId":"updateBaseline","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualBaseline"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVisualBaseline"}}}}}}},"/api/v1/ux-issues/{id}":{"get":{"tags":["ux-issue-controller"],"operationId":"getById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUXIssue"}}}}}},"delete":{"tags":["ux-issue-controller"],"operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["ux-issue-controller"],"operationId":"update_15","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UXIssue"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUXIssue"}}}}}}},"/api/v1/user-preferences/{userId}":{"get":{"tags":["user-preference-controller"],"operationId":"getUserPreferences","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserPreference"}}}}}},"patch":{"tags":["user-preference-controller"],"operationId":"updateUserPreferences","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreference"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUserPreference"}}}}}}},"/api/v1/uptime/checks/{id}":{"get":{"tags":["uptime-controller"],"operationId":"getCheckById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUptimeCheck"}}}}}},"delete":{"tags":["uptime-controller"],"operationId":"deleteCheck","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["uptime-controller"],"operationId":"updateCheck","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UptimeCheck"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUptimeCheck"}}}}}}},"/api/v1/test-traceability/{id}":{"get":{"tags":["test-traceability-controller"],"operationId":"getById_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestTraceability"}}}}}},"delete":{"tags":["test-traceability-controller"],"operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["test-traceability-controller"],"operationId":"update_16","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestTraceability"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestTraceability"}}}}}}},"/api/v1/test-schedules/{id}":{"get":{"tags":["test-schedule-controller"],"operationId":"getById_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"delete":{"tags":["test-schedule-controller"],"operationId":"delete_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}},"patch":{"tags":["test-schedule-controller"],"operationId":"update_17","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSchedule"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/test-runs/{id}/status":{"patch":{"tags":["test-run-controller"],"operationId":"updateTestRunStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":true,"schema":{"type":"string","enum":["PENDING","RUNNING","COMPLETED","FAILED","CANCELLED"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-runs/{id}/results":{"patch":{"tags":["test-run-controller"],"operationId":"updateTestRunResults","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TestResult"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}}},"/api/v1/test-plans/{id}":{"get":{"tags":["Test Plans"],"summary":"Get test plan by ID","description":"Retrieves a single test plan by its unique identifier","operationId":"getTestPlanById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Test plan found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}},"404":{"description":"Test plan not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}}}},"delete":{"tags":["Test Plans"],"operationId":"deleteTestPlan","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Test Plans"],"operationId":"updateTestPlan","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPlan"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestPlan"}}}}}}},"/api/v1/test-folders/{id}":{"delete":{"tags":["test-folder-controller"],"operationId":"delete_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["test-folder-controller"],"operationId":"update_18","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestFolder"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestFolder"}}}}}}},"/api/v1/test-cycles/{id}":{"get":{"tags":["test-cycle-controller"],"operationId":"getById_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCycle"}}}}}},"delete":{"tags":["test-cycle-controller"],"operationId":"delete_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["test-cycle-controller"],"operationId":"update_19","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestCycle"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCycle"}}}}}}},"/api/v1/test-cycles/{id}/test-status":{"patch":{"tags":["test-cycle-controller"],"operationId":"updateTestStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCycle"}}}}}}},"/api/v1/test-cases/{id}":{"get":{"tags":["test-case-controller"],"operationId":"getById_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}},"delete":{"tags":["test-case-controller"],"operationId":"delete_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["test-case-controller"],"operationId":"update_20","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestCase"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/teams/{id}":{"get":{"tags":["Teams"],"summary":"Get team by ID","operationId":"getById_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}},"delete":{"tags":["Teams"],"summary":"Delete a team","operationId":"delete_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Teams"],"summary":"Update a team","operationId":"update_21","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/teams/{id}/archive":{"patch":{"tags":["Teams"],"summary":"Archive a team","operationId":"archive","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/staged-rollouts/{id}":{"get":{"tags":["staged-rollout-controller"],"operationId":"getStagedRolloutById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}},"delete":{"tags":["staged-rollout-controller"],"operationId":"deleteStagedRollout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["staged-rollout-controller"],"operationId":"updateStagedRollout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StagedRollout"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}}},"/api/v1/staged-rollouts/{id}/rollback":{"patch":{"tags":["staged-rollout-controller"],"operationId":"rollback","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}}},"/api/v1/staged-rollouts/{id}/pause":{"patch":{"tags":["staged-rollout-controller"],"operationId":"pauseRollout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}}},"/api/v1/staged-rollouts/{id}/increase-percentage":{"patch":{"tags":["staged-rollout-controller"],"operationId":"increasePercentage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStagedRollout"}}}}}}},"/api/v1/sprints/{id}":{"get":{"tags":["sprint-controller"],"operationId":"getSprintById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprint"}}}}}},"delete":{"tags":["sprint-controller"],"operationId":"deleteSprint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sprint-controller"],"operationId":"updateSprint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sprint"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprint"}}}}}}},"/api/v1/sprint-executions/{id}":{"get":{"tags":["Sprint Executions"],"summary":"Get sprint execution by ID","operationId":"getById_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}},"delete":{"tags":["Sprint Executions"],"summary":"Delete sprint execution","operationId":"delete_8","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Sprint Executions"],"summary":"Update sprint execution","operationId":"update_22","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SprintExecution"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSprintExecution"}}}}}}},"/api/v1/slicer-profiles/{id}":{"get":{"tags":["Slicer Profiles"],"summary":"Get slicer profile by ID","description":"Retrieves a single slicer profile by its unique identifier","operationId":"getById_8","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Slicer profile found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}},"404":{"description":"Slicer profile not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}}}},"delete":{"tags":["Slicer Profiles"],"summary":"Delete a slicer profile","description":"Deletes a slicer profile by its unique identifier","operationId":"delete_9","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Slicer profile deleted successfully"},"404":{"description":"Slicer profile not found"}}},"patch":{"tags":["Slicer Profiles"],"summary":"Update a slicer profile","description":"Partially updates an existing slicer profile","operationId":"update_23","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"404":{"description":"Slicer profile not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}},"200":{"description":"Slicer profile updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSlicerProfile"}}}}}}},"/api/v1/scm-connections/{id}":{"get":{"tags":["scm-connection-controller"],"operationId":"getSCMConnectionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSCMConnection"}}}}}},"delete":{"tags":["scm-connection-controller"],"operationId":"deleteSCMConnection","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["scm-connection-controller"],"operationId":"updateSCMConnection","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCMConnection"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSCMConnection"}}}}}}},"/api/v1/schematics/{id}":{"get":{"tags":["Schematic Files"],"summary":"Get schematic file by ID","description":"Retrieves a single schematic file by its unique identifier","operationId":"getById_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Schematic file not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}},"200":{"description":"Schematic file found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}}}},"delete":{"tags":["Schematic Files"],"summary":"Delete a schematic file","description":"Deletes a schematic file by its unique identifier","operationId":"delete_11","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Schematic file deleted successfully"},"404":{"description":"Schematic file not found"}}},"patch":{"tags":["Schematic Files"],"summary":"Update a schematic file","description":"Partially updates an existing schematic file","operationId":"update_24","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchematicFile"}}},"required":true},"responses":{"404":{"description":"Schematic file not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}},"200":{"description":"Schematic file updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSchematicFile"}}}}}}},"/api/v1/saved-reports/{id}":{"get":{"tags":["saved-report-controller"],"operationId":"getSavedReportById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSavedReport"}}}}}},"delete":{"tags":["saved-report-controller"],"operationId":"deleteSavedReport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["saved-report-controller"],"operationId":"updateSavedReport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSavedReport"}}}}}}},"/api/v1/sap-environments/{id}":{"get":{"tags":["sap-environment-controller"],"operationId":"getSapEnvironmentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapEnvironment"}}}}}},"delete":{"tags":["sap-environment-controller"],"operationId":"deleteSapEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sap-environment-controller"],"operationId":"updateSapEnvironment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapEnvironment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapEnvironment"}}}}}}},"/api/v1/sap-deployments/{id}":{"get":{"tags":["sap-deployment-controller"],"operationId":"getSapDeploymentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDeployment"}}}}}},"delete":{"tags":["sap-deployment-controller"],"operationId":"deleteSapDeployment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sap-deployment-controller"],"operationId":"updateSapDeployment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapDeployment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDeployment"}}}}}}},"/api/v1/sap-defect-types/{id}":{"get":{"tags":["sap-defect-type-controller"],"operationId":"getSapDefectTypeById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDefectType"}}}}}},"delete":{"tags":["sap-defect-type-controller"],"operationId":"deleteSapDefectType","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sap-defect-type-controller"],"operationId":"updateSapDefectType","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapDefectType"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapDefectType"}}}}}}},"/api/v1/sap-builds/{id}":{"get":{"tags":["sap-build-controller"],"operationId":"getSapBuildById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapBuild"}}}}}},"delete":{"tags":["sap-build-controller"],"operationId":"deleteSapBuild","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["sap-build-controller"],"operationId":"updateSapBuild","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SapBuild"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSapBuild"}}}}}}},"/api/v1/rollbacks/{id}":{"get":{"tags":["rollback-record-controller"],"operationId":"getById_11","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRollbackRecord"}}}}}},"delete":{"tags":["rollback-record-controller"],"operationId":"delete_12","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["rollback-record-controller"],"operationId":"update_25","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackRecord"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRollbackRecord"}}}}}}},"/api/v1/report-schedules/{id}":{"get":{"tags":["Report Schedules"],"summary":"Get report schedule by ID","description":"Retrieves a single report schedule by its unique identifier","operationId":"getReportScheduleById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Report schedule found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}},"404":{"description":"Report schedule not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}}}},"delete":{"tags":["Report Schedules"],"summary":"Delete a report schedule","description":"Removes a report schedule configuration","operationId":"deleteReportSchedule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Report schedule deleted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"404":{"description":"Report schedule not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Report Schedules"],"summary":"Update a report schedule","description":"Partially updates a report schedule configuration","operationId":"updateReportSchedule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportSchedule"}}},"required":true},"responses":{"200":{"description":"Report schedule updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}},"404":{"description":"Report schedule not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReportSchedule"}}}}}}},"/api/v1/releases/{id}":{"get":{"tags":["Releases"],"summary":"Get release by ID","description":"Retrieves a single release by its unique identifier","operationId":"getReleaseById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Release not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRelease"}}}},"200":{"description":"Release found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRelease"}}}}}},"delete":{"tags":["Releases"],"operationId":"deleteRelease","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Releases"],"operationId":"updateRelease","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRelease"}}}}}}},"/api/v1/release-approvals/{id}":{"get":{"tags":["Release Approvals"],"summary":"Get approval by ID","description":"Retrieves a single release approval by its unique identifier","operationId":"getApprovalById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Approval not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}},"200":{"description":"Approval found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}}}},"delete":{"tags":["Release Approvals"],"summary":"Delete an approval","description":"Removes a release approval record","operationId":"deleteApproval","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Approval not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"Approval deleted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Release Approvals"],"summary":"Update an approval","description":"Updates a release approval status (approve/reject) with optional comment","operationId":"updateApproval","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseApproval"}}},"required":true},"responses":{"404":{"description":"Approval not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}},"200":{"description":"Approval updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReleaseApproval"}}}}}}},"/api/v1/quality-gates/{id}":{"get":{"tags":["quality-gate-controller"],"operationId":"getQualityGateById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQualityGate"}}}}}},"delete":{"tags":["quality-gate-controller"],"operationId":"deleteQualityGate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["quality-gate-controller"],"operationId":"updateQualityGate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityGate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQualityGate"}}}}}}},"/api/v1/products/{wsId}/ai-sessions/{id}":{"get":{"tags":["AI Sessions"],"summary":"Get AI session by ID","description":"Retrieves a single AI session including its full message history","operationId":"getSessionById","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"AI session not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}},"200":{"description":"AI session found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}}}},"delete":{"tags":["AI Sessions"],"summary":"Delete an AI session","description":"Removes an AI session and all its conversation history","operationId":"deleteSession","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"AI session not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"AI session deleted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["AI Sessions"],"summary":"Update an AI session","description":"Updates session metadata such as title, status, or model used","operationId":"updateSession","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AISession"}}},"required":true},"responses":{"200":{"description":"AI session updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}},"404":{"description":"AI session not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}}}}},"/api/v1/product-templates/{id}":{"get":{"tags":["product-template-controller"],"operationId":"getProductTemplateById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProductTemplate"}}}}}},"delete":{"tags":["product-template-controller"],"operationId":"deleteProductTemplate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["product-template-controller"],"operationId":"updateProductTemplate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductTemplate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProductTemplate"}}}}}}},"/api/v1/product-members/{id}":{"delete":{"tags":["Product Members"],"operationId":"delete_14","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Product Members"],"operationId":"update_26","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMember"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProductMember"}}}}}}},"/api/v1/phased-developments/{id}":{"get":{"tags":["phased-development-controller"],"operationId":"getPhasedDevelopmentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePhasedDevelopment"}}}}}},"delete":{"tags":["phased-development-controller"],"operationId":"deletePhasedDevelopment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["phased-development-controller"],"operationId":"updatePhasedDevelopment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhasedDevelopment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePhasedDevelopment"}}}}}}},"/api/v1/phased-developments/{id}/approve-phase":{"patch":{"tags":["phased-development-controller"],"operationId":"approvePhase","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePhasedDevelopment"}}}}}}},"/api/v1/phased-developments/{id}/advance-phase":{"patch":{"tags":["phased-development-controller"],"operationId":"advancePhase","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePhasedDevelopment"}}}}}}},"/api/v1/outbound-webhooks/{id}":{"get":{"tags":["outbound-webhook-controller"],"operationId":"getWebhookById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhook"}}}}}},"delete":{"tags":["outbound-webhook-controller"],"operationId":"deleteWebhook","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["outbound-webhook-controller"],"operationId":"updateWebhook","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseWebhook"}}}}}}},"/api/v1/orgs/{orgId}/vendors/{principalId}":{"patch":{"tags":["Vendor consultants"],"summary":"Change a vendor's engagement (modules, end date)","description":"Org owner or admin.","operationId":"update_27","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorEngagementUpdateRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVendorConsultantSummary"}}}}}}},"/api/v1/orgs/{orgId}/agents/pool/{id}/scopes":{"patch":{"tags":["Agent pool"],"summary":"Replace the instance's scopes (org admin)","operationId":"scopes","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPoolScopesRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentPoolInstanceView"}}}}}}},"/api/v1/orgs/{orgId}/agents/pool/{id}/capacity":{"patch":{"tags":["Agent pool"],"summary":"Change the instance's capacity or pin it (org admin)","operationId":"capacity","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPoolCapacityRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentPoolInstanceView"}}}}}}},"/api/v1/on-call-rotations/{id}":{"get":{"tags":["on-call-rotation-controller"],"operationId":"getRotationById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOnCallRotation"}}}}}},"delete":{"tags":["on-call-rotation-controller"],"operationId":"deleteRotation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["on-call-rotation-controller"],"operationId":"updateRotation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnCallRotation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOnCallRotation"}}}}}}},"/api/v1/notifications/{id}/read":{"patch":{"tags":["notification-controller"],"operationId":"markAsRead","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseNotification"}}}}}}},"/api/v1/modules/{id}/restore":{"patch":{"tags":["Modules"],"operationId":"restoreModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}}},"/api/v1/modules/{id}/archive":{"patch":{"tags":["Modules"],"operationId":"archiveModule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModule"}}}}}}},"/api/v1/models-3d/{id}":{"get":{"tags":["3D Models"],"summary":"Get 3D model by ID","description":"Retrieves a single 3D model by its unique identifier","operationId":"getById_13","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"3D model found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}},"404":{"description":"3D model not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}}}},"delete":{"tags":["3D Models"],"summary":"Delete a 3D model","description":"Deletes a 3D model by its unique identifier","operationId":"delete_17","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"3D model deleted successfully"},"404":{"description":"3D model not found"}}},"patch":{"tags":["3D Models"],"summary":"Update 3D model metadata","description":"Partially updates an existing 3D model's metadata fields","operationId":"update_28","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"3D model updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}},"404":{"description":"3D model not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseModel3D"}}}}}}},"/api/v1/mobile-build-configs/{id}":{"get":{"tags":["mobile-build-config-controller"],"operationId":"getMobileBuildConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMobileBuildConfig"}}}}}},"delete":{"tags":["mobile-build-config-controller"],"operationId":"deleteMobileBuildConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["mobile-build-config-controller"],"operationId":"updateMobileBuildConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileBuildConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMobileBuildConfig"}}}}}}},"/api/v1/merge-groups/by-epic/{epicId}/status":{"patch":{"tags":["Merge Groups"],"summary":"Set the lifecycle status of the epic's merge group","operationId":"setStatus_1","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMergeGroup"}}}}}}},"/api/v1/merge-groups/by-epic/{epicId}/gate":{"patch":{"tags":["Merge Groups"],"summary":"Set the integration gate status of the epic's merge group","operationId":"setGate","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMergeGroup"}}}}}}},"/api/v1/materials/{id}":{"get":{"tags":["Materials"],"summary":"Get material by ID","description":"Retrieves a single material by its unique identifier","operationId":"getById_14","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Material found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}},"404":{"description":"Material not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}}}},"delete":{"tags":["Materials"],"summary":"Delete a material","description":"Deletes a material from the inventory","operationId":"delete_18","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Material deleted successfully"},"404":{"description":"Material not found"}}},"patch":{"tags":["Materials"],"summary":"Update a material","description":"Partially updates an existing material","operationId":"update_29","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"Material updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}},"404":{"description":"Material not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaterial"}}}}}}},"/api/v1/manufacturing-workflows/{id}":{"get":{"tags":["Manufacturing Workflows"],"summary":"Get manufacturing workflow by ID","description":"Retrieves a single manufacturing workflow by its unique identifier","operationId":"getById_15","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Manufacturing workflow found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Manufacturing workflow not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}},"delete":{"tags":["Manufacturing Workflows"],"summary":"Delete a manufacturing workflow","description":"Deletes a manufacturing workflow by its unique identifier","operationId":"delete_19","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Manufacturing workflow deleted successfully"},"404":{"description":"Manufacturing workflow not found"}}},"patch":{"tags":["Manufacturing Workflows"],"summary":"Update a manufacturing workflow","description":"Partially updates an existing manufacturing workflow","operationId":"update_30","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"Manufacturing workflow updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}},"404":{"description":"Manufacturing workflow not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseManufacturingWorkflow"}}}}}}},"/api/v1/maintenance-windows/{id}":{"get":{"tags":["maintenance-window-controller"],"operationId":"getMaintenanceWindowById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaintenanceWindow"}}}}}},"delete":{"tags":["maintenance-window-controller"],"operationId":"deleteMaintenanceWindow","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["maintenance-window-controller"],"operationId":"updateMaintenanceWindow","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceWindow"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMaintenanceWindow"}}}}}}},"/api/v1/load-test-configs/{id}":{"get":{"tags":["load-test-config-controller"],"operationId":"getLoadTestConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoadTestConfig"}}}}}},"delete":{"tags":["load-test-config-controller"],"operationId":"deleteLoadTestConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["load-test-config-controller"],"operationId":"updateLoadTestConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadTestConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoadTestConfig"}}}}}}},"/api/v1/labs/{id}":{"get":{"tags":["Labs"],"summary":"Get lab by ID","description":"Retrieves a single lab by its unique identifier","operationId":"getById_17","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Lab not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}},"200":{"description":"Lab found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}}}},"delete":{"tags":["Labs"],"summary":"Delete a lab","description":"Removes a lab from the system","operationId":"delete_21","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Lab deleted successfully"},"404":{"description":"Lab not found"}}},"patch":{"tags":["Labs"],"summary":"Update a lab","description":"Partially updates an existing lab","operationId":"update_31","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lab"}}},"required":true},"responses":{"200":{"description":"Lab updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}},"404":{"description":"Lab not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}}}}},"/api/v1/integrations/{id}":{"get":{"tags":["integration-controller"],"operationId":"getIntegrationById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIntegration"}}}}}},"delete":{"tags":["integration-controller"],"operationId":"deleteIntegration","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["integration-controller"],"operationId":"updateIntegration","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integration"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIntegration"}}}}}}},"/api/v1/integrations/pagerduty/{id}":{"get":{"tags":["pager-duty-config-controller"],"operationId":"getPagerDutyConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePagerDutyConfig"}}}}}},"delete":{"tags":["pager-duty-config-controller"],"operationId":"deletePagerDutyConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["pager-duty-config-controller"],"operationId":"updatePagerDutyConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagerDutyConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePagerDutyConfig"}}}}}}},"/api/v1/integrations/jira-sync/{id}":{"get":{"tags":["jira-sync-config-controller"],"operationId":"getJiraSyncConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseJiraSyncConfig"}}}}}},"delete":{"tags":["jira-sync-config-controller"],"operationId":"deleteJiraSyncConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["jira-sync-config-controller"],"operationId":"updateJiraSyncConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JiraSyncConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseJiraSyncConfig"}}}}}}},"/api/v1/integrations/confluence/{id}":{"get":{"tags":["confluence-config-controller"],"operationId":"getConfluenceConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseConfluenceConfig"}}}}}},"delete":{"tags":["confluence-config-controller"],"operationId":"deleteConfluenceConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["confluence-config-controller"],"operationId":"updateConfluenceConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfluenceConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseConfluenceConfig"}}}}}}},"/api/v1/incidents/{id}":{"get":{"tags":["Incidents"],"operationId":"getIncidentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIncident"}}}}}},"delete":{"tags":["Incidents"],"operationId":"deleteIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Incidents"],"summary":"Update an incident","description":"Partially updates an incident record, including status changes, severity adjustments, and resolution details","operationId":"updateIncident","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}},"required":true},"responses":{"200":{"description":"Incident updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIncident"}}}},"404":{"description":"Incident not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIncident"}}}}}}},"/api/v1/governance/reviews/{id}":{"get":{"tags":["Architecture Reviews"],"operationId":"getById_21","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureReview"}}}}}},"patch":{"tags":["Architecture Reviews"],"operationId":"update_32","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureReview"}}}}}}},"/api/v1/governance/contracts/{id}":{"get":{"tags":["Architecture Contracts"],"operationId":"getById_23","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureContract"}}}}}},"delete":{"tags":["Architecture Contracts"],"operationId":"delete_25","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Architecture Contracts"],"operationId":"update_33","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureContract"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureContract"}}}}}}},"/api/v1/gerbers/{id}":{"get":{"tags":["Gerber Files"],"summary":"Get gerber file by ID","description":"Retrieves a single gerber file by its unique identifier","operationId":"getById_24","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Gerber file not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}},"200":{"description":"Gerber file found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}}}},"delete":{"tags":["Gerber Files"],"summary":"Delete a gerber file","description":"Deletes a gerber file by its unique identifier","operationId":"delete_26","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Gerber file not found"},"204":{"description":"Gerber file deleted successfully"}}},"patch":{"tags":["Gerber Files"],"summary":"Update a gerber file","description":"Partially updates an existing gerber file","operationId":"update_34","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GerberFile"}}},"required":true},"responses":{"200":{"description":"Gerber file updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}},"404":{"description":"Gerber file not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGerberFile"}}}}}}},"/api/v1/flash-targets/{id}":{"get":{"tags":["Flash Targets"],"summary":"Get flash target by ID","description":"Retrieves a single flash target by its unique identifier","operationId":"getById_27","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Flash target found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}},"404":{"description":"Flash target not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}}}},"delete":{"tags":["Flash Targets"],"summary":"Delete a flash target","description":"Removes a flash target configuration from the module","operationId":"delete_28","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Flash target not found"},"204":{"description":"Flash target deleted successfully"}}},"patch":{"tags":["Flash Targets"],"summary":"Update a flash target","description":"Partially updates an existing flash target configuration","operationId":"update_35","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashTarget"}}},"required":true},"responses":{"404":{"description":"Flash target not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}},"200":{"description":"Flash target updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlashTarget"}}}}}}},"/api/v1/flaky-tests/{id}":{"get":{"tags":["flaky-test-record-controller"],"operationId":"getById_28","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlakyTestRecord"}}}}}},"delete":{"tags":["flaky-test-record-controller"],"operationId":"delete_29","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["flaky-test-record-controller"],"operationId":"update_36","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlakyTestRecord"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFlakyTestRecord"}}}}}}},"/api/v1/feedback/{id}":{"get":{"tags":["feedback-item-controller"],"operationId":"getFeedbackItemById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeedbackItem"}}}}}},"delete":{"tags":["feedback-item-controller"],"operationId":"deleteFeedbackItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["feedback-item-controller"],"operationId":"updateFeedbackItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeedbackItem"}}}}}}},"/api/v1/feature-flags/{id}":{"get":{"tags":["Feature Flags"],"operationId":"getFlagById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}}}},"delete":{"tags":["Feature Flags"],"operationId":"deleteFlag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Feature Flags"],"summary":"Update a feature flag","description":"Partially updates a feature flag's configuration, targeting rules, or enabled state","operationId":"updateFlag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}},"required":true},"responses":{"200":{"description":"Feature flag updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}},"404":{"description":"Feature flag not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}}}}},"/api/v1/fabrication-partners/{id}":{"get":{"tags":["Fabrication Partners"],"summary":"Get fabrication partner by ID","description":"Retrieves a single fabrication partner by its unique identifier","operationId":"getById_29","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Fabrication partner not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}},"200":{"description":"Fabrication partner found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}}}},"delete":{"tags":["Fabrication Partners"],"summary":"Delete a fabrication partner","description":"Removes a fabrication partner from the organization","operationId":"delete_30","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Fabrication partner deleted successfully"},"404":{"description":"Fabrication partner not found"}}},"patch":{"tags":["Fabrication Partners"],"summary":"Update a fabrication partner","description":"Partially updates an existing fabrication partner","operationId":"update_37","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FabricationPartner"}}},"required":true},"responses":{"404":{"description":"Fabrication partner not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}},"200":{"description":"Fabrication partner updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationPartner"}}}}}}},"/api/v1/fabrication-orders/{id}":{"get":{"tags":["Fabrication Orders"],"summary":"Get fabrication order by ID","description":"Retrieves a single fabrication order by its unique identifier","operationId":"getById_30","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fabrication order found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}},"404":{"description":"Fabrication order not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}}}},"delete":{"tags":["Fabrication Orders"],"summary":"Delete a fabrication order","description":"Deletes a fabrication order by its unique identifier","operationId":"delete_31","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Fabrication order not found"},"204":{"description":"Fabrication order deleted successfully"}}},"patch":{"tags":["Fabrication Orders"],"summary":"Update a fabrication order","description":"Partially updates an existing fabrication order","operationId":"update_38","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FabricationOrder"}}},"required":true},"responses":{"404":{"description":"Fabrication order not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}},"200":{"description":"Fabrication order updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFabricationOrder"}}}}}}},"/api/v1/experiments/{id}":{"get":{"tags":["Experiments"],"summary":"Get experiment by ID","description":"Returns a single experiment by its unique identifier","operationId":"getById_31","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}},"delete":{"tags":["Experiments"],"summary":"Delete an experiment","description":"Permanently deletes an experiment by its unique identifier","operationId":"delete_32","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Experiments"],"summary":"Update an experiment","description":"Partially updates an existing experiment","operationId":"update_39","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Experiment"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}}},"/api/v1/experiments/{id}/start":{"patch":{"tags":["Experiments"],"summary":"Start an experiment","description":"Sets experiment status to running and records the start time","operationId":"start","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}}},"/api/v1/experiments/{id}/complete":{"patch":{"tags":["Experiments"],"summary":"Complete an experiment","description":"Sets experiment status to completed with an optional conclusion","operationId":"complete_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}}},"/api/v1/experiments/{id}/cancel":{"patch":{"tags":["Experiments"],"summary":"Cancel an experiment","description":"Sets experiment status to cancelled and records the end time","operationId":"cancel_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExperiment"}}}}}}},"/api/v1/epic-threads/by-epic/{epicId}/status":{"patch":{"tags":["Epic Threads"],"summary":"Update the status of an epic's elaboration thread","operationId":"updateStatus","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEpicThread"}}}}}}},"/api/v1/environment-health/{id}":{"get":{"tags":["environment-health-check-controller"],"operationId":"getEnvironmentHealthCheckById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironmentHealthCheck"}}}}}},"delete":{"tags":["environment-health-check-controller"],"operationId":"deleteEnvironmentHealthCheck","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["environment-health-check-controller"],"operationId":"updateEnvironmentHealthCheck","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentHealthCheck"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEnvironmentHealthCheck"}}}}}}},"/api/v1/documents/{id}":{"get":{"tags":["Knowledge Documents"],"operationId":"getById_33","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}},"delete":{"tags":["Knowledge Documents"],"operationId":"delete_34","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Knowledge Documents"],"operationId":"update_40","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeDocument"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/documents/{id}/archive":{"patch":{"tags":["Knowledge Documents"],"summary":"Archive a document","operationId":"archive_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKnowledgeDocument"}}}}}}},"/api/v1/devices/{id}":{"get":{"tags":["Devices"],"summary":"Get device by ID","description":"Retrieves a single device by its unique identifier","operationId":"getById_34","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Device found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}}}},"delete":{"tags":["Devices"],"summary":"Delete a device","description":"Removes a device from the registry","operationId":"delete_36","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Device deleted successfully"},"404":{"description":"Device not found"}}},"patch":{"tags":["Devices"],"summary":"Update a device","description":"Partially updates an existing device registration","operationId":"update_41","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}}},"required":true},"responses":{"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}},"200":{"description":"Device updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDevice"}}}}}}},"/api/v1/device-jobs/{id}":{"get":{"tags":["Device Jobs"],"summary":"Get device job by ID","description":"Retrieves a single device job by its unique identifier","operationId":"getById_35","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Device job not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}},"200":{"description":"Device job found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}}}},"delete":{"tags":["Device Jobs"],"summary":"Delete a device job","description":"Removes a device job from the system","operationId":"delete_37","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Device job deleted successfully"},"404":{"description":"Device job not found"}}},"patch":{"tags":["Device Jobs"],"summary":"Update a device job","description":"Partially updates an existing device job (e.g. status)","operationId":"update_42","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceJob"}}},"required":true},"responses":{"200":{"description":"Device job updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}},"404":{"description":"Device job not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceJob"}}}}}}},"/api/v1/device-farm-test-runs/{id}":{"get":{"tags":["device-farm-test-run-controller"],"operationId":"getById_36","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmTestRun"}}}}}},"delete":{"tags":["device-farm-test-run-controller"],"operationId":"delete_38","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["device-farm-test-run-controller"],"operationId":"update_43","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceFarmTestRun"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmTestRun"}}}}}}},"/api/v1/device-farm-configs/{id}":{"get":{"tags":["device-farm-config-controller"],"operationId":"getDeviceFarmConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmConfig"}}}}}},"delete":{"tags":["device-farm-config-controller"],"operationId":"deleteDeviceFarmConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["device-farm-config-controller"],"operationId":"updateDeviceFarmConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceFarmConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeviceFarmConfig"}}}}}}},"/api/v1/design-reviews/{id}":{"get":{"tags":["Design Reviews"],"operationId":"getById_37","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDesignReview"}}}}}},"patch":{"tags":["Design Reviews"],"operationId":"update_44","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesignReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDesignReview"}}}}}}},"/api/v1/defects/{id}/status":{"patch":{"tags":["defect-controller"],"operationId":"updateStatus_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/v1/defects/{id}/assign":{"patch":{"tags":["defect-controller"],"operationId":"assignDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/v1/crash-reports/{id}":{"get":{"tags":["crash-report-controller"],"operationId":"getById_40","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCrashReport"}}}}}},"delete":{"tags":["crash-report-controller"],"operationId":"delete_41","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["crash-report-controller"],"operationId":"update_45","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrashReport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCrashReport"}}}}}}},"/api/v1/compliance-checklists/{id}/items/{itemIndex}":{"patch":{"tags":["compliance-checklist-controller"],"operationId":"updateItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemIndex","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseComplianceChecklist"}}}}}}},"/api/v1/code-reviews/{id}":{"get":{"tags":["code-review-controller"],"operationId":"getCodeReviewById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeReview"}}}}}},"delete":{"tags":["code-review-controller"],"operationId":"deleteCodeReview","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["code-review-controller"],"operationId":"updateCodeReview","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeReview"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeReview"}}}}}}},"/api/v1/build-propagations/{id}":{"get":{"tags":["build-propagation-controller"],"operationId":"getBuildPropagationById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildPropagation"}}}}}},"delete":{"tags":["build-propagation-controller"],"operationId":"deleteBuildPropagation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["build-propagation-controller"],"operationId":"updateBuildPropagation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildPropagation"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildPropagation"}}}}}}},"/api/v1/build-artifacts/{id}":{"get":{"tags":["build-artifact-controller"],"operationId":"getBuildArtifactById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildArtifact"}}}}}},"delete":{"tags":["build-artifact-controller"],"operationId":"deleteBuildArtifact","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["build-artifact-controller"],"operationId":"updateBuildArtifact","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildArtifact"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBuildArtifact"}}}}}}},"/api/v1/bom/{id}":{"get":{"tags":["BOM"],"summary":"Get BOM item by ID","description":"Retrieves a single BOM item by its unique identifier","operationId":"getById_43","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"BOM item found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}},"404":{"description":"BOM item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}}}},"delete":{"tags":["BOM"],"summary":"Delete a BOM item","description":"Deletes a BOM item by its unique identifier","operationId":"delete_44","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"BOM item not found"},"204":{"description":"BOM item deleted successfully"}}},"patch":{"tags":["BOM"],"summary":"Update a BOM item","description":"Partially updates an existing BOM item","operationId":"update_46","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BOMItem"}}},"required":true},"responses":{"404":{"description":"BOM item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}},"200":{"description":"BOM item updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBOMItem"}}}}}}},"/api/v1/billing/organizations/{orgId}/payment-methods/{id}/default":{"patch":{"tags":["Payment Methods"],"summary":"Set default payment method","description":"Sets a payment method as the default for the organization","operationId":"setDefaultPaymentMethod","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Payment method not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}},"200":{"description":"Default payment method updated","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}}}}},"/api/v1/backlog/{id}/status":{"patch":{"tags":["Backlog Items"],"summary":"Update backlog item status","description":"Transitions a backlog item to a new status. Supports forward and forced backward transitions for workflow flexibility.","operationId":"updateStatus_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"404":{"description":"Backlog item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"200":{"description":"Status updated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"400":{"description":"Invalid status transition","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog/{id}/quality-gate":{"patch":{"tags":["Backlog Items"],"summary":"Update quality gate results","operationId":"updateQualityGate_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog/{id}/merge-policy":{"patch":{"tags":["Backlog merge"],"summary":"Set or clear the merge-policy override on an epic, feature or story (owner/admin)","operationId":"setMergePolicy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog/{id}/implementation-plan":{"patch":{"tags":["Backlog Items"],"summary":"Update implementation plan","operationId":"updateImplementationPlan","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/backlog-imports/{id}":{"get":{"tags":["backlog-import-controller"],"operationId":"getBacklogImportById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogImport"}}}}}},"delete":{"tags":["backlog-import-controller"],"operationId":"deleteBacklogImport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["backlog-import-controller"],"operationId":"updateBacklogImport","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogImport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogImport"}}}}}}},"/api/v1/assembly-instructions/{id}":{"get":{"tags":["Assembly Instructions"],"summary":"Get assembly instruction by ID","operationId":"getById_44","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAssemblyInstruction"}}}}}},"delete":{"tags":["Assembly Instructions"],"summary":"Delete an assembly instruction","operationId":"delete_45","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Assembly Instructions"],"summary":"Update an assembly instruction","operationId":"update_47","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssemblyInstruction"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAssemblyInstruction"}}}}}}},"/api/v1/architecture/value-streams/{id}":{"get":{"tags":["Value Streams"],"operationId":"getById_45","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseValueStream"}}}}}},"delete":{"tags":["Value Streams"],"operationId":"delete_46","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Value Streams"],"operationId":"update_48","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValueStream"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseValueStream"}}}}}}},"/api/v1/architecture/standards/{id}":{"get":{"tags":["Technology Standards"],"operationId":"getById_46","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyStandard"}}}}}},"delete":{"tags":["Technology Standards"],"operationId":"delete_47","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Technology Standards"],"operationId":"update_49","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyStandard"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyStandard"}}}}}}},"/api/v1/architecture/reference-architectures/{id}":{"get":{"tags":["Reference Architectures"],"operationId":"getById_47","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReferenceArchitecture"}}}}}},"delete":{"tags":["Reference Architectures"],"operationId":"delete_48","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Reference Architectures"],"operationId":"update_50","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceArchitecture"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReferenceArchitecture"}}}}}}},"/api/v1/architecture/radar/{id}":{"get":{"tags":["Technology Radar"],"operationId":"getById_48","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyRadarEntry"}}}}}},"delete":{"tags":["Technology Radar"],"operationId":"delete_49","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Technology Radar"],"operationId":"update_51","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyRadarEntry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTechnologyRadarEntry"}}}}}}},"/api/v1/architecture/principles/{id}":{"get":{"tags":["Architecture Principles"],"operationId":"getById_49","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitecturePrinciple"}}}}}},"delete":{"tags":["Architecture Principles"],"operationId":"delete_50","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Architecture Principles"],"operationId":"update_52","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitecturePrinciple"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitecturePrinciple"}}}}}}},"/api/v1/architecture/diagrams/{id}":{"get":{"tags":["Architecture Diagrams"],"operationId":"getById_50","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}},"delete":{"tags":["Architecture Diagrams"],"operationId":"delete_52","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Architecture Diagrams"],"operationId":"update_53","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureDiagram"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}},"deprecated":true}},"/api/v1/architecture/decisions/{id}":{"get":{"tags":["Architecture Decisions"],"operationId":"getById_51","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDecision"}}}}}},"delete":{"tags":["Architecture Decisions"],"operationId":"delete_53","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Architecture Decisions"],"operationId":"update_54","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureDecision"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDecision"}}}}}}},"/api/v1/architecture/components/{id}":{"get":{"tags":["Architecture Components"],"operationId":"getById_52","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureComponent"}}}}}},"delete":{"tags":["Architecture Components"],"operationId":"delete_54","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Architecture Components"],"operationId":"update_55","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchitectureComponent"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureComponent"}}}}}}},"/api/v1/architecture/capabilities/{id}":{"get":{"tags":["Business Capabilities"],"operationId":"getById_53","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBusinessCapability"}}}}}},"delete":{"tags":["Business Capabilities"],"operationId":"delete_55","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["Business Capabilities"],"operationId":"update_56","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessCapability"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBusinessCapability"}}}}}}},"/api/v1/app-store-configs/{id}":{"get":{"tags":["app-store-config-controller"],"operationId":"getAppStoreConfigById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppStoreConfig"}}}}}},"delete":{"tags":["app-store-config-controller"],"operationId":"deleteAppStoreConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["app-store-config-controller"],"operationId":"updateAppStoreConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppStoreConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppStoreConfig"}}}}}}},"/api/v1/apm-integrations/{id}":{"get":{"tags":["apm-integration-controller"],"operationId":"getById_54","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPMIntegration"}}}}}},"delete":{"tags":["apm-integration-controller"],"operationId":"delete_56","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["apm-integration-controller"],"operationId":"update_57","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APMIntegration"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPMIntegration"}}}}}}},"/api/v1/api-test-definitions/{id}":{"get":{"tags":["api-test-definition-controller"],"operationId":"getApiTestDefinitionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseApiTestDefinition"}}}}}},"delete":{"tags":["api-test-definition-controller"],"operationId":"deleteApiTestDefinition","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["api-test-definition-controller"],"operationId":"updateApiTestDefinition","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTestDefinition"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseApiTestDefinition"}}}}}}},"/api/v1/api-keys/{id}":{"get":{"tags":["api-key-controller"],"operationId":"getAPIKeyById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPIKey"}}}}}},"delete":{"tags":["api-key-controller"],"operationId":"deleteAPIKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["api-key-controller"],"operationId":"updateAPIKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKey"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAPIKey"}}}}}}},"/api/v1/alert-rules/{id}":{"get":{"tags":["alert-rule-controller"],"operationId":"getAlertRuleById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAlertRule"}}}}}},"delete":{"tags":["alert-rule-controller"],"operationId":"deleteAlertRule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["alert-rule-controller"],"operationId":"updateAlertRule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRule"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAlertRule"}}}}}}},"/api/v1/agent-tasks/{id}":{"get":{"tags":["Agent Tasks"],"summary":"Get agent task by ID","description":"Returns a single agent task by its unique identifier","operationId":"getById_55","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentTask"}}}}}},"patch":{"tags":["Agent Tasks"],"summary":"Update an agent task","description":"Partially updates an existing agent task","operationId":"update_58","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTask"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentTask"}}}}}}},"/api/v1/agent-sessions/{id}":{"get":{"tags":["Agent Sessions"],"summary":"Get agent session by ID","description":"Returns a single agent session by its unique identifier","operationId":"getById_56","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentSession"}}}}}},"patch":{"tags":["Agent Sessions"],"summary":"Update an agent session","description":"Updates session fields such as status, endedAt, outputsSummary, messageCount, totalTokensUsed","operationId":"update_59","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSession"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentSession"}}}}}}},"/api/v1/agent-instances/{id}":{"get":{"tags":["Agent Instances"],"summary":"Get agent instance by ID","description":"Returns a single agent instance by its unique identifier","operationId":"getById_57","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}},"patch":{"tags":["Agent Instances"],"summary":"Partial update an agent instance","description":"Partially updates an existing agent instance","operationId":"update_60","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInstance"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}}},"/api/v1/agent-instances/{id}/status":{"patch":{"tags":["Agent Instances"],"summary":"Update agent instance status","description":"Updates the status of an agent instance, with optional decommission reason","operationId":"updateStatus_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentInstance"}}}}}}},"/api/v1/agent-handoffs/{id}/reject":{"patch":{"tags":["Agent Handoffs"],"summary":"Reject an agent handoff","description":"Marks a pending handoff as rejected by the target agent","operationId":"reject_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentHandoff"}}}}}}},"/api/v1/agent-handoffs/{id}/complete":{"patch":{"tags":["Agent Handoffs"],"summary":"Complete an agent handoff","description":"Marks an accepted handoff as completed","operationId":"complete_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentHandoff"}}}}}}},"/api/v1/agent-handoffs/{id}/accept":{"patch":{"tags":["Agent Handoffs"],"summary":"Accept an agent handoff","description":"Marks a pending handoff as accepted by the target agent","operationId":"accept","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentHandoff"}}}}}}},"/api/external/v1/defects/{id}":{"patch":{"tags":["External - Defects"],"summary":"Update defect status","description":"Updates the status of a defect. Request body should contain a 'status' field. Valid transitions are enforced (e.g., open -> assigned, in_progress -> resolved).","operationId":"updateDefectStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}},"required":true},"responses":{"400":{"description":"Invalid status transition","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}},"200":{"description":"Defect status updated","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}},"404":{"description":"Defect not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDefect"}}}}}}},"/api/external/v1/backlog/{id}":{"delete":{"tags":["External - Backlog"],"summary":"Delete a backlog item","description":"Permanently deletes a backlog item by its ID.","operationId":"deleteBacklogItem_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Backlog item deleted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"404":{"description":"Backlog item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}},"patch":{"tags":["External - Backlog"],"summary":"Update a backlog item","description":"Partially updates a backlog item. Only provided fields are updated.","operationId":"updateBacklogItem_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogItem"}}},"required":true},"responses":{"404":{"description":"Backlog item not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"200":{"description":"Backlog item updated","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBacklogItem"}}}}}}},"/api/v1/users":{"get":{"tags":["Users"],"summary":"List users","description":"Retrieves users within an organization. Requires organizationId query parameter and org membership.","operationId":"getAllUsers","parameters":[{"name":"organizationId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Users retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUserResponse"}}}}}}},"/api/v1/usage/summary":{"get":{"tags":["usage-controller"],"operationId":"getUsageSummary","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"billingPeriod","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUsageSummary"}}}}}}},"/api/v1/usage/limits":{"get":{"tags":["usage-controller"],"operationId":"getPlanLimits","parameters":[{"name":"planTier","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePlanLimit"}}}}}}},"/api/v1/usage/events":{"get":{"tags":["usage-controller"],"operationId":"getUsageEvents","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"billingPeriod","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListUsageEvent"}}}}}}},"/api/v1/usage/check":{"get":{"tags":["usage-controller"],"operationId":"checkLimit","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"dimension","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUsageLimitCheck"}}}}}}},"/api/v1/usage/budget-status":{"get":{"tags":["usage-controller"],"operationId":"getBudgetStatus","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"dimension","in":"query","required":false,"schema":{"type":"string","default":"ai_tokens"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBudgetStatus"}}}}}}},"/api/v1/test-traceability/summary":{"get":{"tags":["test-traceability-controller"],"operationId":"getCoverageSummary","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/test-suites/module/{moduleId}":{"get":{"tags":["test-suite-controller"],"operationId":"getTestSuitesByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestSuite"}}}}}}},"/api/v1/test-schedules/due":{"get":{"tags":["test-schedule-controller"],"operationId":"getDueSchedules","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/test-runs/{id}":{"get":{"tags":["test-run-controller"],"operationId":"getTestRunById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestRun"}}}}}},"delete":{"tags":["test-run-controller"],"operationId":"deleteTestRun","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/test-runs/test-suite/{testSuiteId}":{"get":{"tags":["test-run-controller"],"operationId":"getTestRunsByTestSuiteId","parameters":[{"name":"testSuiteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestRun"}}}}}}},"/api/v1/test-runs/module/{moduleId}":{"get":{"tags":["test-run-controller"],"operationId":"getTestRunsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestRun"}}}}}}},"/api/v1/test-runs/engine/test-plans":{"get":{"tags":["test-run-controller"],"operationId":"listTestPlans","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/test-runs/engine/health":{"get":{"tags":["test-run-controller"],"operationId":"engineHealth","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/test-cases/suite/{suiteId}":{"get":{"tags":["test-case-controller"],"operationId":"getBySuite","parameters":[{"name":"suiteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestCase"}}}}}}},"/api/v1/targets/module/{moduleId}":{"get":{"tags":["target-controller"],"operationId":"getTargetsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTarget"}}}}}}},"/api/v1/sso-configs/{id}/metadata":{"get":{"tags":["sso-config-controller"],"operationId":"getMetadata","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/sso-configs/organization/{organizationId}":{"get":{"tags":["sso-config-controller"],"operationId":"getByOrganizationId","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSSOConfig"}}}}}}},"/api/v1/secret-rotations/organization/{organizationId}":{"get":{"tags":["secret-rotation-controller"],"operationId":"getByOrganizationId_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSecretRotation"}}}}}}},"/api/v1/secret-rotations/due":{"get":{"tags":["secret-rotation-controller"],"operationId":"getDueForRotation","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSecretRotation"}}}}}}},"/api/v1/search":{"get":{"tags":["Search"],"summary":"Scope-aware search","description":"Full-text (and, where the Atlas vector index exists, semantic) search over documents, diagrams and registry entries. The ACL pre-filter is built server-side from the caller's memberships. `mode` reports which retrieval path answered: `atlas`, `text-fallback` or `regex-fallback`. Deprecated and retired sources are excluded unless `includeRetired=true`.","operationId":"search","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"kinds","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"includeRetired","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSearchResults"}}}}}}},"/api/v1/scm/repos/{moduleId}":{"get":{"tags":["scm-proxy-controller"],"operationId":"getRepo","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/repos/{moduleId}/prs":{"get":{"tags":["scm-proxy-controller"],"operationId":"listPullRequests","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/scm/repos/{moduleId}/clone-url":{"get":{"tags":["scm-proxy-controller"],"operationId":"cloneUrl","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/sap-environments/{id}/health":{"get":{"tags":["sap-environment-controller"],"operationId":"getHealthStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/sap-deployments/history":{"get":{"tags":["sap-deployment-controller"],"operationId":"getDeploymentHistory","parameters":[{"name":"environmentId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSapDeployment"}}}}}}},"/api/v1/sap-defect-types/categories":{"get":{"tags":["sap-defect-type-controller"],"operationId":"getCategories","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListString"}}}}}}},"/api/v1/sap-builds/{id}/logs":{"get":{"tags":["sap-build-controller"],"operationId":"getBuildLogs","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/ratings":{"get":{"tags":["contributor-rating-controller"],"operationId":"getRatings","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}},{"name":"role","in":"query","required":false,"schema":{"type":"string"}},{"name":"timeWindow","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListContributorRating"}}}}}}},"/api/v1/ratings/{userId}/history":{"get":{"tags":["contributor-rating-controller"],"operationId":"getRatingHistory","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListContributorRating"}}}}}}},"/api/v1/ratings/leaderboard":{"get":{"tags":["contributor-rating-controller"],"operationId":"getLeaderboard","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"role","in":"query","required":false,"schema":{"type":"string"}},{"name":"timeWindow","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListContributorRating"}}}}}}},"/api/v1/rate-limit-configs/organization/{organizationId}":{"get":{"tags":["rate-limit-config-controller"],"operationId":"getByOrganizationId_2","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRateLimitConfig"}}}}}}},"/api/v1/rate-limit-configs/check":{"get":{"tags":["rate-limit-config-controller"],"operationId":"checkRateLimit","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"targetType","in":"query","required":true,"schema":{"type":"string"}},{"name":"targetId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/products/{wsId}/ai-sessions/latest":{"get":{"tags":["AI Sessions"],"summary":"Get the latest AI session of a type","description":"Returns the most recent session of the given type for a product — the grounding path for the product assistant (e.g. the product creation wizard conversation and its summary). `data` is null when the product has none.","operationId":"getLatestSession","parameters":[{"name":"wsId","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionType","in":"query","required":true,"schema":{"type":"string","enum":["ARCHITECTURE","BACKLOG","CODE_GEN","TEST_GEN","REVIEW","PRODUCT_WIZARD"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAISession"}}}}}}},"/api/v1/products/{id}/maturity":{"get":{"tags":["product-controller"],"operationId":"getMaturity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/products/owner/{ownerId}":{"get":{"tags":["product-controller"],"operationId":"getProductsByOwnerId","parameters":[{"name":"ownerId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProduct"}}}}}}},"/api/v1/products/member/{memberId}":{"get":{"tags":["product-controller"],"operationId":"getProductsByMemberId","parameters":[{"name":"memberId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListProduct"}}}}}}},"/api/v1/product-storage/files":{"get":{"tags":["Product Storage"],"summary":"List files in product","operationId":"listFiles","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"branch","in":"query","required":true,"schema":{"type":"string"}},{"name":"path","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/v1/orgs/{orgId}/vendors":{"get":{"tags":["Vendor consultants"],"summary":"List the organization's vendor consultants","description":"Pending invitations and principals. With moduleId, only active consultants engaged on that module — what the squad picker lists.","operationId":"list_9","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListVendorConsultantSummary"}}}}}}},"/api/v1/orgs/{orgId}/vendors/me":{"get":{"tags":["Vendor consultants"],"summary":"The caller's own vendor engagement","description":"vendor=false for an ordinary member. For a vendor consultant: the modules and window, plus the product and module names its shell may render.","operationId":"me","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVendorSelfView"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/versions":{"get":{"tags":["Registry"],"summary":"Version history of a registry entry","operationId":"versions","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRegistryEntryVersion"}}}}}}},"/api/v1/orgs/{orgId}/registry/{kind}/{id}/versions/{version}":{"get":{"tags":["Registry"],"summary":"One version of a registry entry","operationId":"version","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntryVersion"}}}}}}},"/api/v1/orgs/{orgId}/registry/summary":{"get":{"tags":["Registry"],"summary":"Registry summary","description":"Counts per kind and lifecycle, the org's governance level, and the lifecycle a self-registered entry gets at that level (S203).","operationId":"summary","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistrySummary"}}}}}}},"/api/v1/orgs/{orgId}/products/{productId}/constraints":{"get":{"tags":["Governance"],"summary":"The constraints effective on a product","description":"Principles, standards and policies in force for a build of this product or one of its modules (approved or active, scope reaching it), gates first; a gate carries the in-force dispensations that reach the product and reads advisory when they cover all of it.","operationId":"effective","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEffectiveConstraint"}}}}}}},"/api/v1/orgs/{orgId}/principals":{"get":{"tags":["Control plane — principals"],"summary":"List the organization's principals","description":"Every identity that can act in this org: users, agent instances and registered service principals. Filter by type, control-plane status or team.","operationId":"list_12","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListPrincipalSummary"}}}}}}},"/api/v1/orgs/{orgId}/principals/{principalId}":{"get":{"tags":["Control plane — principals"],"summary":"One principal","operationId":"get_3","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePrincipalSummary"}}}}}}},"/api/v1/orgs/{orgId}/principals/{principalId}/effective-profile":{"get":{"tags":["Control plane — principals"],"summary":"The principal's effective profile","description":"The resolution chain (§14.1): the direct profile if one is assigned, its teams' defaults, and the org-wide bindings that always apply — merged most-restrictively, with the source of every resulting rule.","operationId":"effectiveProfile","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEffectiveProfile"}}}}}}},"/api/v1/orgs/{orgId}/lineage":{"get":{"tags":["Lineage"],"summary":"Walk the lineage graph around one node","description":"node is document:<id> | registry:<kind>:<id> | backlog:<id> | pr:<url> | deployment:<id> | principal:<id>. depth defaults to 3 and is capped at 5; the graph is capped at 200 nodes and says `truncated` when a cap stopped it.","operationId":"lineage","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"node","in":"query","required":true,"schema":{"type":"string"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLineageGraph"}}}}}}},"/api/v1/orgs/{orgId}/jobs/approvals":{"get":{"tags":["job-approval-proxy-controller"],"operationId":"listApprovals","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/v1/orgs/{orgId}/governance/risk-classes":{"get":{"tags":["Governance checkpoints"],"summary":"The risk classification of each action class","operationId":"riskClassesRoute","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMapStringString"}}}}}}},"/api/v1/orgs/{orgId}/governance/checkpoints/{id}":{"get":{"tags":["Governance checkpoints"],"summary":"Get one governance checkpoint","operationId":"get_4","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/v1/orgs/{orgId}/control-plane/status":{"get":{"tags":["Control plane"],"summary":"Control-plane status for an org (and optionally one module)","description":"policyMode: live | degraded (a real decision by the policy decision point, degraded when its evaluation failed and it fell back to a fail-closed deny); blockingDispensations: the expired dispensations that block builds for moduleId (empty when no moduleId); activeKills: the org's active kill switches.","operationId":"get_6","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseControlPlaneStatusView"}}}}}}},"/api/v1/orgs/{orgId}/control-plane/status/overview":{"get":{"tags":["Control plane"],"summary":"Control-plane overview: enforcement points, lifecycle counts, sweeps (S512)","description":"The eight §4.5 enforcement points with today's decision / denied / require-approval counts read from audit_events; the registry lifecycle histogram with open checkpoints and dispensation counts; the platform sweeps' last runs; the org's audit retention. Org member. Tenancy is bound in ControlPlaneOverviewService.overview.","operationId":"overview","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseControlPlaneOverviewView"}}}}}}},"/api/v1/orgs/{orgId}/budgets/usage":{"get":{"tags":["Budgets"],"summary":"Spent versus limit at every level of the org's hierarchy","operationId":"usage","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBudgetUsageResponse"}}}}}}},"/api/v1/orgs/{orgId}/backlog/{itemId}/squad":{"get":{"tags":["Squads"],"summary":"The squad assigned to a backlog item","operationId":"get_8","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSquad"}}}}}}},"/api/v1/orgs/{orgId}/backlog/{itemId}/squad/availability":{"get":{"tags":["Squads"],"summary":"Whether every agent member of the item's squad can still work it (S192)","description":"A confirmed squad is re-validated before it is reused for a build: a member that is gone, decommissioned, offline, out of scope, or at capacity on other work is named.","operationId":"availability","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAvailability"}}}}}}},"/api/v1/orgs/{orgId}/audit-events":{"get":{"tags":["Audit events"],"summary":"List audit events","description":"Newest first. Filters are exact except `action`, which may be a family prefix ending in `*`. Page with `before` = the returned `nextBefore`.","operationId":"list_15","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"query","required":false,"schema":{"type":"string"}},{"name":"principalType","in":"query","required":false,"schema":{"type":"string"}},{"name":"action","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceType","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string"}},{"name":"trigger","in":"query","required":false,"schema":{"type":"string"}},{"name":"emitter","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/orgs/{orgId}/audit-events/resource":{"get":{"tags":["Audit events"],"summary":"Audit events about one resource","description":"The node's own trail, newest first.","operationId":"forResource","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAuditEvent"}}}}}}},"/api/v1/orgs/{orgId}/audit-events/export.csv":{"get":{"tags":["Audit events"],"summary":"Export audit events as CSV","description":"Organization owner or admin only. Same filters as the list; up to 1000 rows per call.","operationId":"exportCsv","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"query","required":false,"schema":{"type":"string"}},{"name":"principalType","in":"query","required":false,"schema":{"type":"string"}},{"name":"action","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceType","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string"}},{"name":"trigger","in":"query","required":false,"schema":{"type":"string"}},{"name":"emitter","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string"}}}}}}},"/api/v1/orgs/{orgId}/agents/pool":{"get":{"tags":["Agent pool"],"summary":"List the org's agent instances with live state","description":"Filters: definitionKey (registry key or bare type), state (idle|busy|offline|decommissioned), scopeType (org|product|module) + scopeId.","operationId":"list_16","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"definitionKey","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":false,"schema":{"type":"string"}},{"name":"scopeId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentPoolInstanceView"}}}}}}},"/api/v1/orgs/{orgId}/agents/pool/{id}":{"get":{"tags":["Agent pool"],"summary":"One instance with its activity feed (audit events)","operationId":"get_9","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentPoolInstanceView"}}}}}}},"/api/v1/organizations/user/{userId}":{"get":{"tags":["Organizations"],"operationId":"getOrganizationsByUserId","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListOrganization"}}}}}}},"/api/v1/organizations/slug/{slug}":{"get":{"tags":["Organizations"],"operationId":"getOrganizationBySlug","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}}},"/api/v1/org-templates":{"get":{"tags":["Org templates"],"summary":"List the org templates (industry, governance level, model policy, agent pool, skills, frameworks)","operationId":"list_17","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/notifications":{"get":{"tags":["notification-controller"],"operationId":"getNotifications","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListNotification"}}}}}}},"/api/v1/notifications/unread/count":{"get":{"tags":["notification-controller"],"operationId":"getUnreadCount","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringLong"}}}}}}},"/api/v1/modules/product/{productId}":{"get":{"tags":["Modules"],"summary":"List modules by product","description":"Retrieves all modules belonging to a specific product","operationId":"getModulesByProductId","parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Modules retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListModule"}}}}}}},"/api/v1/models-3d/{id}/versions":{"get":{"tags":["3D Models"],"summary":"Get version history","description":"Retrieves the full version history chain for a 3D model","operationId":"getVersionHistory","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Version history retrieved successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListModel3D"}}}},"404":{"description":"3D model not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListModel3D"}}}}}}},"/api/v1/models-3d/{id}/download":{"get":{"tags":["3D Models"],"summary":"Download 3D model file","description":"Streams the 3D model file as a binary download with content-disposition header","operationId":"download","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"3D model or file not found","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"200":{"description":"File download started","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/v1/mission-control/products/{productId}/active":{"get":{"tags":["Mission Control"],"summary":"List active squads for a product (non-done epic threads joined to epic + merge group)","operationId":"getActiveSquads","parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListActiveSquad"}}}}}}},"/api/v1/merge-groups/by-epic/{epicId}":{"get":{"tags":["Merge Groups"],"summary":"Get or create the merge group for an epic","operationId":"getByEpic","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMergeGroup"}}}}}}},"/api/v1/mcp/catalog":{"get":{"tags":["MCP"],"summary":"The Tangigo MCP catalog","description":"Curated MCP servers (GitHub, Google Cloud, AWS, Stripe, Shopify, Jira, Confluence, Datadog, Slack, Postgres). Platform-wide, identical for every org. Tool counts are indicative — the real set comes from discovery.","operationId":"catalog","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/load-test-results/{id}":{"get":{"tags":["load-test-result-controller"],"operationId":"getById_16","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLoadTestResult"}}}}}},"delete":{"tags":["load-test-result-controller"],"operationId":"delete_20","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/learn/items":{"get":{"tags":["Learn"],"summary":"List Learn-generated backlog items","description":"Returns backlog items auto-created by the Learn loop (source=\"learn\"), scoped to a module (moduleId) or an entire organization (orgId). Each item carries source=\"learn\" and generatedFromSignal for badging/filtering.","operationId":"listLearnItems","parameters":[{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"orgId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}}}}},"/api/v1/kubernetes-configs/{id}/workloads":{"get":{"tags":["kubernetes-config-controller"],"operationId":"getWorkloads","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/kubernetes-configs/organization/{organizationId}":{"get":{"tags":["kubernetes-config-controller"],"operationId":"getByOrganizationId_3","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKubernetesConfig"}}}}}}},"/api/v1/kpi/summary":{"get":{"tags":["KPI"],"summary":"Get aggregated KPI summary","operationId":"getSummary","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"serviceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"teamId","in":"query","required":false,"schema":{"type":"string"}},{"name":"cycleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"releaseId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKpiSummaryResponse"}}}}}}},"/api/v1/ip-allowlists/organization/{organizationId}":{"get":{"tags":["ip-allowlist-controller"],"operationId":"getByOrganizationId_4","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListIPAllowlist"}}}}}}},"/api/v1/integrations/jira-sync/{id}/status":{"get":{"tags":["jira-sync-config-controller"],"operationId":"getSyncStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/integrations/jira-sync/{id}/logs":{"get":{"tags":["jira-sync-config-controller"],"operationId":"getSyncLogs","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/iac-templates/organization/{organizationId}":{"get":{"tags":["ia-c-template-controller"],"operationId":"getByOrganizationId_5","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListIaCTemplate"}}}}}}},"/api/v1/iac-templates/module/{moduleId}":{"get":{"tags":["ia-c-template-controller"],"operationId":"getByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListIaCTemplate"}}}}}}},"/api/v1/help/articles/{slug}/stats":{"get":{"tags":["Help Articles"],"summary":"Get article interaction stats","operationId":"getArticleStats","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/governance/log":{"get":{"tags":["Governance Log"],"operationId":"list_23","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGovernanceLogEntry"}}}}}}},"/api/v1/governance/dispensations/{id}":{"get":{"tags":["Dispensations (legacy facade)"],"operationId":"getById_22","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDispensation"}}}}}}},"/api/v1/gdpr-requests/{id}":{"get":{"tags":["GDPR Requests"],"operationId":"getById_25","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/organization/{organizationId}":{"get":{"tags":["GDPR Requests"],"operationId":"getByOrganizationId_6","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGDPRRequest"}}}}}}},"/api/v1/gdpr-requests/export/{userId}/preview":{"get":{"tags":["GDPR Requests"],"summary":"Preview user data for export","description":"Returns a summary of all data that would be included in a GDPR export for the specified user, without creating a request.","operationId":"previewExport","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/gdpr-requests/export/{userId}/download":{"get":{"tags":["GDPR Requests"],"summary":"Download user data export","description":"Collects and returns all user data as a downloadable JSON file for GDPR data portability compliance.","operationId":"downloadExport","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/v1/gcode-files/{id}":{"get":{"tags":["GCode Files"],"summary":"Get GCode file by ID","description":"Retrieves a single GCode file by its unique identifier","operationId":"getById_26","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"GCode file found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}},"404":{"description":"GCode file not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGCodeFile"}}}}}},"delete":{"tags":["GCode Files"],"summary":"Delete a GCode file","description":"Deletes a GCode file by its unique identifier","operationId":"delete_27","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"GCode file deleted successfully"},"404":{"description":"GCode file not found"}}}},"/api/v1/gcode-files/{id}/download":{"get":{"tags":["GCode Files"],"summary":"Download a GCode file","description":"Downloads the raw GCode file bytes as an octet stream","operationId":"download_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"GCode file not found or no data available","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"200":{"description":"GCode file downloaded successfully","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/v1/flaky-tests/summary":{"get":{"tags":["flaky-test-record-controller"],"operationId":"getFlakinessSummary","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/feedback/by-defect/{defectId}":{"get":{"tags":["feedback-item-controller"],"operationId":"getFeedbackItemsByDefect","parameters":[{"name":"defectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListFeedbackItem"}}}}}}},"/api/v1/feature-flags/evaluate":{"get":{"tags":["Feature Flags"],"summary":"Evaluate a feature flag","description":"Evaluates a feature flag by its key within a module context. Used by clients to check whether a feature is enabled.","operationId":"evaluateFlag","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Feature flag not found for the given module and key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}},"200":{"description":"Feature flag evaluated successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFeatureFlag"}}}}}}},"/api/v1/epic-threads/by-epic/{epicId}":{"get":{"tags":["Epic Threads"],"summary":"Get or create the elaboration thread for an epic","operationId":"getByEpic_1","parameters":[{"name":"epicId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEpicThread"}}}}}}},"/api/v1/environments/module/{moduleId}":{"get":{"tags":["environment-controller"],"operationId":"getEnvironmentsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEnvironment"}}}}}}},"/api/v1/environment-health/by-environment/{environmentId}":{"get":{"tags":["environment-health-check-controller"],"operationId":"getEnvironmentHealthChecksByEnvironmentId","parameters":[{"name":"environmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEnvironmentHealthCheck"}}}}}}},"/api/v1/domain-configs/product/{productId}":{"get":{"tags":["domain-config-controller"],"operationId":"getByProductId","parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDomainConfig"}}}}}}},"/api/v1/domain-configs/organization/{organizationId}":{"get":{"tags":["domain-config-controller"],"operationId":"getByOrganizationId_7","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDomainConfig"}}}}}}},"/api/v1/domain-configs/module/{moduleId}":{"get":{"tags":["domain-config-controller"],"operationId":"getByModuleId_1","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDomainConfig"}}}}}}},"/api/v1/domain-configs/environment/{environmentId}":{"get":{"tags":["domain-config-controller"],"operationId":"getByEnvironmentId","parameters":[{"name":"environmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDomainConfig"}}}}}}},"/api/v1/documents/{id}/signed-url":{"get":{"tags":["Knowledge Documents"],"summary":"Get a signed URL for a binary document","description":"Returns a temporary signed URL for GCS-backed artifacts, or a data: URL for inline artifacts","operationId":"getSignedUrl","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringString"}}}}}}},"/api/v1/documents/{id}/raw":{"get":{"tags":["Knowledge Documents"],"summary":"Stream the raw bytes of a binary document","description":"Streams the binary artifact (GCS or inline) as a stable <img src> target","operationId":"getRaw","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/v1/documents/org/{organizationId}":{"get":{"tags":["Knowledge Documents"],"summary":"List documents by organization with optional filters","operationId":"listByOrganization","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"serviceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"documentType","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKnowledgeDocument"}}}}}}},"/api/v1/documents/linked":{"get":{"tags":["Knowledge Documents"],"summary":"Find documents linked to a specific entity","operationId":"listByLinkedEntity","parameters":[{"name":"entityType","in":"query","required":true,"schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKnowledgeDocument"}}}}}}},"/api/v1/docs/{id}/versions":{"get":{"tags":["Documents"],"summary":"Version history","description":"Newest first.","operationId":"versions_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocumentVersion"}}}}}}},"/api/v1/docs/{id}/versions/{version}":{"get":{"tags":["Documents"],"summary":"Get one version","operationId":"version_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentVersion"}}}}}}},"/api/v1/docs/{id}/tree":{"get":{"tags":["Documents"],"summary":"Subtree rooted at this document","operationId":"tree","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentTreeNode"}}}}}}},"/api/v1/docs/{id}/compare":{"get":{"tags":["Documents"],"summary":"Compare two versions","operationId":"compare","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"to","in":"query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocumentVersionComparison"}}}}}}},"/api/v1/docs/{id}/children":{"get":{"tags":["Documents"],"summary":"Direct children","description":"In sibling order.","operationId":"children","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocument"}}}}}}},"/api/v1/docs/{id}/backlinks":{"get":{"tags":["Documents"],"summary":"Backlinks","description":"Documents that reference this one ('referenced by').","operationId":"backlinks","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocumentReferenceView"}}}}}}},"/api/v1/docs/tree":{"get":{"tags":["Documents"],"summary":"Document tree for a scope","description":"Every root document in the scope, each with its subtree (S107).","operationId":"forest","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocumentTreeNode"}}}}}}},"/api/v1/docs/search":{"get":{"tags":["Documents"],"summary":"Search documents","description":"Scope-filtered full-text search over title and body (S130 stub: Mongo text index, with a regex fallback when the index is unavailable).","operationId":"search_1","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"scopeType","in":"query","required":false,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDocument"}}}}}}},"/api/v1/docs/by-legacy/{legacyId}":{"get":{"tags":["Documents"],"summary":"Resolve a legacy knowledge-document id to its migrated document","description":"S104. Returns the document the legacy row was migrated into, or 404 when that row has not been migrated (uploads never are). Callers holding a legacy id use this to reach the platform document, and fall back to /api/v1/documents on 404.","operationId":"byLegacyId","parameters":[{"name":"legacyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/diagrams/{id}":{"get":{"tags":["Diagram Assets"],"summary":"Get a diagram with its current (or pinned) version and this caller's canEdit","operationId":"get_14","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"query","required":false,"schema":{"type":"string","default":"latest"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiagramView"}}}}}}},"/api/v1/diagrams/{id}/versions/{version}":{"get":{"tags":["Diagram Assets"],"summary":"Get one version in full (XML + cached SVG)","operationId":"getVersion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDiagramVersion"}}}}}}},"/api/v1/device-comm/status/{id}":{"get":{"tags":["Device Communication"],"summary":"Get device status","description":"Retrieves the current status of a connected device","operationId":"getStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status retrieved","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/capabilities/{id}":{"get":{"tags":["Device Communication"],"summary":"Get device capabilities","description":"Retrieves the capabilities of a connected device","operationId":"getCapabilities","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Device not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"200":{"description":"Capabilities retrieved","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/device-comm/agents":{"get":{"tags":["Device Communication"],"summary":"Get online agents","description":"Returns online local agents for a product via the worker service","operationId":"getOnlineAgents","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Online agents retrieved","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/deployments/{id}":{"get":{"tags":["Deployments"],"operationId":"getDeploymentById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDeployment"}}}}}}},"/api/v1/deployments/module/{moduleId}":{"get":{"tags":["Deployments"],"operationId":"getDeploymentsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeployment"}}}}}}},"/api/v1/deployments/environment/{environmentId}":{"get":{"tags":["Deployments"],"operationId":"getDeploymentsByEnvironmentId","parameters":[{"name":"environmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeployment"}}}}}}},"/api/v1/defects/module/{moduleId}":{"get":{"tags":["defect-controller"],"operationId":"getDefectsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDefect"}}}}}}},"/api/v1/database-provisions/organization/{organizationId}":{"get":{"tags":["database-provision-controller"],"operationId":"getByOrganizationId_8","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDatabaseProvision"}}}}}}},"/api/v1/database-provisions/module/{moduleId}":{"get":{"tags":["database-provision-controller"],"operationId":"getByModuleId_2","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDatabaseProvision"}}}}}}},"/api/v1/custom-roles/permissions":{"get":{"tags":["custom-role-controller"],"operationId":"getAvailablePermissions","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/custom-roles/organization/{organizationId}":{"get":{"tags":["custom-role-controller"],"operationId":"getByOrganizationId_9","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCustomRole"}}}}}}},"/api/v1/credentials/module/{moduleId}":{"get":{"tags":["credential-controller"],"operationId":"getCredentialsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListCredential"}}}}}}},"/api/v1/compliance-checklists/summary/{organizationId}":{"get":{"tags":["compliance-checklist-controller"],"operationId":"getOrganizationSummary","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/compliance-checklists/organization/{organizationId}":{"get":{"tags":["compliance-checklist-controller"],"operationId":"getByOrganizationId_10","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListComplianceChecklist"}}}}}}},"/api/v1/community/profiles/{userId}":{"get":{"tags":["Community"],"summary":"Get a user's community profile","operationId":"getProfile_1","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityProfile"}}}}}}},"/api/v1/community/profiles/me":{"get":{"tags":["Community"],"summary":"Get current user's community profile","operationId":"getMyProfile","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommunityProfile"}}}}}}},"/api/v1/code-quality/{id}":{"get":{"tags":["code-quality-metric-controller"],"operationId":"getById_42","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeQualityMetric"}}}}}},"delete":{"tags":["code-quality-metric-controller"],"operationId":"delete_43","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/code-quality/latest":{"get":{"tags":["code-quality-metric-controller"],"operationId":"getLatest","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCodeQualityMetric"}}}}}}},"/api/v1/build-propagations/by-artifact/{artifactId}":{"get":{"tags":["build-propagation-controller"],"operationId":"getBuildPropagationsByArtifactId","parameters":[{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBuildPropagation"}}}}}}},"/api/v1/build-artifacts/by-deployment/{deploymentId}":{"get":{"tags":["build-artifact-controller"],"operationId":"getBuildArtifactsByDeploymentId","parameters":[{"name":"deploymentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBuildArtifact"}}}}}}},"/api/v1/billing/status":{"get":{"tags":["billing-controller"],"operationId":"getStatus_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/plans":{"get":{"tags":["credit-controller"],"operationId":"getPlans","parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string"}},{"name":"billingCountry","in":"query","required":false,"schema":{"type":"string"}},{"name":"CF-IPCountry","in":"header","required":false,"schema":{"type":"string"}},{"name":"X-AppEngine-Country","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePlanCatalogResponse"}}}}}}},"/api/v1/billing/plans/{planTier}/limits":{"get":{"tags":["billing-controller"],"operationId":"getPlanLimits_2","parameters":[{"name":"planTier","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/organizations/{orgId}/subscription":{"get":{"tags":["billing-controller"],"operationId":"getSubscription","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/organizations/{orgId}/payment-methods/{id}":{"get":{"tags":["Payment Methods"],"summary":"Get payment method by ID","description":"Retrieves a single payment method by its unique identifier","operationId":"getPaymentMethodById","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Payment method not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}},"200":{"description":"Payment method found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaymentMethod"}}}}}},"delete":{"tags":["Payment Methods"],"summary":"Delete a payment method","description":"Removes a payment method from the organization","operationId":"deletePaymentMethod","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Payment method not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"Payment method deleted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/billing/organizations/{orgId}/limits/check":{"get":{"tags":["billing-controller"],"operationId":"checkLimits","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"dimension","in":"query","required":true,"schema":{"type":"string"}},{"name":"currentUsage","in":"query","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/billing/organizations/{orgId}/invoices/{id}":{"get":{"tags":["Invoices"],"summary":"Get invoice by ID","description":"Retrieves a single invoice by its unique identifier","operationId":"getInvoiceById","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Invoice not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseInvoice"}}}},"200":{"description":"Invoice found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseInvoice"}}}}}}},"/api/v1/billing/organizations/{orgId}/credits":{"get":{"tags":["credit-controller"],"operationId":"getCredits","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCreditSummaryResponse"}}}}}}},"/api/v1/backlog/{id}/readiness":{"get":{"tags":["Backlog Items"],"summary":"The item's Definition-of-Ready readiness (S141)","description":"Re-evaluates the item against its document type's required sections, its references, points, open governance checkpoints and dependencies, stores the result on the item and returns it stamped with the org's backlog.dor policy verdict.","operationId":"getReadiness","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseReadiness"}}}}}}},"/api/v1/backlog/{id}/merge-decision":{"get":{"tags":["Backlog merge"],"summary":"The merge decision for a story's PR (and the decision written on the item)","operationId":"mergeDecision","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseView"}}}}}}},"/api/v1/backlog/{id}/facets/allowed":{"get":{"tags":["Backlog Items"],"summary":"The facets this item's module allows (wave 12)","operationId":"allowedFacets","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListString"}}}}}}},"/api/v1/backlog/{id}/document":{"get":{"tags":["Backlog Items"],"summary":"The item's document (S140)","description":"The docs row the item is: its sections as Tangigo Markdown. Created on first read for an item the boot migration has not reached.","operationId":"getDocument","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDocument"}}}}}}},"/api/v1/backlog/module/{moduleId}":{"get":{"tags":["Backlog Items"],"operationId":"getBacklogItemsByModuleId","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"sprintId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}}}}},"/api/v1/backlog/children":{"get":{"tags":["Backlog Items"],"summary":"List child backlog items","description":"Retrieves the direct children of a backlog item via the parentId link (for building the epic → feature → story → task tree).","operationId":"getChildren","parameters":[{"name":"parentId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBacklogItem"}}}}}}},"/api/v1/auth/verify-email":{"get":{"tags":["Authentication"],"summary":"Verify email","operationId":"verifyEmail","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/auth/sso/{configId}/login":{"get":{"tags":["Authentication"],"operationId":"initiateSSOLogin","parameters":[{"name":"configId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/auth/oauth/{provider}":{"get":{"tags":["OAuth"],"summary":"Start OAuth login","description":"Redirects the user to the OAuth provider's authorization page","operationId":"initiateOAuth","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}},{"name":"intent","in":"query","required":false,"schema":{"type":"string","default":"login"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/auth/oauth/{provider}/callback":{"get":{"tags":["OAuth"],"summary":"OAuth callback","description":"Handles the OAuth provider's callback, exchanges the code for an access token, and redirects to the frontend with a JWT","operationId":"handleCallback","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}},{"name":"code","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"error","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/auth/oauth/providers":{"get":{"tags":["OAuth"],"summary":"List configured providers","description":"Returns which OAuth providers are configured and available","operationId":"getAvailableProviders","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringBoolean"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["Authentication"],"summary":"Get current user profile","operationId":"getCurrentUser","parameters":[{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}}}}},"/api/v1/audit-log":{"get":{"tags":["audit-log-controller"],"operationId":"getAuditLogs","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}},{"name":"source","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAuditLog"}}}}}}},"/api/v1/architecture/capabilities/tree":{"get":{"tags":["Business Capabilities"],"operationId":"getTree","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMapStringObject"}}}}}}},"/api/v1/apm-integrations/{id}/metrics":{"get":{"tags":["apm-integration-controller"],"operationId":"getMetrics","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/report-data/test-trends":{"get":{"tags":["analytics-controller"],"operationId":"getTestTrends","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListObject"}}}}}}},"/api/v1/analytics/report-data/sla-compliance":{"get":{"tags":["analytics-controller"],"operationId":"getSlaCompliance","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/report-data/kpi":{"get":{"tags":["analytics-controller"],"operationId":"getKpi","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/report-data/deployment-frequency":{"get":{"tags":["analytics-controller"],"operationId":"getDeploymentFrequency","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListObject"}}}}}}},"/api/v1/analytics/report-data/defect-distribution":{"get":{"tags":["analytics-controller"],"operationId":"getDefectDistribution","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListObject"}}}}}}},"/api/v1/analytics/report-data/cost-breakdown":{"get":{"tags":["analytics-controller"],"operationId":"getCostBreakdown","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListObject"}}}}}}},"/api/v1/analytics/organizations/{orgId}/costs":{"get":{"tags":["analytics-controller"],"operationId":"getCostMetrics","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/modules/{moduleId}/test-metrics":{"get":{"tags":["analytics-controller"],"operationId":"getTestMetrics","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/modules/{moduleId}/stability":{"get":{"tags":["analytics-controller"],"operationId":"getStabilityMetrics","parameters":[{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/meters":{"get":{"tags":["analytics-controller"],"operationId":"getMeters","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/dashboard":{"get":{"tags":["analytics-controller"],"operationId":"getDashboard","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDashboardDataDto"}}}}}}},"/api/v1/analytics/cost-analytics/optimization":{"get":{"tags":["analytics-controller"],"operationId":"getCostOptimization","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/cost-analytics/forecast":{"get":{"tags":["analytics-controller"],"operationId":"getCostForecast","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/analytics/cost-analytics/budget-alerts":{"get":{"tags":["analytics-controller"],"operationId":"getBudgetAlerts","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/agents":{"get":{"tags":["Local Agents"],"summary":"List agents for a product","description":"Returns all registered local agents for the given product","operationId":"listAgents","parameters":[{"name":"productId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agents retrieved","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListLocalAgent"}}}}}}},"/api/v1/agents/{id}":{"get":{"tags":["Local Agents"],"summary":"Get agent by ID","description":"Returns a single local agent by its ID","operationId":"getAgent","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLocalAgent"}}}},"404":{"description":"Agent not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLocalAgent"}}}}}},"delete":{"tags":["Local Agents"],"summary":"Delete agent","description":"Deletes a local agent registration and revokes its API key","operationId":"deleteAgent","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent deleted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"404":{"description":"Agent not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/agents/validate":{"get":{"tags":["Local Agents"],"summary":"Validate agent API key","description":"Validates an agent API key provided via X-Agent-Key header. Used by the CLI during setup.","operationId":"validateApiKey","parameters":[{"name":"X-Agent-Key","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Key is valid","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}},"401":{"description":"Invalid or missing key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/agents/download":{"get":{"tags":["agent-download-controller"],"operationId":"downloadAgent","parameters":[{"name":"platform","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/agents/download/latest-version":{"get":{"tags":["agent-download-controller"],"operationId":"getLatestVersion","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/agent-instances/{id}/tasks":{"get":{"tags":["Agent Instances"],"summary":"List tasks for an agent instance","description":"Returns all tasks assigned to a specific agent instance","operationId":"listTasks","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentTask"}}}}}}},"/api/v1/agent-instances/{id}/sessions":{"get":{"tags":["Agent Instances"],"summary":"List sessions for an agent instance","description":"Returns all sessions associated with a specific agent instance","operationId":"listSessions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentSession"}}}}}}},"/api/v1/agent-instances/{id}/handoffs":{"get":{"tags":["Agent Instances"],"summary":"List handoffs for an agent instance","description":"Returns all handoffs where this agent is the source or target","operationId":"listHandoffs","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentHandoff"}}}}}}},"/api/v1/agent-instances/{id}/activity":{"get":{"tags":["Agent Instances"],"summary":"List activity logs for an agent instance","description":"Returns recent activity logs for a specific agent instance","operationId":"listActivity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListAgentActivityLog"}}}}}}},"/api/v1/agent-handoffs/{id}":{"get":{"tags":["Agent Handoffs"],"summary":"Get agent handoff by ID","description":"Returns a single agent handoff by its unique identifier","operationId":"getById_58","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentHandoff"}}}}}}},"/api/v1/agent-definitions/key/{key}":{"get":{"tags":["Agent Definitions"],"summary":"Get agent definition by key","description":"Returns a single agent definition by its unique key","operationId":"getByKey","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAgentDefinition"}}}}}}},"/api/v1/admin/waitlist/export":{"get":{"tags":["Admin"],"summary":"Export the archived pre-launch waitlist as CSV","description":"Super-admin only. The waitlist itself is retired (S090); this exists so the entries collected before open sign-up can be archived rather than dropped.","operationId":"exportWaitlist","responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string"}}}}}}},"/api/v1/admin/users":{"get":{"tags":["Admin"],"summary":"List all users","description":"Paginated (1-based), searchable list of all platform users","operationId":"getUsers","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaginatedResponseUser"}}}}}}},"/api/v1/admin/users/{id}":{"get":{"tags":["Admin"],"summary":"Get user detail","operationId":"getUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUser"}}}}}}},"/api/v1/admin/system-health":{"get":{"tags":["Admin"],"summary":"Check health of all microservices","operationId":"getSystemHealth","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListMapStringObject"}}}}}}},"/api/v1/admin/support-tickets":{"get":{"tags":["Admin"],"summary":"List support tickets","operationId":"getSupportTickets","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaginatedResponseSupportTicket"}}}}}}},"/api/v1/admin/revenue":{"get":{"tags":["Admin"],"summary":"Get revenue metrics","operationId":"getRevenue","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/admin/organizations":{"get":{"tags":["Admin"],"summary":"List all organizations","operationId":"getOrganizations","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaginatedResponseOrganization"}}}}}}},"/api/v1/admin/organizations/{id}":{"get":{"tags":["Admin"],"summary":"Get organization detail","operationId":"getOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOrganization"}}}}}}},"/api/v1/admin/models/discovery":{"get":{"tags":["Admin"],"summary":"Latest model discovery report","description":"The last vendor model-listing reconciliation, the catalog version and the vendors configured","operationId":"latest","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/admin/dashboard":{"get":{"tags":["Admin"],"summary":"Get dashboard stats","description":"Returns platform-wide statistics for the admin dashboard","operationId":"getDashboard_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/admin/audit-logs":{"get":{"tags":["Admin"],"summary":"Get system-wide audit logs","operationId":"getAuditLogs_1","parameters":[{"name":"userId","in":"query","required":false,"schema":{"type":"string"}},{"name":"action","in":"query","required":false,"schema":{"type":"string"}},{"name":"resource","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePaginatedResponseMapObjectObject"}}}}}}},"/api/v1/admin/audit-events":{"get":{"tags":["Admin audit events"],"summary":"List audit events across organizations","description":"Super-admin only.","operationId":"list_56","parameters":[{"name":"orgId","in":"query","required":false,"schema":{"type":"string"}},{"name":"principalId","in":"query","required":false,"schema":{"type":"string"}},{"name":"principalType","in":"query","required":false,"schema":{"type":"string"}},{"name":"action","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceType","in":"query","required":false,"schema":{"type":"string"}},{"name":"resourceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string"}},{"name":"trigger","in":"query","required":false,"schema":{"type":"string"}},{"name":"emitter","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/v1/actions/count/pending":{"get":{"tags":["action-controller"],"operationId":"countPending","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringLong"}}}}}}},"/api/public/status":{"get":{"tags":["public-status-controller"],"operationId":"status","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponsePublicStatusResponse"}}}}}}},"/api/internal/principals/effective-profile":{"get":{"tags":["internal-principal-controller"],"operationId":"effectiveProfile_1","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"principalId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productId","in":"query","required":false,"schema":{"type":"string"}},{"name":"moduleId","in":"query","required":false,"schema":{"type":"string"}},{"name":"projection","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEffectiveProfile"}}}}}}},"/api/internal/governance/dispensations/blocking":{"get":{"tags":["Governance (internal)"],"summary":"Expired dispensations that block builds for a module (internal)","operationId":"blocking","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListBlockingDispensation"}}}}}}},"/api/internal/governance/checkpoints/{orgId}/{id}":{"get":{"tags":["Governance (internal)"],"summary":"Read one checkpoint's state (internal)","description":"For a flow that paused on its checkpoint and wants to know how it was decided. C114: the tool router reads this on resume and runs the tool only when the status is dispensed or relaxed.","operationId":"get_15","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRegistryEntry"}}}}}}},"/api/internal/governance/backlog/{storyId}/readiness":{"get":{"tags":["Governance (internal)"],"summary":"Whether a story may be dispatched under the Definition of Ready (internal)","operationId":"readiness","parameters":[{"name":"storyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/internal/control-plane/kill-status":{"get":{"tags":["Control plane (internal)"],"summary":"Whether a principal (instance / definition) or its org is killed (internal)","operationId":"status_1","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}},{"name":"instanceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"definitionKey","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKillStatus"}}}}}}},"/api/internal/control-plane/kill-status/active":{"get":{"tags":["Control plane (internal)"],"summary":"Every active kill switch in an org (internal)","description":"The worker's kill-status poll (C112): the fallback that applies a kill whose control-plane.kill event was lost. The worker matches these against its running ledger rows.","operationId":"active","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListKillSwitch"}}}}}}},"/api/external/v1/tests/results":{"get":{"tags":["External - Tests"],"summary":"List test results","description":"Lists test run results for a given module. Returns all test runs ordered by creation time.","operationId":"listTestResults","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Test results returned","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestRun"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTestRun"}}}}}}},"/api/external/v1/deployments":{"get":{"tags":["External - Deployments"],"summary":"List deployments","description":"Lists deployments for a given module, ordered by creation time descending.","operationId":"listDeployments","parameters":[{"name":"moduleId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deployments returned","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeployment"}}}},"401":{"description":"Invalid or missing API key","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListDeployment"}}}}}}},"/api/v1/visual-regression/diffs/{id}":{"delete":{"tags":["visual-regression-controller"],"operationId":"deleteDiff","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/test-cases/{id}/unlink-suite/{suiteId}":{"delete":{"tags":["test-case-controller"],"operationId":"unlinkFromSuite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"suiteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/unlink-defect/{defectId}":{"delete":{"tags":["test-case-controller"],"operationId":"unlinkFromDefect","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"defectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/test-cases/{id}/unlink-backlog/{itemId}":{"delete":{"tags":["test-case-controller"],"operationId":"unlinkFromBacklog","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTestCase"}}}}}}},"/api/v1/teams/{id}/members/{memberId}":{"delete":{"tags":["Teams"],"summary":"Remove a member from a team","operationId":"removeMember","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"memberId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/teams/{id}/agents/{agentId}":{"delete":{"tags":["Teams"],"summary":"Remove an agent from a team","operationId":"removeAgent","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTeam"}}}}}}},"/api/v1/orgs/{orgId}/registry/credential-binding/{id}":{"delete":{"tags":["Credential bindings"],"summary":"Delete the binding","description":"Refused with 409 and the consumer list while anything still uses it — the same contract deprecating a registry entry with consumers has. Organization or product owner/admin only.","operationId":"delete_15","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/orgs/{orgId}/control-plane/kill/{id}":{"delete":{"tags":["Control plane"],"summary":"Release a kill switch","description":"Sets active=false; the row stays as the audit record.","operationId":"release","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseKillSwitch"}}}}}}},"/api/v1/organizations/{id}/members/{userId}":{"delete":{"tags":["Organizations"],"operationId":"removeMember_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/labs/{id}/devices/{deviceId}":{"delete":{"tags":["Labs"],"summary":"Remove device from lab","description":"Removes a device association from a lab and all its zones","operationId":"removeDevice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"deviceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Device removed from lab","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}},"404":{"description":"Lab not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLab"}}}}}}},"/api/v1/incidents/{id}/attachments/{attachmentId}":{"delete":{"tags":["Incidents"],"summary":"Delete an incident attachment","description":"Removes the attachment pointer and best-effort deletes the backing GCS object.","operationId":"deleteAttachment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Attachment not found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"Attachment deleted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/governance/board/{boardId}/members/{userId}":{"delete":{"tags":["Architecture Board"],"operationId":"removeMemberByBoardId","parameters":[{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}}},"/api/v1/governance/board/members/{userId}":{"delete":{"tags":["Architecture Board"],"operationId":"removeMember_2","parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureBoard"}}}}}}},"/api/v1/docs/{id}/references/{referenceId}":{"delete":{"tags":["Documents"],"summary":"Remove an explicit reference","description":"Parsed references cannot be deleted here — remove the block from the body instead.","operationId":"deleteReference","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"referenceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/architecture/files/{fileId}":{"delete":{"tags":["Architecture Files"],"summary":"Delete a file","operationId":"delete_51","parameters":[{"name":"fileId","in":"path","required":true,"schema":{"type":"string"}},{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/api/v1/architecture/diagrams/{id}/link/{targetId}":{"delete":{"tags":["Architecture Diagrams"],"operationId":"unlink","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"targetId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureDiagram"}}}}}}},"/api/v1/architecture/components/{id}/link/{targetId}":{"delete":{"tags":["Architecture Components"],"operationId":"unlink_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"targetId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseArchitectureComponent"}}}}}}},"/ai/**":{"get":{"tags":["ai-proxy-controller"],"operationId":"proxy","responses":{"200":{"description":"OK"}}},"put":{"tags":["ai-proxy-controller"],"operationId":"proxy_3","responses":{"200":{"description":"OK"}}},"post":{"tags":["ai-proxy-controller"],"operationId":"proxy_2","responses":{"200":{"description":"OK"}}},"delete":{"tags":["ai-proxy-controller"],"operationId":"proxy_5","responses":{"200":{"description":"OK"}}},"options":{"tags":["ai-proxy-controller"],"operationId":"proxy_6","responses":{"200":{"description":"OK"}}},"head":{"tags":["ai-proxy-controller"],"operationId":"proxy_1","responses":{"200":{"description":"OK"}}},"patch":{"tags":["ai-proxy-controller"],"operationId":"proxy_4","responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"User":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"firebaseUid":{"type":"string"},"avatarUrl":{"type":"string"},"organizationIds":{"type":"array","items":{"type":"string"}},"roles":{"type":"array","items":{"type":"string"}},"superAdmin":{"type":"boolean"},"emailVerified":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"ApiResponseUserResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserResponse"}}},"UserResponse":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"TestCase":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/TestStep"}}}},"TestStep":{"type":"object","properties":{"action":{"type":"string"},"selector":{"type":"string"},"value":{"type":"string"},"expectedResult":{"type":"string"}}},"TestSuite":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"moduleId":{"type":"string"},"targetIds":{"type":"array","items":{"type":"string"}},"testCases":{"type":"array","items":{"$ref":"#/components/schemas/TestCase"}},"testCaseIds":{"type":"array","items":{"type":"string"}},"qualityScore":{"type":"number","format":"double"},"totalRuns":{"type":"integer","format":"int32"},"passRate":{"type":"number","format":"double"},"avgDurationMs":{"type":"integer","format":"int32"},"aiRecommendations":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTestSuite":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestSuite"}}},"Target":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"moduleId":{"type":"string"},"type":{"type":"string","enum":["WEB","MOBILE_IOS","MOBILE_ANDROID","API"]},"configuration":{"type":"object","additionalProperties":{"type":"string"}},"credentialReference":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTarget":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Target"}}},"AttributeMapping":{"type":"object","properties":{"emailAttribute":{"type":"string"},"nameAttribute":{"type":"string"},"roleAttribute":{"type":"string"},"groupAttribute":{"type":"string"}}},"SSOConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"provider":{"type":"string","enum":["SAML","OIDC","AZURE_AD","OKTA","GOOGLE_WORKSPACE"]},"entityId":{"type":"string"},"ssoUrl":{"type":"string"},"sloUrl":{"type":"string"},"certificate":{"type":"string"},"metadataUrl":{"type":"string"},"attributeMapping":{"$ref":"#/components/schemas/AttributeMapping"},"defaultRole":{"type":"string"},"autoProvision":{"type":"boolean"},"enforceSSO":{"type":"boolean"},"domains":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"ApiResponseSSOConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SSOConfig"}}},"RotationEvent":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"status":{"type":"string"},"triggeredBy":{"type":"string"}}},"SecretRotation":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"credentialId":{"type":"string"},"credentialType":{"type":"string","enum":["API_KEY","DATABASE","OAUTH_TOKEN","SSH_KEY","CERTIFICATE"]},"rotationIntervalDays":{"type":"integer","format":"int32"},"lastRotatedAt":{"type":"string","format":"date-time"},"nextRotationAt":{"type":"string","format":"date-time"},"autoRotate":{"type":"boolean"},"rotationHistory":{"type":"array","items":{"$ref":"#/components/schemas/RotationEvent"}},"status":{"type":"string","enum":["ACTIVE","PENDING_ROTATION","ROTATING","FAILED"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSecretRotation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SecretRotation"}}},"RateLimitConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"targetType":{"type":"string","enum":["ORGANIZATION","USER","API_KEY","ENDPOINT"]},"targetId":{"type":"string"},"requestsPerMinute":{"type":"integer","format":"int32"},"requestsPerHour":{"type":"integer","format":"int32"},"requestsPerDay":{"type":"integer","format":"int32"},"burstLimit":{"type":"integer","format":"int32"},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseRateLimitConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RateLimitConfig"}}},"Product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"ownerId":{"type":"string"},"organizationId":{"type":"string"},"creationMode":{"type":"string"},"templateId":{"type":"string"},"templateType":{"type":"string"},"settings":{"$ref":"#/components/schemas/ProductSettings"},"memberIds":{"type":"array","items":{"type":"string"}},"linkedCapabilityIds":{"type":"array","items":{"type":"string"}},"programArchitectId":{"type":"string"},"standardsInherited":{"type":"boolean"},"additionalStandardIds":{"type":"array","items":{"type":"string"}},"primaryDomain":{"type":"string"},"domainVerified":{"type":"boolean"},"domainConfigIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ProductSettings":{"type":"object","properties":{"defaultEnvironments":{"type":"array","items":{"type":"string"}},"ciCdEnabled":{"type":"boolean"},"notificationPrefs":{"type":"object","additionalProperties":{"type":"boolean"}}}},"ApiResponseProduct":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Product"}}},"PrincipalProfileRequest":{"type":"object","properties":{"profileId":{"type":"string"}}},"ApiResponsePrincipalProfileRequest":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PrincipalProfileRequest"}}},"Update":{"type":"object","properties":{"approvalWaitMinutes":{"type":"integer","format":"int32"},"clearApprovalWait":{"type":"boolean"},"conformance":{"type":"string"}}},"ApiResponseView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/View"}}},"ApprovalWait":{"type":"object","properties":{"configuredMinutes":{"type":"integer","format":"int32"},"effectiveMinutes":{"type":"integer","format":"int32"},"defaultMinutes":{"type":"integer","format":"int32"},"minMinutes":{"type":"integer","format":"int32"},"maxMinutes":{"type":"integer","format":"int32"}}},"Brief":{"type":"object","properties":{"required":{"type":"boolean"},"totalChars":{"type":"integer","format":"int32"},"itemChars":{"type":"integer","format":"int32"},"storyChars":{"type":"integer","format":"int32"},"sectionChars":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"Conformance":{"type":"object","properties":{"configured":{"type":"boolean"},"policyEntryId":{"type":"string"},"policyLifecycle":{"type":"string"},"policyInForce":{"type":"boolean"},"effective":{"type":"boolean"},"planDefault":{"type":"boolean"},"planTier":{"type":"string"},"source":{"type":"string"}}},"View":{"type":"object","properties":{"approvalWait":{"$ref":"#/components/schemas/ApprovalWait"},"conformance":{"$ref":"#/components/schemas/Conformance"},"brief":{"$ref":"#/components/schemas/Brief"},"canEdit":{"type":"boolean"}}},"RegistryEntryRequest":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"tags":{"type":"array","items":{"type":"string"}},"attributes":{"type":"object","additionalProperties":{"type":"object"}},"body":{"type":"string"},"changeNote":{"type":"string"},"version":{"type":"string"},"ownerPrincipalId":{"type":"string"},"idempotencyKey":{"type":"string"}}},"Scope":{"type":"object","properties":{"type":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"productName":{"type":"string"},"moduleName":{"type":"string"}}},"ApiResponseRegistryEntryDetail":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistryEntryDetail"}}},"LegacyRef":{"type":"object","properties":{"collection":{"type":"string"},"id":{"type":"string"}}},"RegistryEntry":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"kind":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"version":{"type":"string"},"lifecycle":{"type":"string"},"ownerPrincipalId":{"type":"string"},"ownerName":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"tags":{"type":"array","items":{"type":"string"}},"usedBy":{"type":"array","items":{"$ref":"#/components/schemas/UsedByRef"}},"bodyDocumentId":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object"}},"legacy":{"$ref":"#/components/schemas/LegacyRef"},"idempotencyKey":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"RegistryEntryDetail":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"kind":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"version":{"type":"string"},"lifecycle":{"type":"string"},"ownerPrincipalId":{"type":"string"},"ownerName":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"tags":{"type":"array","items":{"type":"string"}},"usedBy":{"type":"array","items":{"$ref":"#/components/schemas/UsedByRef"}},"bodyDocumentId":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object"}},"legacy":{"$ref":"#/components/schemas/LegacyRef"},"idempotencyKey":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"body":{"type":"string"},"canEdit":{"type":"boolean"}}},"UsedByRef":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}}},"CredentialRotateRequest":{"type":"object","properties":{"secret":{"$ref":"#/components/schemas/CredentialSecretMaterial"},"reason":{"type":"string"}}},"CredentialSecretMaterial":{"type":"object","properties":{"token":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"json":{"type":"string"}}},"SkillAttachRequest":{"type":"object","properties":{"skills":{"type":"array","items":{"type":"string"}}}},"ApiResponseSkillAttachResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SkillAttachResponse"}}},"PendingEntry":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"lifecycle":{"type":"string"}}},"SkillAttachResponse":{"type":"object","properties":{"status":{"type":"string"},"approvalId":{"type":"string"},"governanceLevel":{"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"pending":{"type":"array","items":{"$ref":"#/components/schemas/PendingEntry"}}}},"Line":{"type":"object","properties":{"action":{"type":"string"},"definitionKey":{"type":"string"},"role":{"type":"string"},"instanceId":{"type":"string"},"instanceName":{"type":"string"},"name":{"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Scope"}},"status":{"type":"string"},"provisionedInstanceId":{"type":"string"},"checkpointId":{"type":"string"},"refusalReason":{"type":"string"},"profileId":{"type":"string"},"profileKey":{"type":"string"}}},"MissingSkill":{"type":"object","properties":{"skill":{"type":"string"},"reason":{"type":"string"},"suggestedSource":{"type":"string"},"status":{"type":"string"},"registryEntryId":{"type":"string"}}},"ProvisioningProposalEdit":{"type":"object","properties":{"plan":{"type":"array","items":{"$ref":"#/components/schemas/Line"}},"missingSkills":{"type":"array","items":{"$ref":"#/components/schemas/MissingSkill"}}}},"ApiResponseProvisioningProposalView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ProvisioningProposalView"}}},"Budget":{"type":"object","properties":{"remaining":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"allowed":{"type":"boolean"},"reason":{"type":"string"}}},"Need":{"type":"object","properties":{"role":{"type":"string"},"count":{"type":"integer","format":"int32"},"skills":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}}},"PoolSummary":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"idle":{"type":"integer","format":"int32"},"busy":{"type":"integer","format":"int32"},"offline":{"type":"integer","format":"int32"}}},"ProvisioningProposalView":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"documentId":{"type":"string"},"version":{"type":"integer","format":"int32"},"trigger":{"type":"string"},"status":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"needs":{"type":"array","items":{"$ref":"#/components/schemas/Need"}},"plan":{"type":"array","items":{"$ref":"#/components/schemas/Line"}},"missingSkills":{"type":"array","items":{"$ref":"#/components/schemas/MissingSkill"}},"quota":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Quota"}},"budget":{"$ref":"#/components/schemas/Budget"},"pool":{"$ref":"#/components/schemas/PoolSummary"},"createdBy":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"decidedBy":{"type":"string"},"decidedAt":{"type":"string"},"rejectionReason":{"type":"string"},"refusedLines":{"type":"array","items":{"type":"string"}}}},"Quota":{"type":"object","properties":{"active":{"type":"integer","format":"int64"},"max":{"type":"integer","format":"int64"},"after":{"type":"integer","format":"int64"},"source":{"type":"string"}}},"PrincipalStatusRequest":{"type":"object","properties":{"status":{"type":"string"}}},"ApiResponsePrincipalSummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PrincipalSummary"}}},"PrincipalSummary":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"principalType":{"type":"string"},"subjectId":{"type":"string"},"delegatedFrom":{"type":"string"},"delegatedFromName":{"type":"string"},"status":{"type":"string"},"profileId":{"type":"string"},"profileName":{"type":"string"},"teamIds":{"type":"array","items":{"type":"string"}},"teamNames":{"type":"array","items":{"type":"string"}},"lifecycle":{"type":"string"},"vendorOrg":{"type":"string"},"engagement":{"$ref":"#/components/schemas/VendorEngagement"},"updatedAt":{"type":"string","format":"date-time"}}},"VendorEngagement":{"type":"object","properties":{"startsAt":{"type":"string"},"endsAt":{"type":"string"},"modules":{"type":"array","items":{"type":"string"}}}},"ApprovalRuleSetting":{"type":"object","properties":{"actionClass":{"type":"string"},"riskAtLeast":{"type":"string"},"approverRole":{"type":"string"},"blastRadius":{"type":"string"}}},"ApiResponseListApprovalRuleSetting":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ApprovalRuleSetting"}}}},"DocumentType":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"scopeTypes":{"type":"array","items":{"type":"string"}},"requiredSections":{"type":"array","items":{"type":"string"}},"optionalSections":{"type":"array","items":{"type":"string"}},"requiredReferenceKinds":{"type":"array","items":{"type":"string"}},"approvalRequired":{"type":"boolean"},"canCreateRoles":{"type":"array","items":{"type":"string"}},"canApproveRoles":{"type":"array","items":{"type":"string"}},"system":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDocumentType":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentType"}}},"BudgetLimitsRequest":{"type":"object","properties":{"monthlyTokens":{"type":"integer","format":"int64"},"monthlyCredits":{"type":"number","format":"double"},"perTurnTokens":{"type":"integer","format":"int64"},"instanceQuota":{"type":"integer","format":"int32"}}},"ApiResponseBudget":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Budget"}}},"BillingProfileRequest":{"required":["country"],"type":"object","properties":{"country":{"maxLength":2,"minLength":0,"type":"string"},"state":{"type":"string"},"gstin":{"type":"string"},"legalName":{"maxLength":200,"minLength":0,"type":"string"},"address":{"maxLength":500,"minLength":0,"type":"string"}}},"ApiResponseBillingProfileResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BillingProfileResponse"}}},"BillingProfileResponse":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"stateName":{"type":"string"},"gstin":{"type":"string"},"legalName":{"type":"string"},"address":{"type":"string"},"complete":{"type":"boolean"},"taxTreatment":{"type":"string"},"reissuedInvoiceNumbers":{"type":"array","items":{"type":"string"}}}},"OrgSettings":{"type":"object","properties":{"defaultEnvironments":{"type":"array","items":{"type":"string"}},"notificationsEnabled":{"type":"boolean"},"auditLogRetentionDays":{"type":"integer","format":"int32"},"buildApprovalWaitMinutes":{"type":"integer","format":"int32"},"mergeMethod":{"type":"string"},"mergeChecksWaitMinutes":{"type":"integer","format":"int32"}}},"OrganizationUpdateRequest":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"domainVerified":{"type":"boolean"},"logoUrl":{"type":"string"},"settings":{"$ref":"#/components/schemas/OrgSettings"},"industryVertical":{"type":"string"},"organizationSize":{"type":"string"},"productPortfolio":{"type":"string"},"geographicScope":{"type":"string"},"regulatoryFrameworks":{"type":"array","items":{"type":"string"}},"enterpriseGoal":{"type":"string"},"governanceLevel":{"type":"string"},"architectureMaturityLevel":{"type":"string"},"onboardingStepsCompleted":{"type":"object","additionalProperties":{"type":"boolean"}},"onboardingCompleted":{"type":"boolean"}}},"ApiResponseOrganization":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Organization"}}},"Organization":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"domainVerified":{"type":"boolean"},"logoUrl":{"type":"string"},"planTier":{"type":"string"},"razorpayCustomerId":{"type":"string"},"razorpaySubscriptionId":{"type":"string"},"billingCountry":{"type":"string"},"billingStateCode":{"type":"string"},"gstin":{"type":"string"},"billingLegalName":{"type":"string"},"billingAddress":{"type":"string"},"ownerId":{"type":"string"},"settings":{"$ref":"#/components/schemas/OrgSettings"},"industryVertical":{"type":"string"},"organizationSize":{"type":"string"},"productPortfolio":{"type":"string"},"geographicScope":{"type":"string"},"regulatoryFrameworks":{"type":"array","items":{"type":"string"}},"enterpriseGoal":{"type":"string"},"governanceLevel":{"type":"string"},"template":{"type":"string"},"templateAppliedAt":{"type":"string","format":"date-time"},"templateError":{"type":"string"},"architectureMaturityLevel":{"type":"string"},"onboardingCompleted":{"type":"boolean"},"onboardingStepsCompleted":{"type":"object","additionalProperties":{"type":"boolean"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"memberCount":{"type":"integer","format":"int64"}}},"Module":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"productId":{"type":"string"},"repositoryUrl":{"type":"string"},"platformType":{"type":"string"},"dataClass":{"type":"string"},"dataClassification":{"type":"string"},"techStack":{"type":"array","items":{"type":"string"}},"scmConnectionId":{"type":"string"},"orgRepo":{"type":"string"},"defaultBranch":{"type":"string"},"deploymentType":{"type":"string"},"repoMode":{"type":"string"},"scaffoldStatus":{"type":"string"},"scaffoldCommitSha":{"type":"string"},"scaffoldBranch":{"type":"string"},"scaffoldPrUrl":{"type":"string"},"scaffoldFilesCount":{"type":"integer","format":"int32"},"scaffoldError":{"type":"string"},"scaffoldSkippedBy":{"type":"string"},"scaffoldUpdatedAt":{"type":"string","format":"date-time"},"settings":{"$ref":"#/components/schemas/ModuleSettings"},"status":{"type":"string"},"linkedCapabilityIds":{"type":"array","items":{"type":"string"}},"referenceArchitectureId":{"type":"string"},"architectureContractId":{"type":"string"},"architectureVision":{"type":"string"},"complianceStatus":{"type":"string"},"lastComplianceReviewId":{"type":"string"},"architectureMaturityLevel":{"type":"string"},"qualityAttributes":{"type":"array","items":{"type":"string"}},"linkedPrincipleIds":{"type":"array","items":{"type":"string"}},"linkedStandardIds":{"type":"array","items":{"type":"string"}},"linkedADRIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ModuleSettings":{"type":"object","properties":{"buildCommand":{"type":"string"},"testCommand":{"type":"string"},"deployCommand":{"type":"string"},"scalingConfig":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseModule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Module"}}},"KubernetesConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"provider":{"type":"string","enum":["GKE","EKS","AKS","SELF_MANAGED"]},"clusterEndpoint":{"type":"string"},"region":{"type":"string"},"namespace":{"type":"string"},"resourceQuota":{"type":"object","additionalProperties":{"type":"string"}},"nodeCount":{"type":"integer","format":"int32"},"status":{"type":"string","enum":["CONNECTED","DISCONNECTED","ERROR","PROVISIONING"]},"lastHealthCheck":{"type":"string","format":"date-time"},"healthStatus":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseKubernetesConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/KubernetesConfig"}}},"IPAllowlist":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/IPRule"}},"enforceOnApi":{"type":"boolean"},"enforceOnWeb":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"IPRule":{"type":"object","properties":{"cidr":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["ALLOW","DENY"]},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseIPAllowlist":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/IPAllowlist"}}},"IaCTemplate":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"provider":{"type":"string","enum":["TERRAFORM","PULUMI","CLOUDFORMATION"]},"cloudProvider":{"type":"string","enum":["AWS","GCP","AZURE","MULTI_CLOUD"]},"templateContent":{"type":"string"},"variables":{"type":"object","additionalProperties":{"type":"string"}},"outputs":{"type":"object","additionalProperties":{"type":"string"}},"version":{"type":"string"},"status":{"type":"string","enum":["DRAFT","VALIDATED","APPLIED","FAILED"]},"lastAppliedAt":{"type":"string","format":"date-time"},"appliedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseIaCTemplate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/IaCTemplate"}}},"GovernanceModelUpdateRequest":{"type":"object","properties":{"organizationId":{"type":"string"},"level":{"type":"string"},"boardRequired":{"type":"boolean"},"adrsRequired":{"type":"boolean"},"complianceReviewTriggers":{"type":"array","items":{"type":"string"}},"qualityGatesEnforced":{"type":"boolean"},"contractsRequired":{"type":"boolean"},"dispensationFlowEnabled":{"type":"boolean"},"reviewCadence":{"type":"string"}}},"ApiResponseGovernanceModel":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/GovernanceModel"}}},"GovernanceModel":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"level":{"type":"string"},"boardRequired":{"type":"boolean"},"adrsRequired":{"type":"boolean"},"complianceReviewTriggers":{"type":"array","items":{"type":"string"}},"qualityGatesEnforced":{"type":"boolean"},"contractsRequired":{"type":"boolean"},"dispensationFlowEnabled":{"type":"boolean"},"reviewCadence":{"type":"string"},"orgProfileBindings":{"type":"array","items":{"type":"string"}},"approvalRules":{"type":"array","items":{"$ref":"#/components/schemas/ApprovalRuleSetting"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ArchitectureBoard":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"charter":{"type":"string"},"members":{"type":"array","items":{"$ref":"#/components/schemas/BoardMember"}},"meetingCadence":{"type":"string"},"reviewThresholds":{"type":"object","additionalProperties":{"type":"string"}},"escalationPolicy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"BoardMember":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string"},"domain":{"type":"string"},"joinedAt":{"type":"string","format":"date-time"}}},"ApiResponseArchitectureBoard":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureBoard"}}},"Environment":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"gitBranch":{"type":"string"},"url":{"type":"string"},"subdomain":{"type":"string"},"domainConfigId":{"type":"string"},"fullDomain":{"type":"string"},"cloudAccountId":{"type":"string"},"provisioningStatus":{"type":"string"},"healthStatus":{"type":"string"},"variables":{"type":"object","additionalProperties":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseEnvironment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Environment"}}},"EnterpriseProfile":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"industryVertical":{"type":"string"},"organizationSize":{"type":"string"},"productPortfolio":{"type":"string"},"geographicScope":{"type":"string"},"regulatoryFrameworks":{"type":"array","items":{"type":"string"}},"enterpriseGoal":{"type":"string"},"missionStatement":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseEnterpriseProfile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EnterpriseProfile"}}},"DnsRecord":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int32"}}},"DomainConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"environmentId":{"type":"string"},"fullDomain":{"type":"string"},"dnsVerificationToken":{"type":"string"},"registrationStatus":{"type":"string"},"cloudflareZoneId":{"type":"string"},"domain":{"type":"string"},"subdomain":{"type":"string"},"sslEnabled":{"type":"boolean"},"sslProvider":{"type":"string","enum":["LETS_ENCRYPT","CLOUDFLARE","AWS_ACM","CUSTOM"]},"sslExpiresAt":{"type":"string","format":"date-time"},"sslAutoRenew":{"type":"boolean"},"dnsVerified":{"type":"boolean"},"dnsRecords":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}},"status":{"type":"string","enum":["PENDING_DNS","DNS_VERIFIED","SSL_PROVISIONING","ACTIVE","SSL_EXPIRING","ERROR"]},"cloudProvider":{"type":"string"},"targetService":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDomainConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DomainConfig"}}},"DocumentRequest":{"type":"object","properties":{"orgId":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"type":{"type":"string"},"title":{"type":"string"},"slug":{"type":"string"},"body":{"type":"string"},"frontmatter":{"type":"object","additionalProperties":{"type":"object"}},"parentId":{"type":"string"},"order":{"type":"integer","format":"int32"},"ownerPrincipalId":{"type":"string"},"watchers":{"type":"array","items":{"$ref":"#/components/schemas/Watcher"}},"tags":{"type":"array","items":{"type":"string"}},"trigger":{"type":"string"},"changeNote":{"type":"string"}}},"Watcher":{"type":"object","properties":{"principalId":{"type":"string"},"principalType":{"type":"string"},"reason":{"type":"string"},"auto":{"type":"boolean"},"addedAt":{"type":"string","format":"date-time"}}},"ApiResponseDocument":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Document"}}},"Document":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"type":{"type":"string"},"title":{"type":"string"},"slug":{"type":"string"},"body":{"type":"string"},"frontmatter":{"type":"object","additionalProperties":{"type":"object"}},"lifecycle":{"type":"string"},"currentVersion":{"type":"integer","format":"int32"},"parentId":{"type":"string"},"order":{"type":"integer","format":"int32"},"ownerPrincipalId":{"type":"string"},"watchers":{"type":"array","items":{"$ref":"#/components/schemas/Watcher"}},"tags":{"type":"array","items":{"type":"string"}},"legacy":{"$ref":"#/components/schemas/LegacyRef"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"DiagramVersionRequest":{"required":["xml"],"type":"object","properties":{"xml":{"type":"string"},"svg":{"type":"string"},"summary":{"type":"string"}}},"ApiResponseDiagramVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DiagramVersion"}}},"DiagramVersion":{"type":"object","properties":{"id":{"type":"string"},"diagramId":{"type":"string"},"version":{"type":"integer","format":"int32"},"xml":{"type":"string"},"svg":{"type":"string"},"actorPrincipalId":{"type":"string"},"actorType":{"type":"string"},"scopeActedIn":{"type":"string"},"trigger":{"type":"string"},"restoredFromVersion":{"type":"integer","format":"int32"},"summary":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"AIPriorityAssessment":{"type":"object","properties":{"suggestedPriority":{"type":"string"},"reasoning":{"type":"string"},"confidence":{"type":"number","format":"double"}}},"Defect":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"environmentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"source":{"type":"string"},"correlationId":{"type":"string"},"assigneeId":{"type":"string"},"assigneeType":{"type":"string"},"aiPriorityAssessment":{"$ref":"#/components/schemas/AIPriorityAssessment"},"impactAssessment":{"$ref":"#/components/schemas/ImpactAssessment"},"linkedTestRunId":{"type":"string"},"linkedTestCaseId":{"type":"string"},"linkedDefectIds":{"type":"array","items":{"type":"string"}},"resolvedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ImpactAssessment":{"type":"object","properties":{"affectedUsers":{"type":"integer","format":"int32"},"affectedFeatures":{"type":"array","items":{"type":"string"}},"businessImpact":{"type":"string"},"revenueRisk":{"type":"string"}}},"ApiResponseDefect":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Defect"}}},"DatabaseProvision":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"databaseType":{"type":"string","enum":["MONGODB_ATLAS","CLOUD_SQL_POSTGRES","CLOUD_SQL_MYSQL","FIRESTORE","DYNAMODB","AURORA"]},"provider":{"type":"string","enum":["AWS","GCP","AZURE"]},"region":{"type":"string"},"tier":{"type":"string","enum":["FREE","SHARED","DEDICATED","ENTERPRISE"]},"connectionString":{"type":"string","writeOnly":true},"status":{"type":"string","enum":["PROVISIONING","ACTIVE","SCALING","BACKING_UP","RESTORING","ERROR","DEPROVISIONED"]},"sizeGb":{"type":"integer","format":"int32"},"replicaCount":{"type":"integer","format":"int32"},"backupEnabled":{"type":"boolean"},"lastBackupAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDatabaseProvision":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DatabaseProvision"}}},"CustomRole":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Permission"}},"inheritsFrom":{"type":"string"},"memberCount":{"type":"integer","format":"int32"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"systemRole":{"type":"boolean"}}},"Permission":{"type":"object","properties":{"resource":{"type":"string"},"actions":{"type":"array","items":{"type":"string"}}}},"ApiResponseCustomRole":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CustomRole"}}},"Credential":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"moduleId":{"type":"string"},"type":{"type":"string","enum":["API_KEY","USERNAME_PASSWORD","OAUTH_TOKEN","SSH_KEY","GCP_SECRET"]},"reference":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseCredential":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Credential"}}},"ComplianceChecklist":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"framework":{"type":"string","enum":["SOC2","ISO27001","HIPAA","PCI_DSS","GDPR"]},"items":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceItem"}},"overallScore":{"type":"number","format":"double"},"lastAuditDate":{"type":"string","format":"date-time"},"nextAuditDate":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ComplianceItem":{"type":"object","properties":{"category":{"type":"string"},"requirement":{"type":"string"},"status":{"type":"string","enum":["COMPLIANT","NON_COMPLIANT","IN_PROGRESS","NOT_APPLICABLE"]},"evidence":{"type":"string"},"lastAuditDate":{"type":"string","format":"date-time"},"assignee":{"type":"string"},"notes":{"type":"string"}}},"ApiResponseComplianceChecklist":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ComplianceChecklist"}}},"CommunityQuestion":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"authorId":{"type":"string"},"authorName":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"upvotes":{"type":"integer","format":"int32"},"downvotes":{"type":"integer","format":"int32"},"answerCount":{"type":"integer","format":"int32"},"acceptedAnswerId":{"type":"string"},"status":{"type":"string"},"viewCount":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseCommunityQuestion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CommunityQuestion"}}},"CommunityAnswer":{"type":"object","properties":{"id":{"type":"string"},"questionId":{"type":"string"},"body":{"type":"string"},"authorId":{"type":"string"},"authorName":{"type":"string"},"upvotes":{"type":"integer","format":"int32"},"downvotes":{"type":"integer","format":"int32"},"accepted":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseCommunityAnswer":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CommunityAnswer"}}},"CreditAutoReloadRequest":{"type":"object","properties":{"enabled":{"type":"boolean"},"thresholdMicroUsd":{"type":"integer","format":"int64"},"amountMicroUsd":{"type":"integer","format":"int64"}}},"ApiResponseCreditSummaryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CreditSummaryResponse"}}},"BonusTierDto":{"type":"object","properties":{"minUsd":{"type":"integer","format":"int64"},"bonusPercent":{"type":"integer","format":"int32"}}},"CreditSummaryResponse":{"type":"object","properties":{"organizationId":{"type":"string"},"planId":{"type":"string"},"currency":{"type":"string"},"balanceMicroUsd":{"type":"integer","format":"int64"},"includedCreditsMicroUsd":{"type":"integer","format":"int64"},"usageThisPeriodMicroUsd":{"type":"integer","format":"int64"},"currentPeriodResetsAt":{"type":"string"},"tokenCapPerMonth":{"type":"integer","format":"int64"},"tokensUsedThisPeriod":{"type":"integer","format":"int64"},"autoReloadEnabled":{"type":"boolean"},"autoReloadThresholdMicroUsd":{"type":"integer","format":"int64"},"autoReloadAmountMicroUsd":{"type":"integer","format":"int64"},"autoReloadConfigured":{"type":"boolean"},"topUpBonusTiers":{"type":"array","items":{"$ref":"#/components/schemas/BonusTierDto"}},"inrPerUsd":{"type":"number","format":"double"},"configured":{"type":"boolean"}}},"ApiResponseMapStringObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"object"}}}},"AgentActivity":{"type":"object","properties":{"agentId":{"type":"string"},"agentType":{"type":"string"},"action":{"type":"string"},"detail":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"BacklogItem":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"moduleIds":{"type":"array","items":{"type":"string"}},"productId":{"type":"string"},"sprint":{"type":"string"},"sprintId":{"type":"string"},"suggestedModule":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"parentId":{"type":"string"},"path":{"type":"string"},"depth":{"type":"integer","format":"int32"},"orderKey":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"storyPoints":{"type":"integer","format":"int32"},"riskLevel":{"type":"string"},"riskReason":{"type":"string"},"assigneeId":{"type":"string"},"assigneeType":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"acceptanceCriteria":{"type":"array","items":{"type":"string"}},"dependencies":{"type":"array","items":{"type":"string"}},"blockedBy":{"type":"array","items":{"type":"string"}},"blocks":{"type":"array","items":{"type":"string"}},"agentSessionId":{"type":"string"},"implementationPlan":{"type":"string"},"branchName":{"type":"string"},"prUrl":{"type":"string"},"commitSha":{"type":"string"},"previewUrl":{"type":"string"},"buildPhase":{"type":"string"},"buildSessionId":{"type":"string"},"buildError":{"type":"string"},"buildModels":{"type":"object","additionalProperties":{"type":"string"}},"buildCompositionMode":{"type":"string"},"buildWorkClass":{"type":"string"},"buildWorkClassReasons":{"type":"array","items":{"type":"string"}},"buildBrief":{"type":"object","additionalProperties":{"type":"object"}},"buildConformance":{"type":"object","additionalProperties":{"type":"object"}},"prNumber":{"type":"integer","format":"int32"},"reviewVerdict":{"type":"string"},"reviewRoundsRun":{"type":"integer","format":"int32"},"mergePolicyOverride":{"type":"string"},"mergeDecision":{"$ref":"#/components/schemas/MergeDecision"},"mergedBy":{"type":"string"},"mergedByType":{"type":"string"},"mergedAt":{"type":"string","format":"date-time"},"mergeCommitSha":{"type":"string"},"mergeApprovedBy":{"type":"string"},"mergeCheckpointId":{"type":"string"},"mergeError":{"type":"string"},"mergeChecksPendingSince":{"type":"string","format":"date-time"},"mergeChecksNextAttemptAt":{"type":"string","format":"date-time"},"lastDevDeployId":{"type":"string"},"lastTestRunId":{"type":"string"},"verificationStatus":{"type":"string"},"verifiedAt":{"type":"string","format":"date-time"},"linkedDocIds":{"type":"array","items":{"type":"string"}},"designDocId":{"type":"string"},"agentStartedAt":{"type":"string","format":"date-time"},"agentCompletedAt":{"type":"string","format":"date-time"},"qualityGate":{"type":"object","additionalProperties":{"type":"object"}},"specifications":{"type":"object","additionalProperties":{"type":"object"}},"developmentPlan":{"type":"object","additionalProperties":{"type":"object"}},"specDocumentId":{"type":"string"},"documentId":{"type":"string"},"readiness":{"$ref":"#/components/schemas/Readiness"},"agentActivity":{"type":"array","items":{"$ref":"#/components/schemas/AgentActivity"}},"linkedTestCaseIds":{"type":"array","items":{"type":"string"}},"qualityScore":{"type":"number","format":"double"},"qualityBreakdown":{"$ref":"#/components/schemas/QualityBreakdown"},"developerId":{"type":"string"},"productOwnerId":{"type":"string"},"qaOwnerId":{"type":"string"},"requiredSkills":{"type":"array","items":{"type":"string"}},"facets":{"type":"array","items":{"type":"string"}},"planningNote":{"type":"string"},"squad":{"$ref":"#/components/schemas/Squad"},"source":{"type":"string"},"generatedFromSignal":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Evidence":{"type":"object","properties":{"reviewVerdict":{"type":"string"},"conformance":{"type":"string"},"openCheckpoints":{"type":"integer","format":"int32"},"prChecks":{"type":"string"},"riskLevel":{"type":"string"},"storyPoints":{"type":"integer","format":"int32"},"type":{"type":"string"}}},"MergeDecision":{"type":"object","properties":{"decision":{"type":"string"},"source":{"type":"string"},"floor":{"type":"string"},"floorSource":{"type":"string"},"workClass":{"type":"string"},"evidence":{"$ref":"#/components/schemas/Evidence"},"agentMergeable":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"decidedAt":{"type":"string"}}},"QualityBreakdown":{"type":"object","properties":{"testCoverage":{"type":"number","format":"double"},"testPassRate":{"type":"number","format":"double"},"defectsFound":{"type":"integer","format":"int32"},"productionDefects":{"type":"integer","format":"int32"},"openDefects":{"type":"integer","format":"int32"},"avgDefectSeverity":{"type":"number","format":"double"},"overallGrade":{"type":"string"}}},"Readiness":{"type":"object","properties":{"score":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"},"ready":{"type":"boolean"},"threshold":{"type":"integer","format":"int32"},"policyId":{"type":"string"},"enforced":{"type":"boolean"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/ReadinessCheck"}},"evaluatedAt":{"type":"string","format":"date-time"},"policyVersion":{"type":"string"},"stale":{"type":"boolean"},"staleReason":{"type":"string"}}},"ReadinessCheck":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"met":{"type":"boolean"},"reason":{"type":"string"}}},"Squad":{"type":"object","properties":{"members":{"type":"array","items":{"$ref":"#/components/schemas/SquadMember"}},"status":{"type":"string"},"reason":{"type":"string"},"unfilledRoles":{"type":"array","items":{"type":"string"}},"strategy":{"type":"string"},"assignedAt":{"type":"string","format":"date-time"},"dryRun":{"type":"boolean"},"wouldClone":{"type":"array","items":{"type":"string"}},"quota":{"type":"object","additionalProperties":{"type":"string"}}}},"SquadMember":{"type":"object","properties":{"instanceId":{"type":"string"},"kind":{"type":"string"},"principalId":{"type":"string"},"userId":{"type":"string"},"vendorOrg":{"type":"string"},"definitionKey":{"type":"string"},"role":{"type":"string"},"name":{"type":"string"},"assignedAt":{"type":"string","format":"date-time"},"assignedBy":{"type":"string"},"pendingCheckpointId":{"type":"string"},"consultant":{"type":"boolean"},"placeholder":{"type":"boolean"},"reviewer":{"type":"boolean"}}},"ApiResponseBacklogItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BacklogItem"}}},"ApiResponseVoid":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object"}}},"AgentDefinition":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"description":{"type":"string"},"defaultCapabilities":{"type":"array","items":{"type":"string"}},"defaultAllowedPhases":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"color":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"decommissionable":{"type":"boolean"},"system":{"type":"boolean"}}},"ApiResponseAgentDefinition":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentDefinition"}}},"SupportTicket":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"organizationId":{"type":"string"},"requesterEmail":{"type":"string"},"requesterName":{"type":"string"},"source":{"type":"string"},"subject":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"assigneeId":{"type":"string"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/TicketComment"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"TicketComment":{"type":"object","properties":{"authorId":{"type":"string"},"authorName":{"type":"string"},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseSupportTicket":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SupportTicket"}}},"ApiResponseMapObjectObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"object"}}}},"Action":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"type":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"createdBy":{"type":"string"},"assignedTo":{"type":"string"},"resolvedBy":{"type":"string"},"resourceType":{"type":"string"},"resourceId":{"type":"string"},"resourceUrl":{"type":"string"},"resolution":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"dueDate":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":"string","format":"date-time"}}},"ApiResponseAction":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Action"}}},"ApiResponseMapStringString":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"string"}}}},"VisualDiff":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"testRunId":{"type":"string"},"baselineId":{"type":"string"},"pageName":{"type":"string"},"pageUrl":{"type":"string"},"baselineScreenshotUrl":{"type":"string"},"currentScreenshotUrl":{"type":"string"},"diffImageUrl":{"type":"string"},"diffPercentage":{"type":"number","format":"double"},"viewport":{"type":"string"},"browser":{"type":"string"},"environment":{"type":"string"},"status":{"type":"string"},"reviewedBy":{"type":"string"},"reviewedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseVisualDiff":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/VisualDiff"}}},"VisualBaseline":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"testSuiteId":{"type":"string"},"pageName":{"type":"string"},"pageUrl":{"type":"string"},"screenshotUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"viewport":{"type":"string"},"browser":{"type":"string"},"environment":{"type":"string"},"approved":{"type":"boolean"},"approvedBy":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseVisualBaseline":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/VisualBaseline"}}},"UXIssue":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"testRunId":{"type":"string"},"category":{"type":"string","enum":["ACCESSIBILITY","USABILITY","PERFORMANCE","VISUAL"]},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW"]},"title":{"type":"string"},"description":{"type":"string"},"recommendation":{"type":"string"},"wcagGuideline":{"type":"string"},"wcagLevel":{"type":"string","enum":["A","AA","AAA"]},"pageUrl":{"type":"string"},"elementSelector":{"type":"string"},"screenshotUrl":{"type":"string"},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","RESOLVED","WONT_FIX"]},"assignedTo":{"type":"string"},"resolvedBy":{"type":"string"},"resolvedAt":{"type":"string","format":"date-time"},"aiGenerated":{"type":"boolean"},"aiConfidence":{"type":"number","format":"double"},"tags":{"type":"array","items":{"type":"string"}},"relatedDefectId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseUXIssue":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UXIssue"}}},"UsageEvent":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"userId":{"type":"string"},"principalId":{"type":"string"},"principalType":{"type":"string"},"source":{"type":"string"},"dimension":{"type":"string"},"quantity":{"type":"integer","format":"int64"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"billingPeriod":{"type":"string"},"recordedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseUsageEvent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UsageEvent"}}},"UptimeCheck":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"expectedStatusCode":{"type":"integer","format":"int32"},"interval":{"type":"integer","format":"int32"},"timeout":{"type":"integer","format":"int32"},"enabled":{"type":"boolean"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"regions":{"type":"array","items":{"type":"string"}},"alertThreshold":{"type":"integer","format":"int32"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastStatus":{"type":"string"},"uptimePercent":{"type":"number","format":"double"},"avgResponseMs":{"type":"number","format":"double"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseUptimeCheck":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UptimeCheck"}}},"UptimeResult":{"type":"object","properties":{"id":{"type":"string"},"uptimeCheckId":{"type":"string"},"moduleId":{"type":"string"},"status":{"type":"string"},"responseTimeMs":{"type":"integer","format":"int32"},"statusCode":{"type":"integer","format":"int32"},"error":{"type":"string"},"region":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"}}},"ApiResponseUptimeResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UptimeResult"}}},"TestTraceability":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"storyId":{"type":"string"},"storyName":{"type":"string"},"feature":{"type":"string"},"testCaseIds":{"type":"array","items":{"type":"string"}},"totalTests":{"type":"integer","format":"int32"},"passed":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"uncovered":{"type":"integer","format":"int32"},"coverageStatus":{"type":"string","enum":["COVERED","PARTIAL","UNCOVERED"]},"lastUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTestTraceability":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestTraceability"}}},"ApiResponseTestRun":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestRun"}}},"QualityGateResult":{"type":"object","properties":{"passed":{"type":"boolean"},"passRate":{"type":"number","format":"double"},"totalTests":{"type":"integer","format":"int32"},"passedTests":{"type":"integer","format":"int32"},"failedTests":{"type":"integer","format":"int32"},"failedGates":{"type":"array","items":{"type":"string"}}}},"TestCaseAttachment":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"type":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"uploadedAt":{"type":"string","format":"date-time"}}},"TestResult":{"type":"object","properties":{"testCaseId":{"type":"string"},"testCaseName":{"type":"string"},"status":{"type":"string"},"errorMessage":{"type":"string"},"duration":{"type":"integer","format":"int64"},"screenshots":{"type":"array","items":{"type":"string"}},"testCaseVersion":{"type":"integer","format":"int32"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseAttachment"}}}},"TestRun":{"type":"object","properties":{"id":{"type":"string"},"testSuiteId":{"type":"string"},"moduleId":{"type":"string"},"branch":{"type":"string"},"commitSha":{"type":"string"},"commitMessage":{"type":"string"},"coveragePercent":{"type":"number","format":"double"},"totalDurationMs":{"type":"integer","format":"int32"},"testCycleId":{"type":"string"},"triggeredBy":{"type":"string"},"status":{"type":"string","enum":["PENDING","RUNNING","COMPLETED","FAILED","CANCELLED"]},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"$ref":"#/components/schemas/TestResult"}},"summary":{"type":"object","additionalProperties":{"type":"object"}},"qualityGateResult":{"$ref":"#/components/schemas/QualityGateResult"}}},"TestSchedule":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"testSuiteId":{"type":"string"},"name":{"type":"string"},"enabled":{"type":"boolean"},"type":{"type":"string","enum":["MANUAL","SCHEDULED","ON_COMMIT"]},"cronExpression":{"type":"string"},"triggerBranches":{"type":"array","items":{"type":"string"}},"environment":{"type":"string"},"browsers":{"type":"array","items":{"type":"string"}},"parallelism":{"type":"integer","format":"int32"},"timeoutSeconds":{"type":"integer","format":"int32"},"autoCreateDefects":{"type":"boolean"},"notifyChannels":{"type":"array","items":{"type":"string"}},"nextRunAt":{"type":"string","format":"date-time"},"lastRunAt":{"type":"string","format":"date-time"},"lastRunStatus":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"TestPlan":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"testSuiteId":{"type":"string"},"testSuiteIds":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"generatedFrom":{"type":"string"},"status":{"type":"string"},"discoveredPages":{"type":"array","items":{"type":"string"}},"discoveredForms":{"type":"array","items":{"type":"string"}},"discoveredFlows":{"type":"array","items":{"type":"string"}},"discoveredApiEndpoints":{"type":"array","items":{"type":"string"}},"totalTestCases":{"type":"integer","format":"int32"},"qualityScore":{"type":"number","format":"double"},"aiRecommendations":{"type":"array","items":{"type":"string"}},"approvedBy":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTestPlan":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestPlan"}}},"TestFolder":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"parentId":{"type":"string"},"sortOrder":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseTestFolder":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestFolder"}}},"CycleTestStatus":{"type":"object","properties":{"testCaseId":{"type":"string"},"status":{"type":"string"},"executedBy":{"type":"string"},"executedAt":{"type":"string","format":"date-time"},"comment":{"type":"string"}}},"TestCycle":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"environmentId":{"type":"string"},"assigneeId":{"type":"string"},"targetStartDate":{"type":"string","format":"date-time"},"targetEndDate":{"type":"string","format":"date-time"},"branch":{"type":"string"},"selectedTestCaseIds":{"type":"array","items":{"type":"string"}},"testSuiteId":{"type":"string"},"testStatuses":{"type":"array","items":{"$ref":"#/components/schemas/CycleTestStatus"}},"totalCases":{"type":"integer","format":"int32"},"executedCases":{"type":"integer","format":"int32"},"passedCases":{"type":"integer","format":"int32"},"failedCases":{"type":"integer","format":"int32"},"blockedCases":{"type":"integer","format":"int32"},"testRunId":{"type":"string"},"passRate":{"type":"number","format":"double"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTestCycle":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestCycle"}}},"ApiResponseTestCase":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TestCase"}}},"Team":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"agentIds":{"type":"array","items":{"type":"string"}},"ownerId":{"type":"string"},"defaultProfileId":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTeam":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Team"}}},"SupportTicketRequest":{"required":["message","subject"],"type":"object","properties":{"subject":{"maxLength":200,"minLength":0,"type":"string"},"message":{"maxLength":5000,"minLength":0,"type":"string"},"email":{"maxLength":254,"minLength":0,"type":"string"},"name":{"maxLength":120,"minLength":0,"type":"string"},"website":{"maxLength":500,"minLength":0,"type":"string"}}},"ApiResponseSupportTicketResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SupportTicketResponse"}}},"SupportTicketResponse":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"createdAt":{"type":"string"},"replyTo":{"type":"string"},"supportEmail":{"type":"string"}}},"RolloutMetrics":{"type":"object","properties":{"errorRate":{"type":"number","format":"double"},"latencyP50":{"type":"number","format":"double"},"latencyP99":{"type":"number","format":"double"},"successRate":{"type":"number","format":"double"}}},"StagedRollout":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"releaseId":{"type":"string"},"deploymentId":{"type":"string"},"strategy":{"type":"string","enum":["CANARY","PERCENTAGE","REGION_BASED","BLUE_GREEN"]},"targetPercentage":{"type":"integer","format":"int32"},"currentPercentage":{"type":"integer","format":"int32"},"status":{"type":"string","enum":["PENDING","ROLLING_OUT","PAUSED","COMPLETED","ROLLED_BACK"]},"regions":{"type":"array","items":{"type":"string"}},"metrics":{"$ref":"#/components/schemas/RolloutMetrics"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseStagedRollout":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/StagedRollout"}}},"Sprint":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"goal":{"type":"string"},"status":{"type":"string","enum":["PLANNING","ACTIVE","COMPLETED","CANCELLED"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSprint":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Sprint"}}},"AgentAssignment":{"type":"object","properties":{"backlogItemId":{"type":"string"},"agentId":{"type":"string"},"agentType":{"type":"string"},"status":{"type":"string"},"order":{"type":"integer","format":"int32"},"planApproved":{"type":"boolean"}}},"ExecutionConfig":{"type":"object","properties":{"autoTest":{"type":"boolean"},"autoQualityGate":{"type":"boolean"},"branchPrefix":{"type":"string"},"timeoutMinutes":{"type":"integer","format":"int32"}}},"ExecutionMetrics":{"type":"object","properties":{"totalStories":{"type":"integer","format":"int32"},"completedStories":{"type":"integer","format":"int32"},"totalPoints":{"type":"integer","format":"int32"},"completedPoints":{"type":"integer","format":"int32"},"tokenUsage":{"type":"integer","format":"int64"},"estimatedCostUsd":{"type":"number","format":"double"}}},"SprintExecution":{"type":"object","properties":{"id":{"type":"string"},"sprintId":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"status":{"type":"string"},"assignments":{"type":"array","items":{"$ref":"#/components/schemas/AgentAssignment"}},"agentSessionMap":{"type":"object","additionalProperties":{"type":"string"}},"config":{"$ref":"#/components/schemas/ExecutionConfig"},"metrics":{"$ref":"#/components/schemas/ExecutionMetrics"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSprintExecution":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SprintExecution"}}},"SlicerProfile":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"profileType":{"type":"string"},"targetDeviceType":{"type":"string"},"settings":{"type":"object","additionalProperties":{"type":"object"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"orgDefault":{"type":"boolean"}}},"ApiResponseSlicerProfile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SlicerProfile"}}},"SCMConnection":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"provider":{"type":"string"},"connectionType":{"type":"string"},"orgRepo":{"type":"string"},"branches":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSCMConnection":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SCMConnection"}}},"SchematicFile":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"format":{"type":"string"},"fileUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"version":{"type":"integer","format":"int32"},"components":{"type":"array","items":{"type":"string"}},"nets":{"type":"integer","format":"int32"},"layers":{"type":"integer","format":"int32"},"fileSize":{"type":"integer","format":"int64"},"uploadedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSchematicFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SchematicFile"}}},"SavedReport":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"templateType":{"type":"string"},"widgets":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}},"filters":{"type":"object","additionalProperties":{"type":"object"}},"schedule":{"type":"string"},"format":{"type":"string"},"createdBy":{"type":"string"},"sharedWith":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseSavedReport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SavedReport"}}},"SapCredentials":{"type":"object","properties":{"username":{"type":"string"},"encryptedPassword":{"type":"string","writeOnly":true},"apiToken":{"type":"string","writeOnly":true}}},"SapEnvironment":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"name":{"type":"string"},"environmentType":{"type":"string"},"portalUrl":{"type":"string"},"apiEndpoint":{"type":"string"},"storefrontUrl":{"type":"string"},"backofficeUrl":{"type":"string"},"solrUrl":{"type":"string"},"status":{"type":"string"},"version":{"type":"string"},"topology":{"type":"array","items":{"$ref":"#/components/schemas/SapService"}},"credentials":{"$ref":"#/components/schemas/SapCredentials"},"lastHealthCheck":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"SapService":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"instanceCount":{"type":"integer","format":"int32"},"jvmHeapMb":{"type":"integer","format":"int32"}}},"ApiResponseSapEnvironment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SapEnvironment"}}},"SapDeployment":{"type":"object","properties":{"id":{"type":"string"},"environmentId":{"type":"string"},"buildId":{"type":"string"},"organizationId":{"type":"string"},"strategy":{"type":"string"},"status":{"type":"string"},"rollbackBuildId":{"type":"string"},"preDeployChecks":{"type":"array","items":{"$ref":"#/components/schemas/SapPreDeployCheck"}},"postDeployChecks":{"type":"array","items":{"$ref":"#/components/schemas/SapPreDeployCheck"}},"maintenanceWindowStart":{"type":"string","format":"date-time"},"maintenanceWindowEnd":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"deployedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"SapPreDeployCheck":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"}}},"ApiResponseSapDeployment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SapDeployment"}}},"SapDefectType":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"severity":{"type":"string"},"description":{"type":"string"},"affectedService":{"type":"string"},"logPattern":{"type":"string"},"remediation":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"ApiResponseSapDefectType":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SapDefectType"}}},"SapBuild":{"type":"object","properties":{"id":{"type":"string"},"environmentId":{"type":"string"},"organizationId":{"type":"string"},"buildNumber":{"type":"string"},"branch":{"type":"string"},"commitHash":{"type":"string"},"status":{"type":"string"},"buildType":{"type":"string"},"customizations":{"type":"array","items":{"type":"string"}},"dataMigrations":{"type":"array","items":{"$ref":"#/components/schemas/SapDataMigration"}},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int64"},"logs":{"type":"string"},"triggeredBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"SapDataMigration":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"appliedAt":{"type":"string","format":"date-time"}}},"ApiResponseSapBuild":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SapBuild"}}},"RollbackRecord":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"deploymentId":{"type":"string"},"deploymentVersion":{"type":"string"},"environment":{"type":"string"},"reason":{"type":"string"},"triggeredBy":{"type":"string"},"triggeredAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["SUCCESS","FAILED","PENDING","IN_PROGRESS"]},"duration":{"type":"integer","format":"int32"},"previousVersion":{"type":"string"},"rollbackType":{"type":"string","enum":["AUTOMATIC","MANUAL"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseRollbackRecord":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RollbackRecord"}}},"ReportSchedule":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"reportType":{"type":"string"},"cronExpression":{"type":"string"},"recipients":{"type":"array","items":{"type":"string"}},"format":{"type":"string","enum":["PDF","CSV","EXCEL"]},"enabled":{"type":"boolean"},"lastRunAt":{"type":"string","format":"date-time"},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseReportSchedule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReportSchedule"}}},"Release":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"status":{"type":"string","enum":["PLANNED","IN_PROGRESS","READY","RELEASED","CANCELLED"]},"releaseDate":{"type":"string","format":"date"},"changelog":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"bugFixes":{"type":"array","items":{"type":"string"}},"breakingChanges":{"type":"array","items":{"type":"string"}},"approvals":{"type":"array","items":{"$ref":"#/components/schemas/ReleaseApproval"}},"createdBy":{"type":"string"},"branch":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ReleaseApproval":{"type":"object","properties":{"approverId":{"type":"string"},"approverName":{"type":"string"},"role":{"type":"string"},"approved":{"type":"boolean"},"comment":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"ApiResponseRelease":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Release"}}},"ApiResponseReleaseApproval":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReleaseApproval"}}},"RegistryToolInvokeRequest":{"type":"object","properties":{"toolKey":{"type":"string"},"args":{"type":"object","additionalProperties":{"type":"object"}},"environment":{"type":"string"},"organizationId":{"type":"string"},"credentialBindingId":{"type":"string"},"principalId":{"type":"string"}}},"ApiResponseRegistryToolInvokeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistryToolInvokeResponse"}}},"RegistryToolInvokeResponse":{"type":"object","properties":{"toolKey":{"type":"string"},"operation":{"type":"string"},"environment":{"type":"string"},"status":{"type":"integer","format":"int32"},"body":{"type":"object"}}},"ContributorRating":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"userName":{"type":"string"},"userRole":{"type":"string"},"timeWindow":{"type":"string"},"overallScore":{"type":"number","format":"double"},"grade":{"type":"string"},"itemsCompleted":{"type":"integer","format":"int32"},"itemsInProgress":{"type":"integer","format":"int32"},"developerMetrics":{"$ref":"#/components/schemas/DeveloperMetrics"},"testerMetrics":{"$ref":"#/components/schemas/TesterMetrics"},"poMetrics":{"$ref":"#/components/schemas/ProductOwnerMetrics"},"computedAt":{"type":"string","format":"date-time"},"periodStart":{"type":"string","format":"date-time"},"periodEnd":{"type":"string","format":"date-time"}}},"DeveloperMetrics":{"type":"object","properties":{"codeQualityScore":{"type":"number","format":"double"},"storiesDelivered":{"type":"integer","format":"int32"},"storyPointsDelivered":{"type":"integer","format":"int32"},"defectsIntroduced":{"type":"integer","format":"int32"},"productionDefects":{"type":"integer","format":"int32"},"defectDensity":{"type":"number","format":"double"},"avgDefectSeverity":{"type":"number","format":"double"},"deploymentSuccessRate":{"type":"number","format":"double"},"codeReviewScore":{"type":"integer","format":"int32"},"avgCycleTime":{"type":"number","format":"double"}}},"ProductOwnerMetrics":{"type":"object","properties":{"storiesCreated":{"type":"integer","format":"int32"},"storiesWithAcceptanceCriteria":{"type":"integer","format":"int32"},"acceptanceCriteriaCompleteness":{"type":"number","format":"double"},"storiesRejected":{"type":"integer","format":"int32"},"rejectionRate":{"type":"number","format":"double"},"storiesWithDefects":{"type":"integer","format":"int32"},"featureDefectRate":{"type":"number","format":"double"},"avgTimeToApproval":{"type":"number","format":"double"},"scopeChanges":{"type":"integer","format":"int32"},"teamSatisfactionScore":{"type":"number","format":"double"}}},"TesterMetrics":{"type":"object","properties":{"testCasesAuthored":{"type":"integer","format":"int32"},"testCasesExecuted":{"type":"integer","format":"int32"},"testPassRate":{"type":"number","format":"double"},"defectDetectionRate":{"type":"number","format":"double"},"defectsReported":{"type":"integer","format":"int32"},"validDefectsReported":{"type":"integer","format":"int32"},"defectValidityRate":{"type":"number","format":"double"},"flakyTestsOwned":{"type":"integer","format":"int32"},"coverageContribution":{"type":"number","format":"double"},"escapedDefects":{"type":"integer","format":"int32"},"escapeRate":{"type":"number","format":"double"}}},"ApiResponseContributorRating":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ContributorRating"}}},"QualityGate":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"environmentId":{"type":"string"},"name":{"type":"string"},"passRateThreshold":{"type":"number","format":"double"},"coverageThreshold":{"type":"number","format":"double"},"stabilityThreshold":{"type":"number","format":"double"},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseQualityGate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/QualityGate"}}},"AIMessage":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"AISession":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"userId":{"type":"string"},"sessionType":{"type":"string","enum":["ARCHITECTURE","BACKLOG","CODE_GEN","TEST_GEN","REVIEW","PRODUCT_WIZARD"]},"title":{"type":"string"},"summary":{"type":"string"},"sourceSessionId":{"type":"string"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/AIMessage"}},"tokenUsage":{"type":"integer","format":"int32"},"modelUsed":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","COMPLETED","ARCHIVED"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAISession":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AISession"}}},"ProductTemplate":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"moduleStructure":{"type":"string"},"defaultEnvironments":{"type":"array","items":{"type":"string"}},"isPublic":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseProductTemplate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductTemplate"}}},"AgentConfig":{"type":"object","properties":{"agentType":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"autonomyLevel":{"type":"string"},"crossModuleAccess":{"type":"boolean"},"systemPrompt":{"type":"string"},"taskHistory":{"type":"array","items":{"type":"string"}},"totalTasksCompleted":{"type":"integer","format":"int32"},"lastActiveAt":{"type":"string","format":"date-time"}}},"ProductMember":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"userId":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"},"memberType":{"type":"string"},"agentConfig":{"$ref":"#/components/schemas/AgentConfig"},"joinedAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseProductMember":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductMember"}}},"PlanLimit":{"type":"object","properties":{"id":{"type":"string"},"planTier":{"type":"string"},"source":{"type":"string"},"organizationId":{"type":"string"},"budgetBypass":{"type":"boolean"},"aiTokensLimit":{"type":"integer","format":"int64"},"testExecutionsLimit":{"type":"integer","format":"int64"},"deploymentsLimit":{"type":"integer","format":"int64"},"storageBytesLimit":{"type":"integer","format":"int64"},"activeModulesLimit":{"type":"integer","format":"int32"},"teamSeatsLimit":{"type":"integer","format":"int32"},"environmentsPerModule":{"type":"integer","format":"int32"},"integrationsLimit":{"type":"integer","format":"int32"},"auditLogRetentionDays":{"type":"integer","format":"int32"}}},"ApiResponsePlanLimit":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PlanLimit"}}},"DevelopmentPhase":{"type":"object","properties":{"phaseNumber":{"type":"integer","format":"int32"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"string","enum":["PENDING","IN_PROGRESS","COMPLETED","SKIPPED"]},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/PhaseTask"}}}},"PhaseTask":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string","enum":["TODO","IN_PROGRESS","DONE"]},"assignee":{"type":"string"},"completedAt":{"type":"string","format":"date-time"}}},"PhasedDevelopment":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string","enum":["PLANNING","IN_PROGRESS","REVIEW","COMPLETED","PAUSED"]},"phases":{"type":"array","items":{"$ref":"#/components/schemas/DevelopmentPhase"}},"currentPhase":{"type":"integer","format":"int32"},"totalPhases":{"type":"integer","format":"int32"},"aiModelUsed":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponsePhasedDevelopment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PhasedDevelopment"}}},"Webhook":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"url":{"type":"string"},"secret":{"type":"string","writeOnly":true},"events":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"failureCount":{"type":"integer","format":"int32"},"lastDeliveryAt":{"type":"string","format":"date-time"},"lastDeliveryStatus":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseWebhook":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Webhook"}}},"ApiResponseVendorConsultantSummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/VendorConsultantSummary"}}},"VendorConsultantSummary":{"type":"object","properties":{"principalId":{"type":"string"},"invitationId":{"type":"string"},"orgId":{"type":"string"},"userId":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"vendorOrg":{"type":"string"},"engagement":{"$ref":"#/components/schemas/VendorEngagement"},"status":{"type":"string"},"invitedBy":{"type":"string"},"invitedAt":{"type":"string"}}},"VendorInviteRequest":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"vendorOrg":{"type":"string"},"modules":{"type":"array","items":{"type":"string"}},"endsAt":{"type":"string"},"startsAt":{"type":"string"}}},"RegistryUsedByRequest":{"type":"object","properties":{"action":{"type":"string"},"kind":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}}},"ApiResponseListUsedByRef":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UsedByRef"}}}},"RegistryLifecycleRequest":{"type":"object","properties":{"to":{"type":"string"},"reason":{"type":"string"},"force":{"type":"boolean"}}},"RegistryApprovalRequest":{"type":"object","properties":{"reason":{"type":"string"}}},"PublishedApi":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"openapi":{"type":"object","additionalProperties":{"type":"object"}}}},"PublishedDependency":{"type":"object","properties":{"ecosystem":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"dev":{"type":"boolean"}}},"PublishedTechnology":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"category":{"type":"string"}}},"RegistryPublishRequest":{"type":"object","properties":{"moduleId":{"type":"string"},"productId":{"type":"string"},"commitSha":{"type":"string"},"buildId":{"type":"string"},"apis":{"type":"array","items":{"$ref":"#/components/schemas/PublishedApi"}},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/PublishedDependency"}},"technologies":{"type":"array","items":{"$ref":"#/components/schemas/PublishedTechnology"}}}},"ApiResponseRegistryPublishResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistryPublishResponse"}}},"ApiResult":{"type":"object","properties":{"entryId":{"type":"string"},"key":{"type":"string"},"version":{"type":"string"},"action":{"type":"string"},"breaking":{"type":"boolean"},"removedOperations":{"type":"array","items":{"type":"string"}},"consumers":{"type":"array","items":{"$ref":"#/components/schemas/UsedByRef"}}}},"KeyedResult":{"type":"object","properties":{"entryId":{"type":"string"},"key":{"type":"string"},"action":{"type":"string"}}},"NamedResult":{"type":"object","properties":{"entryId":{"type":"string"},"name":{"type":"string"},"action":{"type":"string"}}},"RegistryPublishResponse":{"type":"object","properties":{"apis":{"type":"array","items":{"$ref":"#/components/schemas/ApiResult"}},"technologies":{"type":"array","items":{"$ref":"#/components/schemas/TechnologyResult"}},"dataModels":{"type":"array","items":{"$ref":"#/components/schemas/NamedResult"}},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/NamedResult"}},"skills":{"type":"array","items":{"$ref":"#/components/schemas/KeyedResult"}},"tools":{"type":"array","items":{"$ref":"#/components/schemas/KeyedResult"}}}},"TechnologyResult":{"type":"object","properties":{"entryId":{"type":"string"},"name":{"type":"string"},"action":{"type":"string"},"matchedStandardId":{"type":"string"},"deviation":{"type":"string"}}},"ApiResponseMapStringRegistryMigrationMarker":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/RegistryMigrationMarker"}}}},"RegistryMigrationMarker":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"migrationKey":{"type":"string"},"contentHash":{"type":"string"},"version":{"type":"integer","format":"int32"},"status":{"type":"string"},"created":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"skipped":{"type":"integer","format":"int32"},"failures":{"type":"object","additionalProperties":{"type":"string"}},"error":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}},"RegistryErdRequest":{"type":"object","properties":{"productId":{"type":"string"},"moduleId":{"type":"string"},"context":{"type":"string"}}},"CredentialBindingCreateRequest":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"tags":{"type":"array","items":{"type":"string"}},"provider":{"type":"string"},"authType":{"type":"string"},"headerName":{"type":"string"},"environment":{"type":"string"},"dataClass":{"type":"string"},"rotateEveryDays":{"type":"integer","format":"int32"},"idempotencyKey":{"type":"string"},"secret":{"$ref":"#/components/schemas/CredentialSecretMaterial"}}},"PromoteRequest":{"type":"object","properties":{"moduleId":{"type":"string"},"packageRef":{"type":"string"}}},"ProvisioningProposalRequest":{"type":"object","properties":{"trigger":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"backlogItemIds":{"type":"array","items":{"type":"string"}}}},"ApiResponsePrincipalSyncResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PrincipalSyncResult"}}},"PrincipalSyncResult":{"type":"object","properties":{"orgId":{"type":"string"},"created":{"type":"integer","format":"int32"},"updated":{"type":"integer","format":"int32"},"unchanged":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"}}},"ApiResponseMcpRediscoverResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/McpRediscoverResponse"}}},"Installable":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"risk":{"type":"string"}}},"McpRediscoverResponse":{"type":"object","properties":{"changed":{"type":"boolean"},"diff":{"type":"object","additionalProperties":{"type":"object"}},"version":{"type":"string"},"changeNote":{"type":"string"},"installable":{"type":"array","items":{"$ref":"#/components/schemas/Installable"}},"retired":{"type":"array","items":{"$ref":"#/components/schemas/Retired"}},"refreshed":{"type":"array","items":{"type":"string"}}}},"Retired":{"type":"object","properties":{"entryId":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"lifecycle":{"type":"string"},"unlinkedFromSkill":{"type":"boolean"}}},"McpAuthSpec":{"type":"object","properties":{"type":{"type":"string"},"token":{"type":"string"},"headerName":{"type":"string"},"headerValue":{"type":"string"}}},"McpRegisterRequest":{"type":"object","properties":{"catalogId":{"type":"string"},"endpoint":{"type":"string"},"transport":{"type":"string"},"auth":{"$ref":"#/components/schemas/McpAuthSpec"},"name":{"type":"string"},"summary":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"selectedTools":{"type":"array","items":{"type":"string"}},"install":{"type":"boolean"},"policyTags":{"type":"array","items":{"type":"string"}},"credentialBindingId":{"type":"string"}}},"ApiResponseMcpRegisterResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/McpRegisterResponse"}}},"McpRegisterResponse":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/RegistryEntryDetail"},"skill":{"$ref":"#/components/schemas/RegistryEntryDetail"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ToolSummary"}}}},"ToolSummary":{"type":"object","properties":{"entryId":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"risk":{"type":"string"}}},"McpDiscoverRequest":{"type":"object","properties":{"catalogId":{"type":"string"},"endpoint":{"type":"string"},"transport":{"type":"string"},"auth":{"$ref":"#/components/schemas/McpAuthSpec"}}},"ApiResponseMcpDiscoveryResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/McpDiscoveryResult"}}},"DiscoveredTool":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object","additionalProperties":{"type":"object"}},"risk":{"type":"string"}}},"McpDiscoveryResult":{"type":"object","properties":{"endpoint":{"type":"string"},"transport":{"type":"string"},"serverName":{"type":"string"},"serverVersion":{"type":"string"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/DiscoveredTool"}},"toolSetHash":{"type":"string"}}},"ApiResponseRegistryEntry":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistryEntry"}}},"RenewRequest":{"type":"object","properties":{"expiresAt":{"type":"string"},"reviewTrigger":{"type":"string"},"conditions":{"type":"string"},"changeNote":{"type":"string"}}},"GovernanceCheckpointRaiseRequest":{"type":"object","properties":{"orgId":{"type":"string"},"title":{"type":"string"},"raisedFrom":{"type":"string"},"raisedBy":{"type":"string"},"subject":{"type":"object","additionalProperties":{"type":"object"}},"violation":{"type":"object","additionalProperties":{"type":"object"}},"blastRadius":{"type":"string"},"riskLevel":{"type":"string"},"actionClass":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"rationale":{"type":"string"}}},"Dispensation":{"type":"object","properties":{"scope":{"$ref":"#/components/schemas/Scope"},"expiresAt":{"type":"string"},"reviewTrigger":{"type":"string"},"conditions":{"type":"array","items":{"type":"string"}}}},"GovernanceCheckpointDecideRequest":{"type":"object","properties":{"outcome":{"type":"string"},"rationale":{"type":"string"},"dispensation":{"$ref":"#/components/schemas/Dispensation"},"relaxation":{"$ref":"#/components/schemas/Relaxation"}}},"Relaxation":{"type":"object","properties":{"changeNote":{"type":"string"}}},"ApiResponseDocumentMigrationMarker":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentMigrationMarker"}}},"DocumentMigrationMarker":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"migrationKey":{"type":"string"},"version":{"type":"integer","format":"int32"},"status":{"type":"string"},"created":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"skipped":{"type":"integer","format":"int32"},"skippedBinary":{"type":"integer","format":"int32"},"failures":{"type":"object","additionalProperties":{"type":"string"}},"error":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}},"KillRequest":{"type":"object","properties":{"target":{"type":"string"},"id":{"type":"string"},"reason":{"type":"string"}}},"ApiResponseKillSwitch":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/KillSwitch"}}},"KillSwitch":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"target":{"type":"string"},"targetId":{"type":"string"},"reason":{"type":"string"},"by":{"type":"string"},"at":{"type":"string","format":"date-time"},"active":{"type":"boolean"},"releasedBy":{"type":"string"},"releasedAt":{"type":"string","format":"date-time"},"propagated":{"type":"boolean"},"propagationError":{"type":"string"},"propagationAttempts":{"type":"integer","format":"int32"},"propagatedAt":{"type":"string","format":"date-time"}}},"Member":{"type":"object","properties":{"instanceId":{"type":"string"},"principalId":{"type":"string"},"userId":{"type":"string"},"role":{"type":"string"}}},"SquadAssignRequest":{"type":"object","properties":{"strategy":{"type":"string"},"members":{"type":"array","items":{"$ref":"#/components/schemas/Member"}},"dryRun":{"type":"boolean"}}},"ApiResponseSquad":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Squad"}}},"AgentPoolDecommissionRequest":{"type":"object","properties":{"reason":{"type":"string"},"force":{"type":"boolean"}}},"AgentPoolActivityView":{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"action":{"type":"string"},"outcome":{"type":"string"},"principalId":{"type":"string"},"principalType":{"type":"string"},"principalName":{"type":"string"},"resourceType":{"type":"string"},"resourceId":{"type":"string"},"resourceName":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"correlationId":{"type":"string"}}},"AgentPoolInstanceView":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"definitionKey":{"type":"string"},"definitionType":{"type":"string"},"definitionName":{"type":"string"},"definitionId":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"status":{"type":"string"},"capacity":{"$ref":"#/components/schemas/Capacity"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Scope"}},"skills":{"type":"array","items":{"type":"string"}},"squadIds":{"type":"array","items":{"type":"string"}},"profileId":{"type":"string"},"principalId":{"type":"string"},"delegatedFrom":{"type":"string"},"delegatedFromName":{"type":"string"},"clonedFromId":{"type":"string"},"pinned":{"type":"boolean"},"killed":{"type":"boolean"},"productId":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"lastActivityAt":{"type":"string","format":"date-time"},"offlineAt":{"type":"string","format":"date-time"},"decommissionedAt":{"type":"string","format":"date-time"},"decommissionReason":{"type":"string"},"activity":{"type":"array","items":{"$ref":"#/components/schemas/AgentPoolActivityView"}}}},"ApiResponseAgentPoolInstanceView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentPoolInstanceView"}}},"Capacity":{"type":"object","properties":{"maxConcurrentTasks":{"type":"integer","format":"int32"},"activeTasks":{"type":"integer","format":"int32"}}},"ApiResponseObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object"}}},"ApiResponseOrgMember":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/OrgMember"}}},"OrgMember":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"userId":{"type":"string"},"role":{"type":"string"},"invitedBy":{"type":"string"},"invitedAt":{"type":"string","format":"date-time"},"joinedAt":{"type":"string","format":"date-time"}}},"EscalationChain":{"type":"object","properties":{"primaryId":{"type":"string"},"secondaryId":{"type":"string"},"managerId":{"type":"string"},"escalationTimeoutMinutes":{"type":"integer","format":"int32"}}},"OnCallRotation":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"scheduleType":{"type":"string","enum":["DAILY","WEEKLY","BIWEEKLY","CUSTOM"]},"memberIds":{"type":"array","items":{"type":"string"}},"memberNames":{"type":"array","items":{"type":"string"}},"rotationDurationHours":{"type":"integer","format":"int32"},"escalation":{"$ref":"#/components/schemas/EscalationChain"},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseOnCallRotation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/OnCallRotation"}}},"ModuleScaffoldRequest":{"type":"object","properties":{"mode":{"type":"string"},"branch":{"type":"string"},"scaffoldBranch":{"type":"string"},"description":{"type":"string"},"force":{"type":"boolean"},"reason":{"type":"string"}}},"ApiResponseModuleScaffoldResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ModuleScaffoldResult"}}},"ModuleScaffoldResult":{"type":"object","properties":{"moduleId":{"type":"string"},"status":{"type":"string"},"mode":{"type":"string"},"branch":{"type":"string"},"commitSha":{"type":"string"},"prUrl":{"type":"string"},"filesCount":{"type":"integer","format":"int32"},"error":{"type":"string"},"documentId":{"type":"string"},"noChanges":{"type":"boolean"}}},"Dimensions":{"type":"object","properties":{"x":{"type":"number","format":"double"},"y":{"type":"number","format":"double"},"z":{"type":"number","format":"double"}}},"Model3D":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"format":{"type":"string"},"fileData":{"type":"string","format":"byte"},"fileUrl":{"type":"string"},"gcsUri":{"type":"string"},"contentType":{"type":"string"},"fileSizeBytes":{"type":"integer","format":"int64"},"dimensions":{"$ref":"#/components/schemas/Dimensions"},"material":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"version":{"type":"integer","format":"int32"},"parentVersionId":{"type":"string"},"thumbnailData":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseModel3D":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Model3D"}}},"MobileBuildConfig":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"platformType":{"type":"string"},"flutterVersion":{"type":"string"},"dartVersion":{"type":"string"},"targetPlatforms":{"type":"array","items":{"type":"string"}},"flavors":{"type":"object","additionalProperties":{"type":"object"}},"buildMode":{"type":"string"},"rnVersion":{"type":"string"},"nodeVersion":{"type":"string"},"hermeEnabled":{"type":"boolean"},"newArchEnabled":{"type":"boolean"},"codeSigningTeamId":{"type":"string"},"xcodeVersion":{"type":"string"},"bundleId":{"type":"string"},"teamId":{"type":"string"},"provisioningProfileId":{"type":"string"},"signingCertificateId":{"type":"string"},"targetIosVersion":{"type":"string"},"buildScheme":{"type":"string"},"compileSdkVersion":{"type":"integer","format":"int32"},"minSdkVersion":{"type":"integer","format":"int32"},"targetSdkVersion":{"type":"integer","format":"int32"},"keystoreAlias":{"type":"string"},"packageName":{"type":"string"},"buildType":{"type":"string"},"buildCommand":{"type":"string"},"testCommand":{"type":"string"},"environment":{"type":"object","additionalProperties":{"type":"string"}},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseMobileBuildConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/MobileBuildConfig"}}},"ApiResponseMergeGroup":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/MergeGroup"}}},"MergeGroup":{"type":"object","properties":{"id":{"type":"string"},"epicId":{"type":"string"},"productId":{"type":"string"},"organizationId":{"type":"string"},"members":{"type":"array","items":{"$ref":"#/components/schemas/Member"}},"integrationGateStatus":{"type":"string"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Material":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"labId":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"manufacturer":{"type":"string"},"partNumber":{"type":"string"},"lotNumber":{"type":"string"},"quantity":{"type":"number","format":"double"},"unit":{"type":"string"},"location":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"status":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"assignedDeviceId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseMaterial":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Material"}}},"ManufacturingWorkflow":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowStep"}},"overallStatus":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"triggeredBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"WorkflowStep":{"type":"object","properties":{"stepIndex":{"type":"integer","format":"int32"},"stepType":{"type":"string"},"deviceId":{"type":"string"},"deviceType":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"object"}},"status":{"type":"string"},"dependsOn":{"type":"array","items":{"type":"integer","format":"int32"}},"result":{"type":"object","additionalProperties":{"type":"object"}},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"errorMessage":{"type":"string"}}},"ApiResponseManufacturingWorkflow":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ManufacturingWorkflow"}}},"MaintenanceWindow":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"affectedServices":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseMaintenanceWindow":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/MaintenanceWindow"}}},"LoadTestResult":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"configId":{"type":"string"},"configName":{"type":"string"},"status":{"type":"string"},"startedAt":{"type":"string"},"completedAt":{"type":"string"},"durationSeconds":{"type":"integer","format":"int32"},"virtualUsers":{"type":"integer","format":"int32"},"targetUrl":{"type":"string"},"avgResponseTimeMs":{"type":"integer","format":"int32"},"p50ResponseTimeMs":{"type":"integer","format":"int32"},"p95ResponseTimeMs":{"type":"integer","format":"int32"},"p99ResponseTimeMs":{"type":"integer","format":"int32"},"minResponseTimeMs":{"type":"integer","format":"int32"},"maxResponseTimeMs":{"type":"integer","format":"int32"},"throughputRps":{"type":"integer","format":"int32"},"totalRequests":{"type":"integer","format":"int64"},"errorRate":{"type":"number","format":"double"},"errorCount":{"type":"integer","format":"int64"},"statusCodes":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"responseDistribution":{"type":"array","items":{"$ref":"#/components/schemas/ResponseDistBucket"}},"triggeredBy":{"type":"string"},"createdAt":{"type":"string"}}},"ResponseDistBucket":{"type":"object","properties":{"bucket":{"type":"string"},"count":{"type":"integer","format":"int64"},"percentage":{"type":"number","format":"double"}}},"ApiResponseLoadTestResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LoadTestResult"}}},"LoadTestConfig":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"preset":{"type":"string"},"virtualUsers":{"type":"integer","format":"int32"},"duration":{"type":"integer","format":"int32"},"rampUpTime":{"type":"integer","format":"int32"},"targetUrl":{"type":"string"},"maxResponseTime":{"type":"integer","format":"int32"},"errorRateThreshold":{"type":"number","format":"double"},"throughputTarget":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseLoadTestConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LoadTestConfig"}}},"Lab":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"location":{"type":"string"},"deviceIds":{"type":"array","items":{"type":"string"}},"zones":{"type":"array","items":{"$ref":"#/components/schemas/LabZone"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"LabZone":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"deviceIds":{"type":"array","items":{"type":"string"}}}},"ApiResponseLab":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Lab"}}},"Integration":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"type":{"type":"string","enum":["CONFLUENCE","JIRA","GITHUB","GITLAB","SLACK","TEAMS"]},"name":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object"}},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseIntegration":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Integration"}}},"PagerDutyConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"apiKey":{"type":"string","writeOnly":true},"serviceId":{"type":"string"},"integrationKey":{"type":"string","writeOnly":true},"escalationPolicyId":{"type":"string"},"routingKey":{"type":"string","writeOnly":true},"autoCreateIncident":{"type":"boolean"},"severityMapping":{"type":"object","additionalProperties":{"type":"string"}},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponsePagerDutyConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PagerDutyConfig"}}},"JiraSyncConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"jiraBaseUrl":{"type":"string"},"jiraEmail":{"type":"string"},"jiraApiToken":{"type":"string","writeOnly":true},"jiraModuleKey":{"type":"string"},"syncDirection":{"type":"string","enum":["INBOUND","OUTBOUND","BIDIRECTIONAL"]},"syncEntities":{"type":"array","items":{"type":"string","enum":["STORIES","BUGS","TASKS","EPICS"]}},"fieldMapping":{"type":"object","additionalProperties":{"type":"string"}},"statusMapping":{"type":"object","additionalProperties":{"type":"string"}},"priorityMapping":{"type":"object","additionalProperties":{"type":"string"}},"autoSync":{"type":"boolean"},"syncIntervalMinutes":{"type":"integer","format":"int32"},"lastSyncAt":{"type":"string","format":"date-time"},"lastSyncStatus":{"type":"string","enum":["SUCCESS","FAILED","PARTIAL"]},"lastSyncErrors":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseJiraSyncConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/JiraSyncConfig"}}},"ConfluenceConfig":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"confluenceBaseUrl":{"type":"string"},"confluenceEmail":{"type":"string"},"confluenceApiToken":{"type":"string","writeOnly":true},"spaceKey":{"type":"string"},"parentPageId":{"type":"string"},"autoPublish":{"type":"boolean"},"publishTypes":{"type":"array","items":{"type":"string","enum":["RELEASE_NOTES","TEST_REPORTS","ARCHITECTURE_DOCS","API_DOCS"]}},"templateOverrides":{"type":"object","additionalProperties":{"type":"string"}},"lastPublishAt":{"type":"string","format":"date-time"},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseConfluenceConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ConfluenceConfig"}}},"Attachment":{"type":"object","properties":{"id":{"type":"string"},"filename":{"type":"string"},"contentType":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"gcsObjectPath":{"type":"string"},"uploadedByUserId":{"type":"string"},"uploadedAt":{"type":"string","format":"date-time"}}},"Incident":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"severity":{"type":"string","enum":["SEV1","SEV2","SEV3","SEV4"]},"status":{"type":"string","enum":["OPEN","INVESTIGATING","IDENTIFIED","MONITORING","RESOLVED"]},"assigneeId":{"type":"string"},"assigneeName":{"type":"string"},"resolvedById":{"type":"string"},"resolutionNotes":{"type":"string"},"timeline":{"type":"array","items":{"$ref":"#/components/schemas/TimelineEntry"}},"affectedServices":{"type":"array","items":{"type":"string"}},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Attachment"}},"startedAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"TimelineEntry":{"type":"object","properties":{"message":{"type":"string"},"author":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"ApiResponseIncident":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Incident"}}},"ConfirmAttachmentRequest":{"required":["attachmentId","filename","gcsObjectPath"],"type":"object","properties":{"attachmentId":{"type":"string"},"gcsObjectPath":{"type":"string"},"filename":{"type":"string"},"contentType":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"}}},"ApiResponseAttachment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Attachment"}}},"AttachmentUploadUrlRequest":{"required":["filename"],"type":"object","properties":{"filename":{"type":"string"},"contentType":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"}}},"ApiResponseAttachmentUploadUrlResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AttachmentUploadUrlResponse"}}},"AttachmentUploadUrlResponse":{"type":"object","properties":{"attachmentId":{"type":"string"},"uploadUrl":{"type":"string"},"method":{"type":"string"},"gcsObjectPath":{"type":"string"},"requiredHeaders":{"type":"object","additionalProperties":{"type":"string"}},"expiresInSeconds":{"type":"integer","format":"int64"}}},"ApiResponseArticleInteraction":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArticleInteraction"}}},"ArticleInteraction":{"type":"object","properties":{"id":{"type":"string"},"articleSlug":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ArchitectureReview":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/ReviewerAssessment"}},"checklist":{"type":"array","items":{"$ref":"#/components/schemas/ChecklistItem"}},"overallDecision":{"type":"string"},"conditions":{"type":"array","items":{"type":"string"}},"findings":{"type":"array","items":{"type":"string"}},"dispensationIds":{"type":"array","items":{"type":"string"}},"linkedStandardIds":{"type":"array","items":{"type":"string"}},"linkedPrincipleIds":{"type":"array","items":{"type":"string"}},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"scheduledAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"nextReviewDate":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ChecklistItem":{"type":"object","properties":{"item":{"type":"string"},"category":{"type":"string"},"passed":{"type":"boolean"},"notes":{"type":"string"}}},"ExternalReference":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"documentId":{"type":"string"},"url":{"type":"string"},"fetchedAt":{"type":"string","format":"date-time"},"autoRefresh":{"type":"boolean"},"refreshIntervalHours":{"type":"integer","format":"int32"},"confluencePageId":{"type":"string"},"confluenceSpaceKey":{"type":"string"},"confluenceInstanceUrl":{"type":"string"},"repositoryPath":{"type":"string"},"commitSha":{"type":"string"},"jiraIssueKey":{"type":"string"},"title":{"type":"string"},"excerpt":{"type":"string"},"sourceAttribution":{"type":"string"},"addedAt":{"type":"string","format":"date-time"},"addedBy":{"type":"string"}}},"ReviewerAssessment":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string"},"decision":{"type":"string"},"findings":{"type":"array","items":{"type":"string"}},"assessedAt":{"type":"string","format":"date-time"}}},"ApiResponseArchitectureReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureReview"}}},"ApiResponseDispensation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Dispensation"}}},"ArchitectureContract":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"scope":{"type":"string"},"scopeId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"clauses":{"type":"array","items":{"$ref":"#/components/schemas/ContractClause"}},"qualityAttributes":{"type":"array","items":{"$ref":"#/components/schemas/GovernanceQualityAttribute"}},"technologyConstraints":{"type":"array","items":{"$ref":"#/components/schemas/TechConstraint"}},"securityRequirements":{"type":"array","items":{"type":"string"}},"signatories":{"type":"array","items":{"$ref":"#/components/schemas/ContractSignatory"}},"status":{"type":"string"},"validUntil":{"type":"string","format":"date-time"},"linkedPrincipleIds":{"type":"array","items":{"type":"string"}},"linkedStandardIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ContractClause":{"type":"object","properties":{"requirement":{"type":"string"},"category":{"type":"string"},"validationMethod":{"type":"string"}}},"ContractSignatory":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string"},"signedAt":{"type":"string","format":"date-time"}}},"GovernanceQualityAttribute":{"type":"object","properties":{"attribute":{"type":"string"},"target":{"type":"string"},"measurement":{"type":"string"}}},"TechConstraint":{"type":"object","properties":{"technology":{"type":"string"},"constraint":{"type":"string"},"reason":{"type":"string"}}},"ApiResponseArchitectureContract":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureContract"}}},"GerberFile":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"schematicFileId":{"type":"string"},"name":{"type":"string"},"layers":{"type":"array","items":{"type":"string"}},"format":{"type":"string"},"fileUrl":{"type":"string"},"previewUrl":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"generatedBy":{"type":"string"},"boardWidth":{"type":"number","format":"double"},"boardHeight":{"type":"number","format":"double"},"drillCount":{"type":"integer","format":"int32"},"viaCount":{"type":"integer","format":"int32"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseGerberFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/GerberFile"}}},"GDPRRequest":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"userId":{"type":"string"},"requestType":{"type":"string","enum":["DATA_EXPORT","DATA_DELETION","CONSENT_WITHDRAWAL","RIGHT_TO_RECTIFICATION"]},"status":{"type":"string","enum":["PENDING","PROCESSING","COMPLETED","FAILED"]},"requestedBy":{"type":"string"},"reason":{"type":"string"},"dataScope":{"type":"array","items":{"type":"string"}},"exportUrl":{"type":"string"},"processedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseGDPRRequest":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/GDPRRequest"}}},"GCodeFile":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"sourceModelId":{"type":"string"},"slicerProfileId":{"type":"string"},"fileName":{"type":"string"},"fileData":{"type":"string","format":"byte"},"gcsUri":{"type":"string"},"contentType":{"type":"string"},"fileSizeBytes":{"type":"integer","format":"int64"},"fileType":{"type":"string"},"estimatedTimeSeconds":{"type":"integer","format":"int32"},"materialUsageGrams":{"type":"number","format":"double"},"layerCount":{"type":"integer","format":"int32"},"dimensions":{"type":"object","additionalProperties":{"type":"number","format":"double"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseGCodeFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/GCodeFile"}}},"FlashTarget":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"targetType":{"type":"string"},"chipFamily":{"type":"string"},"flashInterface":{"type":"string"},"firmwareUrl":{"type":"string"},"firmwareVersion":{"type":"string"},"flashAddress":{"type":"string"},"verifyAfterFlash":{"type":"boolean"},"lastFlashedAt":{"type":"string","format":"date-time"},"lastFlashedBy":{"type":"string"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseFlashTarget":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FlashTarget"}}},"FlakyTestRecord":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"testSuiteId":{"type":"string"},"testName":{"type":"string"},"testFilePath":{"type":"string"},"flakyRate":{"type":"number","format":"double"},"totalRuns":{"type":"integer","format":"int32"},"failedRuns":{"type":"integer","format":"int32"},"passedRuns":{"type":"integer","format":"int32"},"lastFlakeAt":{"type":"string","format":"date-time"},"lastPassAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["FLAKY","STABLE","QUARANTINED"]},"tags":{"type":"array","items":{"type":"string"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/RunHistory"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"RunHistory":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"passed":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"}}},"ApiResponseFlakyTestRecord":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FlakyTestRecord"}}},"FeedbackItem":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"upvotes":{"type":"integer","format":"int32"},"upvoterIds":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"createdBy":{"type":"string"},"assigneeId":{"type":"string"},"productId":{"type":"string"},"serviceId":{"type":"string"},"source":{"type":"string"},"customer":{"type":"string"},"severity":{"type":"string"},"sentiment":{"type":"string"},"linkedDefectId":{"type":"string"},"linkedBacklogId":{"type":"string"},"linkedChangeRequestId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseFeedbackItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FeedbackItem"}}},"FeatureFlag":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["BOOLEAN","PERCENTAGE","USER_SEGMENT"]},"environments":{"type":"object","additionalProperties":{"type":"boolean"}},"percentage":{"type":"integer","format":"int32"},"enabled":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseFeatureFlag":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FeatureFlag"}}},"FabricationPartner":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"website":{"type":"string"},"apiEndpoint":{"type":"string"},"apiKeyEncrypted":{"type":"string","writeOnly":true},"capabilities":{"type":"array","items":{"type":"string"}},"leadTimeDays":{"type":"integer","format":"int32"},"minOrderQty":{"type":"integer","format":"int32"},"preferredForModules":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseFabricationPartner":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FabricationPartner"}}},"FabricationOrder":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"fabricationPartnerId":{"type":"string"},"gerberFileId":{"type":"string"},"orderNumber":{"type":"string"},"quantity":{"type":"integer","format":"int32"},"layers":{"type":"integer","format":"int32"},"pcbThickness":{"type":"number","format":"double"},"surfaceFinish":{"type":"string"},"copperWeight":{"type":"string"},"solderMask":{"type":"string"},"silkscreen":{"type":"string"},"boardWidth":{"type":"number","format":"double"},"boardHeight":{"type":"number","format":"double"},"panelized":{"type":"boolean"},"panelRows":{"type":"integer","format":"int32"},"panelCols":{"type":"integer","format":"int32"},"estimatedCost":{"type":"number","format":"double"},"actualCost":{"type":"number","format":"double"},"currency":{"type":"string"},"status":{"type":"string"},"trackingNumber":{"type":"string"},"estimatedDelivery":{"type":"string","format":"date-time"},"submittedAt":{"type":"string","format":"date-time"},"shippedAt":{"type":"string","format":"date-time"},"deliveredAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseFabricationOrder":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/FabricationOrder"}}},"Experiment":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"serviceId":{"type":"string"},"name":{"type":"string"},"hypothesis":{"type":"string"},"variants":{"type":"array","items":{"$ref":"#/components/schemas/Variant"}},"assignmentRules":{"type":"object","additionalProperties":{"type":"object"}},"outcomeMetrics":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"endedAt":{"type":"string","format":"date-time"},"conclusion":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Variant":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"weight":{"type":"integer","format":"int32"},"config":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseExperiment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Experiment"}}},"Refs":{"type":"object","properties":{"documentId":{"type":"string"},"adrId":{"type":"string"},"backlogItemId":{"type":"string"}}},"ThreadEntry":{"type":"object","properties":{"id":{"type":"string"},"authorType":{"type":"string"},"kind":{"type":"string"},"content":{"type":"string"},"refs":{"$ref":"#/components/schemas/Refs"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseEpicThread":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EpicThread"}}},"EpicThread":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"epicId":{"type":"string"},"status":{"type":"string"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ThreadEntry"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"EnvironmentHealthCheck":{"type":"object","properties":{"id":{"type":"string"},"environmentId":{"type":"string"},"moduleId":{"type":"string"},"status":{"type":"string"},"responseTimeMs":{"type":"integer","format":"int32"},"errorRate":{"type":"number","format":"double"},"uptime":{"type":"number","format":"double"},"lastCheckedAt":{"type":"string","format":"date-time"},"nextCheckAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseEnvironmentHealthCheck":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EnvironmentHealthCheck"}}},"ApiResponseKnowledgeDocument":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/KnowledgeDocument"}}},"KnowledgeDocument":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"serviceId":{"type":"string"},"userId":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"},"mimeType":{"type":"string"},"size":{"type":"integer","format":"int64"},"storageUrl":{"type":"string"},"gcsUri":{"type":"string"},"contentType":{"type":"string"},"fileSizeBytes":{"type":"integer","format":"int64"},"fileData":{"type":"string","format":"byte"},"textContent":{"type":"string"},"body":{"type":"string"},"scope":{"type":"string"},"sessionId":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"documentType":{"type":"string"},"linkedModuleIds":{"type":"array","items":{"type":"string"}},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Attachment"}},"linkedEntities":{"type":"array","items":{"$ref":"#/components/schemas/LinkedEntity"}},"status":{"type":"string"},"version":{"type":"integer","format":"int32"},"migratedDocumentId":{"type":"string"},"ownerId":{"type":"string"},"createdBy":{"type":"string"},"createdByAgent":{"type":"boolean"},"source":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"archivedAt":{"type":"string","format":"date-time"},"deletedAt":{"type":"string","format":"date-time"},"category":{"type":"string","readOnly":true},"content":{"type":"string","readOnly":true}}},"LinkedEntity":{"type":"object","properties":{"entityType":{"type":"string"},"entityId":{"type":"string"},"relationType":{"type":"string"}}},"DocumentReferenceRequest":{"type":"object","properties":{"toKind":{"type":"string"},"toId":{"type":"string"},"toPinnedVersion":{"type":"integer","format":"int32"},"relation":{"type":"string"},"fromRange":{"$ref":"#/components/schemas/Range"}}},"Range":{"type":"object","properties":{"start":{"type":"integer","format":"int32"},"end":{"type":"integer","format":"int32"}}},"ApiResponseDocumentReference":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentReference"}}},"DocumentReference":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"fromDocumentId":{"type":"string"},"fromVersion":{"type":"integer","format":"int32"},"fromRange":{"$ref":"#/components/schemas/Range"},"toKind":{"type":"string"},"toId":{"type":"string"},"toPinnedVersion":{"type":"integer","format":"int32"},"relation":{"type":"string"},"origin":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"DocumentMoveRequest":{"type":"object","properties":{"parentId":{"type":"string"},"order":{"type":"integer","format":"int32"}}},"DocumentLifecycleRequest":{"type":"object","properties":{"to":{"type":"string"}}},"ArchitectureDiagram":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"format":{"type":"string"},"diagramData":{"type":"string"},"currentVersion":{"type":"integer","format":"int32"},"svg":{"type":"string"},"referencedBy":{"type":"array","items":{"$ref":"#/components/schemas/DiagramReference"}},"thumbnailUrl":{"type":"string"},"url":{"type":"string"},"description":{"type":"string"},"linkedArchitectureIds":{"type":"array","items":{"type":"string"}},"linkedComponentIds":{"type":"array","items":{"type":"string"}},"source":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"DiagramReference":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"}}},"ApiResponseArchitectureDiagram":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureDiagram"}}},"DiagramReferenceRequest":{"required":["id","kind"],"type":"object","properties":{"action":{"type":"string"},"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"remove":{"type":"boolean"}}},"Device":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"lastHeartbeat":{"type":"string","format":"date-time"},"ipAddress":{"type":"string"},"firmwareVersion":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"deviceType":{"type":"string"},"connectionConfig":{"type":"object","additionalProperties":{"type":"object"}},"labId":{"type":"string"},"zoneId":{"type":"string"},"cameraStreamUrl":{"type":"string"},"calibrationDueDate":{"type":"string","format":"date-time"},"calibrationStatus":{"type":"string"},"lastMaintenanceDate":{"type":"string","format":"date-time"},"safetyLevel":{"type":"string"},"cameraType":{"type":"string"},"connectionSessionId":{"type":"string"},"lastCalibrationDate":{"type":"string","format":"date-time"},"nextMaintenanceDate":{"type":"string","format":"date-time"},"maintenanceStatus":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDevice":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Device"}}},"DeviceJob":{"type":"object","properties":{"id":{"type":"string"},"deviceId":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"jobType":{"type":"string"},"payload":{"type":"object","additionalProperties":{"type":"object"}},"status":{"type":"string"},"result":{"type":"object","additionalProperties":{"type":"object"}},"priority":{"type":"integer","format":"int32"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int64"},"triggeredBy":{"type":"string"},"errorMessage":{"type":"string"},"modelId":{"type":"string"},"gcodeFileId":{"type":"string"},"slicerProfileId":{"type":"string"},"workflowId":{"type":"string"},"workflowStepIndex":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDeviceJob":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeviceJob"}}},"DeviceFarmTestRun":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"configId":{"type":"string"},"provider":{"type":"string"},"status":{"type":"string"},"triggeredAt":{"type":"string"},"completedAt":{"type":"string"},"duration":{"type":"integer","format":"int32"},"deviceCount":{"type":"integer","format":"int32"},"passedDevices":{"type":"integer","format":"int32"},"failedDevices":{"type":"integer","format":"int32"},"triggeredBy":{"type":"string"},"createdAt":{"type":"string"}}},"ApiResponseDeviceFarmTestRun":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeviceFarmTestRun"}}},"DeviceFarmConfig":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"provider":{"type":"string"},"moduleNumber":{"type":"string"},"serviceAccountJson":{"type":"string","writeOnly":true},"deviceModels":{"type":"array","items":{"type":"string"}},"androidApiLevels":{"type":"array","items":{"type":"integer","format":"int32"}},"locales":{"type":"array","items":{"type":"string"}},"awsRegion":{"type":"string"},"moduleArn":{"type":"string"},"devicePoolArn":{"type":"string"},"accessKeyId":{"type":"string"},"secretAccessKey":{"type":"string","writeOnly":true},"username":{"type":"string"},"accessKey":{"type":"string","writeOnly":true},"appUrl":{"type":"string"},"enabled":{"type":"boolean"},"testType":{"type":"string"},"timeout":{"type":"integer","format":"int32"},"maxDevices":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDeviceFarmConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DeviceFarmConfig"}}},"DesignReview":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"productId":{"type":"string"},"epicId":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/ReviewerAssessment"}},"checklist":{"type":"array","items":{"$ref":"#/components/schemas/ChecklistItem"}},"overallDecision":{"type":"string"},"uncoveredCriteria":{"type":"array","items":{"type":"string"}},"findings":{"type":"array","items":{"type":"string"}},"conditions":{"type":"array","items":{"type":"string"}},"linkedDocumentIds":{"type":"array","items":{"type":"string"}},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"scheduledAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseDesignReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DesignReview"}}},"Deployment":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"environmentId":{"type":"string"},"version":{"type":"string"},"status":{"type":"string"},"triggeredBy":{"type":"string"},"approvals":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentApproval"}},"buildArtifactUrl":{"type":"string"},"rollbackFromId":{"type":"string"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"createdAt":{"type":"string","format":"date-time"}}},"DeploymentApproval":{"type":"object","properties":{"approverId":{"type":"string"},"role":{"type":"string"},"decision":{"type":"string"},"comment":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"ApiResponseDeployment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Deployment"}}},"CrashReport":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"platform":{"type":"string","enum":["IOS","ANDROID","WEB","DESKTOP"]},"source":{"type":"string","enum":["CRASHLYTICS","SENTRY","CUSTOM"]},"exceptionType":{"type":"string"},"exceptionMessage":{"type":"string"},"stackTrace":{"type":"string"},"appVersion":{"type":"string"},"osVersion":{"type":"string"},"deviceModel":{"type":"string"},"deviceManufacturer":{"type":"string"},"userId":{"type":"string"},"sessionId":{"type":"string"},"occurrences":{"type":"integer","format":"int32"},"affectedUsers":{"type":"integer","format":"int32"},"firstOccurrence":{"type":"string","format":"date-time"},"lastOccurrence":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["NEW","INVESTIGATING","RESOLVED","IGNORED"]},"assignedTo":{"type":"string"},"relatedDefectId":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseCrashReport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CrashReport"}}},"Context":{"type":"object","properties":{"ip":{"type":"string"},"clientCapabilities":{"type":"array","items":{"type":"string"}},"time":{"type":"string","format":"date-time"},"riskLevel":{"type":"string"},"toolCategory":{"type":"string"},"skillKey":{"type":"string"},"actingFor":{"type":"string"}}},"DecisionRequest":{"type":"object","properties":{"principalId":{"type":"string"},"principalType":{"type":"string"},"orgId":{"type":"string"},"action":{"type":"string"},"resource":{"$ref":"#/components/schemas/Resource"},"context":{"$ref":"#/components/schemas/Context"},"service":{"type":"boolean"},"agent":{"type":"boolean"}}},"Resource":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"},"orgId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"dataClass":{"type":"string"},"environment":{"type":"string"}}},"ApiResponseDecision":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Decision"}}},"ApprovalRule":{"type":"object","properties":{"actionClass":{"type":"string"},"riskAtLeast":{"type":"string"},"approverRole":{"type":"string"},"id":{"type":"string"},"blastRadius":{"type":"string"}}},"Decision":{"type":"object","properties":{"effect":{"type":"string","enum":["allow","deny","require-approval"]},"reasons":{"type":"array","items":{"$ref":"#/components/schemas/Reason"}},"approvalRule":{"$ref":"#/components/schemas/ApprovalRule"},"ttlSeconds":{"type":"integer","format":"int32"},"denied":{"type":"boolean"},"allowed":{"type":"boolean"}}},"Reason":{"type":"object","properties":{"rule":{"type":"string"},"matched":{"type":"boolean"},"source":{"type":"string"}}},"DecisionBatchRequest":{"type":"object","properties":{"decisions":{"type":"array","items":{"$ref":"#/components/schemas/DecisionRequest"}}}},"ApiResponseDecisionBatchResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DecisionBatchResponse"}}},"DecisionBatchResponse":{"type":"object","properties":{"decisions":{"type":"array","items":{"$ref":"#/components/schemas/Decision"}}}},"CodeReview":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"pullRequestUrl":{"type":"string"},"repositoryUrl":{"type":"string"},"branch":{"type":"string"},"status":{"type":"string","enum":["PENDING","IN_PROGRESS","COMPLETED","FAILED"]},"findings":{"type":"array","items":{"$ref":"#/components/schemas/ReviewFinding"}},"overallScore":{"type":"integer","format":"int32"},"summary":{"type":"string"},"reviewedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}},"ReviewFinding":{"type":"object","properties":{"type":{"type":"string","enum":["SECURITY","PERFORMANCE","BEST_PRACTICE","CODE_SMELL","BUG_RISK"]},"severity":{"type":"string","enum":["HIGH","MEDIUM","LOW"]},"filePath":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"message":{"type":"string"},"suggestion":{"type":"string"}}},"ApiResponseCodeReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CodeReview"}}},"CodeQualityMetric":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"scanDate":{"type":"string","format":"date-time"},"linesOfCode":{"type":"integer","format":"int32"},"duplicatePercentage":{"type":"number","format":"double"},"codeSmells":{"type":"integer","format":"int32"},"bugs":{"type":"integer","format":"int32"},"vulnerabilities":{"type":"integer","format":"int32"},"technicalDebt":{"type":"string"},"maintainabilityRating":{"type":"string"},"reliabilityRating":{"type":"string"},"securityRating":{"type":"string"},"coveragePercentage":{"type":"number","format":"double"},"testCount":{"type":"integer","format":"int32"},"complexityScore":{"type":"number","format":"double"},"hotspots":{"type":"array","items":{"$ref":"#/components/schemas/Hotspot"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Hotspot":{"type":"object","properties":{"file":{"type":"string"},"complexity":{"type":"number","format":"double"},"issues":{"type":"integer","format":"int32"}}},"ApiResponseCodeQualityMetric":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CodeQualityMetric"}}},"BuildPropagation":{"type":"object","properties":{"id":{"type":"string"},"artifactId":{"type":"string"},"moduleId":{"type":"string"},"sourceEnvId":{"type":"string"},"targetEnvId":{"type":"string"},"status":{"type":"string"},"approverIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseBuildPropagation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BuildPropagation"}}},"BuildArtifact":{"type":"object","properties":{"id":{"type":"string"},"deploymentId":{"type":"string"},"moduleId":{"type":"string"},"platform":{"type":"string"},"artifactUrl":{"type":"string"},"size":{"type":"integer","format":"int64"},"hash":{"type":"string"},"buildTimeMs":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseBuildArtifact":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BuildArtifact"}}},"BOMItem":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"partNumber":{"type":"string"},"manufacturer":{"type":"string"},"description":{"type":"string"},"footprint":{"type":"string"},"quantity":{"type":"integer","format":"int32"},"unitCost":{"type":"number","format":"double"},"supplier":{"type":"string"},"supplierPartNumber":{"type":"string"},"category":{"type":"string"},"dnp":{"type":"boolean"},"schematicRef":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseBOMItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BOMItem"}}},"PaymentMethod":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"razorpayTokenId":{"type":"string","writeOnly":true},"type":{"type":"string","enum":["CARD","BANK_ACCOUNT"]},"last4":{"type":"string"},"brand":{"type":"string"},"expiryMonth":{"type":"integer","format":"int32"},"expiryYear":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"default":{"type":"boolean"}}},"ApiResponsePaymentMethod":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PaymentMethod"}}},"Invoice":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"razorpayPaymentId":{"type":"string"},"status":{"type":"string","enum":["DRAFT","OPEN","PAID","VOID","UNCOLLECTIBLE"]},"amountDue":{"type":"integer","format":"int64"},"amountPaid":{"type":"integer","format":"int64"},"currency":{"type":"string"},"periodStart":{"type":"string","format":"date-time"},"periodEnd":{"type":"string","format":"date-time"},"pdfUrl":{"type":"string"},"hostedInvoiceUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"invoiceNumber":{"type":"string"},"invoiceDate":{"type":"string","format":"date"},"taxTreatment":{"type":"string"},"taxRatePercent":{"type":"number","format":"double"},"sacCode":{"type":"string"},"placeOfSupplyStateCode":{"type":"string"},"placeOfSupplyStateName":{"type":"string"},"taxableValue":{"type":"integer","format":"int64"},"cgstAmount":{"type":"integer","format":"int64"},"sgstAmount":{"type":"integer","format":"int64"},"igstAmount":{"type":"integer","format":"int64"},"totalTaxAmount":{"type":"integer","format":"int64"},"sellerGstin":{"type":"string"},"sellerLegalName":{"type":"string"},"sellerAddress":{"type":"string"},"sellerStateCode":{"type":"string"},"customerGstin":{"type":"string"},"customerLegalName":{"type":"string"},"customerCountry":{"type":"string"},"customerAddress":{"type":"string"}}},"ApiResponseInvoice":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Invoice"}}},"CreditTopUpRequest":{"type":"object","properties":{"amountUsd":{"type":"number","format":"double"},"currency":{"type":"string"}}},"ApiResponseTopUpOrderResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TopUpOrderResponse"}}},"TopUpOrderResponse":{"type":"object","properties":{"orderId":{"type":"string"},"keyId":{"type":"string"},"amountMinorUnits":{"type":"integer","format":"int64"},"currency":{"type":"string"},"shortUrl":{"type":"string"}}},"CreditChargeRequest":{"required":["organizationId","refId"],"type":"object","properties":{"organizationId":{"type":"string"},"refId":{"type":"string"},"model":{"type":"string"},"inputTokens":{"type":"integer","format":"int64"},"outputTokens":{"type":"integer","format":"int64"},"userId":{"type":"string"},"moduleId":{"type":"string"}}},"ApiResponseCreditChargeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CreditChargeResponse"}}},"CreditChargeResponse":{"type":"object","properties":{"charged":{"type":"boolean"},"skipped":{"type":"boolean"},"reason":{"type":"string"},"planId":{"type":"string"},"chargeMicroUsd":{"type":"integer","format":"int64"},"balanceMicroUsd":{"type":"integer","format":"int64"},"autoReloadEnabled":{"type":"boolean"},"autoReloadThresholdMicroUsd":{"type":"integer","format":"int64"}}},"ServiceAutoReloadRequest":{"required":["organizationId","refId"],"type":"object","properties":{"organizationId":{"type":"string"},"reason":{"type":"string"},"refId":{"type":"string"}}},"ApiResponseAutoReloadChargeResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AutoReloadChargeResult"}}},"AutoReloadChargeResult":{"type":"object","properties":{"status":{"type":"string"},"configured":{"type":"boolean"},"success":{"type":"boolean"},"duplicate":{"type":"boolean"},"razorpayOrderId":{"type":"string"},"razorpayPaymentId":{"type":"string"},"amountMicroUsd":{"type":"integer","format":"int64"},"amountMinorUnits":{"type":"integer","format":"int64"},"currency":{"type":"string"},"message":{"type":"string"}}},"ApiResponseGroomResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/GroomResult"}}},"GroomResult":{"type":"object","properties":{"itemId":{"type":"string"},"alreadyReady":{"type":"boolean"},"applied":{"type":"array","items":{"type":"string"}},"remaining":{"type":"array","items":{"type":"string"}},"readiness":{"$ref":"#/components/schemas/Readiness"}}},"BacklogImport":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"sourceType":{"type":"string"},"fileName":{"type":"string"},"itemsImported":{"type":"integer","format":"int32"},"itemsFailed":{"type":"integer","format":"int32"},"totalItems":{"type":"integer","format":"int32"},"status":{"type":"string"},"errorMessage":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseBacklogImport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BacklogImport"}}},"FirebaseSyncRequest":{"type":"object","properties":{"firebaseUid":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"photoURL":{"type":"string"}}},"OrgSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"}}},"ProductSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"UserProfileResponse":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"displayName":{"type":"string"},"photoURL":{"type":"string"},"organizationId":{"type":"string"},"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrgSummary"}},"currentOrganization":{"$ref":"#/components/schemas/OrgSummary"},"currentProduct":{"$ref":"#/components/schemas/ProductSummary"},"role":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}}},"ApiResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"string"}}},"UserRegistrationRequest":{"required":["email","firstName","lastName","password"],"type":"object","properties":{"email":{"type":"string"},"password":{"maxLength":2147483647,"minLength":8,"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"ApiResponseAuthResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AuthResponse"}}},"AuthResponse":{"type":"object","properties":{"token":{"type":"string"},"refreshToken":{"type":"string"},"userId":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"AuthRequest":{"required":["email","password"],"type":"object","properties":{"email":{"type":"string"},"password":{"maxLength":2147483647,"minLength":6,"type":"string"}}},"AssemblyInstruction":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"modelIds":{"type":"array","items":{"type":"string"}},"bomItemIds":{"type":"array","items":{"type":"string"}},"workflowId":{"type":"string"},"generatedBy":{"type":"string"},"version":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAssemblyInstruction":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AssemblyInstruction"}}},"ValueStream":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"stages":{"type":"array","items":{"$ref":"#/components/schemas/ValueStreamStage"}},"stakeholders":{"type":"array","items":{"$ref":"#/components/schemas/ValueStreamStakeholder"}},"linkedProductIds":{"type":"array","items":{"type":"string"}},"linkedCapabilityIds":{"type":"array","items":{"type":"string"}},"linkedDiagramIds":{"type":"array","items":{"type":"string"}},"metrics":{"$ref":"#/components/schemas/ValueStreamMetrics"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ValueStreamMetrics":{"type":"object","properties":{"leadTimeDays":{"type":"number","format":"double"},"cycleTimeDays":{"type":"number","format":"double"},"throughput":{"type":"integer","format":"int32"},"notes":{"type":"string"}}},"ValueStreamStage":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"capabilityIds":{"type":"array","items":{"type":"string"}},"triggers":{"type":"array","items":{"type":"string"}},"outcomes":{"type":"array","items":{"type":"string"}},"order":{"type":"integer","format":"int32"}}},"ValueStreamStakeholder":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string"},"name":{"type":"string"}}},"ApiResponseValueStream":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ValueStream"}}},"TechnologyStandard":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"status":{"type":"string"},"version":{"type":"string"},"vendor":{"type":"string"},"approvedBy":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"reviewDate":{"type":"string","format":"date-time"},"alternatives":{"type":"array","items":{"type":"string"}},"constraints":{"type":"object","additionalProperties":{"type":"string"}},"linkedModuleIds":{"type":"array","items":{"type":"string"}},"linkedDiagramIds":{"type":"array","items":{"type":"string"}},"rationale":{"type":"string"},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseTechnologyStandard":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TechnologyStandard"}}},"ReferenceArchitecture":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"platformTypes":{"type":"array","items":{"type":"string"}},"industryVerticals":{"type":"array","items":{"type":"string"}},"architecturePattern":{"type":"string"},"qualityAttributes":{"type":"array","items":{"type":"string"}},"linkedModuleIds":{"type":"array","items":{"type":"string"}},"linkedPrincipleIds":{"type":"array","items":{"type":"string"}},"linkedStandardIds":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseReferenceArchitecture":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReferenceArchitecture"}}},"TechnologyRadarEntry":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"standardId":{"type":"string"},"name":{"type":"string"},"quadrant":{"type":"string"},"ring":{"type":"string"},"description":{"type":"string"},"rationale":{"type":"string"},"movedFrom":{"type":"string"},"movedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"new":{"type":"boolean"}}},"ApiResponseTechnologyRadarEntry":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/TechnologyRadarEntry"}}},"ArchitecturePrinciple":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"referenceId":{"type":"string"},"statement":{"type":"string"},"rationale":{"type":"string"},"implications":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"status":{"type":"string"},"scope":{"type":"string"},"scopeId":{"type":"string"},"approvedBy":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"source":{"type":"string"},"sourceAttribution":{"type":"string"},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"order":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseArchitecturePrinciple":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitecturePrinciple"}}},"ApiResponseArchitectureFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureFile"}}},"ArchitectureFile":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"storageUrl":{"type":"string"},"uploadedBy":{"type":"string"},"uploadedAt":{"type":"string","format":"date-time"}}},"ADRAlternative":{"type":"object","properties":{"name":{"type":"string"},"pros":{"type":"array","items":{"type":"string"}},"cons":{"type":"array","items":{"type":"string"}},"rejected":{"type":"boolean"},"rejectionReason":{"type":"string"}}},"ArchitectureDecision":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"scope":{"type":"string"},"scopeId":{"type":"string"},"sequenceNumber":{"type":"integer","format":"int32"},"title":{"type":"string"},"status":{"type":"string"},"context":{"type":"string"},"decision":{"type":"string"},"consequences":{"type":"array","items":{"type":"string"}},"alternatives":{"type":"array","items":{"$ref":"#/components/schemas/ADRAlternative"}},"supersededBy":{"type":"string"},"deciders":{"type":"array","items":{"type":"string"}},"consultedStakeholders":{"type":"array","items":{"type":"string"}},"linkedPrincipleIds":{"type":"array","items":{"type":"string"}},"linkedStandardIds":{"type":"array","items":{"type":"string"}},"linkedDiagramIds":{"type":"array","items":{"type":"string"}},"source":{"type":"string"},"sourceAttribution":{"type":"string"},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseArchitectureDecision":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureDecision"}}},"ArchitectureComponent":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"technology":{"type":"string"},"description":{"type":"string"},"responsibilities":{"type":"array","items":{"type":"string"}},"linkedArchitectureIds":{"type":"array","items":{"type":"string"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseArchitectureComponent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ArchitectureComponent"}}},"BusinessCapability":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"level":{"type":"string"},"parentCapabilityId":{"type":"string"},"maturityLevel":{"type":"string"},"strategicImportance":{"type":"string"},"owner":{"type":"string"},"linkedProductIds":{"type":"array","items":{"type":"string"}},"linkedModuleIds":{"type":"array","items":{"type":"string"}},"linkedDiagramIds":{"type":"array","items":{"type":"string"}},"heatMapData":{"$ref":"#/components/schemas/CapabilityHeatMap"},"order":{"type":"integer","format":"int32"},"source":{"type":"string"},"references":{"type":"array","items":{"$ref":"#/components/schemas/ExternalReference"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"CapabilityHeatMap":{"type":"object","properties":{"investmentLevel":{"type":"string"},"riskLevel":{"type":"string"},"performanceScore":{"type":"integer","format":"int32"},"notes":{"type":"string"}}},"ApiResponseBusinessCapability":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BusinessCapability"}}},"AppStoreConfig":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"organizationId":{"type":"string"},"storeType":{"type":"string"},"appId":{"type":"string"},"teamId":{"type":"string"},"issuerId":{"type":"string"},"apiKeyId":{"type":"string"},"apiKeyPath":{"type":"string"},"bundleId":{"type":"string"},"packageName":{"type":"string"},"serviceAccountJson":{"type":"string","writeOnly":true},"track":{"type":"string"},"rolloutPercentage":{"type":"number","format":"double"},"appName":{"type":"string"},"appDescription":{"type":"string"},"screenshots":{"type":"array","items":{"type":"string"}},"releaseNotes":{"type":"string"},"currentVersion":{"type":"string"},"reviewStatus":{"type":"string"},"lastSubmissionAt":{"type":"string","format":"date-time"},"enabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAppStoreConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AppStoreConfig"}}},"APMIntegration":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"moduleId":{"type":"string"},"provider":{"type":"string","enum":["DYNATRACE","APPDYNAMICS","DATADOG","NEW_RELIC","SENTRY","CRASHLYTICS"]},"type":{"type":"string","enum":["APM","RUM","CRASH_TRACKING","LOG_AGGREGATION"]},"environmentUrl":{"type":"string"},"apiToken":{"type":"string","writeOnly":true},"entitySelector":{"type":"string"},"controllerUrl":{"type":"string"},"accountName":{"type":"string"},"accessKey":{"type":"string","writeOnly":true},"applicationName":{"type":"string"},"apiKey":{"type":"string","writeOnly":true},"appKey":{"type":"string","writeOnly":true},"site":{"type":"string"},"service":{"type":"string"},"accountId":{"type":"string"},"insightsQueryKey":{"type":"string","writeOnly":true},"region":{"type":"string"},"dsn":{"type":"string","writeOnly":true},"organizationSlug":{"type":"string"},"moduleSlug":{"type":"string"},"authToken":{"type":"string","writeOnly":true},"firebaseModuleId":{"type":"string"},"appId":{"type":"string"},"enabled":{"type":"boolean"},"syncInterval":{"type":"integer","format":"int32"},"lastSyncAt":{"type":"string","format":"date-time"},"alertForwardingEnabled":{"type":"boolean"},"autoDefectCreation":{"type":"boolean"},"metricsToTrack":{"type":"array","items":{"type":"string"}},"webhookUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAPMIntegration":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/APMIntegration"}}},"ApiTestDefinition":{"type":"object","properties":{"id":{"type":"string"},"moduleId":{"type":"string"},"name":{"type":"string"},"method":{"type":"string"},"url":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"body":{"type":"string"},"expectedStatus":{"type":"integer","format":"int32"},"expectedResponseContains":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseApiTestDefinition":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ApiTestDefinition"}}},"APIKey":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"keyPrefix":{"type":"string"},"keyHash":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"rateLimit":{"type":"integer","format":"int32"},"expiresAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"revokedAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"ApiResponseAPIKey":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/APIKey"}}},"AlertRule":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"metric":{"type":"string"},"operator":{"type":"string"},"threshold":{"type":"number","format":"double"},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW","INFO"]},"channels":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"firing":{"type":"boolean"},"firingAlertId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAlertRule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AlertRule"}}},"AgentTask":{"type":"object","properties":{"id":{"type":"string"},"agentInstanceId":{"type":"string"},"sessionId":{"type":"string"},"phase":{"type":"string"},"taskType":{"type":"string"},"sourceType":{"type":"string"},"sourceId":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"description":{"type":"string"},"assignedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"outcome":{"type":"string"},"createdArtifacts":{"type":"array","items":{"type":"string"}},"createdDefects":{"type":"array","items":{"type":"string"}},"createdBacklogItems":{"type":"array","items":{"type":"string"}},"createdChangeRequests":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseAgentTask":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentTask"}}},"AgentSession":{"type":"object","properties":{"id":{"type":"string"},"agentInstanceId":{"type":"string"},"phase":{"type":"string"},"productId":{"type":"string"},"serviceId":{"type":"string"},"cycleId":{"type":"string"},"releaseId":{"type":"string"},"linkedEntityType":{"type":"string"},"linkedEntityId":{"type":"string"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"endedAt":{"type":"string","format":"date-time"},"transcriptRef":{"type":"string"},"outputsSummary":{"type":"string"},"nextHandoffTarget":{"type":"string"},"messageCount":{"type":"integer","format":"int32"},"totalTokensUsed":{"type":"integer","format":"int64"}}},"ApiResponseAgentSession":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentSession"}}},"AgentInstance":{"type":"object","properties":{"id":{"type":"string"},"definitionId":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"serviceId":{"type":"string"},"teamId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"autonomyMode":{"type":"string"},"allowedTools":{"type":"array","items":{"type":"string"}},"assignedPhases":{"type":"array","items":{"type":"string"}},"assignedScopes":{"type":"array","items":{"type":"string"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"lastActivityAt":{"type":"string","format":"date-time"},"decommissionedAt":{"type":"string","format":"date-time"},"decommissionReason":{"type":"string"},"state":{"type":"string"},"definitionKey":{"type":"string"},"capacity":{"$ref":"#/components/schemas/Capacity"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Scope"}},"skills":{"type":"array","items":{"type":"string"}},"squadIds":{"type":"array","items":{"type":"string"}},"profileId":{"type":"string"},"principalId":{"type":"string"},"delegatedFrom":{"type":"string"},"clonedFromId":{"type":"string"},"pinned":{"type":"boolean"},"offlineAt":{"type":"string","format":"date-time"},"live":{"type":"boolean"}}},"ApiResponseAgentInstance":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentInstance"}}},"AgentHandoff":{"type":"object","properties":{"id":{"type":"string"},"fromAgentInstanceId":{"type":"string"},"toAgentInstanceId":{"type":"string"},"fromPhase":{"type":"string"},"toPhase":{"type":"string"},"sourceEntityType":{"type":"string"},"sourceEntityId":{"type":"string"},"reason":{"type":"string"},"payloadSummary":{"type":"string"},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"acceptedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}},"ApiResponseAgentHandoff":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentHandoff"}}},"AgentActivityLog":{"type":"object","properties":{"id":{"type":"string"},"agentInstanceId":{"type":"string"},"sessionId":{"type":"string"},"taskId":{"type":"string"},"eventType":{"type":"string"},"phase":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"summary":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"actorType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseAgentActivityLog":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentActivityLog"}}},"ApiResponseUser":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/User"}}},"ActivityEvent":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"userId":{"type":"string"},"userName":{"type":"string"},"userAvatarUrl":{"type":"string"},"action":{"type":"string"},"resourceType":{"type":"string"},"resourceId":{"type":"string"},"resourceName":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseActivityEvent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ActivityEvent"}}},"UsageIngestRequest":{"type":"object","properties":{"organizationId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"principalId":{"type":"string"},"principalType":{"type":"string"},"userId":{"type":"string"},"provider":{"type":"string"},"model":{"type":"string"},"inputTokens":{"type":"integer","format":"int64"},"outputTokens":{"type":"integer","format":"int64"},"costUsd":{"type":"number","format":"double"},"source":{"type":"string"},"storyId":{"type":"string"},"executionName":{"type":"string"},"actingFor":{"type":"array","items":{"type":"string"}},"outcome":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseReindexReport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ReindexReport"}}},"ReindexReport":{"type":"object","properties":{"documents":{"type":"integer","format":"int32"},"registryEntries":{"type":"integer","format":"int32"},"diagrams":{"type":"integer","format":"int32"},"chunks":{"type":"integer","format":"int32"}}},"CredentialResolveRequest":{"type":"object","properties":{"bindingId":{"type":"string"},"toolKey":{"type":"string"},"principalId":{"type":"string"},"environment":{"type":"string"},"organizationId":{"type":"string"}}},"ApiResponseCredentialResolveResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CredentialResolveResponse"}}},"CredentialResolveResponse":{"type":"object","properties":{"bindingId":{"type":"string"},"provider":{"type":"string"},"authType":{"type":"string"},"headerName":{"type":"string"},"value":{"type":"string"}}},"ModelChoiceRequest":{"type":"object","properties":{"orgId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"definitionKey":{"type":"string"},"role":{"type":"string"},"storyId":{"type":"string"},"providers":{"type":"array","items":{"type":"string"}},"requiredCapabilities":{"type":"array","items":{"type":"string"}},"pinnedModel":{"type":"string"}}},"ApiResponseModelChoiceResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ModelChoiceResponse"}}},"ModelChoiceResponse":{"type":"object","properties":{"allowed":{"type":"boolean"},"reason":{"type":"string"},"model":{"type":"string"},"provider":{"type":"string"},"tier":{"type":"string"},"registryEntryId":{"type":"string"},"decidedBy":{"type":"string"},"residency":{"type":"string"},"region":{"type":"string"},"providerCredentialBindingId":{"type":"string"},"compositionMode":{"type":"string"},"workClass":{"type":"string"},"workClassReasons":{"type":"array","items":{"type":"string"}},"allowedModels":{"type":"array","items":{"type":"string"}}}},"InstanceQuotaCheckRequest":{"type":"object","properties":{"orgId":{"type":"string"},"definitionKey":{"type":"string"}}},"ApiResponseInstanceQuotaCheckResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/InstanceQuotaCheckResponse"}}},"InstanceQuotaCheckResponse":{"type":"object","properties":{"allowed":{"type":"boolean"},"active":{"type":"integer","format":"int64"},"max":{"type":"integer","format":"int64"},"source":{"type":"string"},"reason":{"type":"string"}}},"BudgetCheckRequest":{"type":"object","properties":{"principalId":{"type":"string"},"principalType":{"type":"string"},"orgId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"estimatedTokens":{"type":"integer","format":"int64"},"estimatedCredits":{"type":"number","format":"double"}}},"ApiResponseBudgetCheckResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BudgetCheckResponse"}}},"BudgetCheckResponse":{"type":"object","properties":{"allowed":{"type":"boolean"},"reason":{"type":"string"},"code":{"type":"string"},"level":{"type":"string"},"period":{"type":"string"},"remaining":{"$ref":"#/components/schemas/Remaining"}}},"Remaining":{"type":"object","properties":{"org":{"type":"integer","format":"int64"},"product":{"type":"integer","format":"int64"},"module":{"type":"integer","format":"int64"},"principal":{"type":"integer","format":"int64"}}},"ApiResponseAttemptResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AttemptResult"}}},"AttemptResult":{"type":"object","properties":{"decision":{"type":"string"},"acted":{"type":"boolean"}}},"BuildConformanceRequest":{"type":"object","properties":{"orgId":{"type":"string"},"status":{"type":"string"},"reason":{"type":"string"},"violations":{"type":"array","items":{"$ref":"#/components/schemas/Violation"}},"rulesChecked":{"type":"array","items":{"type":"string"}},"raisedBy":{"type":"string"},"executionName":{"type":"string"}}},"Violation":{"type":"object","properties":{"ruleId":{"type":"string"},"rule":{"type":"string"},"detail":{"type":"string"},"file":{"type":"string"}}},"ApiResponseOutcome":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Outcome"}}},"Outcome":{"type":"object","properties":{"status":{"type":"string"},"held":{"type":"boolean"},"checkpointIds":{"type":"array","items":{"type":"string"}}}},"ApiResponseBuildBrief":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BuildBrief"}}},"BuildBrief":{"type":"object","properties":{"storyId":{"type":"string"},"orgId":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"platformType":{"type":"string"},"assembledAt":{"type":"string","format":"date-time"},"story":{"$ref":"#/components/schemas/Section"},"constraints":{"type":"array","items":{"$ref":"#/components/schemas/Constraint"}},"artefacts":{"type":"array","items":{"$ref":"#/components/schemas/Section"}},"designSystem":{"type":"array","items":{"$ref":"#/components/schemas/Section"}},"components":{"type":"array","items":{"$ref":"#/components/schemas/Component"}},"conformance":{"$ref":"#/components/schemas/Conformance"},"truncated":{"type":"boolean"},"omitted":{"type":"array","items":{"type":"string"}},"manifest":{"type":"array","items":{"$ref":"#/components/schemas/ManifestItem"}},"limits":{"$ref":"#/components/schemas/Limits"}}},"Component":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"summary":{"type":"string"},"platformType":{"type":"string"},"packageRef":{"type":"string"},"repositoryUrl":{"type":"string"},"contracts":{"type":"array","items":{"type":"string"}}}},"Constraint":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"enforcement":{"type":"string"},"dispensationId":{"type":"string"},"scope":{"type":"string"},"text":{"type":"string"},"truncated":{"type":"boolean"}}},"Limits":{"type":"object","properties":{"itemChars":{"type":"integer","format":"int32"},"storyChars":{"type":"integer","format":"int32"},"totalChars":{"type":"integer","format":"int32"}}},"ManifestItem":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"version":{"type":"string"},"section":{"type":"string"}}},"Section":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"version":{"type":"string"},"type":{"type":"string"},"relation":{"type":"string"},"text":{"type":"string"},"truncated":{"type":"boolean"}}},"AuditEvent":{"type":"object","properties":{"id":{"type":"string"},"orgId":{"type":"string"},"at":{"type":"string","format":"date-time"},"principal":{"$ref":"#/components/schemas/Principal"},"action":{"type":"string"},"resource":{"$ref":"#/components/schemas/Resource"},"scope":{"type":"string"},"trigger":{"type":"string"},"outcome":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"before":{"type":"object","additionalProperties":{"type":"object"}},"after":{"type":"object","additionalProperties":{"type":"object"}},"correlationId":{"type":"string"},"sampled":{"type":"boolean"},"sampleRate":{"type":"number","format":"double"},"point":{"type":"string"},"emitter":{"type":"string"},"governanceLevel":{"type":"string"},"ip":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}}},"IngestRequest":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}}}},"Principal":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"delegatedFrom":{"type":"string"},"displayName":{"type":"string"},"actingFor":{"type":"string"}}},"ApiResponseIngestResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/IngestResult"}}},"IngestRejection":{"type":"object","properties":{"index":{"type":"integer","format":"int32"},"reason":{"type":"string"}}},"IngestResult":{"type":"object","properties":{"accepted":{"type":"integer","format":"int32"},"rejected":{"type":"array","items":{"$ref":"#/components/schemas/IngestRejection"}}}},"AgentPoolProvisionRequest":{"type":"object","properties":{"orgId":{"type":"string"},"definitionKey":{"type":"string"},"name":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Scope"}},"delegatedFrom":{"type":"string"},"reuse":{"type":"boolean"},"clonedFromId":{"type":"string"},"profileId":{"type":"string"},"maxConcurrentTasks":{"type":"integer","format":"int32"},"pinned":{"type":"boolean"},"createdBy":{"type":"string"},"autonomyMode":{"type":"string"},"allowedTools":{"type":"array","items":{"type":"string"}},"assignedPhases":{"type":"array","items":{"type":"string"}}}},"WebhookTransformRule":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"sourceType":{"type":"string"},"targetEntity":{"type":"string"},"fieldMappings":{"type":"object","additionalProperties":{"type":"string"}},"filterExpression":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"active":{"type":"boolean"}}},"ApiResponseWebhookTransformRule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/WebhookTransformRule"}}},"UserPreference":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"theme":{"type":"string"},"defaultOrganizationId":{"type":"string"},"defaultProductId":{"type":"string"},"notificationPreferences":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"boolean"}}},"digestMode":{"type":"string"},"digestFrequency":{"type":"string"},"quietHoursStart":{"type":"string"},"quietHoursEnd":{"type":"string"},"dndEnabled":{"type":"boolean"},"soundEnabled":{"type":"boolean"},"dashboardLayout":{"type":"object","additionalProperties":{"type":"object"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseUserPreference":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UserPreference"}}},"VendorEngagementUpdateRequest":{"type":"object","properties":{"modules":{"type":"array","items":{"type":"string"}},"endsAt":{"type":"string"}}},"AgentPoolScopesRequest":{"type":"object","properties":{"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Scope"}}}},"AgentPoolCapacityRequest":{"type":"object","properties":{"maxConcurrentTasks":{"type":"integer","format":"int32"},"pinned":{"type":"boolean"}}},"ApiResponseNotification":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Notification"}}},"Notification":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"object"}},"channel":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"read":{"type":"boolean"}}},"ApiResponseListVisualDiff":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VisualDiff"}}}},"ApiResponseListVisualBaseline":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VisualBaseline"}}}},"ApiResponseListUXIssue":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UXIssue"}}}},"ApiResponseListUserResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"}}}},"ApiResponseUsageSummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UsageSummary"}}},"UsageSummary":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"billingPeriod":{"type":"string"},"aiTokensUsed":{"type":"integer","format":"int64"},"testExecutionsUsed":{"type":"integer","format":"int64"},"deploymentsUsed":{"type":"integer","format":"int64"},"storageBytesUsed":{"type":"integer","format":"int64"},"activeModulesCount":{"type":"integer","format":"int32"},"teamSeatsCount":{"type":"integer","format":"int32"},"lastUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseListUsageEvent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UsageEvent"}}}},"ApiResponseUsageLimitCheck":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UsageLimitCheck"}}},"UsageLimitCheck":{"type":"object","properties":{"dimension":{"type":"string"},"used":{"type":"integer","format":"int64"},"limit":{"type":"integer","format":"int64"},"exceeded":{"type":"boolean"}}},"ApiResponseBudgetStatus":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BudgetStatus"}}},"BudgetStatus":{"type":"object","properties":{"organizationId":{"type":"string"},"dimension":{"type":"string"},"planTier":{"type":"string"},"billingPeriod":{"type":"string"},"used":{"type":"integer","format":"int64"},"limit":{"type":"integer","format":"int64"},"remaining":{"type":"integer","format":"int64"},"unlimited":{"type":"boolean"},"exceeded":{"type":"boolean"},"hardStop":{"type":"boolean"},"bypassed":{"type":"boolean"},"blocked":{"type":"boolean"},"source":{"type":"string"},"gateType":{"type":"string"},"creditBased":{"type":"boolean"},"balanceMicroUsd":{"type":"integer","format":"int64"}}},"ApiResponseListUptimeCheck":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UptimeCheck"}}}},"ApiResponseListUptimeResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UptimeResult"}}}},"ApiResponseListTestTraceability":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestTraceability"}}}},"ApiResponseListTestSuite":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestSuite"}}}},"ApiResponseListTestRun":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestRun"}}}},"ApiResponseListTestPlan":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestPlan"}}}},"ApiResponseListTestFolder":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestFolder"}}}},"ApiResponseListTestCycle":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestCycle"}}}},"ApiResponseListTestCase":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TestCase"}}}},"ApiResponseListTeam":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}},"ApiResponseListTarget":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Target"}}}},"ApiResponseListStagedRollout":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/StagedRollout"}}}},"ApiResponseListSSOConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SSOConfig"}}}},"ApiResponseListSprint":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Sprint"}}}},"ApiResponseListSlicerProfile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SlicerProfile"}}}},"ApiResponseListSecretRotation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SecretRotation"}}}},"ApiResponseSearchResults":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SearchResults"}}},"SearchHit":{"type":"object","properties":{"sourceKind":{"type":"string"},"sourceId":{"type":"string"},"registryKind":{"type":"string"},"title":{"type":"string"},"snippet":{"type":"string"},"score":{"type":"number","format":"double"},"scope":{"$ref":"#/components/schemas/Scope"},"lifecycle":{"type":"string"}}},"SearchResults":{"type":"object","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/SearchHit"}},"total":{"type":"integer","format":"int32"},"mode":{"type":"string"},"vector":{"type":"boolean"}}},"ApiResponseListSCMConnection":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SCMConnection"}}}},"ApiResponseListSchematicFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SchematicFile"}}}},"ApiResponseListSavedReport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SavedReport"}}}},"ApiResponseListSapEnvironment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SapEnvironment"}}}},"ApiResponseListSapDeployment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SapDeployment"}}}},"ApiResponseListSapDefectType":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SapDefectType"}}}},"ApiResponseListString":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"string"}}}},"ApiResponseListSapBuild":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SapBuild"}}}},"ApiResponseListRollbackRecord":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RollbackRecord"}}}},"ApiResponseListReportSchedule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReportSchedule"}}}},"ApiResponseListRelease":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Release"}}}},"ApiResponseListReleaseApproval":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReleaseApproval"}}}},"ApiResponseListContributorRating":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ContributorRating"}}}},"ApiResponseListRateLimitConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RateLimitConfig"}}}},"ApiResponseListQualityGate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/QualityGate"}}}},"ApiResponseListProduct":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Product"}}}},"ApiResponseListAISession":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AISession"}}}},"ApiResponseListProductTemplate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductTemplate"}}}},"ApiResponseListProductMember":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductMember"}}}},"ApiResponseListPhasedDevelopment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PhasedDevelopment"}}}},"ApiResponseListWebhook":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}},"ApiResponseListVendorConsultantSummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VendorConsultantSummary"}}}},"ApiResponseVendorSelfView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/VendorSelfView"}}},"ScopedModule":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"platformType":{"type":"string"}}},"ScopedProduct":{"type":"object","properties":{"productId":{"type":"string"},"productName":{"type":"string"},"modules":{"type":"array","items":{"$ref":"#/components/schemas/ScopedModule"}}}},"VendorSelfView":{"type":"object","properties":{"vendor":{"type":"boolean"},"principalId":{"type":"string"},"vendorOrg":{"type":"string"},"engagement":{"$ref":"#/components/schemas/VendorEngagement"},"status":{"type":"string"},"scope":{"type":"array","items":{"$ref":"#/components/schemas/ScopedProduct"}}}},"ApiResponseListRegistryEntryVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEntryVersion"}}}},"RegistryEntryVersion":{"type":"object","properties":{"id":{"type":"string"},"entryId":{"type":"string"},"orgId":{"type":"string"},"version":{"type":"string"},"snapshot":{"$ref":"#/components/schemas/Snapshot"},"actorPrincipalId":{"type":"string"},"actorType":{"type":"string"},"trigger":{"type":"string"},"changeNote":{"type":"string"},"diff":{"type":"object","additionalProperties":{"type":"object"}},"createdAt":{"type":"string","format":"date-time"}}},"Snapshot":{"type":"object","properties":{"name":{"type":"string"},"summary":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"bodyDocumentVersion":{"type":"integer","format":"int32"}}},"ApiResponseRegistryEntryVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistryEntryVersion"}}},"ApiResponseRegistrySummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/RegistrySummary"}}},"KindSummary":{"type":"object","properties":{"kind":{"type":"string"},"label":{"type":"string"},"total":{"type":"integer","format":"int64"},"byLifecycle":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"approvedCount":{"type":"integer","format":"int64"}}},"RegistrySummary":{"type":"object","properties":{"orgId":{"type":"string"},"governanceLevel":{"type":"string"},"initialLifecycle":{"type":"string"},"total":{"type":"integer","format":"int64"},"byLifecycle":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"kinds":{"type":"array","items":{"$ref":"#/components/schemas/KindSummary"}}}},"ApiResponseListProvisioningProposalView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProvisioningProposalView"}}}},"ApiResponseListEffectiveConstraint":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EffectiveConstraint"}}}},"Dispensed":{"type":"object","properties":{"dispensationId":{"type":"string"},"scopeType":{"type":"string"},"moduleId":{"type":"string"}}},"EffectiveConstraint":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"lifecycle":{"type":"string"},"scope":{"$ref":"#/components/schemas/Scope"},"enforcement":{"type":"string"},"declaredEnforcement":{"type":"string"},"bitesAt":{"type":"array","items":{"type":"string"}},"dispensations":{"type":"array","items":{"$ref":"#/components/schemas/Dispensed"}}}},"ApiResponseListPrincipalSummary":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PrincipalSummary"}}}},"ApiResponseEffectiveProfile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/EffectiveProfile"}}},"EffectiveAbacRule":{"type":"object","properties":{"effect":{"type":"string"},"action":{"type":"string"},"resource":{"type":"string"},"conditions":{"type":"object","additionalProperties":{"type":"object"}},"source":{"type":"string"},"profileId":{"type":"string"}}},"EffectiveApprovalRule":{"type":"object","properties":{"actionClass":{"type":"string"},"riskAtLeast":{"type":"string"},"approverRole":{"type":"string"},"blastRadius":{"type":"string"},"source":{"type":"string"},"profileId":{"type":"string"}}},"EffectiveBudgets":{"type":"object","properties":{"monthlyTokens":{"type":"number","format":"double"},"monthlyCredits":{"type":"number","format":"double"},"perTurnTokens":{"type":"number","format":"double"},"requestsPerMinute":{"type":"number","format":"double"},"sources":{"type":"object","additionalProperties":{"type":"string"}}}},"EffectiveModelPolicy":{"type":"object","properties":{"allowedProviders":{"type":"array","items":{"type":"string"}},"allowedModels":{"type":"array","items":{"type":"string"}},"routingOrder":{"type":"array","items":{"type":"string"}},"perDefinition":{"type":"object","additionalProperties":{"type":"string"}},"residency":{"type":"string"},"providerCredentialBindingId":{"type":"string"},"defaultModel":{"type":"string"},"compositionMode":{"type":"string"},"sources":{"type":"object","additionalProperties":{"type":"string"}}}},"EffectiveProfile":{"type":"object","properties":{"orgId":{"type":"string"},"principalId":{"type":"string"},"principalType":{"type":"string"},"subjectId":{"type":"string"},"displayName":{"type":"string"},"status":{"type":"string"},"delegatedFrom":{"type":"string"},"profileChain":{"type":"array","items":{"$ref":"#/components/schemas/ProfileSource"}},"roles":{"type":"array","items":{"type":"string"}},"abacRules":{"type":"array","items":{"$ref":"#/components/schemas/EffectiveAbacRule"}},"budgets":{"$ref":"#/components/schemas/EffectiveBudgets"},"approvalRules":{"type":"array","items":{"$ref":"#/components/schemas/EffectiveApprovalRule"}},"allowedSkills":{"type":"array","items":{"type":"string"}},"allowedEnvironments":{"type":"array","items":{"type":"string"}},"allowedDataClasses":{"type":"array","items":{"type":"string"}},"autonomy":{"type":"object","additionalProperties":{"type":"string"}},"modelPolicy":{"$ref":"#/components/schemas/EffectiveModelPolicy"},"resolution":{"type":"array","items":{"$ref":"#/components/schemas/ResolvedRule"}}}},"ProfileSource":{"type":"object","properties":{"source":{"type":"string"},"sourceLabel":{"type":"string"},"profileId":{"type":"string"},"profileKey":{"type":"string"},"profileName":{"type":"string"},"missing":{"type":"boolean"}}},"ResolvedRule":{"type":"object","properties":{"rule":{"type":"string"},"value":{"type":"string"},"source":{"type":"string"},"sourceLabel":{"type":"string"},"profileId":{"type":"string"}}},"ApiResponseLineageGraph":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LineageGraph"}}},"LineageEdge":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"kind":{"type":"string"},"via":{"type":"string"}}},"LineageGraph":{"type":"object","properties":{"root":{"type":"string"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/LineageNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/LineageEdge"}},"truncated":{"type":"boolean"}}},"LineageNode":{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"url":{"type":"string"},"meta":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseListMapStringString":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}}},"ApiResponseListRegistryEntry":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEntry"}}}},"ApiResponseListDocumentType":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentType"}}}},"ApiResponseControlPlaneStatusView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ControlPlaneStatusView"}}},"BlockingDispensation":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"},"expiresAt":{"type":"string"},"ruleId":{"type":"string"},"scope":{"type":"object","additionalProperties":{"type":"object"}}}},"ControlPlaneStatusView":{"type":"object","properties":{"orgId":{"type":"string"},"moduleId":{"type":"string"},"policyMode":{"type":"string"},"policyReasons":{"type":"array","items":{"type":"string"}},"blockingDispensations":{"type":"array","items":{"$ref":"#/components/schemas/BlockingDispensation"}},"activeKills":{"type":"array","items":{"$ref":"#/components/schemas/KillSwitch"}},"checkedAt":{"type":"string"}}},"ApiResponseControlPlaneOverviewView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/ControlPlaneOverviewView"}}},"ControlPlaneOverviewView":{"type":"object","properties":{"orgId":{"type":"string"},"governanceLevel":{"type":"string"},"since":{"type":"string"},"enforcementPoints":{"type":"array","items":{"$ref":"#/components/schemas/EnforcementPoint"}},"lifecycle":{"$ref":"#/components/schemas/Lifecycle"},"sweeps":{"type":"array","items":{"$ref":"#/components/schemas/Sweep"}},"retention":{"$ref":"#/components/schemas/Retention"},"checkedAt":{"type":"string"}}},"EnforcementPoint":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"where":{"type":"string"},"what":{"type":"string"},"decisionsToday":{"type":"integer","format":"int64"},"deniedToday":{"type":"integer","format":"int64"},"approvalsToday":{"type":"integer","format":"int64"},"measured":{"type":"boolean"},"unmeasuredReason":{"type":"string"}}},"Lifecycle":{"type":"object","properties":{"byLifecycle":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"total":{"type":"integer","format":"int64"},"openCheckpoints":{"type":"integer","format":"int64"},"activeDispensations":{"type":"integer","format":"int64"},"expiringDispensations":{"type":"integer","format":"int64"},"expiredDispensations":{"type":"integer","format":"int64"}}},"Retention":{"type":"object","properties":{"auditRetentionDays":{"type":"integer","format":"int64"},"mechanism":{"type":"string"}}},"Sweep":{"type":"object","properties":{"sweep":{"type":"string"},"label":{"type":"string"},"schedule":{"type":"string"},"lastRunAt":{"type":"string"},"lastDurationMs":{"type":"integer","format":"int64"},"lastResult":{"type":"string"},"lastError":{"type":"string"},"runs":{"type":"integer","format":"int64"}}},"ApiResponseListKillSwitch":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/KillSwitch"}}}},"ApiResponseBudgetUsageResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/BudgetUsageResponse"}}},"BudgetUsageResponse":{"type":"object","properties":{"orgId":{"type":"string"},"period":{"type":"string"},"planTokenCap":{"type":"integer","format":"int64"},"planCapSource":{"type":"string"},"levels":{"type":"array","items":{"$ref":"#/components/schemas/Level"}},"orgSpendVisible":{"type":"boolean"}}},"Level":{"type":"object","properties":{"scopeType":{"type":"string"},"scopeId":{"type":"string"},"name":{"type":"string"},"parentId":{"type":"string"},"monthlyTokens":{"type":"integer","format":"int64"},"monthlyCredits":{"type":"number","format":"double"},"perTurnTokens":{"type":"integer","format":"int64"},"instanceQuota":{"type":"integer","format":"int32"},"spentTokens":{"type":"integer","format":"int64"},"spentCredits":{"type":"number","format":"double"},"remainingTokens":{"type":"integer","format":"int64"},"configured":{"type":"boolean"}}},"ApiResponseAvailability":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Availability"}}},"Availability":{"type":"object","properties":{"available":{"type":"boolean"},"squadStatus":{"type":"string"},"unavailable":{"type":"array","items":{"$ref":"#/components/schemas/UnavailableMember"}}}},"UnavailableMember":{"type":"object","properties":{"instanceId":{"type":"string"},"role":{"type":"string"},"name":{"type":"string"},"reason":{"type":"string"}}},"ApiResponseListAuditEvent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}}}},"ApiResponseListAgentPoolInstanceView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentPoolInstanceView"}}}},"ApiResponseListOrganization":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}}}},"ApiResponseListOrgMember":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrgMember"}}}},"ApiResponseListOnCallRotation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OnCallRotation"}}}},"ApiResponseListNotification":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}}}},"ApiResponseMapStringLong":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}},"ApiResponseListModule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Module"}}}},"ApiResponseListModel3D":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Model3D"}}}},"ApiResponseListMobileBuildConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MobileBuildConfig"}}}},"ActiveSquad":{"type":"object","properties":{"epicId":{"type":"string"},"epicTitle":{"type":"string"},"productId":{"type":"string"},"moduleId":{"type":"string"},"threadStatus":{"type":"string"},"mergeGroupStatus":{"type":"string"},"memberCount":{"type":"integer","format":"int32"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseListActiveSquad":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ActiveSquad"}}}},"ApiResponseListMaterial":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Material"}}}},"ApiResponseListManufacturingWorkflow":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ManufacturingWorkflow"}}}},"ApiResponseListMaintenanceWindow":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceWindow"}}}},"ApiResponseListLoadTestResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/LoadTestResult"}}}},"ApiResponseListLoadTestConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/LoadTestConfig"}}}},"ApiResponseListBacklogItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BacklogItem"}}}},"ApiResponseListLab":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Lab"}}}},"ApiResponseListKubernetesConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/KubernetesConfig"}}}},"ApiResponseKpiSummaryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/KpiSummaryResponse"}}},"KpiSummaryResponse":{"type":"object","properties":{"scopeType":{"type":"string"},"scopeId":{"type":"string"},"metricPacks":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MetricPack"}}}},"MetricPack":{"type":"object","properties":{"type":{"type":"string"},"metrics":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseListIPAllowlist":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/IPAllowlist"}}}},"ApiResponseListIntegration":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Integration"}}}},"ApiResponseListPagerDutyConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PagerDutyConfig"}}}},"ApiResponseListJiraSyncConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/JiraSyncConfig"}}}},"ApiResponseListConfluenceConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ConfluenceConfig"}}}},"ApiResponseListIncident":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Incident"}}}},"ApiResponseListAttachmentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentResponse"}}}},"AttachmentResponse":{"type":"object","properties":{"id":{"type":"string"},"filename":{"type":"string"},"contentType":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"uploadedByUserId":{"type":"string"},"uploadedAt":{"type":"string","format":"date-time"},"downloadUrl":{"type":"string"}}},"ApiResponseListIaCTemplate":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/IaCTemplate"}}}},"ApiResponseListArchitectureReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureReview"}}}},"ApiResponseListGovernanceLogEntry":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GovernanceLogEntry"}}}},"GovernanceLogEntry":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"type":{"type":"string"},"subject":{"type":"string"},"outcome":{"type":"string"},"details":{"type":"string"},"actorId":{"type":"string"},"linkedEntityType":{"type":"string"},"linkedEntityId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseListDispensation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Dispensation"}}}},"ApiResponseListArchitectureContract":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureContract"}}}},"ApiResponseListGerberFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GerberFile"}}}},"ApiResponseListGDPRRequest":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GDPRRequest"}}}},"ApiResponseListGCodeFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GCodeFile"}}}},"ApiResponseListFlashTarget":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FlashTarget"}}}},"ApiResponseListFlakyTestRecord":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FlakyTestRecord"}}}},"ApiResponseListFeedbackItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FeedbackItem"}}}},"ApiResponseListFeatureFlag":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlag"}}}},"ApiResponseListFabricationPartner":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FabricationPartner"}}}},"ApiResponseListFabricationOrder":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FabricationOrder"}}}},"ApiResponseListExperiment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Experiment"}}}},"ApiResponseListEnvironment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Environment"}}}},"ApiResponseListEnvironmentHealthCheck":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EnvironmentHealthCheck"}}}},"ApiResponseListDomainConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DomainConfig"}}}},"ApiResponseListKnowledgeDocument":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/KnowledgeDocument"}}}},"ApiResponseListDocument":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}},"ApiResponseListDocumentVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentVersion"}}}},"DiffSummary":{"type":"object","properties":{"added":{"type":"integer","format":"int32"},"removed":{"type":"integer","format":"int32"}}},"DocumentVersion":{"type":"object","properties":{"id":{"type":"string"},"documentId":{"type":"string"},"orgId":{"type":"string"},"version":{"type":"integer","format":"int32"},"body":{"type":"string"},"frontmatter":{"type":"object","additionalProperties":{"type":"object"}},"title":{"type":"string"},"lifecycle":{"type":"string"},"actorPrincipalId":{"type":"string"},"actorType":{"type":"string"},"scopeActedIn":{"$ref":"#/components/schemas/Scope"},"trigger":{"type":"string"},"diffSummary":{"$ref":"#/components/schemas/DiffSummary"},"restoredFromVersion":{"type":"integer","format":"int32"},"changeNote":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"ApiResponseDocumentVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentVersion"}}},"ApiResponseDocumentTreeNode":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentTreeNode"}}},"DocumentTreeNode":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/Document"},"children":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTreeNode"}}}},"ApiResponseListDocumentReferenceView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceView"}}}},"DocumentReferenceView":{"type":"object","properties":{"reference":{"$ref":"#/components/schemas/DocumentReference"},"resolved":{"type":"boolean"},"warning":{"type":"string"}}},"ApiResponseDocumentVersionComparison":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentVersionComparison"}}},"DocumentVersionComparison":{"type":"object","properties":{"documentId":{"type":"string"},"fromVersion":{"type":"integer","format":"int32"},"toVersion":{"type":"integer","format":"int32"},"fromBody":{"type":"string"},"toBody":{"type":"string"},"diffSummary":{"$ref":"#/components/schemas/DiffSummary"}}},"ApiResponseListDocumentTreeNode":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTreeNode"}}}},"ApiResponseDiagramView":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DiagramView"}}},"DiagramView":{"type":"object","properties":{"diagram":{"$ref":"#/components/schemas/ArchitectureDiagram"},"version":{"$ref":"#/components/schemas/DiagramVersion"},"canEdit":{"type":"boolean"},"scope":{"type":"string"},"referenceCount":{"type":"integer","format":"int32"}}},"ApiResponseListDiagramVersion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DiagramVersion"}}}},"ApiResponseListDevice":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Device"}}}},"ApiResponseListDeviceJob":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DeviceJob"}}}},"ApiResponseListDeviceFarmTestRun":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DeviceFarmTestRun"}}}},"ApiResponseListDeviceFarmConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DeviceFarmConfig"}}}},"ApiResponseListDesignReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DesignReview"}}}},"ApiResponseListDeployment":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}}}},"ApiResponseListDefect":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Defect"}}}},"ApiResponseListDatabaseProvision":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DatabaseProvision"}}}},"ApiResponseListCustomRole":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CustomRole"}}}},"ApiResponseListCredential":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Credential"}}}},"ApiResponseListCrashReport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CrashReport"}}}},"ApiResponseListComplianceChecklist":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceChecklist"}}}},"ApiResponsePageCommunityQuestion":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PageCommunityQuestion"}}},"PageCommunityQuestion":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"last":{"type":"boolean"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/CommunityQuestion"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"paged":{"type":"boolean"},"unpaged":{"type":"boolean"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"offset":{"type":"integer","format":"int64"},"sort":{"$ref":"#/components/schemas/SortObject"}}},"SortObject":{"type":"object","properties":{"unsorted":{"type":"boolean"},"sorted":{"type":"boolean"},"empty":{"type":"boolean"}}},"ApiResponseCommunityProfile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CommunityProfile"}}},"Badge":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"earnedAt":{"type":"string","format":"date-time"}}},"CommunityProfile":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string"},"avatarUrl":{"type":"string"},"reputation":{"type":"integer","format":"int32"},"questionsCount":{"type":"integer","format":"int32"},"answersCount":{"type":"integer","format":"int32"},"acceptedAnswersCount":{"type":"integer","format":"int32"},"badges":{"type":"array","items":{"$ref":"#/components/schemas/Badge"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseListCodeReview":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CodeReview"}}}},"ApiResponseListCodeQualityMetric":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CodeQualityMetric"}}}},"ApiResponseListBuildPropagation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BuildPropagation"}}}},"ApiResponseListBuildArtifact":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BuildArtifact"}}}},"ApiResponseListBOMItem":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BOMItem"}}}},"ApiResponsePlanCatalogResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PlanCatalogResponse"}}},"PlanCatalogResponse":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/PlanEntryDto"}},"rateCard":{"type":"array","items":{"$ref":"#/components/schemas/RateCardEntryDto"}},"topUpBonusTiers":{"type":"array","items":{"$ref":"#/components/schemas/BonusTierDto"}},"defaultCurrency":{"type":"string"},"inrPerUsd":{"type":"number","format":"double"}}},"PlanEntryDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"includedCreditsMicroUsd":{"type":"integer","format":"int64"},"pooledCredits":{"type":"boolean"},"hardTokenCapPerMonth":{"type":"integer","format":"int64"},"perSeat":{"type":"boolean"},"pricing":{"$ref":"#/components/schemas/PricingDto"},"contactSales":{"type":"boolean"},"adminSso":{"type":"boolean"},"limits":{"$ref":"#/components/schemas/PlanLimitsDto"}}},"PlanLimitsDto":{"type":"object","properties":{"modules":{"type":"integer","format":"int32"},"teamSeats":{"type":"integer","format":"int32"},"aiAgents":{"type":"integer","format":"int32"},"environmentsPerModule":{"type":"integer","format":"int32"},"integrations":{"type":"integer","format":"int32"},"storageGb":{"type":"integer","format":"int32"}}},"PriceDto":{"type":"object","properties":{"inrPaise":{"type":"integer","format":"int64"},"usdCents":{"type":"integer","format":"int64"}}},"PricingDto":{"type":"object","properties":{"monthly":{"$ref":"#/components/schemas/PriceDto"},"annual":{"$ref":"#/components/schemas/PriceDto"}}},"RateCardEntryDto":{"type":"object","properties":{"modelId":{"type":"string"},"inputPerMillionUsd":{"type":"number","format":"double"},"outputPerMillionUsd":{"type":"number","format":"double"},"label":{"type":"string"},"models":{"type":"array","items":{"type":"string"}}}},"ApiResponseListPaymentMethod":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethod"}}}},"ApiResponseListInvoice":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"}}}},"ApiResponseReadiness":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/Readiness"}}},"ApiResponseListBacklogImport":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BacklogImport"}}}},"ApiResponseMapStringBoolean":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"boolean"}}}},"ApiResponseListAuditLog":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditLog"}}}},"AuditLog":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"userId":{"type":"string"},"action":{"type":"string"},"resource":{"type":"string"},"resourceId":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"ipAddress":{"type":"string"},"source":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"ApiResponseListAssemblyInstruction":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AssemblyInstruction"}}}},"ApiResponseListValueStream":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ValueStream"}}}},"ApiResponseListTechnologyStandard":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TechnologyStandard"}}}},"ApiResponseListReferenceArchitecture":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReferenceArchitecture"}}}},"ApiResponseListTechnologyRadarEntry":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TechnologyRadarEntry"}}}},"ApiResponseListArchitecturePrinciple":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitecturePrinciple"}}}},"ApiResponseListArchitectureFile":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureFile"}}}},"ApiResponseListArchitectureDiagram":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureDiagram"}}}},"ApiResponseListArchitectureDecision":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureDecision"}}}},"ApiResponseListArchitectureComponent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchitectureComponent"}}}},"ApiResponseListBusinessCapability":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BusinessCapability"}}}},"ApiResponseListMapStringObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}}}},"ApiResponseListAppStoreConfig":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AppStoreConfig"}}}},"ApiResponseListAPMIntegration":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/APMIntegration"}}}},"ApiResponseListApiTestDefinition":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ApiTestDefinition"}}}},"ApiResponseListAPIKey":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/APIKey"}}}},"ApiResponseListObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object"}}}},"ApiResponseDashboardDataDto":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/DashboardDataDto"}}},"DashboardDataDto":{"type":"object","properties":{"totalTests":{"type":"integer","format":"int64"},"passedTests":{"type":"integer","format":"int64"},"failedTests":{"type":"integer","format":"int64"},"passRate":{"type":"number","format":"double"},"averageDuration":{"type":"number","format":"double"},"criticalFlowsStatus":{"type":"string"},"releaseReadiness":{"type":"string"},"defectsByPriority":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"activeModules":{"type":"integer","format":"int64"},"recentRuns":{"type":"array","items":{"$ref":"#/components/schemas/RecentRun"}},"performanceMetrics":{"$ref":"#/components/schemas/PerformanceMetrics"},"uxIssues":{"$ref":"#/components/schemas/UxIssues"}}},"PerformanceMetrics":{"type":"object","properties":{"avgPageLoad":{"type":"number","format":"double"},"avgFCP":{"type":"number","format":"double"},"avgLCP":{"type":"number","format":"double"},"avgTTI":{"type":"number","format":"double"}}},"RecentRun":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"duration":{"type":"integer","format":"int64"},"time":{"type":"string"}}},"UxIssues":{"type":"object","properties":{"critical":{"type":"integer","format":"int64"},"high":{"type":"integer","format":"int64"},"medium":{"type":"integer","format":"int64"},"low":{"type":"integer","format":"int64"}}},"ApiResponseListAlertRule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AlertRule"}}}},"ApiResponseListLocalAgent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/LocalAgent"}}}},"LocalAgent":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"productId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"lastHeartbeat":{"type":"string","format":"date-time"},"version":{"type":"string"},"hostname":{"type":"string"},"networkInfo":{"type":"object","additionalProperties":{"type":"string"}},"managedDeviceIds":{"type":"array","items":{"type":"string"}},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ApiResponseLocalAgent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/LocalAgent"}}},"ApiResponseListAgentTask":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentTask"}}}},"ApiResponseListAgentSession":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentSession"}}}},"ApiResponseListAgentInstance":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentInstance"}}}},"ApiResponseListAgentHandoff":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentHandoff"}}}},"ApiResponseListAgentActivityLog":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentActivityLog"}}}},"ApiResponseListAgentDefinition":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentDefinition"}}}},"ApiResponsePaginatedResponseUser":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PaginatedResponseUser"}}},"PaginatedResponseUser":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"total":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}}},"ApiResponsePaginatedResponseSupportTicket":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PaginatedResponseSupportTicket"}}},"PaginatedResponseSupportTicket":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SupportTicket"}},"total":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}}},"ApiResponsePaginatedResponseOrganization":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PaginatedResponseOrganization"}}},"PaginatedResponseOrganization":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}},"total":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}}},"ApiResponseListMapObjectObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}}}},"ApiResponsePaginatedResponseMapObjectObject":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PaginatedResponseMapObjectObject"}}},"PaginatedResponseMapObjectObject":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}},"total":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}}},"ApiResponsePageActivityEvent":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PageActivityEvent"}}},"PageActivityEvent":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"last":{"type":"boolean"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ActivityEvent"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"ApiResponseListAction":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Action"}}}},"ApiResponsePublicStatusResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PublicStatusResponse"}}},"PublicStatusResponse":{"type":"object","properties":{"status":{"type":"string"},"checkedAt":{"type":"string"},"cacheSeconds":{"type":"integer","format":"int64"},"components":{"type":"array","items":{"$ref":"#/components/schemas/Component"}}}},"ApiResponseListBlockingDispensation":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BlockingDispensation"}}}},"ApiResponseKillStatus":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/KillStatus"}}},"KillStatus":{"type":"object","properties":{"killed":{"type":"boolean"},"kills":{"type":"array","items":{"$ref":"#/components/schemas/KillSwitch"}}}},"ApiResponseListWebhookTransformRule":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookTransformRule"}}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}