{"openapi":"3.1.0","info":{"title":"AIDEN Coordination API","version":"1.0.0","description":"REST-style JSON API behind AIDEN's team coordination: boards, specs, agents, and billing. Authenticate with a bearer token created in the AIDEN desktop app (Settings → API). Every endpoint accepts POST with a JSON body and returns JSON errors shaped {code, message, status}.","contact":{"name":"AIDEN support","email":"support@aidenapp.org","url":"https://aidenapp.org/contact"}},"servers":[{"url":"https://aidenapp.org"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"AIDEN API token."}}},"tags":[{"name":"projects","description":"Projects are the top-level container for a codebase."},{"name":"workItems","description":"Epics and stories on the feature board."},{"name":"epics","description":"Epics group stories into larger features."},{"name":"stories","description":"Stories are individual features an agent can be assigned."},{"name":"storySpec","description":"The written spec attached to a story, approved before coding."},{"name":"comments","description":"Threaded comments on work items."},{"name":"collab","description":"Realtime collaboration: locks, broadcasts, review verdicts."},{"name":"orgs","description":"Organization settings and ownership."},{"name":"teams","description":"Teams inside an organization."},{"name":"members","description":"Org membership: invite, roles, removal."},{"name":"invitations","description":"Pending member invitations."},{"name":"assignments","description":"Agent/assignee mapping for work items."},{"name":"activity","description":"Audit-trail of org activity events."},{"name":"agents","description":"Live visibility into in-flight agent runs."},{"name":"notifications","description":"Per-user notification feed and preferences."},{"name":"billing","description":"Seat usage, pricing, and Team-Mode entitlement reads."},{"name":"devices","description":"Device registration for push/session sync."}],"paths":{"/api/query":{"post":{"operationId":"query_dispatch","summary":"Dispatch a named coordination operation","description":"Generic dispatcher used by AIDEN desktop's db.query(). Body: {operation: '<ns>.<op>', params: object}. Only operations in this spec's registry are accepted; anything else returns 404 unknown_operation.","tags":["dispatch"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["operation"],"properties":{"operation":{"type":"string","description":"Operation name, e.g. projects.list","enum":["activity.list","admin.platform.accounts","admin.platform.metrics","admin.platform.orgs","admin.platform.subscriptions","admin.platform.teams","agents.catalog.delete","agents.catalog.download","agents.catalog.get","agents.catalog.list","agents.catalog.publish","agents.listActive","agents.runEvent","assignments.clear","assignments.listForOrg","assignments.listForProject","assignments.set","audit.list","billing.orgEntitlement","billing.seatPricing","billing.seatUsage","billing.updateSeats","boardColumns.archive","boardColumns.create","boardColumns.list","boardColumns.reorder","boardColumns.update","broadcasts.list","broadcasts.send","comments.create","comments.delete","comments.list","comments.react","comments.resolve","comments.update","contracts.list","contracts.publish","deliveryExecutions.acquire","deliveryExecutions.checkpoint","deliveryExecutions.complete","deliveryExecutions.eventsSince","deliveryExecutions.get","deliveryExecutions.getForTarget","deliveryExecutions.handoff","deliveryExecutions.recordForgeObservation","deliveryExecutions.release","deliveryExecutions.renew","deliveryExecutions.update","deliveryGroups.acquireLease","deliveryGroups.checkpoint","deliveryGroups.create","deliveryGroups.get","deliveryGroups.getForStory","deliveryGroups.list","deliveryGroups.releaseLease","deliveryGroups.renewLease","deliveryGroups.replaceStories","deliveryGroups.update","deliveryGroups.updateGitMeta","deliveryGroups.updateUpstream","devices.register","devices.unregister","epics.create","epics.delete","epics.list","epics.update","gamification.leaderboard","gamification.profile","gamification.reset","gamification.sync","invitations.list","invitations.resend","invitations.revoke","locks.acquire","locks.list","locks.release","members.invite","members.leave","members.list","members.profile","members.removeMember","members.setRole","notifications.list","notifications.listPreferences","notifications.markAllRead","notifications.markRead","notifications.setPreference","notifications.unreadCount","orgs.delete","orgs.transferOwnership","orgs.update","policy.get","policy.update","projects.accessRequests.list","projects.accessRequests.resolve","projects.assignTeam","projects.convertLocal","projects.create","projects.delete","projects.get","projects.list","projects.members.add","projects.members.list","projects.members.remove","projects.requestAccess","projects.teams.list","projects.unassignTeam","projects.update","prompts.org.delete","prompts.org.list","prompts.org.upsert","prompts.project.delete","prompts.project.list","prompts.project.upsert","reviewers.add","reviewers.list","reviewers.listForUser","reviewers.remove","reviewers.setVerdict","session.identity","stories.create","stories.delete","stories.get","stories.list","stories.reorder","stories.select","stories.update","stories.updateGitMeta","stories.updateStatus","stories.updateUpstream","storyCollaboration.context","storySpec.get","storySpec.history","storySpec.restore","storySpec.update","teams.create","teams.delete","teams.get","teams.list","teams.members.add","teams.members.list","teams.members.remove","teams.members.setRole","teams.projects.list","teams.update"]},"params":{"type":"object","additionalProperties":true}}}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/activity/list":{"post":{"operationId":"activity_list","summary":"List","description":"Audit-trail of org activity events. Reads activity data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["activity"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/admin/platform":{"post":{"operationId":"admin_platform","summary":"Platform","description":"Writes admin data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/agents/catalog":{"post":{"operationId":"agents_catalog","summary":"Catalog","description":"Live visibility into in-flight agent runs. Writes agents data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["agents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/agents/listActive":{"post":{"operationId":"agents_listActive","summary":"List Active","description":"Live visibility into in-flight agent runs. Reads agents data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["agents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/agents/runEvent":{"post":{"operationId":"agents_runEvent","summary":"Run Event","description":"Live visibility into in-flight agent runs. Writes agents data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["agents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/assignments/clear":{"post":{"operationId":"assignments_clear","summary":"Clear","description":"Agent/assignee mapping for work items. Writes assignments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["assignments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/assignments/listForOrg":{"post":{"operationId":"assignments_listForOrg","summary":"List For Org","description":"Agent/assignee mapping for work items. Reads assignments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["assignments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/assignments/listForProject":{"post":{"operationId":"assignments_listForProject","summary":"List For Project","description":"Agent/assignee mapping for work items. Reads assignments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["assignments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/assignments/set":{"post":{"operationId":"assignments_set","summary":"Set","description":"Agent/assignee mapping for work items. Writes assignments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["assignments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/audit/list":{"post":{"operationId":"audit_list","summary":"List","description":"Reads audit data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["audit"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/billing/orgEntitlement":{"post":{"operationId":"billing_orgEntitlement","summary":"Org Entitlement","description":"Seat usage, pricing, and Team-Mode entitlement reads. Reads billing data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["billing"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/billing/seatPricing":{"post":{"operationId":"billing_seatPricing","summary":"Seat Pricing","description":"Seat usage, pricing, and Team-Mode entitlement reads. Reads billing data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["billing"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/billing/seatUsage":{"post":{"operationId":"billing_seatUsage","summary":"Seat Usage","description":"Seat usage, pricing, and Team-Mode entitlement reads. Reads billing data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["billing"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/billing/updateSeats":{"post":{"operationId":"billing_updateSeats","summary":"Update Seats","description":"Seat usage, pricing, and Team-Mode entitlement reads. Writes billing data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["billing"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/boardColumns/archive":{"post":{"operationId":"boardColumns_archive","summary":"Archive","description":"Writes boardColumns data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["boardColumns"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/boardColumns/create":{"post":{"operationId":"boardColumns_create","summary":"Create","description":"Writes boardColumns data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["boardColumns"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/boardColumns/list":{"post":{"operationId":"boardColumns_list","summary":"List","description":"Reads boardColumns data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["boardColumns"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/boardColumns/reorder":{"post":{"operationId":"boardColumns_reorder","summary":"Reorder","description":"Writes boardColumns data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["boardColumns"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/boardColumns/update":{"post":{"operationId":"boardColumns_update","summary":"Update","description":"Writes boardColumns data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["boardColumns"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/broadcasts/list":{"post":{"operationId":"broadcasts_list","summary":"List","description":"Reads broadcasts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["broadcasts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/broadcasts/send":{"post":{"operationId":"broadcasts_send","summary":"Send","description":"Writes broadcasts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["broadcasts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/create":{"post":{"operationId":"comments_create","summary":"Create","description":"Threaded comments on work items. Writes comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/delete":{"post":{"operationId":"comments_delete","summary":"Delete","description":"Threaded comments on work items. Writes comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/list":{"post":{"operationId":"comments_list","summary":"List","description":"Threaded comments on work items. Reads comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/react":{"post":{"operationId":"comments_react","summary":"React","description":"Threaded comments on work items. Writes comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/resolve":{"post":{"operationId":"comments_resolve","summary":"Resolve","description":"Threaded comments on work items. Writes comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/comments/update":{"post":{"operationId":"comments_update","summary":"Update","description":"Threaded comments on work items. Writes comments data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/contracts/list":{"post":{"operationId":"contracts_list","summary":"List","description":"Reads contracts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["contracts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/contracts/publish":{"post":{"operationId":"contracts_publish","summary":"Publish","description":"Writes contracts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["contracts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/acquire":{"post":{"operationId":"deliveryExecutions_acquire","summary":"Acquire","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/checkpoint":{"post":{"operationId":"deliveryExecutions_checkpoint","summary":"Checkpoint","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/complete":{"post":{"operationId":"deliveryExecutions_complete","summary":"Complete","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/eventsSince":{"post":{"operationId":"deliveryExecutions_eventsSince","summary":"Events Since","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/get":{"post":{"operationId":"deliveryExecutions_get","summary":"Get","description":"Reads deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/getForTarget":{"post":{"operationId":"deliveryExecutions_getForTarget","summary":"Get For Target","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/handoff":{"post":{"operationId":"deliveryExecutions_handoff","summary":"Handoff","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/recordForgeObservation":{"post":{"operationId":"deliveryExecutions_recordForgeObservation","summary":"Record Forge Observation","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/release":{"post":{"operationId":"deliveryExecutions_release","summary":"Release","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/renew":{"post":{"operationId":"deliveryExecutions_renew","summary":"Renew","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryExecutions/update":{"post":{"operationId":"deliveryExecutions_update","summary":"Update","description":"Writes deliveryExecutions data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryExecutions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/acquireLease":{"post":{"operationId":"deliveryGroups_acquireLease","summary":"Acquire Lease","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/checkpoint":{"post":{"operationId":"deliveryGroups_checkpoint","summary":"Checkpoint","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/create":{"post":{"operationId":"deliveryGroups_create","summary":"Create","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/get":{"post":{"operationId":"deliveryGroups_get","summary":"Get","description":"Reads deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/getForStory":{"post":{"operationId":"deliveryGroups_getForStory","summary":"Get For Story","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/list":{"post":{"operationId":"deliveryGroups_list","summary":"List","description":"Reads deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/releaseLease":{"post":{"operationId":"deliveryGroups_releaseLease","summary":"Release Lease","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/renewLease":{"post":{"operationId":"deliveryGroups_renewLease","summary":"Renew Lease","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/replaceStories":{"post":{"operationId":"deliveryGroups_replaceStories","summary":"Replace Stories","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/update":{"post":{"operationId":"deliveryGroups_update","summary":"Update","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/updateGitMeta":{"post":{"operationId":"deliveryGroups_updateGitMeta","summary":"Update Git Meta","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/deliveryGroups/updateUpstream":{"post":{"operationId":"deliveryGroups_updateUpstream","summary":"Update Upstream","description":"Writes deliveryGroups data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["deliveryGroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/devices/register":{"post":{"operationId":"devices_register","summary":"Register","description":"Device registration for push/session sync. Writes devices data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["devices"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/devices/unregister":{"post":{"operationId":"devices_unregister","summary":"Unregister","description":"Device registration for push/session sync. Writes devices data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["devices"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/epics/create":{"post":{"operationId":"epics_create","summary":"Create","description":"Epics group stories into larger features. Writes epics data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["epics"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/epics/delete":{"post":{"operationId":"epics_delete","summary":"Delete","description":"Epics group stories into larger features. Writes epics data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["epics"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/epics/list":{"post":{"operationId":"epics_list","summary":"List","description":"Epics group stories into larger features. Reads epics data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["epics"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/epics/update":{"post":{"operationId":"epics_update","summary":"Update","description":"Epics group stories into larger features. Writes epics data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["epics"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/gamification/leaderboard":{"post":{"operationId":"gamification_leaderboard","summary":"Leaderboard","description":"Writes gamification data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["gamification"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/gamification/profile":{"post":{"operationId":"gamification_profile","summary":"Profile","description":"Reads gamification data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["gamification"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/gamification/reset":{"post":{"operationId":"gamification_reset","summary":"Reset","description":"Writes gamification data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["gamification"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/gamification/sync":{"post":{"operationId":"gamification_sync","summary":"Sync","description":"Writes gamification data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["gamification"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/invitations/list":{"post":{"operationId":"invitations_list","summary":"List","description":"Pending member invitations. Reads invitations data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["invitations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/invitations/resend":{"post":{"operationId":"invitations_resend","summary":"Resend","description":"Pending member invitations. Writes invitations data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["invitations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/invitations/revoke":{"post":{"operationId":"invitations_revoke","summary":"Revoke","description":"Pending member invitations. Writes invitations data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["invitations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/locks/acquire":{"post":{"operationId":"locks_acquire","summary":"Acquire","description":"Writes locks data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["locks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/locks/list":{"post":{"operationId":"locks_list","summary":"List","description":"Reads locks data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["locks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/locks/release":{"post":{"operationId":"locks_release","summary":"Release","description":"Writes locks data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["locks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/invite":{"post":{"operationId":"members_invite","summary":"Invite","description":"Org membership: invite, roles, removal. Writes members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/leave":{"post":{"operationId":"members_leave","summary":"Leave","description":"Org membership: invite, roles, removal. Writes members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/list":{"post":{"operationId":"members_list","summary":"List","description":"Org membership: invite, roles, removal. Reads members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/profile":{"post":{"operationId":"members_profile","summary":"Profile","description":"Org membership: invite, roles, removal. Reads members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/removeMember":{"post":{"operationId":"members_removeMember","summary":"Remove Member","description":"Org membership: invite, roles, removal. Writes members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/members/setRole":{"post":{"operationId":"members_setRole","summary":"Set Role","description":"Org membership: invite, roles, removal. Writes members data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["members"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/list":{"post":{"operationId":"notifications_list","summary":"List","description":"Per-user notification feed and preferences. Reads notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/listPreferences":{"post":{"operationId":"notifications_listPreferences","summary":"List Preferences","description":"Per-user notification feed and preferences. Reads notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/markAllRead":{"post":{"operationId":"notifications_markAllRead","summary":"Mark All Read","description":"Per-user notification feed and preferences. Writes notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/markRead":{"post":{"operationId":"notifications_markRead","summary":"Mark Read","description":"Per-user notification feed and preferences. Writes notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/setPreference":{"post":{"operationId":"notifications_setPreference","summary":"Set Preference","description":"Per-user notification feed and preferences. Writes notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/notifications/unreadCount":{"post":{"operationId":"notifications_unreadCount","summary":"Unread Count","description":"Per-user notification feed and preferences. Reads notifications data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/orgs/delete":{"post":{"operationId":"orgs_delete","summary":"Delete","description":"Organization settings and ownership. Writes orgs data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["orgs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/orgs/transferOwnership":{"post":{"operationId":"orgs_transferOwnership","summary":"Transfer Ownership","description":"Organization settings and ownership. Writes orgs data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["orgs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/orgs/update":{"post":{"operationId":"orgs_update","summary":"Update","description":"Organization settings and ownership. Writes orgs data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["orgs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/policy/get":{"post":{"operationId":"policy_get","summary":"Get","description":"Reads policy data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["policy"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/policy/update":{"post":{"operationId":"policy_update","summary":"Update","description":"Writes policy data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["policy"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/accessRequests":{"post":{"operationId":"projects_accessRequests","summary":"Access Requests","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/assignTeam":{"post":{"operationId":"projects_assignTeam","summary":"Assign Team","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/convertLocal":{"post":{"operationId":"projects_convertLocal","summary":"Convert Local","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/create":{"post":{"operationId":"projects_create","summary":"Create","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/delete":{"post":{"operationId":"projects_delete","summary":"Delete","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/get":{"post":{"operationId":"projects_get","summary":"Get","description":"Projects are the top-level container for a codebase. Reads projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/list":{"post":{"operationId":"projects_list","summary":"List","description":"Projects are the top-level container for a codebase. Reads projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/members":{"post":{"operationId":"projects_members","summary":"Members","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/requestAccess":{"post":{"operationId":"projects_requestAccess","summary":"Request Access","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/teams":{"post":{"operationId":"projects_teams","summary":"Teams","description":"Projects are the top-level container for a codebase. Reads projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/unassignTeam":{"post":{"operationId":"projects_unassignTeam","summary":"Unassign Team","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/projects/update":{"post":{"operationId":"projects_update","summary":"Update","description":"Projects are the top-level container for a codebase. Writes projects data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["projects"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/prompts/org":{"post":{"operationId":"prompts_org","summary":"Org","description":"Writes prompts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["prompts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/prompts/project":{"post":{"operationId":"prompts_project","summary":"Project","description":"Writes prompts data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["prompts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/reviewers/add":{"post":{"operationId":"reviewers_add","summary":"Add","description":"Writes reviewers data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["reviewers"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/reviewers/list":{"post":{"operationId":"reviewers_list","summary":"List","description":"Reads reviewers data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["reviewers"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/reviewers/listForUser":{"post":{"operationId":"reviewers_listForUser","summary":"List For User","description":"Reads reviewers data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["reviewers"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/reviewers/remove":{"post":{"operationId":"reviewers_remove","summary":"Remove","description":"Writes reviewers data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["reviewers"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/reviewers/setVerdict":{"post":{"operationId":"reviewers_setVerdict","summary":"Set Verdict","description":"Writes reviewers data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["reviewers"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/session/identity":{"post":{"operationId":"session_identity","summary":"Identity","description":"Writes session data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["session"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/create":{"post":{"operationId":"stories_create","summary":"Create","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/delete":{"post":{"operationId":"stories_delete","summary":"Delete","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/get":{"post":{"operationId":"stories_get","summary":"Get","description":"Stories are individual features an agent can be assigned. Reads stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/list":{"post":{"operationId":"stories_list","summary":"List","description":"Stories are individual features an agent can be assigned. Reads stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/reorder":{"post":{"operationId":"stories_reorder","summary":"Reorder","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/select":{"post":{"operationId":"stories_select","summary":"Select","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/update":{"post":{"operationId":"stories_update","summary":"Update","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/updateGitMeta":{"post":{"operationId":"stories_updateGitMeta","summary":"Update Git Meta","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/updateStatus":{"post":{"operationId":"stories_updateStatus","summary":"Update Status","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/stories/updateUpstream":{"post":{"operationId":"stories_updateUpstream","summary":"Update Upstream","description":"Stories are individual features an agent can be assigned. Writes stories data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["stories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/storyCollaboration/context":{"post":{"operationId":"storyCollaboration_context","summary":"Context","description":"Writes storyCollaboration data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["storyCollaboration"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/storySpec/get":{"post":{"operationId":"storySpec_get","summary":"Get","description":"The written spec attached to a story, approved before coding. Reads storySpec data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["storySpec"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/storySpec/history":{"post":{"operationId":"storySpec_history","summary":"History","description":"The written spec attached to a story, approved before coding. Writes storySpec data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["storySpec"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/storySpec/restore":{"post":{"operationId":"storySpec_restore","summary":"Restore","description":"The written spec attached to a story, approved before coding. Writes storySpec data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["storySpec"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/storySpec/update":{"post":{"operationId":"storySpec_update","summary":"Update","description":"The written spec attached to a story, approved before coding. Writes storySpec data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["storySpec"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/create":{"post":{"operationId":"teams_create","summary":"Create","description":"Teams inside an organization. Writes teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/delete":{"post":{"operationId":"teams_delete","summary":"Delete","description":"Teams inside an organization. Writes teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/get":{"post":{"operationId":"teams_get","summary":"Get","description":"Teams inside an organization. Reads teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/list":{"post":{"operationId":"teams_list","summary":"List","description":"Teams inside an organization. Reads teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/members":{"post":{"operationId":"teams_members","summary":"Members","description":"Teams inside an organization. Writes teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/projects":{"post":{"operationId":"teams_projects","summary":"Projects","description":"Teams inside an organization. Reads teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}},"/api/teams/update":{"post":{"operationId":"teams_update","summary":"Update","description":"Teams inside an organization. Writes teams data. Scoped to the bearer token's org; ACL is enforced server-side.","tags":["teams"],"security":[{"bearerAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Operation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"422":{"description":"422 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}},"500":{"description":"500 error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["bad_request","unauthorized","forbidden","not_found"]},"message":{"type":"string"},"status":{"type":"integer"}},"required":["code","message"]}}}}}}}}}