{"openapi":"3.1.0","info":{"title":"GODS Platform Core","description":"Sovereign AI governance backend for the G.O.D.S ecosystem.","version":"1.0.0"},"paths":{"/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health/ready":{"get":{"tags":["health"],"summary":"Ready","operationId":"ready_health_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_auth_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_auth_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/registry/models":{"get":{"tags":["UDOC registry"],"summary":"List Models","operationId":"list_models_registry_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["UDOC registry"],"summary":"Register Model","operationId":"register_model_registry_models_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/registry/models/{model_id}/status":{"post":{"tags":["UDOC registry"],"summary":"Set Status","operationId":"set_status_registry_models__model_id__status_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"new_status","in":"query","required":true,"schema":{"type":"string","title":"New Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/decisions":{"get":{"tags":["UDOC decisions"],"summary":"List Decisions","operationId":"list_decisions_decisions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["UDOC decisions"],"summary":"Decide","operationId":"decide_decisions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__decisions__DecisionReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/decisions/certificates":{"get":{"tags":["UDOC decisions"],"summary":"List Certificates","operationId":"list_certificates_decisions_certificates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/decisions/certificates/{cid}/verify":{"get":{"tags":["UDOC decisions"],"summary":"Verify Certificate","operationId":"verify_certificate_decisions_certificates__cid__verify_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","title":"Cid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/decisions/batch":{"post":{"tags":["UDOC decisions"],"summary":"Decide Batch","description":"Capstone PUBLIC smoke path. No auth.","operationId":"decide_batch_decisions_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audit/chain/verify":{"get":{"tags":["UDOC audit"],"summary":"Chain Verify","operationId":"chain_verify_audit_chain_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/audit/chain/merkle-root":{"get":{"tags":["UDOC audit"],"summary":"Get Merkle","operationId":"get_merkle_audit_chain_merkle_root_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/audit/records":{"get":{"tags":["UDOC audit"],"summary":"Records","operationId":"records_audit_records_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/oversight/cases":{"get":{"tags":["UDOC oversight"],"summary":"List Cases","operationId":"list_cases_oversight_cases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["UDOC oversight"],"summary":"Open Case","operationId":"open_case_oversight_cases_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/oversight/cases/{case_ref}/resolve":{"post":{"tags":["UDOC oversight"],"summary":"Resolve","operationId":"resolve_oversight_cases__case_ref__resolve_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","title":"Resolution"}},{"name":"override","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Override"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seths/enrol":{"post":{"tags":["SETHS"],"summary":"Enrol","operationId":"enrol_seths_enrol_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/seths/{ref}/advance":{"post":{"tags":["SETHS"],"summary":"Advance","description":"Advance learner toward placement.\n\nCapstone demo path (one click):\n  ENROLLED → PLACED\n  COMPLETED → PLACED  (legacy mid-state still supported)\n\nPLACED sets monthly_value for economic-output metrics and unlocks\nTS assign-worker (FK-backed SETHS→TS loop).","operationId":"advance_seths__ref__advance_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"monthly_value","in":"query","required":false,"schema":{"type":"number","default":12000.0,"title":"Monthly Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seths/metrics":{"get":{"tags":["SETHS"],"summary":"Metrics","operationId":"metrics_seths_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/seths/learners":{"get":{"tags":["SETHS"],"summary":"List Learners","description":"Roster for divisions operator surface — newest first, capped for free-tier honesty.","operationId":"list_learners_seths_learners_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seths/learners/{ref}":{"get":{"tags":["SETHS"],"summary":"Get Learner","operationId":"get_learner_seths_learners__ref__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ts/projects":{"get":{"tags":["TS Industries"],"summary":"Projects","operationId":"projects_ts_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["TS Industries"],"summary":"Deploy","operationId":"deploy_ts_projects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ts/subsidiaries":{"get":{"tags":["TS Industries"],"summary":"Subsidiaries","operationId":"subsidiaries_ts_subsidiaries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ts/projects/{spv_id}/assign-worker":{"post":{"tags":["TS Industries"],"summary":"Assign Worker","description":"Real FK-backed placement: only a Learner already in PLACED status can\nbe assigned, closing the SETHS→TS loop with an actual relationship\ninstead of two independent counters.","operationId":"assign_worker_ts_projects__spv_id__assign_worker_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"spv_id","in":"path","required":true,"schema":{"type":"string","title":"Spv Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignWorkerReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ts/projects/{spv_id}/workers":{"get":{"tags":["TS Industries"],"summary":"Project Workers","operationId":"project_workers_ts_projects__spv_id__workers_get","parameters":[{"name":"spv_id","in":"path","required":true,"schema":{"type":"string","title":"Spv Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ts/metrics":{"get":{"tags":["TS Industries"],"summary":"Metrics","operationId":"metrics_ts_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/madiba/allocate":{"post":{"tags":["MADIBA"],"summary":"Allocate","description":"Write one CapitalCycle row. Demo ledger entry — not bank money.","operationId":"allocate_madiba_allocate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllocateReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/madiba/metrics":{"get":{"tags":["MADIBA"],"summary":"Metrics","description":"Ledger totals from CapitalCycle only. Zero when empty. Not AUM.","operationId":"metrics_madiba_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/madiba/reset-ledger":{"post":{"tags":["MADIBA"],"summary":"Reset Ledger","description":"Admin: delete all CapitalCycle rows + MADIBA DivisionRecord analytics (theatre purge).","operationId":"reset_ledger_madiba_reset_ledger_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/madiba/series-a-status":{"get":{"tags":["MADIBA"],"summary":"Series A Status","operationId":"series_a_status_madiba_series_a_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/madiba/milestones/{key}":{"post":{"tags":["MADIBA"],"summary":"Set Milestone","operationId":"set_milestone_madiba_milestones__key__post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/frameworks":{"get":{"tags":["UDOC compliance"],"summary":"Frameworks","operationId":"frameworks_compliance_frameworks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/compliance/sweep":{"get":{"tags":["UDOC compliance"],"summary":"Sweep","operationId":"sweep_compliance_sweep_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/bias/scan":{"get":{"tags":["UDOC bias"],"summary":"Scan","operationId":"scan_bias_scan_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sovereignty/posture":{"get":{"tags":["UDOC sovereignty"],"summary":"Posture","operationId":"posture_sovereignty_posture_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intelligence/loop-snapshot":{"get":{"tags":["intelligence"],"summary":"Loop Snapshot","operationId":"loop_snapshot_intelligence_loop_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/status":{"get":{"tags":["GODS Admin"],"summary":"Status","operationId":"status_admin_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/analytics/{division}/kpis":{"get":{"tags":["UDOC analytics"],"summary":"Kpis","operationId":"kpis_analytics__division__kpis_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"division","in":"path","required":true,"schema":{"type":"string","title":"Division"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/{division}/totals":{"get":{"tags":["UDOC analytics"],"summary":"Totals","operationId":"totals_analytics__division__totals_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"division","in":"path","required":true,"schema":{"type":"string","title":"Division"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/{division}/timeseries":{"get":{"tags":["UDOC analytics"],"summary":"Timeseries","operationId":"timeseries_analytics__division__timeseries_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"division","in":"path","required":true,"schema":{"type":"string","title":"Division"}},{"name":"metric","in":"query","required":true,"schema":{"type":"string","title":"Metric"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/{division}/records":{"get":{"tags":["UDOC analytics"],"summary":"Records","operationId":"records_analytics__division__records_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"division","in":"path","required":true,"schema":{"type":"string","title":"Division"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/student/register":{"post":{"tags":["Portal · Student"],"summary":"Register","operationId":"register_portal_student_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentReg"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/student/{student_ref}":{"get":{"tags":["Portal · Student"],"summary":"Profile","operationId":"profile_portal_student__student_ref__get","parameters":[{"name":"student_ref","in":"path","required":true,"schema":{"type":"string","title":"Student Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/student/{student_ref}/progress":{"post":{"tags":["Portal · Student"],"summary":"Update Progress","operationId":"update_progress_portal_student__student_ref__progress_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"student_ref","in":"path","required":true,"schema":{"type":"string","title":"Student Ref"}},{"name":"pct","in":"query","required":true,"schema":{"type":"number","title":"Pct"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/student/opportunities/open":{"get":{"tags":["Portal · Student"],"summary":"Open Opportunities","operationId":"open_opportunities_portal_student_opportunities_open_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/student/{student_ref}/apply/{opportunity_id}":{"post":{"tags":["Portal · Student"],"summary":"Apply","operationId":"apply_portal_student__student_ref__apply__opportunity_id__post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"student_ref","in":"path","required":true,"schema":{"type":"string","title":"Student Ref"}},{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"integer","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employer/register":{"post":{"tags":["Portal · Employer"],"summary":"Register","operationId":"register_portal_employer_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerReg"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employer/opportunities":{"post":{"tags":["Portal · Employer"],"summary":"Post Opportunity","operationId":"post_opportunity_portal_employer_opportunities_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OppReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/portal/employer/{employer_id}/opportunities":{"get":{"tags":["Portal · Employer"],"summary":"My Opportunities","operationId":"my_opportunities_portal_employer__employer_id__opportunities_get","parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"integer","title":"Employer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employer/opportunities/{opportunity_id}/applicants":{"get":{"tags":["Portal · Employer"],"summary":"Applicants","operationId":"applicants_portal_employer_opportunities__opportunity_id__applicants_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"integer","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employer/applications/{application_id}/offer":{"post":{"tags":["Portal · Employer"],"summary":"Make Offer","operationId":"make_offer_portal_employer_applications__application_id__offer_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"integer","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employee/{employee_ref}":{"get":{"tags":["Portal · Employee"],"summary":"Profile","operationId":"profile_portal_employee__employee_ref__get","parameters":[{"name":"employee_ref","in":"path","required":true,"schema":{"type":"string","title":"Employee Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employee/{employee_ref}/timesheet":{"post":{"tags":["Portal · Employee"],"summary":"Submit Timesheet","operationId":"submit_timesheet_portal_employee__employee_ref__timesheet_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"employee_ref","in":"path","required":true,"schema":{"type":"string","title":"Employee Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employee/timesheet/{timesheet_id}/approve":{"post":{"tags":["Portal · Employee"],"summary":"Approve","operationId":"approve_portal_employee_timesheet__timesheet_id__approve_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"timesheet_id","in":"path","required":true,"schema":{"type":"integer","title":"Timesheet Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/employee/{employee_ref}/payslip":{"get":{"tags":["Portal · Employee"],"summary":"Payslip","operationId":"payslip_portal_employee__employee_ref__payslip_get","parameters":[{"name":"employee_ref","in":"path","required":true,"schema":{"type":"string","title":"Employee Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/documents/upload":{"post":{"tags":["Documents · UDOC records"],"summary":"Upload","operationId":"upload_documents_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_documents_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/documents/owner/{owner_ref}":{"get":{"tags":["Documents · UDOC records"],"summary":"List Owner","operationId":"list_owner_documents_owner__owner_ref__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"owner_ref","in":"path","required":true,"schema":{"type":"string","title":"Owner Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/documents/{doc_ref}/download":{"get":{"tags":["Documents · UDOC records"],"summary":"Download","operationId":"download_documents__doc_ref__download_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_ref","in":"path","required":true,"schema":{"type":"string","title":"Doc Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/documents/{doc_ref}/meta":{"get":{"tags":["Documents · UDOC records"],"summary":"Meta","operationId":"meta_documents__doc_ref__meta_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_ref","in":"path","required":true,"schema":{"type":"string","title":"Doc Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/register":{"post":{"tags":["UDOC SaaS clients"],"summary":"Register","operationId":"register_saas_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientReg"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/{client_ref}/models":{"get":{"tags":["UDOC SaaS clients"],"summary":"My Models","operationId":"my_models_saas__client_ref__models_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_ref","in":"path","required":true,"schema":{"type":"string","title":"Client Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/{client_ref}/suspend/{model_id}":{"post":{"tags":["UDOC SaaS clients"],"summary":"Suspend","operationId":"suspend_saas__client_ref__suspend__model_id__post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_ref","in":"path","required":true,"schema":{"type":"string","title":"Client Ref"}},{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/{client_ref}/resume/{model_id}":{"post":{"tags":["UDOC SaaS clients"],"summary":"Resume","operationId":"resume_saas__client_ref__resume__model_id__post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_ref","in":"path","required":true,"schema":{"type":"string","title":"Client Ref"}},{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/{client_ref}/dashboard":{"get":{"tags":["UDOC SaaS clients"],"summary":"Dashboard","operationId":"dashboard_saas__client_ref__dashboard_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client_ref","in":"path","required":true,"schema":{"type":"string","title":"Client Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/madiba/engage":{"post":{"tags":["MADIBA engagements"],"summary":"Create","operationId":"create_madiba_engage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngageReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/madiba/engage/{ref}/advance":{"post":{"tags":["MADIBA engagements"],"summary":"Advance","operationId":"advance_madiba_engage__ref__advance_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/madiba/engage/pipeline":{"get":{"tags":["MADIBA engagements"],"summary":"Pipeline","operationId":"pipeline_madiba_engage_pipeline_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ts/submit/project":{"post":{"tags":["TS submissions"],"summary":"Submit Project","operationId":"submit_project_ts_submit_project_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ts/submit/project/{ref}":{"get":{"tags":["TS submissions"],"summary":"Track","operationId":"track_ts_submit_project__ref__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ts/submit/project/{ref}/advance":{"post":{"tags":["TS submissions"],"summary":"Advance","operationId":"advance_ts_submit_project__ref__advance_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ts/submit/partner":{"post":{"tags":["TS submissions"],"summary":"Apply Partner","operationId":"apply_partner_ts_submit_partner_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ts/submit/projects":{"get":{"tags":["TS submissions"],"summary":"All Projects","operationId":"all_projects_ts_submit_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/access/profile":{"get":{"tags":["Access control"],"summary":"Profile","operationId":"profile_access_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/access/profiles":{"get":{"tags":["Access control"],"summary":"The 24 Sovereign-Operator profiles (grouped) + their capabilities","operationId":"profiles_access_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/access/matrix":{"get":{"tags":["Access control"],"summary":"Profile × capability matrix + role→systems grid","operationId":"matrix_access_matrix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/access/guard/{system_key}":{"get":{"tags":["Access control"],"summary":"Guard","description":"Consoles call this on entry; 403 if the user may not open this system.","operationId":"guard_access_guard__system_key__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"system_key","in":"path","required":true,"schema":{"type":"string","title":"System Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/upload":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Upload","operationId":"upload_policy_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_policy_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/policy/packs":{"get":{"tags":["Policy-to-Code · UDOC governance"],"summary":"List Packs","operationId":"list_packs_policy_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/policy/packs/{pack_id}":{"get":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Get Pack","operationId":"get_pack_policy_packs__pack_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"integer","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/rules/{rule_id}":{"patch":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Patch Rule","operationId":"patch_rule_policy_rules__rule_id__patch","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"integer","title":"Rule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/packs/{pack_id}/activate":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Activate","operationId":"activate_policy_packs__pack_id__activate_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"integer","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/packs/{pack_id}/archive":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Archive","operationId":"archive_policy_packs__pack_id__archive_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"integer","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/active":{"get":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Active","description":"Active packs + enforced rule set (dicts from policy_engine — never ORM attributes).","operationId":"active_policy_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/policy/test":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Test","description":"Dry-run: EVA + active policy on one scenario WITHOUT persisting a decision.","operationId":"test_policy_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyTestReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/policy/runtime-matrix":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Runtime Matrix","description":"Full EVA × policy-to-code matrix against ACTIVE uploaded packs (no decision rows written).\n\nShows how each scenario is scored by EVA and which compiled rules fire — the runtime\nlink between policy upload → extract_rules → activate → apply() at decision time.","operationId":"runtime_matrix_policy_runtime_matrix_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeMatrixReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/policy/packs/{pack_id}/submit":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Submit Pack","operationId":"submit_pack_policy_packs__pack_id__submit_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"integer","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/versions/{vid}/approve":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Approve Version","operationId":"approve_version_policy_versions__vid__approve_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"vid","in":"path","required":true,"schema":{"type":"integer","title":"Vid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/versions/{vid}/veto":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Veto Version","operationId":"veto_version_policy_versions__vid__veto_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"vid","in":"path","required":true,"schema":{"type":"integer","title":"Vid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetoReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/versions":{"get":{"tags":["Policy-to-Code · UDOC governance"],"summary":"List Versions","operationId":"list_versions_policy_versions_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"pack_id","in":"query","required":false,"schema":{"type":"integer","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/versions/{vid}":{"get":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Get Version","operationId":"get_version_policy_versions__vid__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"vid","in":"path","required":true,"schema":{"type":"integer","title":"Vid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy/hot-reload":{"post":{"tags":["Policy-to-Code · UDOC governance"],"summary":"Hotreload","operationId":"hotreload_policy_hot_reload_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/state":{"get":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"State","operationId":"state_intel_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/docs":{"get":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Docs","operationId":"docs_intel_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/ingest-text":{"post":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Ingest Text","operationId":"ingest_text_intel_ingest_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__intel__TextIngest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/ingest":{"post":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Ingest File","operationId":"ingest_file_intel_ingest_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_ingest_file_intel_ingest_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/docs/{doc_id}":{"patch":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Patch Doc","description":"Toggle active and/or re-label category (e.g. GENERAL → EIF/GBS for gap coverage).","operationId":"patch_doc_intel_docs__doc_id__patch","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"integer","title":"Doc Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Delete Doc","operationId":"delete_doc_intel_docs__doc_id__delete","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"integer","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intel/ask":{"post":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Ask","operationId":"ask_intel_ask_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/intel/gaps":{"get":{"tags":["G.O.D.S Intelligence · INTERNAL"],"summary":"Gaps","description":"Internal knowledge-gap report — coverage by institutional category.","operationId":"gaps_intel_gaps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tenants/tiers":{"get":{"tags":["SaaS · tenancy & commercial"],"summary":"Tiers","operationId":"tiers_tenants_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tenants":{"get":{"tags":["SaaS · tenancy & commercial"],"summary":"List Tenants","operationId":"list_tenants_tenants_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["SaaS · tenancy & commercial"],"summary":"Create Tenant","operationId":"create_tenant_tenants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenantReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tenants/me":{"get":{"tags":["SaaS · tenancy & commercial"],"summary":"My Tenant","operationId":"my_tenant_tenants_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tenants/me/apikeys":{"get":{"tags":["SaaS · tenancy & commercial"],"summary":"My Keys","operationId":"my_keys_tenants_me_apikeys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["SaaS · tenancy & commercial"],"summary":"Issue My Key","operationId":"issue_my_key_tenants_me_apikeys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tenants/{tid}":{"get":{"tags":["SaaS · tenancy & commercial"],"summary":"Get Tenant","operationId":"get_tenant_tenants__tid__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"integer","title":"Tid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tenants/{tid}/tier":{"post":{"tags":["SaaS · tenancy & commercial"],"summary":"Set Tier","operationId":"set_tier_tenants__tid__tier_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"integer","title":"Tid"}},{"name":"tier","in":"query","required":true,"schema":{"type":"string","title":"Tier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tenants/{tid}/status":{"post":{"tags":["SaaS · tenancy & commercial"],"summary":"Set Status","operationId":"set_status_tenants__tid__status_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"integer","title":"Tid"}},{"name":"status_value","in":"query","required":true,"schema":{"type":"string","title":"Status Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tenants/{tid}/apikeys":{"post":{"tags":["SaaS · tenancy & commercial"],"summary":"Issue Key","operationId":"issue_key_tenants__tid__apikeys_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"integer","title":"Tid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SaaS · tenancy & commercial"],"summary":"List Keys","operationId":"list_keys_tenants__tid__apikeys_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"integer","title":"Tid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/regulator/summary":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Regulator Summary","description":"Regulator rollup shaped for Admin console (systems + decisions + oversight + policy + crypto).","operationId":"regulator_summary_udoc_regulator_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/regulator/export":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Regulator Export","operationId":"regulator_export_udoc_regulator_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/demo/ready":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Demo Ready","operationId":"demo_ready_udoc_demo_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/udoc/pillars":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Pillars","operationId":"pillars_udoc_pillars_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/constitutional/pillars":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Constitutional Pillars","operationId":"constitutional_pillars_udoc_constitutional_pillars_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/models":{"get":{"tags":["UDOC v9.3 admin"],"summary":"List Models","operationId":"list_models_udoc_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/models/{model_id}/lifecycle":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Model Lifecycle","operationId":"model_lifecycle_udoc_models__model_id__lifecycle_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/models/{model_id}/status":{"post":{"tags":["UDOC v9.3 admin"],"summary":"Set Model Status","operationId":"set_model_status_udoc_models__model_id__status_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/evidence/{decision_id}":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Evidence","operationId":"evidence_udoc_evidence__decision_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/decisions/{decision_id}/evidence":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Evidence Alias","operationId":"evidence_alias_udoc_decisions__decision_id__evidence_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/replay/{decision_id}":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Replay","operationId":"replay_udoc_replay__decision_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/decisions/{decision_id}/replay":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Replay Alias","operationId":"replay_alias_udoc_decisions__decision_id__replay_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/udoc/incidents":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Incidents","operationId":"incidents_udoc_incidents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/exchange":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Exchange","operationId":"exchange_udoc_exchange_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/schema":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Schema","operationId":"schema_udoc_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/certs":{"get":{"tags":["UDOC v9.3 admin"],"summary":"List Certs","operationId":"list_certs_udoc_certs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/certs/verify":{"post":{"tags":["UDOC v9.3 admin"],"summary":"Verify Cert","operationId":"verify_cert_udoc_certs_verify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/lifecycle":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Lifecycle Summary","operationId":"lifecycle_summary_udoc_lifecycle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/control":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Control Summary","operationId":"control_summary_udoc_control_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/tenancy":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Tenancy Summary","operationId":"tenancy_summary_udoc_tenancy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/udoc/health":{"get":{"tags":["UDOC v9.3 admin"],"summary":"Udoc Admin Health","operationId":"udoc_admin_health_udoc_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/udoc/specification":{"get":{"tags":["manifest"],"summary":"The full UDOC hardware + software specification — embedded, machine-readable","operationId":"udoc_specification_udoc_specification_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/system/backup":{"get":{"tags":["system-backup"],"summary":"Export the entire datastore as one signed JSON bundle (admin)","operationId":"backup_system_backup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/system/backup/summary":{"get":{"tags":["system-backup"],"summary":"Row counts per table without exporting the data (admin)","operationId":"backup_summary_system_backup_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/system/restore":{"post":{"tags":["system-backup"],"summary":"Restore a backup bundle into THIS database (admin; dry-run unless confirm=true)","operationId":"restore_system_restore_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"confirm","in":"query","required":false,"schema":{"type":"boolean","description":"WIPE current data and load the bundle","default":false,"title":"Confirm"},"description":"WIPE current data and load the bundle"},{"name":"skip_verify","in":"query","required":false,"schema":{"type":"boolean","description":"Skip seal verification (NOT recommended)","default":false,"title":"Skip Verify"},"description":"Skip seal verification (NOT recommended)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Bundle"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users":{"get":{"tags":["User & access management"],"summary":"List all users (admin/exec)","operationId":"list_users_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["User & access management"],"summary":"Create a user and grant a role + division (admin/exec)","operationId":"create_user_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUser"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/users/roles":{"get":{"tags":["User & access management"],"summary":"Grantable roles and what each one can open (admin/exec)","operationId":"role_catalog_users_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/users/{uid}":{"patch":{"tags":["User & access management"],"summary":"Re-grant role/division, reset password, or activate/deactivate (admin/exec)","operationId":"update_user_users__uid__patch","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"integer","title":"Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client/knowledge/state":{"get":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"State","operationId":"state_client_knowledge_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/client/knowledge/docs":{"get":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Docs","operationId":"docs_client_knowledge_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/client/knowledge/docs/{doc_id}":{"get":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Doc","operationId":"doc_client_knowledge_docs__doc_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"integer","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Toggle","operationId":"toggle_client_knowledge_docs__doc_id__patch","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"integer","title":"Doc Id"}},{"name":"active","in":"query","required":true,"schema":{"type":"boolean","title":"Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Delete","operationId":"delete_client_knowledge_docs__doc_id__delete","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"integer","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client/knowledge/ingest-text":{"post":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Ingest Text","operationId":"ingest_text_client_knowledge_ingest_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__client_knowledge__TextIngest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/client/knowledge/ingest":{"post":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Ingest File","operationId":"ingest_file_client_knowledge_ingest_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_ingest_file_client_knowledge_ingest_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/client/knowledge/ask":{"post":{"tags":["Client Knowledge · TENANT-PRIVATE"],"summary":"Ask","operationId":"ask_client_knowledge_ask_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/workspace":{"get":{"tags":["Sovereign-Operator workspace"],"summary":"Get Workspace","operationId":"get_workspace_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/workspace/options":{"get":{"tags":["Sovereign-Operator workspace"],"summary":"Get Options","description":"Select-source data (open cases, AI systems) for parameterised actions.","operationId":"get_options_workspace_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/workspace/actions":{"get":{"tags":["Sovereign-Operator workspace"],"summary":"Get Actions","description":"The caller's recent operator-action history (structured + inspectable).","operationId":"get_actions_workspace_actions_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspace/action":{"post":{"tags":["Sovereign-Operator workspace"],"summary":"Post Action","operationId":"post_action_workspace_action_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sector/profile":{"get":{"tags":["Sector experience"],"summary":"Profile","operationId":"profile_sector_profile_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sector/frameworks":{"get":{"tags":["Sector experience"],"summary":"Frameworks","operationId":"frameworks_sector_frameworks_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sector/overview":{"get":{"tags":["Sector experience"],"summary":"Overview","operationId":"overview_sector_overview_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sector/admin/breakdown":{"get":{"tags":["Sector experience"],"summary":"Admin Breakdown","description":"Per-sector portfolio view across all tenants — staff only.","operationId":"admin_breakdown_sector_admin_breakdown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sector/admin/assign":{"post":{"tags":["Sector experience"],"summary":"Admin Assign","description":"Classify a tenant into a sector (PUBLIC|PRIVATE|GENERAL) — admin only.","operationId":"admin_assign_sector_admin_assign_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__sectors__AssignReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/rbac/me":{"get":{"tags":["RBAC"],"summary":"My Permissions","operationId":"my_permissions_rbac_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/rbac/matrix":{"get":{"tags":["RBAC"],"summary":"Role Matrix","operationId":"role_matrix_rbac_matrix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/portal/{key}":{"get":{"tags":["Portals"],"summary":"A portal: what it is, its controls, and recent activity","operationId":"portal_detail_portal__key__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/{key}/activity":{"get":{"tags":["Portals"],"summary":"Recent operations recorded against this portal","operationId":"portal_activity_portal__key__activity_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/{key}/control":{"post":{"tags":["Portals"],"summary":"Operate a control (audit-linked + live dual-path)","operationId":"operate_control_portal__key__control_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conformance/status":{"get":{"tags":["Conformance"],"summary":"24/7 scanner heartbeat + latest conformance posture","operationId":"status_conformance_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/conformance/scan":{"post":{"tags":["Conformance"],"summary":"Run a full conformance pass now (admin/exec, or Render Cron)","operationId":"trigger_conformance_scan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/conformance/systems":{"get":{"tags":["Conformance"],"summary":"Current conformance state of every registered system","operationId":"systems_conformance_systems_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/conformance/findings":{"get":{"tags":["Conformance"],"summary":"Recent conformance findings across scans","operationId":"findings_conformance_findings_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conformance/scans":{"get":{"tags":["Conformance"],"summary":"Scan history (the auditable heartbeat log)","operationId":"scans_conformance_scans_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conformance/control":{"post":{"tags":["Conformance"],"summary":"Control the 24/7 scanner: scan | pause | resume | set_interval","operationId":"control_conformance_control_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/catalog":{"get":{"tags":["manifest"],"summary":"Full stack catalog — 9 software + hardware, public/private, capabilities & per-role user actions","operationId":"catalog_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hardware":{"get":{"tags":["manifest"],"summary":"Hardware layer status — FPGA · HSM · TPM · NIC · Cassandra WORM","operationId":"hardware_hardware_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/eva/manifest":{"get":{"tags":["manifest"],"summary":"EVA engine manifest — 6 dimensions, mandatory floors and SVS gating","operationId":"eva_manifest_eva_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/platform/capabilities":{"get":{"tags":["manifest"],"summary":"Platform capability manifest — the full UDOC vision & four divisions","operationId":"platform_capabilities_platform_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ip/patents":{"get":{"tags":["manifest"],"summary":"UDOC patent instrument (v9.2) — embodiments, claims & sovereign architecture","operationId":"ip_patents_ip_patents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engine/manifest":{"get":{"tags":["UDOC sovereign engine"],"summary":"Engine Manifest","description":"Public, read-only map of the sovereign engine: opcodes, the 14-stage sequence,\nthe fail-closed FSM and the degraded modes. Describes the engine; does not act.","operationId":"engine_manifest_engine_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engine/enforce":{"post":{"tags":["UDOC sovereign engine"],"summary":"Enforce","description":"GOVERNANCE-BEFORE-EXECUTION GATE (Part 3.2).\n\nRuns the 14-stage deterministic sovereign execution sequence (Claim 15). Stage 6 calls\nthe REAL EVA engine (governance_bridge.evaluate); SVS=min() and the six mandatory-block\noverrides are enforced there. The verdict is mapped onto the patent's opcode + hardware\nrelay state and a real audit row is appended (StayChain dual-path, emulated). No action is\npermitted unless G_SOV_VERIFY passes — fail-closed by construction.","operationId":"enforce_engine_enforce_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnforceReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/engine/certificate/{cid}/verify":{"get":{"tags":["UDOC sovereign engine"],"summary":"Engine Certificate Verify","description":"Verify a signed EVA deployment certificate issued by the gate (or by /decisions).\nRecomputes the sealed payload and checks it against the stored sovereign seal.","operationId":"engine_certificate_verify_engine_certificate__cid__verify_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","title":"Cid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engine/state":{"get":{"tags":["UDOC sovereign engine"],"summary":"Engine State","description":"Public: the 13-state fail-closed FSM (Part 6.1), the 5 degraded modes (Part 6.2),\nand the current LIVE operating state of this engine instance.","operationId":"engine_state_engine_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engine/state/transition":{"post":{"tags":["UDOC sovereign engine"],"summary":"State Transition","description":"Drive the fail-closed FSM. A valid event for the current state advances normally; any\nunrecognised event for that state is a FAULT and the machine fails closed toward DEGRADED\n(or to G_LOCK_OUT from DEGRADED). Locked-out states only exit via their explicit unlock\nevent. Every transition is written to the StayChain audit chain.","operationId":"state_transition_engine_state_transition_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateTransitionReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/engine/jurisdiction":{"post":{"tags":["UDOC sovereign engine"],"summary":"Jurisdiction","description":"FEDERATED MULTI-JURISDICTION SOVEREIGN MESH (Embodiment 23 & 30, ZA-UDOC-005).\n\nEvaluates a cross-jurisdiction data flow against treaty logic encoded as a Multi-Factor\nConstitutional Mesh (MFCM) check, returning permit/deny + the treaty rule applied + a\nZK-1/2/3 attestation reference. Implements Constitutional Pillar III (sovereign respect /\nzero foreign transit): any non-treaty foreign egress is denied.","operationId":"jurisdiction_engine_jurisdiction_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JurisdictionReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/staychain/status":{"get":{"tags":["UDOC StayChain audit"],"summary":"Staychain Status","description":"Public: the StayChain dual-path architecture (Part 8.1). Describes; does not act.","operationId":"staychain_status_staychain_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/staychain/verify":{"get":{"tags":["UDOC StayChain audit"],"summary":"Staychain Verify","description":"Consolidated StayChain verification over the REAL audit chain: hash-chain integrity\n(verify_chain), Merkle root, dual-path status, and BFT witness consensus on the head.","operationId":"staychain_verify_staychain_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/staychain/blocks":{"get":{"tags":["UDOC StayChain audit"],"summary":"Staychain Blocks","description":"Recent StayChain blocks (newest first), presented from the real audit rows.","operationId":"staychain_blocks_staychain_blocks_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/staychain/block/{height}":{"get":{"tags":["UDOC StayChain audit"],"summary":"Staychain Block","description":"One StayChain block by height (= audit seq), with witness consensus and link proof.","operationId":"staychain_block_staychain_block__height__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"height","in":"path","required":true,"schema":{"type":"integer","title":"Height"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/enclave/status":{"get":{"tags":["UDOC L5 enclave"],"summary":"Enclave Status","description":"Public: the L5 Sur²Secure enclave architecture and attestation scheme.","operationId":"enclave_status_enclave_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/enclave/regions":{"get":{"tags":["UDOC L5 enclave"],"summary":"Enclave Regions","description":"Public: the PMP-protected memory regions of the enclave.","operationId":"enclave_regions_enclave_regions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/enclave/attest":{"post":{"tags":["UDOC L5 enclave"],"summary":"Enclave Attest","description":"Run a G_VERIFY integrity attestation now.\n\nRecomputes the enclave measurement and compares it to the sealed golden value. If they\nmatch, the enclave is attested and a remote-attestation quote is produced; if they differ\n(e.g. a tampered image), attestation FAILS and the enclave fails closed.","operationId":"enclave_attest_enclave_attest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttestReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/gis/decisions":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Make Decision","operationId":"make_decision_gis_decisions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__gis__DecisionReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/gis/decisions/types":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Decision Types","operationId":"decision_types_gis_decisions_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/participants/{ref}/assign":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Assign","operationId":"assign_gis_participants__ref__assign_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__gis__AssignReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/participants/{ref}/self-affirmation":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Self Affirmation","operationId":"self_affirmation_gis_participants__ref__self_affirmation_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffirmationReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/participants/{ref}/advance":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Advance","operationId":"advance_gis_participants__ref__advance_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/participants/{ref}/ai-readiness":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Ai Readiness","operationId":"ai_readiness_gis_participants__ref__ai_readiness_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIReadinessReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/participants/{ref}/journey":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Journey","operationId":"journey_gis_participants__ref__journey_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/gbs/architecture":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Gbs Architecture","description":"Four-divisional GBS: SETHS+TS develop; MADIBA/EIF+UDOC recognise (GBS-UDOC v1.0).","operationId":"gbs_architecture_gis_gbs_architecture_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/gbs/sovereign-tier":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Gbs Sovereign Tier","description":"GBS-UDOC Sovereign-Verified tier — designed_not_built; parallel to EIF Diamond.","operationId":"gbs_sovereign_tier_gis_gbs_sovereign_tier_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/gbs/overview":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Gbs Overview","description":"Honest GBS snapshot: pillars, layers, nodes, division bindings, GBS-UDOC v1.0.","operationId":"gbs_overview_gis_gbs_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/gbs/layers":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Gbs Layers","operationId":"gbs_layers_gis_gbs_layers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/gbs/pillars":{"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Pillars","operationId":"pillars_gis_gbs_pillars_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gis/gbs/nodes":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Register Node","operationId":"register_node_gis_gbs_nodes_post","security":[{"OAuth2PasswordBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"List Nodes","operationId":"list_nodes_gis_gbs_nodes_get","parameters":[{"name":"layer","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Layer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/gbs/nodes/{node_ref}/status":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Set Status","operationId":"set_status_gis_gbs_nodes__node_ref__status_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gis/gbs/nodes/{node_ref}/audit":{"post":{"tags":["GIS · GBS-SETHS Intelligence & Franchise Layer"],"summary":"Audit Node","operationId":"audit_node_gis_gbs_nodes__node_ref__audit_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/citizen/challenge":{"post":{"tags":["citizen"],"summary":"Submit Challenge","description":"Open a human-in-the-loop oversight case from the public Citizen Portal.","operationId":"submit_challenge_citizen_challenge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/citizen/cases/{case_ref}":{"get":{"tags":["citizen"],"summary":"Get Case","description":"Public status lookup for a citizen case reference.","operationId":"get_case_citizen_cases__case_ref__get","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/citizen/health":{"get":{"tags":["citizen"],"summary":"Citizen Health","operationId":"citizen_health_citizen_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/eif/framework":{"get":{"tags":["EIF · MADIBA Diamond / UDOC assurance"],"summary":"Framework","description":"GBS-MADIBA EIF instrument summary for Capstone / operator surfaces.","operationId":"framework_eif_framework_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/eif/domains":{"get":{"tags":["EIF · MADIBA Diamond / UDOC assurance"],"summary":"Domains","operationId":"domains_eif_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/eif/tiers":{"get":{"tags":["EIF · MADIBA Diamond / UDOC assurance"],"summary":"Tiers","operationId":"tiers_eif_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/eif/nominate":{"post":{"tags":["EIF · MADIBA Diamond / UDOC assurance"],"summary":"Nominate","description":"Capstone nomination log — audit only. No funding, no Diamond grant on free tier.","operationId":"nominate_eif_nominate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NominateReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/eif/health":{"get":{"tags":["EIF · MADIBA Diamond / UDOC assurance"],"summary":"Eif Health","operationId":"eif_health_eif_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AIReadinessReq":{"properties":{"score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Score"}},"type":"object","required":["score"],"title":"AIReadinessReq"},"ActionReq":{"properties":{"capability":{"type":"string","title":"Capability"},"params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Params"}},"type":"object","required":["capability"],"title":"ActionReq"},"AffirmationReq":{"properties":{"what_do_you_want_to_change":{"type":"string","title":"What Do You Want To Change","default":""},"why_now":{"type":"string","title":"Why Now","default":""},"what_are_you_willing_to_do":{"type":"string","title":"What Are You Willing To Do","default":""}},"type":"object","title":"AffirmationReq"},"AllocateReq":{"properties":{"month":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Month"},"total_inflow":{"type":"number","maximum":5000000.0,"exclusiveMinimum":0.0,"title":"Total Inflow"},"dfi_pct":{"type":"number","title":"Dfi Pct","default":0.2},"reserve_pct":{"type":"number","title":"Reserve Pct","default":0.15},"holdings_pct":{"type":"number","title":"Holdings Pct","default":0.1},"note":{"type":"string","title":"Note","default":"capstone_demo_ledger"}},"type":"object","required":["month","total_inflow"],"title":"AllocateReq"},"AskReq":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"AskReq"},"AssignWorkerReq":{"properties":{"learner_ref":{"type":"string","title":"Learner Ref"},"role":{"type":"string","title":"Role","default":""},"monthly_wage":{"type":"number","title":"Monthly Wage","default":0.0}},"type":"object","required":["learner_ref"],"title":"AssignWorkerReq"},"AttestReq":{"properties":{"nonce":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nonce","description":"Challenge nonce for the attestation quote (freshness)."},"tamper":{"type":"boolean","title":"Tamper","description":"Demo only: simulate a tampered enclave image to show a FAILED attestation.","default":false}},"type":"object","title":"AttestReq"},"AuditReq":{"properties":{"compliance_score":{"type":"number","title":"Compliance Score"},"curriculum_fidelity_pct":{"type":"number","title":"Curriculum Fidelity Pct"}},"type":"object","required":["compliance_score","curriculum_fidelity_pct"],"title":"AuditReq"},"BatchItem":{"properties":{"option":{"type":"string","title":"Option"},"model_id":{"type":"string","title":"Model Id","default":"model-001"},"risk_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Tier"},"raw_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Raw Confidence"},"compliance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compliance"},"priv_favorable":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priv Favorable"},"priv_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priv Total"},"unpriv_favorable":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unpriv Favorable"},"unpriv_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unpriv Total"},"bgp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bgp"},"traceroute":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Traceroute"},"dnssec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dnssec"},"storage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},"type":"object","required":["option"],"title":"BatchItem"},"BatchRequest":{"properties":{"options":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Options"},"scenarios":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scenarios"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/BatchItem"},"type":"array"},{"type":"null"}],"title":"Items"},"model_id":{"type":"string","title":"Model Id","default":"model-001"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},"type":"object","title":"BatchRequest"},"Body_ingest_file_client_knowledge_ingest_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"title":{"type":"string","title":"Title","default":""},"category":{"type":"string","title":"Category","default":"GENERAL"},"tags":{"type":"string","title":"Tags","default":""}},"type":"object","required":["file"],"title":"Body_ingest_file_client_knowledge_ingest_post"},"Body_ingest_file_intel_ingest_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"title":{"type":"string","title":"Title","default":""},"category":{"type":"string","title":"Category","default":"GENERAL"},"division":{"type":"string","title":"Division","default":"GODS"},"tags":{"type":"string","title":"Tags","default":""}},"type":"object","required":["file"],"title":"Body_ingest_file_intel_ingest_post"},"Body_login_auth_login_post":{"properties":{"grant_type":{"anyOf":[{"type":"string","pattern":"password"},{"type":"null"}],"title":"Grant Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret"}},"type":"object","required":["username","password"],"title":"Body_login_auth_login_post"},"Body_upload_documents_upload_post":{"properties":{"division":{"type":"string","title":"Division"},"owner_ref":{"type":"string","title":"Owner Ref"},"category":{"type":"string","title":"Category","default":"GENERAL"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["division","owner_ref","file"],"title":"Body_upload_documents_upload_post"},"Body_upload_policy_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"name":{"type":"string","title":"Name"},"jurisdiction":{"type":"string","title":"Jurisdiction","default":"ZA"},"sector":{"type":"string","title":"Sector","default":"GENERAL"}},"type":"object","required":["file","name"],"title":"Body_upload_policy_upload_post"},"CaseReq":{"properties":{"model_id":{"type":"string","title":"Model Id"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["model_id","reason"],"title":"CaseReq"},"ChallengeReq":{"properties":{"service":{"type":"string","maxLength":120,"minLength":1,"title":"Service"},"description":{"type":"string","maxLength":4000,"minLength":3,"title":"Description"},"email":{"type":"string","maxLength":255,"title":"Email","default":""},"fairness":{"type":"string","maxLength":200,"title":"Fairness","default":""}},"type":"object","required":["service","description"],"title":"ChallengeReq"},"ClientReg":{"properties":{"org_name":{"type":"string","title":"Org Name"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"tier":{"type":"string","title":"Tier","default":"STANDARD"}},"type":"object","required":["org_name","contact_email"],"title":"ClientReg"},"DocPatch":{"properties":{"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"division":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Division"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"DocPatch"},"EmployerReg":{"properties":{"org_name":{"type":"string","title":"Org Name"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"sector":{"type":"string","title":"Sector","default":""},"bbbee_level":{"type":"integer","title":"Bbbee Level","default":4}},"type":"object","required":["org_name","contact_email"],"title":"EmployerReg"},"EnforceReq":{"properties":{"action":{"type":"string","title":"Action","description":"The action/inference being gated, e.g. 'credit-decision', 'model-inference'."},"model_id":{"type":"string","title":"Model Id","description":"Registered model identifier.","default":"demo-model"},"risk_tier":{"type":"string","title":"Risk Tier","description":"MINIMAL | NOTABLE | MEDIUM | HIGH | UNACCEPTABLE","default":"NOTABLE"},"raw_confidence":{"type":"number","title":"Raw Confidence","default":0.9},"temperature":{"type":"number","title":"Temperature","default":0.7},"compliance":{"type":"number","title":"Compliance","default":1.0},"ecs":{"type":"number","title":"Ecs","default":0.75},"current_dist":{"items":{"type":"number"},"type":"array","title":"Current Dist","default":[0.25,0.25,0.25,0.25]},"baseline_dist":{"items":{"type":"number"},"type":"array","title":"Baseline Dist","default":[0.25,0.25,0.25,0.25]},"priv_favorable":{"type":"integer","title":"Priv Favorable","default":480},"priv_total":{"type":"integer","title":"Priv Total","default":1000},"unpriv_favorable":{"type":"integer","title":"Unpriv Favorable","default":470},"unpriv_total":{"type":"integer","title":"Unpriv Total","default":1000},"bgp":{"type":"number","title":"Bgp","default":1.0},"traceroute":{"type":"number","title":"Traceroute","default":1.0},"dnssec":{"type":"number","title":"Dnssec","default":1.0},"storage":{"type":"number","title":"Storage","default":1.0},"issue_certificate":{"type":"boolean","title":"Issue Certificate","description":"On PERMIT, issue a signed EVA deployment certificate and return its ID.","default":false}},"type":"object","required":["action"],"title":"EnforceReq"},"EngageReq":{"properties":{"investor_name":{"type":"string","title":"Investor Name"},"investor_type":{"type":"string","title":"Investor Type","default":"INSTITUTIONAL"},"instrument":{"type":"string","title":"Instrument","default":"blended"},"indicated_amount":{"type":"number","title":"Indicated Amount","default":0.0}},"type":"object","required":["investor_name"],"title":"EngageReq"},"EnrolReq":{"properties":{"qualification":{"type":"string","title":"Qualification","default":"Digital Operations & AI Literacy"},"nqf_level":{"type":"integer","title":"Nqf Level","default":5},"count":{"type":"integer","title":"Count","default":1}},"type":"object","title":"EnrolReq"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JurisdictionReq":{"properties":{"source":{"type":"string","title":"Source","description":"Origin jurisdiction code.","default":"ZA-GP"},"destination":{"type":"string","title":"Destination","description":"Destination jurisdiction code.","default":"ZA"},"data_class":{"type":"string","title":"Data Class","description":"PUBLIC | INTERNAL | PERSONAL | SPECIAL | STATE","default":"PERSONAL"},"action":{"type":"string","title":"Action","description":"process | store | transit | replicate","default":"process"}},"type":"object","title":"JurisdictionReq"},"KeyReq":{"properties":{"name":{"type":"string","title":"Name","default":"default"}},"type":"object","title":"KeyReq"},"MilestoneReq":{"properties":{"achieved":{"type":"boolean","title":"Achieved"},"evidence_note":{"type":"string","title":"Evidence Note","default":""}},"type":"object","required":["achieved"],"title":"MilestoneReq"},"ModelReq":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"operator_id":{"type":"string","title":"Operator Id"},"risk_tier":{"type":"string","title":"Risk Tier","default":"NOTABLE"},"use_case":{"type":"string","title":"Use Case","default":""},"jurisdiction":{"type":"string","title":"Jurisdiction","default":"ZA"}},"type":"object","required":["model_id","name","operator_id"],"title":"ModelReq"},"NewUser":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"viewer"},"division":{"type":"string","title":"Division","default":"GODS"},"tenant_id":{"type":"string","title":"Tenant Id","default":""},"profile":{"type":"string","title":"Profile","default":""}},"type":"object","required":["email","password"],"title":"NewUser"},"NodeReq":{"properties":{"layer":{"type":"integer","title":"Layer"},"name":{"type":"string","title":"Name"},"territory":{"type":"string","title":"Territory","default":"South Africa"},"parent_node_ref":{"type":"string","title":"Parent Node Ref","default":""}},"type":"object","required":["layer","name"],"title":"NodeReq"},"NominateReq":{"properties":{"nominee_label":{"type":"string","maxLength":120,"minLength":2,"title":"Nominee Label"},"domain":{"type":"string","title":"Domain","description":"One of six domain ids"},"contribution_summary":{"type":"string","maxLength":2000,"minLength":10,"title":"Contribution Summary"},"evidence_note":{"type":"string","maxLength":1000,"title":"Evidence Note","default":""},"pathway":{"type":"string","title":"Pathway","description":"seths_platinum | open","default":"open"}},"type":"object","required":["nominee_label","domain","contribution_summary"],"title":"NominateReq"},"OppReq":{"properties":{"employer_id":{"type":"integer","title":"Employer Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"sector":{"type":"string","title":"Sector","default":""},"positions":{"type":"integer","title":"Positions","default":1},"monthly_stipend":{"type":"number","title":"Monthly Stipend","default":0.0}},"type":"object","required":["employer_id","title"],"title":"OppReq"},"PartnerReq":{"properties":{"org_name":{"type":"string","title":"Org Name"},"capability":{"type":"string","title":"Capability","default":""},"sector":{"type":"string","title":"Sector","default":""},"bbbee_level":{"type":"integer","title":"Bbbee Level","default":4}},"type":"object","required":["org_name"],"title":"PartnerReq"},"PillarFlags":{"properties":{"respects_human_dignity":{"type":"boolean","title":"Respects Human Dignity","default":false},"affirms_contribution_potential":{"type":"boolean","title":"Affirms Contribution Potential","default":false},"politically_neutral":{"type":"boolean","title":"Politically Neutral","default":false},"ethically_sound":{"type":"boolean","title":"Ethically Sound","default":false},"has_governance_review":{"type":"boolean","title":"Has Governance Review","default":false},"has_transparent_record":{"type":"boolean","title":"Has Transparent Record","default":false},"respects_founder_limits":{"type":"boolean","title":"Respects Founder Limits","default":false},"has_human_oversight":{"type":"boolean","title":"Has Human Oversight","default":false},"supports_reintegration_cohort":{"type":"boolean","title":"Supports Reintegration Cohort","default":false},"considers_long_term_impact":{"type":"boolean","title":"Considers Long Term Impact","default":false},"no_corruption_risk":{"type":"boolean","title":"No Corruption Risk","default":false},"is_evidence_based":{"type":"boolean","title":"Is Evidence Based","default":false}},"type":"object","title":"PillarFlags"},"PolicyTestReq":{"properties":{"model_id":{"type":"string","title":"Model Id","default":"model-001"},"scenario":{"type":"string","title":"Scenario","default":"fair"}},"type":"object","title":"PolicyTestReq"},"ProjectReq":{"properties":{"sector":{"type":"string","title":"Sector"},"name":{"type":"string","title":"Name"},"subsidiary":{"type":"string","title":"Subsidiary","default":"ENERGY"},"equity_pct":{"type":"number","title":"Equity Pct","default":0.3},"workers_deployed":{"type":"integer","title":"Workers Deployed","default":0},"monthly_revenue":{"type":"number","title":"Monthly Revenue","default":0.0},"operating_margin":{"type":"number","title":"Operating Margin","default":0.3}},"type":"object","required":["sector","name"],"title":"ProjectReq"},"RegisterReq":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"viewer"},"division":{"type":"string","title":"Division","default":"GODS"}},"type":"object","required":["email","password"],"title":"RegisterReq"},"RulePatch":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"severity":{"type":"string","title":"Severity"},"threshold":{"type":"number","title":"Threshold"},"description":{"type":"string","title":"Description"}},"type":"object","title":"RulePatch"},"RuntimeMatrixReq":{"properties":{"model_id":{"type":"string","title":"Model Id","default":"model-001"},"options":{"items":{},"type":"array","title":"Options"}},"type":"object","title":"RuntimeMatrixReq"},"StateTransitionReq":{"properties":{"event":{"type":"string","title":"Event","description":"FSM event: request, verify_start, verify_ok, verify_fault, scored, sov_ok, sov_breach, review, override_fired, complete, hitl_resolve, halted, recover, admin_unlock, nominal, fail_closed, telemetry_fault, key_fault."},"from_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From State","description":"Override the from-state (default: the engine's live state)."}},"type":"object","required":["event"],"title":"StateTransitionReq"},"StatusReq":{"properties":{"status":{"type":"string","title":"Status"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["status"],"title":"StatusReq"},"StudentReg":{"properties":{"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"qualification":{"type":"string","title":"Qualification","default":"Digital Operations & AI Literacy"},"nqf_level":{"type":"integer","title":"Nqf Level","default":5}},"type":"object","required":["full_name","email"],"title":"StudentReg"},"SubmitReq":{"properties":{"submitter_name":{"type":"string","title":"Submitter Name"},"submitter_type":{"type":"string","title":"Submitter Type","default":"PRIVATE"},"sector":{"type":"string","title":"Sector","default":""},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"capex_estimate":{"type":"number","title":"Capex Estimate","default":0.0}},"type":"object","required":["submitter_name","title"],"title":"SubmitReq"},"TenantReq":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id"},"name":{"type":"string","title":"Name"},"sector":{"type":"string","title":"Sector","default":"GENERAL"},"tier":{"type":"string","title":"Tier","default":"SANDBOX"}},"type":"object","required":["tenant_id","name"],"title":"TenantReq"},"TimesheetReq":{"properties":{"hours":{"type":"number","title":"Hours"},"period":{"type":"string","title":"Period","default":""}},"type":"object","required":["hours"],"title":"TimesheetReq"},"UserPatch":{"properties":{"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"division":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Division"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}},"type":"object","title":"UserPatch"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VetoReq":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"VetoReq"},"app__routers__client_knowledge__TextIngest":{"properties":{"title":{"type":"string","title":"Title"},"text":{"type":"string","title":"Text"},"category":{"type":"string","title":"Category","default":"GENERAL"},"tags":{"type":"string","title":"Tags","default":""},"source":{"type":"string","title":"Source","default":"inline"}},"type":"object","required":["title","text"],"title":"TextIngest"},"app__routers__decisions__DecisionReq":{"properties":{"model_id":{"type":"string","title":"Model Id"},"risk_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Tier"},"raw_confidence":{"type":"number","title":"Raw Confidence","default":0.9},"compliance":{"type":"number","title":"Compliance","default":1.0},"priv_favorable":{"type":"integer","title":"Priv Favorable","default":480},"priv_total":{"type":"integer","title":"Priv Total","default":1000},"unpriv_favorable":{"type":"integer","title":"Unpriv Favorable","default":470},"unpriv_total":{"type":"integer","title":"Unpriv Total","default":1000},"ecs":{"type":"number","title":"Ecs","default":0.75},"bgp":{"type":"number","title":"Bgp","default":1.0},"traceroute":{"type":"number","title":"Traceroute","default":1.0},"dnssec":{"type":"number","title":"Dnssec","default":1.0},"storage":{"type":"number","title":"Storage","default":1.0},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"explainability":{"type":"number","title":"Explainability","default":0.85},"audit_trail":{"type":"number","title":"Audit Trail","default":0.9},"inclusion_access":{"type":"number","title":"Inclusion Access","default":0.85},"human_oversight_present":{"type":"boolean","title":"Human Oversight Present","default":true}},"type":"object","required":["model_id"],"title":"DecisionReq"},"app__routers__gis__AssignReq":{"properties":{"cohort":{"type":"string","title":"Cohort"},"stream":{"type":"string","title":"Stream"}},"type":"object","required":["cohort","stream"],"title":"AssignReq"},"app__routers__gis__DecisionReq":{"properties":{"decision_type":{"type":"string","title":"Decision Type"},"learner_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Learner Ref"},"domain":{"type":"string","title":"Domain","default":"SETHS"},"context":{"type":"object","title":"Context"},"pillar_flags":{"$ref":"#/components/schemas/PillarFlags"}},"type":"object","required":["decision_type"],"title":"DecisionReq"},"app__routers__intel__TextIngest":{"properties":{"title":{"type":"string","title":"Title"},"text":{"type":"string","title":"Text"},"category":{"type":"string","title":"Category","default":"GENERAL"},"division":{"type":"string","title":"Division","default":"GODS"},"tags":{"type":"string","title":"Tags","default":""},"source":{"type":"string","title":"Source","default":"inline"}},"type":"object","required":["title","text"],"title":"TextIngest"},"app__routers__sectors__AssignReq":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id"},"sector":{"type":"string","title":"Sector"}},"type":"object","required":["tenant_id","sector"],"title":"AssignReq"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"auth/login"}}}}}}