{"openapi":"3.1.0","info":{"title":"CAPPO Runtime","version":"0.1.0"},"paths":{"/v1/vnp/methodology":{"get":{"tags":["VNP Protocol"],"summary":"Get Vnp Methodology","description":"Evidence-labelled VNP runtime manifest; never synthesize connectivity.","operationId":"get_vnp_methodology_v1_vnp_methodology_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Vnp Methodology V1 Vnp Methodology Get"}}}}}}},"/v1/vnp/metrics":{"get":{"tags":["VNP Protocol"],"summary":"Get Vnp Metrics","description":"Unified live metrics query backed by stored VNP registry and telemetry.","operationId":"get_vnp_metrics_v1_vnp_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Vnp Metrics V1 Vnp Metrics Get"}}}}}}},"/v1/vnp/apis":{"post":{"tags":["VNP Protocol"],"summary":"Register Vnp Api","description":"Register a new live monitored API node.","operationId":"register_vnp_api_v1_vnp_apis_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VNPApiRegistrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register Vnp Api V1 Vnp Apis Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vnp/proxy/{api_did}":{"post":{"tags":["VNP Protocol"],"summary":"Vnp Proxy Gateway","description":"Retired: VNP observes executions; CAPPO owns public consequences.","operationId":"vnp_proxy_gateway_v1_vnp_proxy__api_did__post","parameters":[{"name":"api_did","in":"path","required":true,"schema":{"type":"string","title":"Api Did"}},{"name":"x-vnp-tenant","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"title":"X-Vnp-Tenant"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VNPProxyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Vnp Proxy Gateway V1 Vnp Proxy  Api Did  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vnp/leaderboard":{"get":{"tags":["VNP Protocol"],"summary":"Get Vnp Leaderboard","description":"Get the current API performance rankings.","operationId":"get_vnp_leaderboard_v1_vnp_leaderboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Get Vnp Leaderboard V1 Vnp Leaderboard Get"}}}}}}},"/v1/vnp/validators":{"get":{"tags":["VNP Protocol"],"summary":"Get Vnp Validators","description":"Get the list of registered validators.","operationId":"get_vnp_validators_v1_vnp_validators_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Get Vnp Validators V1 Vnp Validators Get"}}}}}}},"/v1/vnp/incidents":{"get":{"tags":["VNP Protocol"],"summary":"Get Vnp Incidents","description":"Get the list of protocol incidents.","operationId":"get_vnp_incidents_v1_vnp_incidents_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Vnp Incidents V1 Vnp Incidents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vnp/beacon/routes":{"get":{"tags":["VNP Protocol"],"summary":"Get Route Beacon","description":"Get the current route recommendations for a region.","operationId":"get_route_beacon_v1_vnp_beacon_routes_get","parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","title":"Region"}},{"name":"policy","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Policy"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Route Beacon V1 Vnp Beacon Routes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vnp/admin/providers":{"post":{"tags":["VNP Control Plane"],"summary":"Register Provider","operationId":"register_provider_v1_vnp_admin_providers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register Provider V1 Vnp Admin Providers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vnp/admin/providers/{provider_id}/apis":{"post":{"tags":["VNP Control Plane"],"summary":"Register Provider Api","operationId":"register_provider_api_v1_vnp_admin_providers__provider_id__apis_post","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Provider Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIRegistrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Register Provider Api V1 Vnp Admin Providers  Provider Id  Apis Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agents":{"post":{"tags":["Agents"],"summary":"Register Agent","description":"Register a new agent with GnomLedger and mint birth certificate.","operationId":"register_agent_api_v1_agents_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Register Agent Api V1 Agents Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Agents"],"summary":"List Agents","description":"List all registered agents.","operationId":"list_agents_api_v1_agents_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Agents Api V1 Agents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agents/{agent_id}":{"get":{"tags":["Agents"],"summary":"Get Agent","description":"Get agent details by agent_id or certificate_id.","operationId":"get_agent_api_v1_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agent Api V1 Agents  Agent Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agents/{agent_id}/certificate":{"get":{"tags":["Agents"],"summary":"Get Agent Certificate","description":"Get agent certificate alias endpoint.","operationId":"get_agent_certificate_api_v1_agents__agent_id__certificate_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agent Certificate Api V1 Agents  Agent Id  Certificate Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ledger/events":{"post":{"tags":["Agents"],"summary":"Create Ledger Event","description":"Create a new ledger event and append to the agent's hash chain.","operationId":"create_ledger_event_api_v1_ledger_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerEventCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Ledger Event Api V1 Ledger Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ledger/agents/{agent_id}":{"get":{"tags":["Agents"],"summary":"Get Agent History","description":"Fetch the full ledger history in order of creation.","operationId":"get_agent_history_api_v1_ledger_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Agent History Api V1 Ledger Agents  Agent Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ledger/agents/{agent_id}/verify":{"get":{"tags":["Agents"],"summary":"Verify Agent Chain","description":"Validate the cryptographic integrity of the agent's ledger chain.","operationId":"verify_agent_chain_api_v1_ledger_agents__agent_id__verify_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Verify Agent Chain Api V1 Ledger Agents  Agent Id  Verify Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agents/{agent_id}/lifecycle":{"get":{"tags":["Agents"],"summary":"Get Agent Lifecycle","description":"Return the PGL lifecycle status for an agent's birth certificate.\n\nShows:\n- trust_level: PROBATIONARY | ACTIVE | RENEWAL_DUE | EXPIRED\n- probation_ends_at: when the 90-day probation window closes\n- renewal_due_at: when the annual renewal is required\n- can_execute: false when EXPIRED (must renew first)\n- warning: human-readable warning if action needed","operationId":"get_agent_lifecycle_api_v1_agents__agent_id__lifecycle_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agent Lifecycle Api V1 Agents  Agent Id  Lifecycle Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agents/{agent_id}/renew":{"post":{"tags":["Agents"],"summary":"Renew Agent Identity","description":"Renew the agent's PGL identity for another year.\n\nINVARIANT: The certificate_id never changes. Only the renewal_due_at is\npushed forward 365 days. Same cert, new expiry. Identical to renewing a\ndriver's license.\n\nIn production: gate this behind payment verification before calling.\nNo payment = renewal denied = cert stays expired = no execution.","operationId":"renew_agent_identity_api_v1_agents__agent_id__renew_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Renew Agent Identity Api V1 Agents  Agent Id  Renew Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/execution/authorize":{"post":{"tags":["execution"],"summary":"Authorize Execution","description":"Return a local governance decision without starting execution.","operationId":"authorize_execution_api_v1_execution_authorize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/exec":{"post":{"summary":"Governed Exec","operationId":"governed_exec_v1_exec_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/consequence/dispatch":{"post":{"summary":"Dispatch Consequence Endpoint","description":"Lean consequence dispatch endpoint for the A-L hostile battery.\n\nAuthority rules:\n- No Authorization header, or header not starting with 'Bearer ' → 401\n- Literal 'invalid' or 'invalid_sig' token strings → 401\n- Real Biscuit token whose embedded execution_id does not match req.execution_id → 422\n- Valid token but execution_id already consumed this process lifetime → 423\n- Valid token, fresh execution_id → 200 DISPATCHED","operationId":"dispatch_consequence_endpoint_v1_consequence_dispatch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsequenceDispatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/consequence/reconcile":{"post":{"summary":"Reconcile Consequence Endpoint","description":"Consequence reconciliation endpoint.\n\nsimulate_target_503=True → 503 RECONCILIATION_UNAVAILABLE (target infrastructure unreachable)\nsimulate_target_503=False → 200 RECONCILED_SUCCEEDED","operationId":"reconcile_consequence_endpoint_v1_consequence_reconcile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/execution/keys/{kid}":{"get":{"tags":["execution-keys"],"summary":"Get Execution Verification Key","operationId":"get_execution_verification_key_api_v1_execution_keys__kid__get","parameters":[{"name":"kid","in":"path","required":true,"schema":{"type":"string","title":"Kid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Get Execution Verification Key Api V1 Execution Keys  Kid  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/n8n/executions/latest":{"get":{"tags":["n8n-executions"],"summary":"Latest Execution","operationId":"latest_execution_api_v1_n8n_executions_latest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Latest Execution Api V1 N8N Executions Latest Get"}}}}}}},"/api/v1/n8n/executions/{execution_id}":{"get":{"tags":["n8n-executions"],"summary":"Execution Projection","operationId":"execution_projection_api_v1_n8n_executions__execution_id__get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Execution Projection Api V1 N8N Executions  Execution Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reconcile/{execution_id}":{"post":{"tags":["reconciliation"],"summary":"Reconcile Execution","operationId":"reconcile_execution_api_v1_reconcile__execution_id__post","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["health"],"summary":"Healthcheck","operationId":"healthcheck_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Healthcheck Health Get"}}}}}}},"/healthz":{"get":{"tags":["health"],"summary":"Healthcheck","operationId":"healthcheck_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Healthcheck Healthz Get"}}}}}}},"/readyz":{"get":{"tags":["health"],"summary":"Readiness Check","operationId":"readiness_check_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Readiness Check Readyz Get"}}}}}}},"/runtime/identity":{"get":{"tags":["health"],"summary":"Runtime Identity","operationId":"runtime_identity_runtime_identity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Runtime Identity Runtime Identity Get"}}}}}}},"/health/dependencies":{"get":{"tags":["health"],"summary":"Health Dependencies","operationId":"health_dependencies_health_dependencies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Dependencies Health Dependencies Get"}}}}}}},"/runtime/observations":{"get":{"tags":["observation"],"summary":"Get Observations","operationId":"get_observations_runtime_observations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Observations Runtime Observations Get"}}}}}}},"/v1/kill-switch/{workspace_id}":{"put":{"summary":"Set Kill Switch","operationId":"set_kill_switch_v1_kill_switch__workspace_id__put","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KillSwitchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Kill Switch V1 Kill Switch  Workspace Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/budget/{workspace_id}":{"put":{"summary":"Set Budget","operationId":"set_budget_v1_budget__workspace_id__put","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Budget V1 Budget  Workspace Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/identities/{execution_id}/revoke":{"post":{"summary":"Revoke Identity","operationId":"revoke_identity_v1_identities__execution_id__revoke_post","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Identity V1 Identities  Execution Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/audit-logs":{"get":{"summary":"Get Audit Logs","operationId":"get_audit_logs_v1_audit_logs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/runs":{"get":{"summary":"Get Runs","operationId":"get_runs_v1_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/audit/ledger":{"get":{"summary":"Query Audit Trail","description":"Query the audit trail with filters.\n\nAccepts optional query parameters: `agent_id` (run_id), `status` (operation_type),\n`workspace_id`, and `limit`.","operationId":"query_audit_trail_v1_audit_ledger_get","parameters":[{"name":"agent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Query Audit Trail V1 Audit Ledger Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/audit/verify":{"get":{"summary":"Verify Ledger","description":"Verify the integrity of all ledger chains.","operationId":"verify_ledger_v1_audit_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Ledger V1 Audit Verify Get"}}}}}}},"/v1/governance/v2/assess":{"post":{"summary":"Assess","operationId":"assess_v1_governance_v2_assess_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Assess V1 Governance V2 Assess Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/governance/v2/risk/{agent_id}":{"get":{"summary":"Risk Profile","operationId":"risk_profile_v1_governance_v2_risk__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Risk Profile V1 Governance V2 Risk  Agent Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/governance/v2/quarantine":{"get":{"summary":"Quarantine Queue","operationId":"quarantine_queue_v1_governance_v2_quarantine_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Quarantine Queue V1 Governance V2 Quarantine Get"}}}}}}},"/v1/governance/v2/quarantine/{quarantine_id}/approve":{"post":{"summary":"Approve Quarantine","operationId":"approve_quarantine_v1_governance_v2_quarantine__quarantine_id__approve_post","parameters":[{"name":"quarantine_id","in":"path","required":true,"schema":{"type":"string","title":"Quarantine Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Quarantine V1 Governance V2 Quarantine  Quarantine Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/governance/v2/quarantine/{quarantine_id}/deny":{"post":{"summary":"Deny Quarantine","operationId":"deny_quarantine_v1_governance_v2_quarantine__quarantine_id__deny_post","parameters":[{"name":"quarantine_id","in":"path","required":true,"schema":{"type":"string","title":"Quarantine Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DenyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Deny Quarantine V1 Governance V2 Quarantine  Quarantine Id  Deny Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license/issue":{"post":{"tags":["License"],"summary":"Issue License","description":"Issue a new license key. Called by admin/billing after a successful payment.","operationId":"issue_license_v1_license_issue_post","parameters":[{"name":"x-license-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-License-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license/validate":{"post":{"tags":["License"],"summary":"Validate License","description":"Validate a license key. Called by veklom-byos-backend on every plan-gated request.\n\nThe key itself is sent — we hash it server-side before lookup so plaintext\nkeys are never stored in the database.","operationId":"validate_license_v1_license_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license/activate":{"post":{"tags":["License"],"summary":"Activate License","description":"Activate a license key and bind it to a workspace.","operationId":"activate_license_v1_license_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Activate License V1 License Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license/deactivate":{"post":{"tags":["License"],"summary":"Deactivate License","description":"Revoke / deactivate a license key.","operationId":"deactivate_license_v1_license_deactivate_post","parameters":[{"name":"x-license-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-License-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeactivateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Deactivate License V1 License Deactivate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license/{key}":{"get":{"tags":["License"],"summary":"Get License","description":"Get license metadata by key value.","operationId":"get_license_v1_license__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"x-license-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-License-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get License V1 License  Key  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/license":{"get":{"tags":["License"],"summary":"List Licenses","description":"List all license keys (admin only).","operationId":"list_licenses_v1_license_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"plan_tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Tier"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":50,"title":"Limit"}},{"name":"x-license-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-License-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Licenses V1 License Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/legacy/status":{"get":{"tags":["Legacy Adapters"],"summary":"Get Adapters Status","description":"Get the status of all legacy adapters.","operationId":"get_adapters_status_legacy_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Adapters Status Legacy Status Get"}}}}}}},"/legacy/snmp/toggle":{"post":{"tags":["Legacy Adapters"],"summary":"Toggle Snmp","description":"Toggle the SNMP adapter on or off.","operationId":"toggle_snmp_legacy_snmp_toggle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Toggle Snmp Legacy Snmp Toggle Post"}}}}}}},"/legacy/modbus/toggle":{"post":{"tags":["Legacy Adapters"],"summary":"Toggle Modbus","description":"Toggle the Modbus adapter on or off.","operationId":"toggle_modbus_legacy_modbus_toggle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Toggle Modbus Legacy Modbus Toggle Post"}}}}}}},"/api/interlink/{path}":{"put":{"summary":"Proxy Interlink","description":"Return a terminal migration response without reading or forwarding input.","operationId":"proxy_interlink_api_interlink__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Interlink","description":"Return a terminal migration response without reading or forwarding input.","operationId":"proxy_interlink_api_interlink__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Interlink","description":"Return a terminal migration response without reading or forwarding input.","operationId":"proxy_interlink_api_interlink__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Proxy Interlink","description":"Return a terminal migration response without reading or forwarding input.","operationId":"proxy_interlink_api_interlink__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Interlink","description":"Return a terminal migration response without reading or forwarding input.","operationId":"proxy_interlink_api_interlink__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/interlink/vnp/authorize-slash":{"post":{"tags":["interlink_vnp"],"summary":"Authorize Slash","operationId":"authorize_slash_api_internal_interlink_vnp_authorize_slash_post","parameters":[{"name":"x-vnp-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Signature"}},{"name":"x-vnp-timestamp","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Timestamp"}},{"name":"x-vnp-nonce","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Nonce"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VnpAuthorizeSlashRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/interlink/vnp/authorize-release":{"post":{"tags":["interlink_vnp"],"summary":"Authorize Release","operationId":"authorize_release_api_internal_interlink_vnp_authorize_release_post","parameters":[{"name":"x-vnp-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Signature"}},{"name":"x-vnp-timestamp","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Timestamp"}},{"name":"x-vnp-nonce","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Vnp-Nonce"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VnpAuthorizeReleaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/platform/pulse":{"get":{"tags":["Platform Telemetry"],"summary":"Get Pulse","description":"Live pulse telemetry — real system metrics + real DB statistics.","operationId":"get_pulse_api_v1_platform_pulse_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/benchmarks/leaderboard":{"get":{"tags":["API Benchmarks"],"summary":"Get Leaderboard","description":"Live API Trust Rankings derived from real GovernedRun execution data.\n\nReturns a flat JSON array of BenchApi objects directly, matching Next.js SWR.","operationId":"get_leaderboard_api_v1_benchmarks_leaderboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/benchmarks/staking/markets":{"get":{"tags":["API Benchmarks"],"summary":"Get Markets","description":"SLA Staking Prediction Markets — derived from real execution reliability.\n\nReturns a flat JSON array of StakingMarket objects directly, matching Next.js SWR.","operationId":"get_markets_api_v1_benchmarks_staking_markets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/benchmarks/logs":{"get":{"tags":["API Benchmarks"],"summary":"Get Logs","description":"Consensus Log Feed — real audit logs mapped to ProbeLog shape.\n\nReturns a flat JSON array of ProbeLog objects directly, matching Next.js SWR.","operationId":"get_logs_api_v1_benchmarks_logs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/benchmarks/compile":{"post":{"tags":["API Benchmarks"],"summary":"Compile Plan","description":"Compile intent documentation into a unified MCP API schema and verdict.\n\nReturns the CompileResult object matched to the frontend consensus blueprints tab.","operationId":"compile_plan_api_v1_benchmarks_compile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/packages":{"get":{"tags":["Capability Mount"],"summary":"List Packages","operationId":"list_packages_v1_capability_packages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CapabilityPackage"},"type":"array","title":"Response List Packages V1 Capability Packages Get"}}}}}}},"/v1/capability/targets/{target_ref}/state":{"get":{"tags":["Capability Mount"],"summary":"Read Target State","operationId":"read_target_state_v1_capability_targets__target_ref__state_get","parameters":[{"name":"target_ref","in":"path","required":true,"schema":{"type":"string","title":"Target Ref"}},{"name":"resource","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Resource"}},{"name":"mount_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TargetStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/mounts":{"post":{"tags":["Capability Mount"],"summary":"Request Mount","operationId":"request_mount_v1_capability_mounts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/mounts/{mount_id}":{"get":{"tags":["Capability Mount"],"summary":"Mount Status","operationId":"mount_status_v1_capability_mounts__mount_id__get","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","title":"Mount Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/mounts/{mount_id}/actions":{"post":{"tags":["Capability Mount"],"summary":"Evaluate Action","operationId":"evaluate_action_v1_capability_mounts__mount_id__actions_post","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","title":"Mount Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/mounts/{mount_id}/execute":{"post":{"tags":["Capability Mount"],"summary":"Execute Consequence","operationId":"execute_consequence_v1_capability_mounts__mount_id__execute_post","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","title":"Mount Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/mounts/{mount_id}/terminate":{"post":{"tags":["Capability Mount"],"summary":"Terminate Mount","operationId":"terminate_mount_v1_capability_mounts__mount_id__terminate_post","parameters":[{"name":"mount_id","in":"path","required":true,"schema":{"type":"string","title":"Mount Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerminateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerminateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/beacons":{"get":{"tags":["Capability Beacons"],"summary":"Get Beacon Set","operationId":"get_beacon_set_v1_capability_beacons_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/capability/beacons/verify":{"post":{"tags":["Capability Beacons"],"summary":"Verify Presented Beacon","operationId":"verify_presented_beacon_v1_capability_beacons_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeaconVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Presented Beacon V1 Capability Beacons Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/capability/beacons/{package_ref}":{"get":{"tags":["Capability Beacons"],"summary":"Get Capability Beacon","operationId":"get_capability_beacon_v1_capability_beacons__package_ref__get","parameters":[{"name":"package_ref","in":"path","required":true,"schema":{"type":"string","title":"Package Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/capability-beacon-keys":{"get":{"summary":"Get Issuer Keys","operationId":"get_issuer_keys__well_known_capability_beacon_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/gpc/stats":{"get":{"tags":["Governed Plan Compiler"],"summary":"Get Stats","description":"Real GPC statistics derived from the GovernedRun table.","operationId":"get_stats_api_v1_gpc_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/gpc/compile":{"post":{"tags":["Governed Plan Compiler"],"summary":"Compile Plan","description":"Compile a governed plan.\n\nValidates intent against the governance service and returns a deterministic\nplan graph with a real SHA-256 proof hash. No sleep(), no random data.","operationId":"compile_plan_api_v1_gpc_compile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/pricing":{"get":{"tags":["x402"],"summary":"Pricing Manifest","description":"Return the pricing manifest mapping routes to x402 tiers.\n\nThis ensures that /api/v1/pricing and the 402 challenges agree exactly.","operationId":"get_pricing_manifest_api_v1_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/x402":{"get":{"summary":"x402 Protocol Discovery","description":"Return strict x402 discovery payload.\n\nAs required by the marketplace, this must ONLY mention x402\nand not generic payment methods (Stripe, PayPal, etc.).","operationId":"get_well_known_x402__well_known_x402_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APIRegistrationRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"endpoint":{"type":"string","maxLength":2048,"minLength":1,"title":"Endpoint"},"version":{"type":"string","maxLength":50,"minLength":1,"title":"Version","default":"v1.0.0"},"x402Ready":{"type":"boolean","title":"X402Ready","default":false}},"additionalProperties":false,"type":"object","required":["name","endpoint"],"title":"APIRegistrationRequest"},"ActionRequest":{"properties":{"token_id":{"type":"string","minLength":1,"title":"Token Id"},"nonce":{"type":"string","minLength":1,"title":"Nonce"},"action":{"type":"string","minLength":1,"title":"Action"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"approval_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval Token"},"suppression_evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suppression Evidence"},"suppression_confirmed":{"type":"boolean","title":"Suppression Confirmed","default":false}},"additionalProperties":false,"type":"object","required":["token_id","nonce","action"],"title":"ActionRequest"},"ActionResponse":{"properties":{"decision":{"$ref":"#/components/schemas/Decision"},"reason":{"type":"string","title":"Reason"},"anchoring":{"additionalProperties":true,"type":"object","title":"Anchoring"},"mount_id":{"type":"string","title":"Mount Id"},"action":{"type":"string","title":"Action"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},"additionalProperties":false,"type":"object","required":["decision","reason","anchoring","mount_id","action"],"title":"ActionResponse"},"ActionScope":{"properties":{"reads":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reads"},"writes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Writes"},"blocked":{"items":{"type":"string"},"type":"array","title":"Blocked"}},"additionalProperties":false,"type":"object","title":"ActionScope"},"ActivateRequest":{"properties":{"key":{"type":"string","title":"Key"},"workspace_id":{"type":"string","title":"Workspace Id"}},"type":"object","required":["key","workspace_id"],"title":"ActivateRequest"},"AgentCreateRequest":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"creator":{"type":"string","title":"Creator"},"jurisdiction":{"type":"string","title":"Jurisdiction","default":"US"},"genome":{"additionalProperties":true,"type":"object","title":"Genome"},"parent_agent_ids":{"items":{"type":"string"},"type":"array","title":"Parent Agent Ids"}},"type":"object","required":["agent_name","creator","genome"],"title":"AgentCreateRequest"},"ApproveRequest":{"properties":{"approver_id":{"type":"string","title":"Approver Id"},"approver_trust":{"type":"number","title":"Approver Trust"}},"type":"object","required":["approver_id","approver_trust"],"title":"ApproveRequest"},"AssessRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"trust_score":{"type":"number","title":"Trust Score","default":75.0},"capability_id":{"type":"string","title":"Capability Id","default":"exec"},"requests_per_hour":{"type":"number","title":"Requests Per Hour","default":0.0},"failure_rate":{"type":"number","title":"Failure Rate","default":0.0},"time_of_day":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Time Of Day","default":12},"new_capabilities":{"items":{"type":"string"},"type":"array","title":"New Capabilities"},"request":{"additionalProperties":true,"type":"object","title":"Request"}},"type":"object","required":["agent_id"],"title":"AssessRequest"},"AuthorizationRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"capability_id":{"type":"string","title":"Capability Id","default":"exec"},"request":{"additionalProperties":true,"type":"object","title":"Request"},"trust_score":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Trust Score","default":75.0},"requests_per_hour":{"type":"number","minimum":0.0,"title":"Requests Per Hour","default":0.0},"failure_rate":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Failure Rate","default":0.0},"time_of_day":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Time Of Day","default":12},"directive":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Directive"},"risk_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Tier"}},"type":"object","required":["agent_id"],"title":"AuthorizationRequest"},"AuthorizationResponse":{"properties":{"decision":{"type":"string","title":"Decision"},"authorization_id":{"type":"string","title":"Authorization Id"},"lane":{"type":"string","title":"Lane"},"decision_hash":{"type":"string","title":"Decision Hash"},"reason":{"type":"string","title":"Reason"},"evidence_hash":{"type":"string","title":"Evidence Hash"}},"type":"object","required":["decision","authorization_id","lane","decision_hash","reason","evidence_hash"],"title":"AuthorizationResponse"},"BeaconVerificationRequest":{"properties":{"beacon":{"additionalProperties":true,"type":"object","minProperties":1,"title":"Beacon"}},"additionalProperties":false,"type":"object","required":["beacon"],"title":"BeaconVerificationRequest"},"BudgetRequest":{"properties":{"balance_cents":{"type":"integer","title":"Balance Cents"}},"type":"object","required":["balance_cents"],"title":"BudgetRequest"},"CapabilityLeaseRef":{"properties":{"mount_id":{"type":"string","minLength":1,"title":"Mount Id"},"token_id":{"type":"string","minLength":1,"title":"Token Id"},"nonce":{"type":"string","minLength":1,"title":"Nonce"},"execution_id":{"type":"string","minLength":1,"title":"Execution Id"}},"additionalProperties":false,"type":"object","required":["mount_id","token_id","nonce","execution_id"],"title":"CapabilityLeaseRef","description":"Proof-of-possession handle for an already persisted CAPPO mount."},"CapabilityPackage":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9._-]+@v[0-9]+$","title":"Id"},"family":{"type":"string","minLength":1,"title":"Family"},"title":{"type":"string","minLength":1,"title":"Title"},"purpose":{"type":"string","minLength":1,"title":"Purpose"},"reads":{"items":{"type":"string"},"type":"array","title":"Reads"},"writes":{"items":{"type":"string"},"type":"array","title":"Writes"},"blocked":{"items":{"type":"string"},"type":"array","title":"Blocked"},"outputs":{"items":{"type":"string"},"type":"array","title":"Outputs"},"policy_defaults":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"items":{"type":"string"},"type":"array"},{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}]},"type":"object","title":"Policy Defaults"},"external_send_actions":{"items":{"type":"string"},"type":"array","title":"External Send Actions"},"suppression_required_actions":{"items":{"type":"string"},"type":"array","title":"Suppression Required Actions"}},"additionalProperties":false,"type":"object","required":["id","family","title","purpose"],"title":"CapabilityPackage"},"CompileRequest":{"properties":{"codeText":{"type":"string","title":"Codetext"},"apiName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apiname"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},"type":"object","required":["codeText"],"title":"CompileRequest"},"ConsequenceDispatchRequest":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"action":{"type":"string","title":"Action","default":"execute"},"resource":{"type":"string","title":"Resource","default":""},"mount_id":{"type":"string","title":"Mount Id","default":""},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}},"type":"object","required":["execution_id"],"title":"ConsequenceDispatchRequest"},"DeactivateRequest":{"properties":{"key":{"type":"string","title":"Key"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["key"],"title":"DeactivateRequest"},"Decision":{"type":"string","enum":["allow","deny"],"title":"Decision"},"DenyRequest":{"properties":{"reason":{"type":"string","title":"Reason"}},"type":"object","required":["reason"],"title":"DenyRequest"},"EphemeralScopedToken":{"properties":{"type":{"type":"string","const":"ephemeral_scoped","title":"Type","default":"ephemeral_scoped"},"token_id":{"type":"string","minLength":1,"title":"Token Id"},"mount_id":{"type":"string","minLength":1,"title":"Mount Id"},"execution_id":{"type":"string","minLength":1,"title":"Execution Id"},"package_ref":{"type":"string","minLength":1,"title":"Package Ref"},"substrate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Substrate Id"},"boot_instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Boot Instance Id"},"runtime_key_thumbprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtime Key Thumbprint"},"state_root":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Root"},"scope":{"$ref":"#/components/schemas/TokenDescriptorScope"},"grants":{"$ref":"#/components/schemas/Grants"},"policy":{"$ref":"#/components/schemas/MountPolicy"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"ttl_seconds":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Ttl Seconds"},"single_use":{"type":"boolean","const":true,"title":"Single Use","default":true},"nonce_consumed":{"type":"boolean","title":"Nonce Consumed","default":false},"nonce":{"type":"string","minLength":1,"title":"Nonce"}},"additionalProperties":false,"type":"object","required":["token_id","mount_id","execution_id","package_ref","scope","grants","policy","issued_at","expires_at","ttl_seconds","nonce"],"title":"EphemeralScopedToken"},"ExecRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"pgl_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pgl Id"},"workspace_id":{"type":"string","title":"Workspace Id","default":"default"},"tenant_id":{"type":"string","title":"Tenant Id","default":"default"},"delegation_depth":{"type":"integer","title":"Delegation Depth","default":0},"budget_approved_cents":{"type":"integer","title":"Budget Approved Cents","default":0},"action_cost_cents":{"type":"integer","title":"Action Cost Cents","default":0},"scope":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Scope"},"genome_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genome Hash"},"constitution_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Constitution Hash"},"plan_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Hash"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"},"directive":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Directive"},"risk_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Tier"},"security":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Security"},"execution_mode":{"type":"string","title":"Execution Mode","default":"live"},"capability_lease":{"anyOf":[{"$ref":"#/components/schemas/CapabilityLeaseRef"},{"type":"null"}]}},"type":"object","required":["prompt"],"title":"ExecRequest"},"ExecResponse":{"properties":{"response":{"type":"string","title":"Response"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"cached":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cached"},"cache_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cache Tier"},"log_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Log Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"capability_lease":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capability Lease"},"authority_envelope":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Authority Envelope"},"links":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Links"}},"type":"object","required":["response"],"title":"ExecResponse"},"ExecuteRequest":{"properties":{"token_id":{"type":"string","minLength":1,"title":"Token Id"},"nonce":{"type":"string","minLength":1,"title":"Nonce"},"action":{"type":"string","minLength":1,"title":"Action"},"target_ref":{"type":"string","minLength":1,"title":"Target Ref"},"resource":{"type":"string","minLength":1,"title":"Resource"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"approval_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval Token"},"suppression_evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suppression Evidence"},"suppression_confirmed":{"type":"boolean","title":"Suppression Confirmed","default":false}},"additionalProperties":false,"type":"object","required":["token_id","nonce","action","target_ref","resource"],"title":"ExecuteRequest"},"ExecuteResponse":{"properties":{"decision":{"$ref":"#/components/schemas/Decision"},"reason":{"type":"string","title":"Reason"},"anchoring":{"additionalProperties":true,"type":"object","title":"Anchoring"},"mount_id":{"type":"string","title":"Mount Id"},"action":{"type":"string","title":"Action"},"resource":{"type":"string","title":"Resource"},"operation_id":{"type":"string","title":"Operation Id"},"consequence":{"additionalProperties":true,"type":"object","title":"Consequence"},"authority":{"additionalProperties":true,"type":"object","title":"Authority"}},"additionalProperties":false,"type":"object","required":["decision","reason","anchoring","mount_id","action","resource","operation_id","consequence","authority"],"title":"ExecuteResponse"},"Grants":{"properties":{"reads":{"items":{"type":"string"},"type":"array","title":"Reads"},"writes":{"items":{"type":"string"},"type":"array","title":"Writes"},"resources":{"items":{"type":"string"},"type":"array","title":"Resources"},"blocked":{"items":{"type":"string"},"type":"array","title":"Blocked"},"external_send":{"items":{"type":"string"},"type":"array","title":"External Send"},"suppression_required":{"items":{"type":"string"},"type":"array","title":"Suppression Required"}},"additionalProperties":false,"type":"object","title":"Grants"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IssueRequest":{"properties":{"plan_tier":{"type":"string","title":"Plan Tier","default":"starter"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"expires_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Days"},"max_activations":{"type":"integer","title":"Max Activations","default":1},"issued_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issued By"}},"type":"object","title":"IssueRequest"},"IssueResponse":{"properties":{"key":{"type":"string","title":"Key"},"plan_tier":{"type":"string","title":"Plan Tier"},"status":{"type":"string","title":"Status"},"issued_at":{"type":"string","title":"Issued At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["key","plan_tier","status","issued_at","expires_at"],"title":"IssueResponse"},"KillSwitchRequest":{"properties":{"active":{"type":"boolean","title":"Active"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["active"],"title":"KillSwitchRequest"},"LedgerEventCreateRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"event_type":{"type":"string","title":"Event Type"},"actor":{"type":"string","title":"Actor","default":"veklom-system"},"summary":{"type":"string","title":"Summary","default":"Agent execution event"},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"type":"object","required":["agent_id","event_type","details"],"title":"LedgerEventCreateRequest"},"Lifecycle":{"properties":{"state":{"$ref":"#/components/schemas/LifecycleState","default":"mounted"},"unmount_on":{"items":{"$ref":"#/components/schemas/UnmountReason"},"type":"array","title":"Unmount On"}},"additionalProperties":false,"type":"object","title":"Lifecycle"},"LifecycleState":{"type":"string","enum":["mounted","expired","terminated"],"title":"LifecycleState"},"Mount":{"properties":{"id":{"type":"string","minLength":1,"title":"Id"},"package_ref":{"type":"string","minLength":1,"title":"Package Ref"},"role":{"type":"string","minLength":1,"title":"Role"},"scope":{"$ref":"#/components/schemas/MountScope"},"token":{"$ref":"#/components/schemas/MountToken"},"grants":{"$ref":"#/components/schemas/Grants"},"policy":{"$ref":"#/components/schemas/MountPolicy"},"lifecycle":{"$ref":"#/components/schemas/Lifecycle"},"substrate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Substrate Id"},"boot_instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Boot Instance Id"},"runtime_key_thumbprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtime Key Thumbprint"},"state_root":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Root"}},"additionalProperties":false,"type":"object","required":["id","package_ref","role","scope","token","grants","policy"],"title":"Mount"},"MountPolicy":{"properties":{"mode":{"type":"string","minLength":1,"title":"Mode","default":"draft_only"},"default":{"type":"string","const":"deny","title":"Default","default":"deny"},"require_human_approval_for_external_send":{"type":"boolean","title":"Require Human Approval For External Send","default":true},"require_suppression_check":{"type":"boolean","title":"Require Suppression Check","default":true},"persistent_memory_allowed":{"type":"boolean","title":"Persistent Memory Allowed","default":false}},"additionalProperties":false,"type":"object","title":"MountPolicy"},"MountRequest":{"properties":{"package_ref":{"type":"string","minLength":1,"title":"Package Ref"},"execution_scope":{"$ref":"#/components/schemas/MountScope"},"requested_action_scope":{"$ref":"#/components/schemas/ActionScope"},"role":{"type":"string","minLength":1,"title":"Role","default":"ephemeral_executor"},"policy":{"$ref":"#/components/schemas/MountPolicy"},"ttl_seconds":{"type":"integer","minimum":1.0,"title":"Ttl Seconds","default":300},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"executor_spiffe_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executor Spiffe Id"}},"additionalProperties":false,"type":"object","required":["package_ref","execution_scope"],"title":"MountRequest"},"MountResponse":{"properties":{"decision":{"$ref":"#/components/schemas/Decision"},"reason":{"type":"string","title":"Reason"},"anchoring":{"additionalProperties":true,"type":"object","title":"Anchoring"},"mount":{"anyOf":[{"$ref":"#/components/schemas/Mount"},{"type":"null"}]},"token":{"anyOf":[{"$ref":"#/components/schemas/EphemeralScopedToken"},{"type":"null"}]},"ttl_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ttl Seconds"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"nonce_consumed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Nonce Consumed"},"holder_credential":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Holder Credential"}},"additionalProperties":false,"type":"object","required":["decision","reason","anchoring"],"title":"MountResponse"},"MountScope":{"properties":{"workspace":{"type":"string","minLength":1,"title":"Workspace"},"project":{"type":"string","minLength":1,"title":"Project"},"reads":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reads"},"writes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Writes"},"resources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Resources"},"blocked":{"items":{"type":"string"},"type":"array","title":"Blocked"}},"additionalProperties":false,"type":"object","required":["workspace","project"],"title":"MountScope"},"MountToken":{"properties":{"type":{"$ref":"#/components/schemas/TokenType"},"ttl_seconds":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Ttl Seconds"}},"additionalProperties":false,"type":"object","required":["type","ttl_seconds"],"title":"MountToken"},"ProviderRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"commercial_profile":{"anyOf":[{"additionalProperties":true,"type":"object","maxProperties":32},{"type":"null"}],"title":"Commercial Profile"}},"additionalProperties":false,"type":"object","required":["name"],"title":"ProviderRequest"},"ReconcileReq":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"simulate_target_503":{"type":"boolean","title":"Simulate Target 503","default":false}},"type":"object","required":["execution_id"],"title":"ReconcileReq"},"RevokeRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"RevokeRequest"},"TargetStateResponse":{"properties":{"target_ref":{"type":"string","title":"Target Ref"},"resource":{"type":"string","title":"Resource"},"workspace":{"type":"string","title":"Workspace"},"project":{"type":"string","title":"Project"},"mount_id":{"type":"string","title":"Mount Id"},"state":{"title":"State"}},"additionalProperties":false,"type":"object","required":["target_ref","resource","workspace","project","mount_id","state"],"title":"TargetStateResponse"},"TerminateRequest":{"properties":{"reason":{"$ref":"#/components/schemas/UnmountReason","default":"explicit_terminate"}},"additionalProperties":false,"type":"object","title":"TerminateRequest"},"TerminateResponse":{"properties":{"decision":{"$ref":"#/components/schemas/Decision"},"reason":{"type":"string","title":"Reason"},"anchoring":{"additionalProperties":true,"type":"object","title":"Anchoring"},"mount_id":{"type":"string","title":"Mount Id"}},"additionalProperties":false,"type":"object","required":["decision","reason","anchoring","mount_id"],"title":"TerminateResponse"},"TokenDescriptorScope":{"properties":{"workspace":{"type":"string","minLength":1,"title":"Workspace"},"project":{"type":"string","minLength":1,"title":"Project"}},"additionalProperties":false,"type":"object","required":["workspace","project"],"title":"TokenDescriptorScope"},"TokenType":{"type":"string","enum":["ephemeral_scoped","persistent_service"],"title":"TokenType"},"UnmountReason":{"type":"string","enum":["task_complete","token_expiry","explicit_terminate"],"title":"UnmountReason"},"VNPApiRegistrationRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"endpoint":{"type":"string","maxLength":2048,"minLength":1,"title":"Endpoint"},"version":{"type":"string","maxLength":50,"minLength":1,"title":"Version","default":"v1.0.0"},"x402Ready":{"type":"boolean","title":"X402Ready","default":false}},"additionalProperties":false,"type":"object","required":["name","endpoint"],"title":"VNPApiRegistrationRequest"},"VNPProxyRequest":{"properties":{"payload":{"additionalProperties":true,"type":"object","maxProperties":64,"title":"Payload"}},"additionalProperties":false,"type":"object","title":"VNPProxyRequest"},"ValidateRequest":{"properties":{"key":{"type":"string","title":"Key"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}},"type":"object","required":["key"],"title":"ValidateRequest"},"ValidateResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"status":{"type":"string","title":"Status"},"plan_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Tier"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["valid","status"],"title":"ValidateResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VnpAuthorizeReleaseRequest":{"properties":{"bond_id":{"type":"string","title":"Bond Id"},"pgl_evidence_id":{"type":"string","title":"Pgl Evidence Id"}},"type":"object","required":["bond_id","pgl_evidence_id"],"title":"VnpAuthorizeReleaseRequest"},"VnpAuthorizeSlashRequest":{"properties":{"bond_id":{"type":"string","title":"Bond Id"},"challenge_id":{"type":"string","title":"Challenge Id"},"pgl_evidence_id":{"type":"string","title":"Pgl Evidence Id"}},"type":"object","required":["bond_id","challenge_id","pgl_evidence_id"],"title":"VnpAuthorizeSlashRequest"}}}}