{"openapi":"3.0.3","info":{"title":"GNX3FOLD Engine API","version":"0.1.0","description":"UAO · WNS · AIPhone Proof · AAL Birth-Control · Verify/Consume · Audit Chain · Docs Registry"},"components":{"schemas":{"EmptyRequest":{"type":"object","additionalProperties":false},"ErrorResponse":{"type":"object","required":["ok","error"],"additionalProperties":true,"properties":{"ok":{"type":"boolean","enum":[false]},"error":{"type":"string"}}},"GenericOkResponse":{"type":"object","required":["ok"],"additionalProperties":true,"properties":{"ok":{"type":"boolean"}}},"InvariantCheck":{"type":"object","required":["check_name","ok","bad_count"],"additionalProperties":true,"properties":{"check_name":{"type":"string"},"ok":{"oneOf":[{"type":"boolean"},{"type":"string"}]},"bad_count":{"oneOf":[{"type":"integer"},{"type":"string"}]},"detail":{"type":"string"}}},"InvariantReportResponse":{"type":"object","required":["ok","invariant_scope","checks"],"additionalProperties":true,"properties":{"ok":{"type":"boolean"},"invariant_scope":{"type":"string"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/InvariantCheck"}}}},"Actor":{"type":"object","required":["actor_type","actor_ref_hash"],"additionalProperties":false,"properties":{"actor_type":{"type":"string","enum":["human","ai_agent","service_account","system"]},"actor_ref_hash":{"type":"string","minLength":1}}},"UAOInput":{"type":"object","required":["domain","object_type","action"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"},"domain":{"type":"string","enum":["ai_agent","finance","telecom","hybrid"]},"object_type":{"type":"string","enum":["tool_call","transaction","session","export","admin_exception","api_bulk_query"]},"actor":{"$ref":"#/components/schemas/Actor"},"action":{"type":"string","enum":["execute","transfer","call","message","export","approve","query"]},"resource_ref":{"type":"string","default":"resource:synthetic"},"raw_inputs":{"type":"object","additionalProperties":true,"default":{}},"normalized_scope":{"type":"object","additionalProperties":true,"default":{}},"risk_class":{"type":"string","enum":["low","medium","high","critical"],"default":"medium"},"tenant_id":{"type":"string","default":"tenant_demo"},"adapter_sources":{"type":"array","items":{"type":"string"},"default":[]},"requested_at":{"type":"string"}}},"UAO":{"type":"object","required":["uao_id","domain","object_type","actor","action","resource_ref","raw_inputs","normalized_scope","risk_class","tenant_id","adapter_sources","requested_at"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"},"domain":{"type":"string","enum":["ai_agent","finance","telecom","hybrid"]},"object_type":{"type":"string","enum":["tool_call","transaction","session","export","admin_exception","api_bulk_query"]},"actor":{"$ref":"#/components/schemas/Actor"},"action":{"type":"string","enum":["execute","transfer","call","message","export","approve","query"]},"resource_ref":{"type":"string"},"raw_inputs":{"type":"object","additionalProperties":true},"normalized_scope":{"type":"object","additionalProperties":true},"risk_class":{"type":"string","enum":["low","medium","high","critical"]},"tenant_id":{"type":"string"},"adapter_sources":{"type":"array","items":{"type":"string"}},"requested_at":{"type":"string"}}},"WnsCommit":{"type":"object","required":["wns_commit_id","uao_id","raw_text","normalized_text","semantic_tokens","intent_vector","deception_hints","purpose_candidate","scope_modifiers","wns_hash","created_at"],"additionalProperties":false,"properties":{"wns_commit_id":{"type":"string"},"uao_id":{"type":"string"},"raw_text":{"type":"string"},"normalized_text":{"type":"string"},"semantic_tokens":{"type":"array","items":{"type":"string"}},"intent_vector":{"type":"object","additionalProperties":{"type":"number"}},"deception_hints":{"type":"array","items":{"type":"string"}},"purpose_candidate":{"type":"string"},"scope_modifiers":{"type":"array","items":{"type":"string"}},"wns_hash":{"type":"string"},"created_at":{"type":"string"}}},"SessionProof":{"type":"object","required":["session_proof_id","uao_id","display_ready_state","tunnel_ticket_hash","session_authorization_hash","contact_channel","counterparty_display","proof_expiry","proof_receipt","proof_hash","created_at"],"additionalProperties":false,"properties":{"session_proof_id":{"type":"string"},"uao_id":{"type":"string"},"display_ready_state":{"type":"string","enum":["verified","absent","not_applicable"]},"tunnel_ticket_hash":{"type":["string","null"]},"session_authorization_hash":{"type":["string","null"]},"contact_channel":{"type":["string","null"]},"counterparty_display":{"type":["string","null"]},"proof_expiry":{"type":["string","null"]},"proof_receipt":{"type":["string","null"]},"proof_hash":{"type":"string"},"created_at":{"type":"string"}}},"EvidenceBundle":{"type":"object","required":["evidence_bundle_id","uao_id","wns_commit_id","session_proof_id","adapter_signals","evidence_hash","created_at"],"additionalProperties":false,"properties":{"evidence_bundle_id":{"type":"string"},"uao_id":{"type":"string"},"wns_commit_id":{"type":"string"},"session_proof_id":{"type":"string"},"adapter_signals":{"type":"array","items":{"type":"object","additionalProperties":true}},"evidence_hash":{"type":"string"},"created_at":{"type":"string"}}},"PurposeObject":{"type":"object","required":["purpose_object_id","uao_id","purpose","purpose_valid","retention_rule","evidence_validity","created_at"],"additionalProperties":false,"properties":{"purpose_object_id":{"type":"string"},"uao_id":{"type":"string"},"purpose":{"type":"string"},"purpose_valid":{"type":"boolean"},"retention_rule":{"type":"string"},"evidence_validity":{"type":"string","enum":["valid","expired","missing"]},"created_at":{"type":"string"}}},"PolicyVersion":{"type":"object","required":["policy_version","locked","domain_pack","deployed_epoch"],"additionalProperties":false,"properties":{"policy_version":{"type":"string"},"locked":{"type":"boolean"},"domain_pack":{"type":"string"},"deployed_epoch":{"type":"string"}}},"DecisionRecord":{"type":"object","required":["decision_id","uao_id","verdict","reason","policy_version","scope_hash","evidence_hash","issued_object_ref","non_birth_event_ref","audit_receipt","created_at"],"additionalProperties":false,"properties":{"decision_id":{"type":"string"},"uao_id":{"type":"string"},"verdict":{"type":"string","enum":["BORN","SHADOW_EXECUTABLE","SHADOW_REVIEW","NON_BIRTH"]},"reason":{"type":"string"},"policy_version":{"type":"string"},"scope_hash":{"type":"string"},"evidence_hash":{"type":"string"},"issued_object_ref":{"type":["string","null"]},"non_birth_event_ref":{"type":["string","null"]},"audit_receipt":{"type":"string"},"created_at":{"type":"string"}}},"IssuedObject":{"type":"object","required":["issued_object_ref","uao_id","object_type","scope_hash","policy_version","expires_at","one_time_use","consumed_at","handle","created_at"],"additionalProperties":false,"properties":{"issued_object_ref":{"type":"string"},"uao_id":{"type":"string"},"object_type":{"type":"string"},"scope_hash":{"type":"string"},"policy_version":{"type":"string"},"expires_at":{"type":"string"},"one_time_use":{"type":"boolean","enum":[true]},"consumed_at":{"type":["string","null"]},"handle":{"type":"string"},"created_at":{"type":"string"}}},"NonBirthEvent":{"type":"object","required":["non_birth_event_ref","uao_id","decision_id","reason","auditable","executable_handle","created_at"],"additionalProperties":false,"properties":{"non_birth_event_ref":{"type":"string"},"uao_id":{"type":"string"},"decision_id":{"type":"string"},"reason":{"type":"string"},"auditable":{"type":"boolean","enum":[true]},"executable_handle":{"type":"null"},"created_at":{"type":"string"}}},"VerifyRecord":{"type":"object","required":["verify_record_id","issued_object_ref","ok","reason","scope_hash","created_at"],"additionalProperties":false,"properties":{"verify_record_id":{"type":"string"},"issued_object_ref":{"type":"string"},"ok":{"type":"boolean"},"reason":{"type":"string"},"scope_hash":{"type":"string"},"created_at":{"type":"string"}}},"ConsumeRecord":{"type":"object","required":["consume_record_id","issued_object_ref","ok","reason","created_at"],"additionalProperties":false,"properties":{"consume_record_id":{"type":"string"},"issued_object_ref":{"type":"string"},"ok":{"type":"boolean"},"reason":{"type":"string"},"created_at":{"type":"string"}}},"AuditChainEvent":{"type":"object","required":["audit_event_id","event_type","ref_id","payload_hash","prev_hash","event_hash","receipt","created_at"],"additionalProperties":false,"properties":{"audit_event_id":{"type":"string"},"event_type":{"type":"string"},"ref_id":{"type":"string"},"payload_hash":{"type":"string"},"prev_hash":{"type":["string","null"]},"event_hash":{"type":"string"},"receipt":{"type":"string"},"created_at":{"type":"string"}}},"EngineState":{"type":"object","required":["uao","wns","aiphone","evidence","purpose","scope_hash","policy","decision","issued","nonBirthEvent","audit_receipt"],"additionalProperties":false,"properties":{"uao":{"$ref":"#/components/schemas/UAO"},"wns":{"$ref":"#/components/schemas/WnsCommit"},"aiphone":{"$ref":"#/components/schemas/SessionProof"},"evidence":{"$ref":"#/components/schemas/EvidenceBundle"},"purpose":{"$ref":"#/components/schemas/PurposeObject"},"scope_hash":{"type":"string"},"policy":{"$ref":"#/components/schemas/PolicyVersion"},"decision":{"$ref":"#/components/schemas/DecisionRecord"},"issued":{"oneOf":[{"$ref":"#/components/schemas/IssuedObject"},{"type":"null"}]},"nonBirthEvent":{"oneOf":[{"$ref":"#/components/schemas/NonBirthEvent"},{"type":"null"}]},"audit_receipt":{"type":"string"}}},"IntakeResponse":{"type":"object","required":["ok","uao"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"uao":{"$ref":"#/components/schemas/UAO"}}},"WnsCommitResponse":{"type":"object","required":["ok","wns"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"wns":{"$ref":"#/components/schemas/WnsCommit"}}},"SessionProofResponse":{"type":"object","required":["ok","aiphone"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"aiphone":{"$ref":"#/components/schemas/SessionProof"}}},"EvidenceBundleResponse":{"type":"object","required":["ok","evidence"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"evidence":{"$ref":"#/components/schemas/EvidenceBundle"}}},"DecideResponse":{"type":"object","required":["ok","state"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"state":{"$ref":"#/components/schemas/EngineState"}}},"DecideFromEvidenceRequest":{"type":"object","required":["evidence_bundle_id"],"additionalProperties":false,"properties":{"evidence_bundle_id":{"type":"string"},"allow_empty_adapter_signals":{"type":"boolean"}}},"DecideFromEvidenceResponse":{"type":"object","required":["ok","decision_source","evidence_bundle_id","adapter_signal_count","evidence_hash","purpose","policy","scope_hash","decision","issued","nonBirthEvent","audit_receipt","audit_event_hash"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"decision_source":{"type":"string","enum":["materialized_evidence_bundle","existing_decision_for_evidence_hash"]},"evidence_bundle_id":{"type":"string"},"adapter_signal_count":{"type":"integer"},"evidence_hash":{"type":"string"},"purpose":{"$ref":"#/components/schemas/PurposeObject"},"policy":{"$ref":"#/components/schemas/PolicyVersion"},"scope_hash":{"type":"string"},"decision":{"$ref":"#/components/schemas/DecisionRecord"},"issued":{"oneOf":[{"$ref":"#/components/schemas/IssuedObject"},{"type":"null"}]},"nonBirthEvent":{"oneOf":[{"$ref":"#/components/schemas/NonBirthEvent"},{"type":"null"}]},"audit_receipt":{"type":"string"},"audit_event_hash":{"type":"string"}}},"VerifyRequest":{"type":"object","required":["issued_object_ref","scope_hash"],"additionalProperties":false,"properties":{"issued_object_ref":{"type":"string"},"scope_hash":{"type":"string"}}},"VerifyResponse":{"type":"object","required":["ok","verify"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"verify":{"$ref":"#/components/schemas/VerifyRecord"}}},"ConsumeRequest":{"type":"object","required":["verify_record_id"],"additionalProperties":false,"properties":{"verify_record_id":{"type":"string"}}},"ConsumeResponse":{"type":"object","required":["ok","consume"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"consume":{"$ref":"#/components/schemas/ConsumeRecord"}}},"IdRequest":{"type":"object","additionalProperties":false,"properties":{"uao_id":{"type":"string"},"wns_commit_id":{"type":"string"},"session_proof_id":{"type":"string"},"evidence_bundle_id":{"type":"string"},"decision_id":{"type":"string"},"receipt":{"type":"string"},"source_receipt":{"type":"string"},"target_format":{"type":"string"},"target_system":{"type":"string"},"target_domain":{"type":"string"},"scenario_id":{"type":"string"},"scenario_run_id":{"type":"string"},"step":{"type":"string"}}},"AdapterSignalRequest":{"type":"object","required":["vendor","domain","adapter_type","normalized_signal"],"additionalProperties":true,"properties":{"vendor":{"type":"string"},"domain":{"type":"string","enum":["ai_agent","finance","telecom","hybrid"]},"adapter_type":{"type":"string","enum":["signal","decision","policy","evidence"]},"normalized_signal":{"type":"object","additionalProperties":true},"evidence_fragment":{"type":"object","additionalProperties":true}}},"AdapterSignalBindingRequest":{"type":"object","required":["signal_id","uao_id"],"additionalProperties":false,"properties":{"signal_id":{"type":"string"},"uao_id":{"type":"string"},"evidence_bundle_id":{"type":"string"},"adapter_mapping_id":{"type":["string","null"]}}},"AuditReceiptResponse":{"type":"object","required":["ok"],"additionalProperties":true,"properties":{"ok":{"type":"boolean"},"receipt_valid":{"type":"boolean"},"event":{"oneOf":[{"$ref":"#/components/schemas/AuditChainEvent"},{"type":"object","additionalProperties":true}]}}},"AdminChallengeIssueRequest":{"type":"object","additionalProperties":false,"properties":{"scope":{"type":"string"},"requested_by":{"type":"string"}}},"AdminChallengeVerifyRequest":{"type":"object","required":["challenge_id","signature_b64"],"additionalProperties":false,"properties":{"challenge_id":{"type":"string"},"signature_b64":{"type":"string"}}},"AdminChallengeRecord":{"type":"object","required":["challenge_id","nonce","scope","requested_by","signing_payload_text","expected_public_key_fingerprint","signature_algorithm","verification_status","expires_at","created_at"],"additionalProperties":true,"properties":{"challenge_id":{"type":"string"},"nonce":{"type":"string"},"scope":{"type":"string"},"requested_by":{"type":"string"},"signing_payload_text":{"type":"string"},"expected_public_key_fingerprint":{"type":["string","null"]},"signature_algorithm":{"type":"string","enum":["ed25519"]},"signature_b64":{"type":["string","null"]},"verification_status":{"type":"string","enum":["ISSUED","VERIFIED","REJECTED"]},"expires_at":{"type":"string"},"verified_at":{"type":["string","null"]},"issue_audit_receipt":{"type":["string","null"]},"verify_audit_receipt":{"type":["string","null"]},"created_at":{"type":"string"}}},"AdminChallengeIssueResponse":{"type":"object","required":["ok","challenge"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"challenge":{"$ref":"#/components/schemas/AdminChallengeRecord"}}},"AdminChallengeVerifyResponse":{"type":"object","required":["ok","challenge_id","verification_status","reason"],"additionalProperties":true,"properties":{"ok":{"type":"boolean"},"challenge_id":{"type":"string"},"verification_status":{"type":"string"},"reason":{"type":"string"},"verified_at":{"type":["string","null"]},"verify_audit_receipt":{"type":"string"},"verify_audit_event_hash":{"type":"string"}}},"RestoreDryRunRecordRequest":{"type":"object","required":["dryrun_id","ok","mode","backup_dir","counts_match","fk_bad_count","audit_bad_count","verified_admin_challenge_count","temp_db_dropped"],"additionalProperties":true,"properties":{"dryrun_id":{"type":"string"},"ok":{"type":"boolean"},"mode":{"type":"string"},"backup_dir":{"type":"string"},"backup_dump_sha256":{"type":["string","null"]},"schema_sha256":{"type":["string","null"]},"live_count_hash":{"type":["string","null"]},"restored_count_hash":{"type":["string","null"]},"counts_match":{"type":"boolean"},"fk_bad_count":{"type":"integer"},"audit_bad_count":{"type":"integer"},"latest_acceptance_run_id":{"type":["string","null"]},"latest_acceptance_status":{"type":["string","null"]},"latest_acceptance_total_checks":{"type":["integer","null"]},"latest_acceptance_failed_checks":{"type":["integer","null"]},"verified_admin_challenge_count":{"type":"integer"},"temp_db_dropped":{"type":"boolean"},"created_at":{"type":"string"}}},"RestoreDryRunRecord":{"type":"object","additionalProperties":true,"properties":{"dryrun_id":{"type":"string"},"ok":{"type":"boolean"},"mode":{"type":"string"},"backup_dir":{"type":"string"},"counts_match":{"type":"boolean"},"fk_bad_count":{"type":"integer"},"audit_bad_count":{"type":"integer"},"latest_acceptance_status":{"type":["string","null"]},"latest_acceptance_failed_checks":{"type":["integer","null"]},"verified_admin_challenge_count":{"type":"integer"},"temp_db_dropped":{"type":"boolean"},"audit_receipt":{"type":["string","null"]},"created_at":{"type":"string"}}},"RestoreDryRunRecordResponse":{"type":"object","required":["ok","record"],"additionalProperties":false,"properties":{"ok":{"type":"boolean"},"record":{"$ref":"#/components/schemas/RestoreDryRunRecord"}}}}},"paths":{"/":{"get":{"summary":"Engine root identity and invariant banner","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/health":{"get":{"summary":"Engine health","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/openapi.json":{"get":{"summary":"OpenAPI contract document","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/openapi/invariants":{"get":{"summary":"Verify OpenAPI contract completeness","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/admin/challenge/issue":{"post":{"summary":"Issue admin signed challenge","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChallengeIssueRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChallengeIssueResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/admin/challenge/verify":{"post":{"summary":"Verify admin signed challenge signature","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChallengeVerifyRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChallengeVerifyResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/admin/challenges":{"get":{"summary":"List admin signed challenges","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/admin/challenge/invariants":{"get":{"summary":"Verify admin signed challenge invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/admin/challenge/{challenge_id}":{"get":{"summary":"Read admin signed challenge","parameters":[{"name":"challenge_id","in":"path","required":true,"description":"Admin signed challenge id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/restore/dry-run/record":{"post":{"summary":"Record restore dry-run result","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreDryRunRecordRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreDryRunRecordResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/restore/dry-run/records":{"get":{"summary":"List restore dry-run records","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/restore/dry-run/latest":{"get":{"summary":"Read latest restore dry-run record","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/restore/dry-run/invariants":{"get":{"summary":"Verify restore dry-run invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/restore/dry-run/records/{dryrun_id}":{"get":{"summary":"Read restore dry-run record","parameters":[{"name":"dryrun_id","in":"path","required":true,"description":"Restore dry-run id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/intake":{"post":{"summary":"Create Universal Action Object","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UAOInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/wns/commit":{"post":{"summary":"Commit WNS semantic evidence","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["uao_id"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WnsCommitResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/wns/semantic/invariants":{"get":{"summary":"Verify WNS semantic tokenization invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/wns/final/invariants":{"get":{"summary":"Verify WNS final taxonomy invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/session/proof":{"post":{"summary":"Bind AIPhone display/session proof","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["uao_id"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionProofResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/aiphone/proof/invariants":{"get":{"summary":"Verify AIPhone display/session proof invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/aiphone/proof/matrix/invariants":{"get":{"summary":"Verify AIPhone all-season proof matrix invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/bundle":{"post":{"summary":"Build evidence bundle","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["uao_id","wns_commit_id","session_proof_id"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"},"wns_commit_id":{"type":"string"},"session_proof_id":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceBundleResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/decide":{"post":{"summary":"Run AAL birth decision","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UAOInput"},{"type":"object","required":["uao_id"],"additionalProperties":false,"properties":{"uao_id":{"type":"string"}}}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/decide/from-evidence":{"post":{"summary":"Create AAL decision from materialized evidence bundle","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideFromEvidenceRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideFromEvidenceResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/decide/from-evidence/invariants":{"get":{"summary":"Verify AAL decisions use materialized evidence bundles","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/verify":{"post":{"summary":"Verify issued object before backend execution","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/consume":{"post":{"summary":"Consume issued object one time","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumeRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumeResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/audit/receipt/{receipt}":{"get":{"summary":"Deep receipt verification","parameters":[{"name":"receipt","in":"path","required":true,"description":"Audit receipt id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditReceiptResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/audit/chain/verify":{"get":{"summary":"Topology audit chain verification","parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum audit events to verify","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/engine/storage/counts":{"get":{"summary":"Durable storage table counts","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/engine/invariants":{"get":{"summary":"GNX3FOLD invariant report","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/engine/readiness":{"get":{"summary":"Production readiness gate for engine core","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/docs-registry":{"get":{"summary":"GNX3FOLD document registry","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/docs/deploy/invariants":{"get":{"summary":"Verify official deploy docs registry invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/triple-os/final/invariants":{"get":{"summary":"Verify AAL-WNS-AIPhone Triple OS final hardening invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/bundle/materialize-adapter-signals":{"post":{"summary":"Materialize bound adapter signals into evidence bundle and recompute evidence hash","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideFromEvidenceRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/bundle/materialized-adapter-signals/invariants":{"get":{"summary":"Verify materialized adapter signals in evidence bundles","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/bundle/{evidence_bundle_id}":{"get":{"summary":"Read evidence bundle by id","parameters":[{"name":"evidence_bundle_id","in":"path","required":true,"description":"Evidence bundle id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceBundleResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/export":{"post":{"summary":"Create evidence export bundle from source receipt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/export/{export_id}":{"get":{"summary":"Read evidence export bundle","parameters":[{"name":"export_id","in":"path","required":true,"description":"Evidence export id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/evidence/exports":{"get":{"summary":"List recent evidence export bundles","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/schema/{vendor}":{"get":{"summary":"Read enterprise adapter schema for vendor","parameters":[{"name":"vendor","in":"path","required":true,"description":"Adapter vendor key","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/mappings":{"get":{"summary":"List enterprise adapter mappings","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/policy/import":{"post":{"summary":"Import enterprise adapter policy","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision-callback":{"post":{"summary":"Receive enterprise adapter decision callback","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal":{"post":{"summary":"Ingest enterprise adapter signal","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdapterSignalRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signals":{"get":{"summary":"List enterprise adapter signals","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signals/{signal_id}":{"get":{"summary":"Read enterprise adapter signal","parameters":[{"name":"signal_id","in":"path","required":true,"description":"Enterprise adapter signal id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/invariants":{"get":{"summary":"Verify enterprise adapter signal invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bind":{"post":{"summary":"Bind enterprise adapter signal to UAO and evidence bundle","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdapterSignalBindingRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings":{"get":{"summary":"List adapter signal bindings","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings/by-signal/{signal_id}":{"get":{"summary":"List adapter signal bindings by signal","parameters":[{"name":"signal_id","in":"path","required":true,"description":"Enterprise adapter signal id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings/by-uao/{uao_id}":{"get":{"summary":"List adapter signal bindings by UAO","parameters":[{"name":"uao_id","in":"path","required":true,"description":"Universal Action Object id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings/by-evidence/{evidence_bundle_id}":{"get":{"summary":"List adapter signal bindings by evidence bundle","parameters":[{"name":"evidence_bundle_id","in":"path","required":true,"description":"Evidence bundle id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings/{binding_id}":{"get":{"summary":"Read adapter signal binding","parameters":[{"name":"binding_id","in":"path","required":true,"description":"Adapter signal binding id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/signal/bindings/invariants":{"get":{"summary":"Verify adapter signal binding invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/evidence/transform":{"post":{"summary":"Transform GNX receipt to external evidence adapter format","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/evidence/outputs":{"get":{"summary":"List evidence adapter outputs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/evidence/outputs/{adapter_output_id}":{"get":{"summary":"Read evidence adapter output","parameters":[{"name":"adapter_output_id","in":"path","required":true,"description":"Evidence adapter output id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/evidence/invariants":{"get":{"summary":"Verify evidence adapter output invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision/transform":{"post":{"summary":"Transform GNX decision into customer-system command","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision/outputs":{"get":{"summary":"List decision adapter outputs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision/outputs/by-decision/{decision_id}":{"get":{"summary":"List decision adapter outputs by decision id","parameters":[{"name":"decision_id","in":"path","required":true,"description":"Decision record id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision/outputs/{decision_adapter_output_id}":{"get":{"summary":"Read decision adapter output","parameters":[{"name":"decision_adapter_output_id","in":"path","required":true,"description":"Decision adapter output id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/enterprise-adapters/decision/invariants":{"get":{"summary":"Verify decision adapter output invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/policy/import":{"post":{"summary":"Import policy pack","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/policy/registry":{"get":{"summary":"Read policy import registry","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/policy/fail-closed-matrix":{"get":{"summary":"Read policy fail-closed matrix","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/policy/compiler/matrix/invariants":{"get":{"summary":"Verify Policy Compiler enterprise matrix invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/production/acceptance/run":{"post":{"summary":"Run Production AllReady++++ acceptance trial","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/production/acceptance/runs":{"get":{"summary":"List Production AllReady++++ acceptance runs","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/production/acceptance/runs/{acceptance_run_id}":{"get":{"summary":"Read Production AllReady++++ acceptance run","parameters":[{"name":"acceptance_run_id","in":"path","required":true,"description":"Production acceptance run id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/production/acceptance/latest":{"get":{"summary":"Read latest Production AllReady++++ acceptance status","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/production/acceptance/invariants":{"get":{"summary":"Verify Production AllReady++++ acceptance invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/scenarios":{"get":{"summary":"List synthetic lab scenarios","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/scenario/start":{"post":{"summary":"Start synthetic lab scenario","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/scenario/step":{"post":{"summary":"Advance or view durable lab scenario step","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/scenario/{id}/state":{"get":{"summary":"Read durable lab scenario state","parameters":[{"name":"id","in":"path","required":true,"description":"Lab scenario run id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/receipt/{receipt}":{"get":{"summary":"Verify lab receipt using audit chain","parameters":[{"name":"receipt","in":"path","required":true,"description":"Audit receipt id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditReceiptResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/lab/invariants":{"get":{"summary":"Verify Lab-real parity invariants","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvariantReportResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/adapters/signal":{"post":{"summary":"Legacy adapter signal endpoint","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/adapters/decision-callback":{"post":{"summary":"Legacy adapter decision callback endpoint","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/adapters/policy/import":{"post":{"summary":"Legacy adapter policy import endpoint","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/adapters/schema/{vendor}":{"get":{"summary":"Legacy adapter schema endpoint","parameters":[{"name":"vendor","in":"path","required":true,"description":"Adapter vendor key","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOkResponse"}}}},"400":{"description":"Bad request or fail-closed validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Requested object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict or invariant violation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}