{"openapi":"3.1.0","info":{"title":"AiGentsy AME Runtime","description":"Autonomous Monetization Engine - Full-Stack Revenue Pipeline","version":"3.0.0"},"paths":{"/":{"get":{"summary":"Root","description":"Health check / front door. Returns system status summary.","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/investor/outcome/rollups":{"get":{"tags":["Investor Ready"],"summary":"Get Outcome Rollups","description":"Get outcome oracle rollups (7/30/90 day).","operationId":"get_outcome_rollups_apex_investor_outcome_rollups_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":90.0,"minimum":7.0,"title":"Days","default":30},"name":"days","in":"query"},{"required":false,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/reconciliation/export":{"get":{"tags":["Investor Ready"],"summary":"Export Reconciliation","description":"Export reconciliation data with verification hash.","operationId":"export_reconciliation_apex_investor_reconciliation_export_get","parameters":[{"required":false,"schema":{"type":"string","title":"Start Date"},"name":"start_date","in":"query"},{"required":false,"schema":{"type":"string","title":"End Date"},"name":"end_date","in":"query"},{"required":false,"schema":{"type":"string","title":"Format","default":"json"},"name":"format","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/economics/deal/{deal_id}":{"get":{"tags":["Investor Ready"],"summary":"Get Deal Economics","description":"Get cost/margin economics for a deal.","operationId":"get_deal_economics_apex_investor_economics_deal__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/economics/aggregate":{"get":{"tags":["Investor Ready"],"summary":"Get Aggregate Economics","description":"Get aggregate economics across all deals.","operationId":"get_aggregate_economics_apex_investor_economics_aggregate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/investor/al/status/{user_id}":{"get":{"tags":["Investor Ready"],"summary":"Get Al Status","description":"Get user's autonomy level status.","operationId":"get_al_status_apex_investor_al_status__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/al/request_review":{"post":{"tags":["Investor Ready"],"summary":"Request Al Review","description":"Request a review for level change.","operationId":"request_al_review_apex_investor_al_request_review_post","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/throttle/status/{platform}/{user_id}":{"get":{"tags":["Investor Ready"],"summary":"Get Throttle Status","description":"Get throttle status for a platform.","operationId":"get_throttle_status_apex_investor_throttle_status__platform___user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"path"},{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/investor/proof/feed":{"get":{"tags":["Investor Ready"],"summary":"Get Public Proof Feed","description":"Get public proof feed (anonymized).","operationId":"get_public_proof_feed_apex_investor_proof_feed_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":100.0,"minimum":10.0,"title":"Limit","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","maximum":90.0,"minimum":7.0,"title":"Days","default":30},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnostic/env-check":{"get":{"tags":["Diagnostics","Diagnostics"],"summary":"Check Environment","description":"Check which API keys are configured and which are missing.","operationId":"check_environment_diagnostic_env_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/full-cycle-trace":{"get":{"tags":["Diagnostics","Diagnostics"],"summary":"Full Cycle Trace","description":"Trace a full autonomous cycle and report what's happening at each step.","operationId":"full_cycle_trace_diagnostic_full_cycle_trace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/platform-connectivity":{"get":{"tags":["Diagnostics","Diagnostics"],"summary":"Test Platform Connectivity","description":"Test actual connectivity to each platform we integrate with.","operationId":"test_platform_connectivity_diagnostic_platform_connectivity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/monetization-gaps":{"get":{"tags":["Diagnostics","Diagnostics"],"summary":"Monetization Gap Analysis","description":"Analyze the complete path from opportunity to cash and identify gaps.","operationId":"monetization_gap_analysis_diagnostic_monetization_gaps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/trace-cycle":{"get":{"tags":["Diagnostic Tracer"],"summary":"Trace Cycle Endpoint","description":"Run a full unified cycle with detailed tracing.\n\nReturns timing, bottlenecks, failures, and conversion funnel.","operationId":"trace_cycle_endpoint_diagnostic_trace_cycle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/bottlenecks":{"get":{"tags":["Diagnostic Tracer"],"summary":"Get Bottlenecks","description":"Get identified bottlenecks from recent traces","operationId":"get_bottlenecks_diagnostic_bottlenecks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/phase-timing":{"get":{"tags":["Diagnostic Tracer"],"summary":"Get Phase Timing","description":"Get detailed phase timing from recent traces","operationId":"get_phase_timing_diagnostic_phase_timing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/failure-analysis":{"get":{"tags":["Diagnostic Tracer"],"summary":"Get Failure Analysis","description":"Get failure breakdown from recent traces","operationId":"get_failure_analysis_diagnostic_failure_analysis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/opportunity-funnel":{"get":{"tags":["Diagnostic Tracer"],"summary":"Get Opportunity Funnel","description":"Get opportunity conversion funnel from recent traces","operationId":"get_opportunity_funnel_diagnostic_opportunity_funnel_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/diagnostic/trace/{trace_id}":{"get":{"tags":["Diagnostic Tracer"],"summary":"Get Trace","description":"Get a specific trace by ID","operationId":"get_trace_diagnostic_trace__trace_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Trace Id"},"name":"trace_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnostic/system-check":{"get":{"tags":["Diagnostic Tracer"],"summary":"System Check","description":"Quick system health check for diagnostic purposes","operationId":"system_check_diagnostic_system_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/search/internet":{"post":{"tags":["Internet Search"],"summary":"Search Internet Endpoint","description":"Run internet-wide search across all available providers.\n\nBody:\n    query: Search query (required)\n    max_results: Max results per provider (default: 10)\n    providers: Specific providers to use (optional)","operationId":"search_internet_endpoint_search_internet_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search/providers":{"get":{"tags":["Internet Search"],"summary":"List Providers","description":"List all available search providers and their status","operationId":"list_providers_search_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/search/test":{"get":{"tags":["Internet Search"],"summary":"Test All Providers","description":"Test all search providers with a sample query","operationId":"test_all_providers_search_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/credentials/status":{"get":{"tags":["Credentials"],"summary":"Credentials Status","description":"Get status of all credentials","operationId":"credentials_status_credentials_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/credentials/missing":{"get":{"tags":["Credentials"],"summary":"Credentials Missing","description":"Get missing credentials with setup instructions","operationId":"credentials_missing_credentials_missing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pdl/missing-credentials":{"get":{"tags":["Credentials"],"summary":"Pdl Missing Credentials","description":"Get PDLs blocked by missing credentials","operationId":"pdl_missing_credentials_pdl_missing_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/credentials/setup-guide":{"get":{"tags":["Credentials"],"summary":"Credentials Setup Guide","description":"Get setup guide for all credentials","operationId":"credentials_setup_guide_credentials_setup_guide_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/credentials/validate":{"post":{"tags":["Credentials"],"summary":"Validate Credential Endpoint","description":"Validate a specific credential","operationId":"validate_credential_endpoint_credentials_validate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/credentials/validate-all":{"get":{"tags":["Credentials"],"summary":"Validate All Credentials","description":"Validate all configured credentials","operationId":"validate_all_credentials_credentials_validate_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/mesh/register":{"post":{"tags":["Thin Film Protocol"],"summary":"Register Agent","description":"Register an agent with the mesh","operationId":"register_agent_protocol_mesh_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mesh/execute":{"post":{"tags":["Thin Film Protocol"],"summary":"Execute Task","description":"Execute a task via the protocol","operationId":"execute_task_protocol_mesh_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mesh/search":{"post":{"tags":["Thin Film Protocol"],"summary":"Search Agents","description":"Search for agents in the mesh","operationId":"search_agents_protocol_mesh_search_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mesh/settle":{"post":{"tags":["Thin Film Protocol"],"summary":"Settle Payment","description":"Settle payment between agents","operationId":"settle_payment_protocol_mesh_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mesh/heartbeat":{"post":{"tags":["Thin Film Protocol"],"summary":"Agent Heartbeat","description":"Receive heartbeat from agent","operationId":"agent_heartbeat_protocol_mesh_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mesh/status":{"get":{"tags":["Thin Film Protocol"],"summary":"Protocol Status","description":"Get protocol status","operationId":"protocol_status_protocol_mesh_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/mesh/agents":{"get":{"tags":["Thin Film Protocol"],"summary":"List Agents","description":"List all registered agents","operationId":"list_agents_protocol_mesh_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/execute":{"post":{"tags":["Unified Executor"],"summary":"Execute Task Endpoint","description":"Execute any task via the unified executor","operationId":"execute_task_endpoint_unified_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unified/status":{"get":{"tags":["Unified Executor"],"summary":"Executor Status","description":"Get unified executor status with all 108+ subsystems","operationId":"executor_status_unified_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/subsystems":{"get":{"tags":["Unified Executor"],"summary":"List Subsystems","description":"List all available subsystems","operationId":"list_subsystems_unified_subsystems_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/autonomous-cycle":{"post":{"tags":["Unified Executor"],"summary":"Run Autonomous Cycle Endpoint","description":"v2.0: Run a basic autonomous cycle with legacy subsystems:\n1. DISCOVER → All sources (Alpha, Ultimate, Spawn, Domination, DealGraph)\n2. PRIORITIZE → MetaHive + Deal Graph + Outcome Oracle scoring\n3. EXECUTE → Fabric + Connectors execution\n4. RECONCILE → Track finances through Auto-Reconciliation\n5. LEARN → Feed back to MetaHive + Yield Memory + Auto-Upgrades","operationId":"run_autonomous_cycle_endpoint_unified_autonomous_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/full-autonomous-cycle":{"post":{"tags":["Unified Executor"],"summary":"Run Full Autonomous Cycle Endpoint","description":"v3.0: Run FULL 10-phase autonomous cycle using ALL 60+ subsystems via 5 managers:\n\nPHASES:\n1. DISCOVER → 15+ sources via DiscoveryManager\n2. ENRICH → Deal Graph network enrichment\n3. SCORE → Intelligence scoring via IntelligenceManager\n4. FINANCE → OCL P2P internal lending via FinancialManager\n5. REVENUE → Revenue opportunities via RevenueManager\n6. EXECUTE → Top 20 opportunities via ExecutionManager\n7. VERIFY → Deliverable verification\n8. REVENUE FLOWS → Execute revenue streams\n9. RECONCILE → Financial tracking\n10. LEARN → Pattern storage and learning\n\nMANAGERS USED:\n- RevenueManager (11 subsystems)\n- FinancialManager (8 subsystems + OCL P2P)\n- ExecutionManager (10 subsystems)\n- DiscoveryManager (15 subsystems)\n- IntelligenceManager (10 subsystems)","operationId":"run_full_autonomous_cycle_endpoint_unified_full_autonomous_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/managers/status":{"get":{"tags":["Unified Executor"],"summary":"Get Managers Status","description":"Get status of all 5 specialized managers","operationId":"get_managers_status_unified_managers_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/status":{"get":{"summary":"Reconciliation Status","description":"Get reconciliation engine status and summary","operationId":"reconciliation_status_reconciliation_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/discrepancies":{"get":{"summary":"Reconciliation Discrepancies","description":"Get list of financial discrepancies requiring attention","operationId":"reconciliation_discrepancies_reconciliation_discrepancies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/dashboard":{"get":{"summary":"Get Reconciliation Dashboard","description":"Master dashboard for all autonomous activity\nShows revenue by path, Wade's balance, and activity summary","operationId":"get_reconciliation_dashboard_reconciliation_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/record":{"post":{"summary":"Reconciliation Record","description":"Record a new activity for reconciliation","operationId":"reconciliation_record_reconciliation_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Activity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deal-graph/connections":{"get":{"summary":"Deal Graph Connections","description":"Get all entity connections in the deal graph","operationId":"deal_graph_connections_deal_graph_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deal-graph/cross-sell":{"get":{"summary":"Deal Graph Cross Sell","description":"Get cross-sell opportunities from network","operationId":"deal_graph_cross_sell_deal_graph_cross_sell_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deal-graph/entity":{"post":{"summary":"Deal Graph Add Entity","description":"Add an entity to the deal graph","operationId":"deal_graph_add_entity_deal_graph_entity_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Entity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deal-graph/relationship":{"post":{"summary":"Deal Graph Add Relationship","description":"Add a relationship between entities","operationId":"deal_graph_add_relationship_deal_graph_relationship_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Rel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/autonomous-status":{"get":{"summary":"Orchestrator Autonomous Status","description":"Get master orchestrator status","operationId":"orchestrator_autonomous_status_orchestrator_autonomous_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/autonomous-cycle":{"post":{"summary":"Orchestrator Autonomous Cycle","description":"Run a full autonomous orchestration cycle","operationId":"orchestrator_autonomous_cycle_orchestrator_autonomous_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/prioritize":{"post":{"summary":"Orchestrator Prioritize","description":"Prioritize opportunities using EV × Probability × Network × Learning","operationId":"orchestrator_prioritize_orchestrator_prioritize_post","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Opportunities"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/status":{"get":{"summary":"Upgrades Status","description":"Get autonomous upgrade system status","operationId":"upgrades_status_upgrades_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/propose":{"get":{"summary":"Upgrades Propose","description":"Get proposed next upgrade based on outcome patterns","operationId":"upgrades_propose_upgrades_propose_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/test":{"post":{"summary":"Upgrades Create Test","description":"Create a new A/B test for an upgrade","operationId":"upgrades_create_test_upgrades_test_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Test Config"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/deploy":{"post":{"summary":"Deploy Upgrade Endpoint","description":"Deploy winning logic upgrade to all agents\n\nBody:\n{\n    \"test_id\": \"test_abc123\"\n}","operationId":"deploy_upgrade_endpoint_upgrades_deploy_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/rollback":{"post":{"summary":"Rollback Upgrade Endpoint","description":"Rollback a logic upgrade\n\nBody:\n{\n    \"upgrade_type\": \"pricing_strategy\",\n    \"rollback_to_version\": \"var_abc123\" (optional)\n}","operationId":"rollback_upgrade_endpoint_upgrades_rollback_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/status":{"get":{"summary":"Get Autonomous Status","description":"Get current autonomous orchestrator status.","operationId":"get_autonomous_status_autonomous_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r3/campaign/start":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Start Campaign","description":"Start tracking a campaign. Only allows start if predicted ROI >= gate.\nIntegrates with r3_autopilot predictions.","operationId":"start_campaign_r3_campaign_start_post","parameters":[{"required":true,"schema":{"type":"string","title":"Campaign Id"},"name":"campaign_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Predicted Roi"},"name":"predicted_roi","in":"query"},{"required":true,"schema":{"type":"number","title":"Budget"},"name":"budget","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/campaign/update":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Update Campaign","description":"Update campaign with actual performance. Kill if ROI drops below threshold.","operationId":"update_campaign_r3_campaign_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/campaigns/active":{"get":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Get Active Campaigns","description":"Get all active campaigns with their ROI status","operationId":"get_active_campaigns_r3_campaigns_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/idempotency/check":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Check Idempotency","description":"Check if this operation was already processed today.\nUse at: discovery → bidding → fulfillment → invoicing","operationId":"check_idempotency_idempotency_check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Stage"},"name":"stage","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/idempotency/record":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Record Idempotency","description":"Record that this operation was processed","operationId":"record_idempotency_idempotency_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Stage"},"name":"stage","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Result"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ownership/assign":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Assign Ownership","description":"Deterministically assign opportunity to exactly ONE executor.\nConsistent hash ensures same opp always goes to same executor.","operationId":"assign_ownership_ownership_assign_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ownership/claim":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Claim Ownership","description":"Executor claims ownership. Rejects if already claimed by another.","operationId":"claim_ownership_ownership_claim_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Executor Id"},"name":"executor_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ownership/release":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Release Ownership","description":"Release ownership after completion","operationId":"release_ownership_ownership_release_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Executor Id"},"name":"executor_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backpressure/request":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Request Slot","description":"Request a runtime slot. Money-critical paths get reserved capacity.","operationId":"request_slot_backpressure_request_post","parameters":[{"required":true,"schema":{"type":"string","title":"Task Id"},"name":"task_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Priority","default":"normal"},"name":"priority","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backpressure/release":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Release Slot","description":"Release slot when task completes","operationId":"release_slot_backpressure_release_post","parameters":[{"required":true,"schema":{"type":"string","title":"Task Id"},"name":"task_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Priority","default":"normal"},"name":"priority","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backpressure/status":{"get":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Backpressure Status","description":"Get current slot utilization","operationId":"backpressure_status_backpressure_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pricing/bandit/select":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Bandit Select","description":"Thompson Sampling to select pricing strategy.\nReturns highest-sampled strategy.","operationId":"bandit_select_pricing_bandit_select_post","parameters":[{"required":false,"schema":{"type":"string","title":"Segment","default":"default"},"name":"segment","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/bandit/update":{"post":{"summary":"Pricing Bandit Update","description":"Update bandit arm with outcome","operationId":"pricing_bandit_update_pricing_bandit_update_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/bandit/leaderboard":{"get":{"summary":"Pricing Bandit Leaderboard","description":"Get pricing bandit arm performance leaderboard","operationId":"pricing_bandit_leaderboard_pricing_bandit_leaderboard_get","parameters":[{"required":false,"schema":{"type":"string","title":"Segment"},"name":"segment","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recovery/enqueue":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Enqueue Recovery","description":"Enqueue abandoned cart/proposal for recovery sequence.","operationId":"enqueue_recovery_recovery_enqueue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recovery/process":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Process Recovery","description":"Process recovery queue. Call this every 15 minutes.","operationId":"process_recovery_recovery_process_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/recovery/convert":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Mark Recovered","description":"Mark item as recovered (converted)","operationId":"mark_recovered_recovery_convert_post","parameters":[{"required":true,"schema":{"type":"string","title":"Recovery Id"},"name":"recovery_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recovery/stats":{"get":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Recovery Stats","description":"Get recovery statistics","operationId":"recovery_stats_recovery_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/experiments/create":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Create Experiment","description":"Create a new experiment","operationId":"create_experiment_experiments_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentConfig"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/experiments/record":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Record Experiment Result","description":"Record experiment result","operationId":"record_experiment_result_experiments_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"Exp Id"},"name":"exp_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Variant"},"name":"variant","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Success"},"name":"success","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/experiments/evaluate":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Evaluate Experiments","description":"Evaluate all running experiments.\nRetire losers, scale winners.","operationId":"evaluate_experiments_experiments_evaluate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/experiments/auto-create":{"post":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Auto Create Experiments","description":"Auto-create experiments for a segment.\nCall daily to maintain 10 experiments/segment.","operationId":"auto_create_experiments_experiments_auto_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Segment"},"name":"segment","in":"query"},{"required":false,"schema":{"type":"integer","title":"Count","default":10},"name":"count","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/experiments/dashboard":{"get":{"tags":["Profit Engine v98","Profit Engine v98"],"summary":"Experiments Dashboard","description":"Get experiments dashboard","operationId":"experiments_dashboard_experiments_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apcr/ingest-accounts":{"post":{"summary":"Apcr Ingest Endpoint","description":"H1: Ingest ad accounts for credit scanning","operationId":"apcr_ingest_endpoint_apcr_ingest_accounts_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apcr/scan-credits":{"post":{"summary":"Apcr Scan Endpoint","description":"H1: Scan for unused credits","operationId":"apcr_scan_endpoint_apcr_scan_credits_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apcr/deploy-credits":{"post":{"summary":"Apcr Deploy Endpoint","description":"H1: Deploy credits to highest EV SKUs","operationId":"apcr_deploy_endpoint_apcr_deploy_credits_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/reclaim/scan":{"post":{"summary":"Affiliate Scan Endpoint","description":"H2: Scan for broken affiliate links","operationId":"affiliate_scan_endpoint_affiliate_reclaim_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/reclaim/retag":{"post":{"summary":"Affiliate Retag Endpoint","description":"H2: Fix broken affiliate links","operationId":"affiliate_retag_endpoint_affiliate_reclaim_retag_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/reclaim/settle":{"post":{"summary":"Affiliate Settle Endpoint","description":"H2: Settle affiliate earnings","operationId":"affiliate_settle_endpoint_affiliate_reclaim_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/footprint/import":{"post":{"summary":"Saas Import Endpoint","description":"H3: Import SaaS footprint","operationId":"saas_import_endpoint_saas_footprint_import_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/optimize/rightsizing":{"post":{"summary":"Saas Optimize Endpoint","description":"H3: Generate SaaS optimization plan","operationId":"saas_optimize_endpoint_saas_optimize_rightsizing_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saas/recovery/settle":{"post":{"summary":"Saas Settle Endpoint","description":"H3: Settle SaaS cost recovery","operationId":"saas_settle_endpoint_saas_recovery_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seo/404/scan":{"post":{"summary":"Seo Scan Endpoint","description":"H4: Scan for high-traffic 404s","operationId":"seo_scan_endpoint_seo_404_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seo/404/patch":{"post":{"summary":"Seo Patch Endpoint","description":"H4: Patch 404 with lead magnet","operationId":"seo_patch_endpoint_seo_404_patch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/seo/404/revshare/bind":{"post":{"summary":"Seo Bind Endpoint","description":"H4: Bind revenue share for 404 patch","operationId":"seo_bind_endpoint_seo_404_revshare_bind_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/market/orphans/scan":{"post":{"summary":"Market Scan Endpoint","description":"H5: Scan for orphaned marketplace listings","operationId":"market_scan_endpoint_market_orphans_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/market/orphans/rehab":{"post":{"summary":"Market Rehab Endpoint","description":"H5: Rehabilitate listing","operationId":"market_rehab_endpoint_market_orphans_rehab_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/market/orphans/relist":{"post":{"summary":"Market Relist Endpoint","description":"H5: Relist rehabbed listing","operationId":"market_relist_endpoint_market_orphans_relist_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quota/ingest":{"post":{"summary":"Quota Ingest Endpoint","description":"H6: Ingest idle API quota","operationId":"quota_ingest_endpoint_quota_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quota/market/make":{"post":{"summary":"Quota Make Endpoint","description":"H6: Create IFX listing for quota","operationId":"quota_make_endpoint_quota_market_make_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quota/market/clear":{"post":{"summary":"Quota Clear Endpoint","description":"H6: Clear quota deal","operationId":"quota_clear_endpoint_quota_market_clear_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/label/ingest":{"post":{"summary":"Label Ingest Endpoint","description":"H7: Ingest dataset for labeling","operationId":"label_ingest_endpoint_label_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/label/run":{"post":{"summary":"Label Run Endpoint","description":"H7: Run AI-assisted labeling","operationId":"label_run_endpoint_label_run_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/label/settle":{"post":{"summary":"Label Settle Endpoint","description":"H7: Settle label bounty","operationId":"label_settle_endpoint_label_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/connect":{"post":{"summary":"Support Connect Endpoint","description":"H8: Connect support platform","operationId":"support_connect_endpoint_support_connect_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/autoresolve":{"post":{"summary":"Support Resolve Endpoint","description":"H8: Auto-resolve support tickets","operationId":"support_resolve_endpoint_support_autoresolve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/upsell":{"post":{"summary":"Support Upsell Endpoint","description":"H8: Identify upsell opportunities","operationId":"support_upsell_endpoint_support_upsell_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/grants/scan":{"post":{"summary":"Grants Scan Endpoint","description":"H9: Scan for grants","operationId":"grants_scan_endpoint_grants_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/grants/apply":{"post":{"summary":"Grants Apply Endpoint","description":"H9: Apply for grant","operationId":"grants_apply_endpoint_grants_apply_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/grants/settle":{"post":{"summary":"Grants Settle Endpoint","description":"H9: Settle grant","operationId":"grants_settle_endpoint_grants_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refunds/ingest":{"post":{"summary":"Refunds Ingest Endpoint","description":"H10: Ingest refund claims","operationId":"refunds_ingest_endpoint_refunds_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refunds/advance":{"post":{"summary":"Refunds Advance Endpoint","description":"H10: Advance refund","operationId":"refunds_advance_endpoint_refunds_advance_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refunds/recover":{"post":{"summary":"Refunds Recover Endpoint","description":"H10: Recover refund","operationId":"refunds_recover_endpoint_refunds_recover_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/domains/scan-expiries":{"post":{"summary":"Domains Scan Endpoint","description":"H11: Scan expiring domains","operationId":"domains_scan_endpoint_domains_scan_expiries_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/domains/acquire":{"post":{"summary":"Domains Acquire Endpoint","description":"H11: Acquire domain","operationId":"domains_acquire_endpoint_domains_acquire_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/domains/deploy-storefront":{"post":{"summary":"Domains Deploy Endpoint","description":"H11: Deploy storefront on domain","operationId":"domains_deploy_endpoint_domains_deploy_storefront_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/newsletter/connect":{"post":{"summary":"Newsletter Connect Endpoint","description":"H12: Connect newsletter platform","operationId":"newsletter_connect_endpoint_newsletter_connect_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/newsletter/revive":{"post":{"summary":"Newsletter Revive Endpoint","description":"H12: Revive dormant newsletter","operationId":"newsletter_revive_endpoint_newsletter_revive_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/newsletter/payout":{"post":{"summary":"Newsletter Payout Endpoint","description":"H12: Payout newsletter revenue","operationId":"newsletter_payout_endpoint_newsletter_payout_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/i18n/scan":{"post":{"summary":"I18N Scan Endpoint","description":"H13: Scan for translation gaps","operationId":"i18n_scan_endpoint_i18n_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/i18n/localize":{"post":{"summary":"I18N Localize Endpoint","description":"H13: Localize content","operationId":"i18n_localize_endpoint_i18n_localize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/i18n/publish":{"post":{"summary":"I18N Publish Endpoint","description":"H13: Publish translated content","operationId":"i18n_publish_endpoint_i18n_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/car/scout":{"post":{"summary":"Car Scout Endpoint","description":"H14: Scout compliance risks","operationId":"car_scout_endpoint_car_scout_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/car/fix":{"post":{"summary":"Car Fix Endpoint","description":"H14: Fix compliance risks","operationId":"car_fix_endpoint_car_fix_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/car/bounty/settle":{"post":{"summary":"Car Bounty Endpoint","description":"H14: Settle compliance bounty","operationId":"car_bounty_endpoint_car_bounty_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ip/rightsholder/onboard":{"post":{"summary":"Ip Onboard Endpoint","description":"H15: Onboard IP rightsholder","operationId":"ip_onboard_endpoint_ip_rightsholder_onboard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ip/syndicate":{"post":{"summary":"Ip Syndicate Endpoint","description":"H15: Syndicate content","operationId":"ip_syndicate_endpoint_ip_syndicate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ip/royalty/sweep":{"post":{"summary":"Ip Royalty Endpoint","description":"H15: Sweep IP royalties","operationId":"ip_royalty_endpoint_ip_royalty_sweep_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gap-harvesters/status":{"get":{"summary":"Gap Harvesters Status","description":"Master status for all gap harvesters","operationId":"gap_harvesters_status_gap_harvesters_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ifx/options/quote":{"post":{"summary":"Quote Option Endpoint","description":"V107 FIXED: Quote option with hard caps","operationId":"quote_option_endpoint_ifx_options_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/options/write":{"post":{"summary":"Write Option Endpoint","description":"V107 FIXED: Write option with idempotency","operationId":"write_option_endpoint_ifx_options_write_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/options/exercise":{"post":{"summary":"Exercise Option Endpoint","description":"V107 FIXED: Exercise option with validation","operationId":"exercise_option_endpoint_ifx_options_exercise_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clearinghouse/ingest":{"post":{"summary":"Ingest Intents Endpoint","description":"V108: Ingest bulk intents from marketplaces","operationId":"ingest_intents_endpoint_clearinghouse_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clearinghouse/quote-all":{"post":{"summary":"Quote Intents Endpoint","description":"V108: Quote all queued intents","operationId":"quote_intents_endpoint_clearinghouse_quote_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clearinghouse/route":{"post":{"summary":"Route Intents Endpoint","description":"V108: Route quoted intents to execution","operationId":"route_intents_endpoint_clearinghouse_route_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clearinghouse/queue":{"get":{"summary":"Get Clearinghouse Queue","description":"V108: Get clearinghouse queue status","operationId":"get_clearinghouse_queue_clearinghouse_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ore/publish-tranche":{"post":{"summary":"Publish Ore Endpoint","description":"V108: Publish reinsurance tranche","operationId":"publish_ore_endpoint_ore_publish_tranche_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ore/bind":{"post":{"summary":"Bind Ore Endpoint","description":"V108: Bind ORE tranche","operationId":"bind_ore_endpoint_ore_bind_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ore/orderbook":{"get":{"summary":"Get Ore Orderbook","description":"V108: Get ORE orderbook","operationId":"get_ore_orderbook_ore_orderbook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ipvault/mint-bundle-from-proof":{"post":{"summary":"Mint Ip Bundle Endpoint","description":"V108: Mint IP bundle from proof","operationId":"mint_ip_bundle_endpoint_ipvault_mint_bundle_from_proof_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/publish-bundle":{"post":{"summary":"Publish Ip Bundle Endpoint","description":"V108: Publish IP bundle to storefront","operationId":"publish_ip_bundle_endpoint_ipvault_publish_bundle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/bundles":{"get":{"summary":"Get Ip Bundles","description":"V108: Get IP bundles catalog","operationId":"get_ip_bundles_ipvault_bundles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bnpl/underwrite":{"post":{"summary":"Underwrite Bnpl Endpoint","description":"V108: Underwrite service BNPL","operationId":"underwrite_bnpl_endpoint_bnpl_underwrite_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bnpl/attach":{"post":{"summary":"Attach Bnpl Endpoint","description":"V108: Attach BNPL to contract","operationId":"attach_bnpl_endpoint_bnpl_attach_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bnpl/contracts":{"get":{"summary":"Get Bnpl Contracts","description":"V108: Get BNPL contracts","operationId":"get_bnpl_contracts_bnpl_contracts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/creator/onboard":{"post":{"summary":"Onboard Creator Endpoint","description":"V108: Onboard creator","operationId":"onboard_creator_endpoint_creator_onboard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/creator/assign-skus":{"post":{"summary":"Assign Skus Endpoint","description":"V108: Assign SKUs to creator","operationId":"assign_skus_endpoint_creator_assign_skus_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/creator/payout":{"post":{"summary":"Payout Creator Endpoint","description":"V108: Payout creator","operationId":"payout_creator_endpoint_creator_payout_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/creator/registry":{"get":{"summary":"Get Creator Registry","description":"V108: Get creator registry","operationId":"get_creator_registry_creator_registry_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/car/sdk/register":{"post":{"summary":"Register Car Client Endpoint","description":"V108: Register CAR SDK client","operationId":"register_car_client_endpoint_car_sdk_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/car/sdk/scan":{"post":{"summary":"Car Sdk Scan Endpoint","description":"V108: Run CAR scan for SDK client","operationId":"car_sdk_scan_endpoint_car_sdk_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/publish":{"post":{"summary":"Skills Publish","description":"Publish a skill cartridge (distilled playbook)","operationId":"skills_publish_skills_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/bill-usage":{"post":{"summary":"Bill Skill Endpoint","description":"V109: Bill skill usage","operationId":"bill_skill_endpoint_skills_bill_usage_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/marketplace":{"get":{"summary":"Get Skills Marketplace","description":"V109: Get skills marketplace","operationId":"get_skills_marketplace_skills_marketplace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/rfp/scan":{"post":{"summary":"Scan Rfps Endpoint","description":"V109: Scan public RFPs","operationId":"scan_rfps_endpoint_rfp_scan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfp/compose-bid":{"post":{"summary":"Compose Bid Endpoint","description":"V109: Compose RFP bid","operationId":"compose_bid_endpoint_rfp_compose_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfp/submit-bid":{"post":{"summary":"Submit Bid Endpoint","description":"V109: Submit RFP bid","operationId":"submit_bid_endpoint_rfp_submit_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfp/bond-bid":{"post":{"summary":"Bond Bid Endpoint","description":"V109: Bond RFP bid","operationId":"bond_bid_endpoint_rfp_bond_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfp/pipeline":{"get":{"summary":"Get Rfp Pipeline","description":"V109: Get RFP pipeline","operationId":"get_rfp_pipeline_rfp_pipeline_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/aan/campaign/create":{"post":{"summary":"Create Campaign Endpoint","description":"V109: Create ad campaign","operationId":"create_campaign_endpoint_aan_campaign_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aan/serve":{"post":{"summary":"Serve Ad Endpoint","description":"V109: Serve ad","operationId":"serve_ad_endpoint_aan_serve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aan/attribute":{"post":{"summary":"Attribute Conversion Endpoint","description":"V109: Attribute conversion","operationId":"attribute_conversion_endpoint_aan_attribute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aan/campaigns":{"get":{"summary":"Get Ad Campaigns","description":"V109: Get ad campaigns","operationId":"get_ad_campaigns_aan_campaigns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/index/create":{"post":{"summary":"Create Index Endpoint","description":"V109: Create outcome index","operationId":"create_index_endpoint_index_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/index/rebalance":{"post":{"summary":"Rebalance Index Endpoint","description":"V109: Rebalance index","operationId":"rebalance_index_endpoint_index_rebalance_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/index/subscribe":{"post":{"summary":"Subscribe Index Endpoint","description":"V109: Subscribe to index","operationId":"subscribe_index_endpoint_index_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/index/catalog":{"get":{"summary":"Get Index Catalog","description":"V109: Get index catalog","operationId":"get_index_catalog_index_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v107-v109/status":{"get":{"summary":"Complete Status","description":"Master status for all overlays","operationId":"complete_status_v107_v109_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/cash-ledger/summary":{"get":{"tags":["V97 Cash & Financial","V97 Cash & Financial"],"summary":"Get Cash Ledger Summary","description":"Get verified cash summary for the last N hours.\nThis is the PRIMARY endpoint for v97 Cash Heartbeat.\n\nIn production: Query Stripe API for actual settled transactions","operationId":"get_cash_ledger_summary_revenue_cash_ledger_summary_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Hours","default":6},"name":"hours","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/cash-ledger/record":{"post":{"tags":["V97 Cash & Financial","V97 Cash & Financial"],"summary":"Record Cash Entry","description":"Record a cash entry to the ledger","operationId":"record_cash_entry_revenue_cash_ledger_record_post","parameters":[{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"},{"required":false,"schema":{"type":"string","title":"Source","default":"stripe"},"name":"source","in":"query"},{"required":false,"schema":{"type":"string","title":"Reference Id"},"name":"reference_id","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Verified","default":false},"name":"verified","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/finance/stripe/payouts/scheduled":{"get":{"tags":["V97 Cash & Financial","V97 Cash & Financial"],"summary":"Get Scheduled Payouts","description":"Get scheduled Stripe payouts for the next N hours.","operationId":"get_scheduled_payouts_finance_stripe_payouts_scheduled_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Hours","default":24},"name":"hours","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/balance":{"get":{"tags":["V97 Cash & Financial","V97 Cash & Financial"],"summary":"Get Stripe Balance","description":"Get current Stripe balance","operationId":"get_stripe_balance_stripe_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/pipeline-value":{"get":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Get Pipeline Value","description":"Get total value of deals in pipeline","operationId":"get_pipeline_value_deals_pipeline_value_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/set-aggression":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Set Aggression","description":"Set aggression level for the entire system","operationId":"set_aggression_orchestrator_set_aggression_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AggressionConfig"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/aggression":{"get":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Get Aggression","description":"Get current aggression state","operationId":"get_aggression_orchestrator_aggression_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/boost-intensity":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Boost Intensity","description":"Temporarily boost system intensity","operationId":"boost_intensity_orchestrator_boost_intensity_post","parameters":[{"required":false,"schema":{"type":"number","title":"Bid Boost Pct","default":10},"name":"bid_boost_pct","in":"query"},{"required":false,"schema":{"type":"number","title":"Promo Boost Pct","default":15},"name":"promo_boost_pct","in":"query"},{"required":false,"schema":{"type":"integer","title":"Duration Minutes","default":60},"name":"duration_minutes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/mix-shift":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Mix Shift","description":"Shift resource allocation to top performers","operationId":"mix_shift_orchestrator_mix_shift_post","parameters":[{"required":false,"schema":{"type":"boolean","title":"Pause Bottom Decile","default":true},"name":"pause_bottom_decile","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Reallocate To Top Quartile","default":true},"name":"reallocate_to_top_quartile","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalog/flip-to-fast-skus":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Flip To Fast Skus","description":"Prioritize fast-converting SKUs","operationId":"flip_to_fast_skus_catalog_flip_to_fast_skus_post","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Sku Tags","default":["express","quickturn"]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/elasticity-stepdown":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Pricing Elasticity Stepdown","description":"Step down prices to drive volume","operationId":"pricing_elasticity_stepdown_pricing_elasticity_stepdown_post","parameters":[{"required":false,"schema":{"type":"string","title":"Channels","default":"auto"},"name":"channels","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"number"},"type":"array","title":"Steps","default":[-0.05,-0.1]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/retarget/reactivate-lapsed":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Reactivate Lapsed","description":"Reactivate lapsed customers","operationId":"reactivate_lapsed_retarget_reactivate_lapsed_post","parameters":[{"required":false,"schema":{"type":"integer","title":"Days","default":30},"name":"days","in":"query"},{"required":false,"schema":{"type":"integer","title":"Cap","default":500},"name":"cap","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform-recruitment/push":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Platform Recruitment Push","description":"Push recruitment burst to platforms","operationId":"platform_recruitment_push_platform_recruitment_push_post","parameters":[{"required":false,"schema":{"type":"boolean","title":"Burst","default":true},"name":"burst","in":"query"},{"required":false,"schema":{"type":"string","title":"Targets","default":"top"},"name":"targets","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/viral/emergency-blast":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Viral Emergency Blast","description":"Emergency social blast across all platforms","operationId":"viral_emergency_blast_viral_emergency_blast_post","parameters":[{"required":false,"schema":{"type":"boolean","title":"All Platforms","default":true},"name":"all_platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/mark-unprofitable":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Mark Unprofitable","description":"Mark low-margin opportunities as unprofitable","operationId":"mark_unprofitable_execution_mark_unprofitable_post","parameters":[{"required":false,"schema":{"type":"number","title":"Target Margin","default":0.25},"name":"target_margin","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/router/score-intent":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Score Intent","description":"Score an intent/opportunity by expected value.\nReturns EV, win probability, time to cash, and routing recommendation.","operationId":"score_intent_router_score_intent_post","parameters":[{"required":false,"schema":{"type":"string","title":"Idempotency-Key"},"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreIntentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreIntentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/router/route":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Route Intents","description":"Route queued intents to appropriate systems based on EV threshold","operationId":"route_intents_router_route_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/cac-aware":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Pricing Cac Aware","description":"Calculate bid price including true costs (LLM, image, CAC).\nEnsures margin target is met.","operationId":"pricing_cac_aware_pricing_cac_aware_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CACPriceIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upsell/recommend":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Upsell Recommend","description":"Recommend upsells based on current order","operationId":"upsell_recommend_upsell_recommend_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsellIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upsell/deploy":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Upsell Deploy","description":"Deploy upsell offer to the same channel as original order","operationId":"upsell_deploy_upsell_deploy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsellIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recovery/compose":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Recovery Compose","description":"Compose recovery message with guarantee + proof","operationId":"recovery_compose_recovery_compose_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryComposeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recovery/send":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Recovery Send","description":"Send recovery message via appropriate channel","operationId":"recovery_send_recovery_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryComposeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ltv/predict":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Ltv Predict","description":"Predict client lifetime value for routing prioritization","operationId":"ltv_predict_ltv_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTVIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portfolio/performance":{"get":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Portfolio Performance","description":"Get outcome scores by offer type","operationId":"portfolio_performance_portfolio_performance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portfolio/rebalance":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Portfolio Rebalance","description":"Rebalance discovery/bidding quotas based on performance","operationId":"portfolio_rebalance_portfolio_rebalance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebalanceIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/list":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Darkpool List","description":"List overflow lead in darkpool for partner matching","operationId":"darkpool_list_darkpool_list_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DarkpoolListIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/claim":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Darkpool Claim","description":"Claim a lead from the darkpool","operationId":"darkpool_claim_darkpool_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DarkpoolClaimIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/settle":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Darkpool Settle","description":"Settle a darkpool deal - calculate and log rev-share","operationId":"darkpool_settle_darkpool_settle_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DarkpoolSettleIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/testimonial/request":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Testimonial Request","description":"Request testimonial from client after successful delivery","operationId":"testimonial_request_proof_testimonial_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestimonialIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/badge/mint":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Proof Badge Mint","description":"Mint a verifiable proof badge for a completed deal","operationId":"proof_badge_mint_proof_badge_mint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestimonialIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/churn-risk":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Sub Churn Risk","description":"Calculate churn risk for a subscription","operationId":"sub_churn_risk_subscriptions_churn_risk_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubRiskIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/save-offer":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Sub Save Offer","description":"Generate personalized save offer for at-risk subscription","operationId":"sub_save_offer_subscriptions_save_offer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubRiskIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/shadow-generate":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Pricing Shadow Generate","description":"Generate shadow price candidates for A/B testing","operationId":"pricing_shadow_generate_pricing_shadow_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShadowGenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/shadow-assign":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Pricing Shadow Assign","description":"Assign cohort to shadow price (not shown until accepted)","operationId":"pricing_shadow_assign_pricing_shadow_assign_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShadowAssignIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partners/ingest-skus":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Partners Ingest","description":"Ingest partner SKUs to sell in your flow","operationId":"partners_ingest_partners_ingest_skus_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerIngestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partners/route-order":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Partners Route Order","description":"Route order to partner for fulfillment","operationId":"partners_route_order_partners_route_order_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerRouteOrderIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/circuit/open":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Orchestrator Circuit Open","description":"Open circuit breaker (stop calling failing service)","operationId":"orchestrator_circuit_open_orchestrator_circuit_open_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircuitIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/circuit/close":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Orchestrator Circuit Close","description":"Close circuit breaker (resume calling service)","operationId":"orchestrator_circuit_close_orchestrator_circuit_close_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircuitIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/circuits":{"get":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Orchestrator Circuits","description":"Get all circuit breaker states","operationId":"orchestrator_circuits_orchestrator_circuits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/retry-budget":{"post":{"tags":["Apex Upgrades","Apex Upgrades"],"summary":"Orchestrator Retry Budget","description":"Set retry budget for a route","operationId":"orchestrator_retry_budget_orchestrator_retry_budget_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryBudgetIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/verify/deliverable":{"post":{"tags":["Apex Upgrades"],"summary":"Api Verify Deliverable","description":"Verify a deliverable before buyer sees it.\n\nReturns verification score, pass/fail decision, and improvement suggestions.","operationId":"api_verify_deliverable_apex_upgrades_verify_deliverable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyDeliverableRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/verify/stats":{"get":{"tags":["Apex Upgrades"],"summary":"Api Verification Stats","description":"Get verification statistics.","operationId":"api_verification_stats_apex_upgrades_verify_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/upgrades/pricing/recommend":{"post":{"tags":["Apex Upgrades"],"summary":"Api Recommend Price","description":"Get intelligent price recommendation for a bid.\n\nConsiders market data, competition, demand, and learned patterns.","operationId":"api_recommend_price_apex_upgrades_pricing_recommend_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRecommendationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/pricing/bid-outcome":{"post":{"tags":["Apex Upgrades"],"summary":"Api Record Bid Outcome","description":"Record bid outcome for learning.\n\nImproves future price recommendations based on win/loss data.","operationId":"api_record_bid_outcome_apex_upgrades_pricing_bid_outcome_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidOutcomeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/pricing/stats":{"get":{"tags":["Apex Upgrades"],"summary":"Api Pricing Stats","description":"Get pricing autopilot statistics.","operationId":"api_pricing_stats_apex_upgrades_pricing_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/upgrades/success/predict":{"post":{"tags":["Apex Upgrades"],"summary":"Api Predict Success","description":"Predict user success likelihood.\n\nReturns success score, status, risk factors, and recommended interventions.","operationId":"api_predict_success_apex_upgrades_success_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictSuccessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/success/interventions":{"get":{"tags":["Apex Upgrades"],"summary":"Api Get Interventions","description":"Get users needing intervention.\n\nReturns at-risk users and pending interventions sorted by priority.","operationId":"api_get_interventions_apex_upgrades_success_interventions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/upgrades/success/stats":{"get":{"tags":["Apex Upgrades"],"summary":"Api Success Stats","description":"Get success predictor statistics.","operationId":"api_success_stats_apex_upgrades_success_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/upgrades/revenue/record":{"post":{"tags":["Apex Upgrades"],"summary":"Api Record Revenue","description":"Record revenue in the unified ledger.\n\nAutomatically calculates fees and tracks expected payout.","operationId":"api_record_revenue_apex_upgrades_revenue_record_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordRevenueRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/revenue/payout":{"post":{"tags":["Apex Upgrades"],"summary":"Api Record Payout","description":"Record a payout received.\n\nAutomatically reconciles with expected amount and detects discrepancies.","operationId":"api_record_payout_apex_upgrades_revenue_payout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordPayoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/revenue/report":{"get":{"tags":["Apex Upgrades"],"summary":"Api Revenue Report","description":"Get revenue reconciliation report.\n\nIncludes totals by source, reconciliation status, and discrepancies.","operationId":"api_revenue_report_apex_upgrades_revenue_report_get","parameters":[{"required":false,"schema":{"type":"string","title":"Start Date"},"name":"start_date","in":"query"},{"required":false,"schema":{"type":"string","title":"End Date"},"name":"end_date","in":"query"},{"required":false,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/revenue/user/{user_id}":{"get":{"tags":["Apex Upgrades"],"summary":"Api User Ledger","description":"Get ledger entries for a specific user.","operationId":"api_user_ledger_apex_upgrades_revenue_user__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/revenue/export":{"get":{"tags":["Apex Upgrades"],"summary":"Api Export Audit","description":"Export revenue data for audit purposes.","operationId":"api_export_audit_apex_upgrades_revenue_export_get","parameters":[{"required":false,"schema":{"type":"string","title":"Start Date"},"name":"start_date","in":"query"},{"required":false,"schema":{"type":"string","title":"End Date"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apex/upgrades/revenue/stats":{"get":{"tags":["Apex Upgrades"],"summary":"Api Reconciliation Stats","description":"Get reconciliation statistics.","operationId":"api_reconciliation_stats_apex_upgrades_revenue_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apex/upgrades/dashboard":{"get":{"summary":"Apex Upgrades Dashboard","description":"APEX Upgrades Dashboard for GitHub Actions\nShows verification, pricing, success prediction, reconciliation stats","operationId":"apex_upgrades_dashboard_apex_upgrades_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/queue":{"get":{"summary":"Ame Get Queue","description":"Get AME pitch queue for dashboard\nCalled by GXA.viewAutoSales()","operationId":"ame_get_queue_ame_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/stats":{"get":{"tags":["AME Auto-Sales"],"summary":"Api Get Stats","description":"Get AME performance statistics.","operationId":"api_get_stats_ame_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/approve/{pitch_id}":{"post":{"summary":"Ame Approve Pitch","description":"Approve and send a pitch\nCalled by GXA.approvePitch()","operationId":"ame_approve_pitch_ame_approve__pitch_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/skip/{pitch_id}":{"post":{"summary":"Ame Skip Pitch","description":"Skip/dismiss a pitch\nCalled by GXA.skipPitch()","operationId":"ame_skip_pitch_ame_skip__pitch_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/edit/{pitch_id}":{"post":{"summary":"Ame Edit Pitch","description":"Edit a pitch before sending — accepts message, subject, target, recipient\nCalled by GXA.editPitch() and GXA.savePitchEdit()","operationId":"ame_edit_pitch_ame_edit__pitch_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/pitch/{pitch_id}":{"get":{"summary":"Ame Get Pitch","description":"Get a single pitch details","operationId":"ame_get_pitch_ame_pitch__pitch_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/pitches":{"get":{"tags":["AME Auto-Sales"],"summary":"Api Get All Pitches","description":"Get all pitches with optional status filter.","operationId":"api_get_all_pitches_ame_pitches_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/track/{pitch_id}":{"post":{"tags":["AME Auto-Sales"],"summary":"Api Track Event","description":"Track pitch events (opened, clicked, responded, converted).","operationId":"api_track_event_ame_track__pitch_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/generate":{"post":{"summary":"Ame Generate Pitch","description":"Generate a new pitch (test or real)\nCalled by GXA.generateTestPitch()","operationId":"ame_generate_pitch_ame_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/generate-from-matches":{"post":{"tags":["AME Auto-Sales"],"summary":"Api Generate From Matches","description":"Bulk generate pitches from MetaBridge matches.","operationId":"api_generate_from_matches_ame_generate_from_matches_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/activity/record":{"post":{"summary":"Activity Record","description":"Record user activity and check for rewards","operationId":"activity_record_activity_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Activity Type","default":"login"},"name":"activity_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/activity/summary/{username}":{"get":{"summary":"Activity Summary","description":"Get activity summary for user","operationId":"activity_summary_activity_summary__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/referral/record":{"post":{"summary":"Referral Record","description":"Record a referral","operationId":"referral_record_referral_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"Referrer"},"name":"referrer","in":"query"},{"required":true,"schema":{"type":"string","title":"Referred"},"name":"referred","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/activity/process_all":{"post":{"summary":"Activity Process All","description":"Process all active users (admin only)","operationId":"activity_process_all_activity_process_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/{username}":{"get":{"summary":"Get User Dashboard","description":"Complete dashboard data for user\nReturns data in format expected by aigent0.html frontend\n\nFrontend expects:\n- tier_progression.lifetime_revenue, current_tier\n- revenue_stats.aigx_by_source\n- aigx_equity.aigx_balance\n- recent_activity[]","operationId":"get_user_dashboard_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leaderboard":{"get":{"summary":"Leaderboard Get","description":"Get leaderboard","operationId":"leaderboard_get_leaderboard_get","parameters":[{"required":false,"schema":{"type":"string","title":"Metric","default":"aigx"},"name":"metric","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/stats":{"get":{"summary":"Platform Stats Get","description":"Get platform-wide statistics","operationId":"platform_stats_get_platform_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/uol/summary":{"get":{"summary":"Uol Summary Get","description":"Get UoL summary for user.\n\nReturns total outcomes, UoO score, percentile, and breakdowns\nby archetype, difficulty, and value band.","operationId":"uol_summary_get_uol_summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uol/by_sku":{"get":{"summary":"Uol By Sku Get","description":"Get UoO breakdown by SKU (archetype).\n\nUseful for showing which types of work the user excels at.","operationId":"uol_by_sku_get_uol_by_sku_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uol/by_date":{"get":{"summary":"Uol By Date Get","description":"Get UoO over time (daily aggregates).\n\nUseful for charts showing outcome velocity.\nArgs:\n    days: Number of days to look back (default 30)","operationId":"uol_by_date_get_uol_by_date_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Days","default":30},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uol/export":{"get":{"summary":"Uol Export Get","description":"Export all PoO receipts with UoO metadata.\n\nArgs:\n    format: \"csv\" or \"json\" (default csv)","operationId":"uol_export_get_uol_export_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Format","default":"csv"},"name":"format","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/yield_statement":{"get":{"summary":"Revenue Yield Statement Get","description":"Get unified yield statement showing all revenue sources.\n\nReturns revenue breakdown by source (Shopify, Affiliate, Services, SaaS, etc.)\nwith percentages and totals.\n\nArgs:\n    period_days: Number of days to look back (default 30)","operationId":"revenue_yield_statement_get_revenue_yield_statement_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Period Days","default":30},"name":"period_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/by_rail":{"get":{"summary":"Revenue By Rail Get","description":"Get revenue breakdown by \"rail\" (source category).\n\nRails include: Services, SaaS, Affiliate, CPM, Shopify, Bundles, Chains, Other","operationId":"revenue_by_rail_get_revenue_by_rail_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/breakdown":{"get":{"summary":"Revenue Breakdown Get","description":"Get detailed revenue breakdown with trend analysis.\n\nIncludes:\n- Current period revenue\n- Previous period comparison\n- Growth rate\n- Trend status (growing/declining/stable)\n\nArgs:\n    period_days: Number of days for current period (default 30)","operationId":"revenue_breakdown_get_revenue_breakdown_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Period Days","default":30},"name":"period_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/explain":{"get":{"summary":"Pricing Explain Get","description":"Get pricing explanation for \"Why this price?\" modal.\n\nReturns:\n- Market analysis (similar deals, price range)\n- Agent's historical average\n- Price adjustments breakdown\n- Win probability\n- Confidence score\n\nArgs:\n    base_price: Recommended price to explain\n    agent: Agent username\n    intent_id: Optional intent ID\n    service_type: Type of service\n    buyer: Optional buyer username","operationId":"pricing_explain_get_pricing_explain_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"},{"required":false,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Service Type","default":"general"},"name":"service_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Buyer"},"name":"buyer","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/modes":{"get":{"summary":"Pricing Modes Get","description":"Get pricing breakdown for all delivery modes.\n\nReturns pricing for DIY (Do-It-Yourself), DWY (Done-With-You),\nand DFY (Done-For-You) delivery modes.\n\nArgs:\n    base_price: Base DFY (full service) price\n    modes: Comma-separated list of modes (default: all)\n    \nExample:\n    GET /pricing/modes?base_price=11500\n    \nReturns:\n    {\n      \"by_mode\": {\n        \"DIY\": {\"price\": 4200, \"savings_pct\": 64, ...},\n        \"DWY\": {\"price\": 6800, \"savings_pct\": 41, ...},\n        \"DFY\": {\"price\": 11500, \"savings_pct\": 0, ...}\n      }\n    }","operationId":"pricing_modes_get_pricing_modes_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":false,"schema":{"type":"string","title":"Modes","default":"DIY,DWY,DFY"},"name":"modes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/mode/calculate":{"get":{"summary":"Pricing Mode Calculate Get","description":"Calculate price for a specific delivery mode.\n\nArgs:\n    base_price: Base DFY price\n    mode: Delivery mode (DIY/DWY/DFY)\n    \nReturns:\n    Calculated price for the specified mode","operationId":"pricing_mode_calculate_get_pricing_mode_calculate_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Mode"},"name":"mode","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/mode/recommend":{"get":{"summary":"Pricing Mode Recommend Get","description":"Recommend optimal delivery mode based on buyer context.\n\nArgs:\n    buyer_budget: Buyer's maximum budget\n    buyer_experience: Experience level (beginner/intermediate/advanced)\n    buyer_time: Time availability (limited/moderate/abundant)\n    \nReturns:\n    Recommended mode with reasoning","operationId":"pricing_mode_recommend_get_pricing_mode_recommend_get","parameters":[{"required":true,"schema":{"type":"number","title":"Buyer Budget"},"name":"buyer_budget","in":"query"},{"required":false,"schema":{"type":"string","title":"Buyer Experience","default":"beginner"},"name":"buyer_experience","in":"query"},{"required":false,"schema":{"type":"string","title":"Buyer Time","default":"limited"},"name":"buyer_time","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/badges/user/{username}":{"get":{"summary":"Badges User Get","description":"Get all earned badges for a user.\n\nReturns badges, badge count, total points, and user stats.\n\nExample:\n    GET /badges/user/wade\n    \nReturns:\n    {\n      \"badges\": [...],\n      \"badge_count\": 8,\n      \"total_points\": 1235,\n      \"stats\": {...}\n    }","operationId":"badges_user_get_badges_user__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/badges/progress/{username}":{"get":{"summary":"Badges Progress Get","description":"Get progress toward earning locked badges.\n\nShows which badges user hasn't earned yet and how close they are.\n\nExample:\n    GET /badges/progress/wade\n    \nReturns:\n    {\n      \"locked_badges\": [\n        {\n          \"name\": \"Elite Producer\",\n          \"progress\": {\"verified_outcomes\": {\"current\": 75, \"required\": 100}},\n          \"overall_progress\": 75.0\n        }\n      ]\n    }","operationId":"badges_progress_get_badges_progress__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/badges/catalog":{"get":{"summary":"Badges Catalog Get","description":"Get complete badge catalog.\n\nReturns all available badges with criteria and rewards.\n\nExample:\n    GET /badges/catalog\n    \nReturns:\n    {\n      \"badges\": [...],\n      \"total_badges\": 17,\n      \"tiers\": [\"bronze\", \"silver\", \"gold\", \"platinum\"]\n    }","operationId":"badges_catalog_get_badges_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/badges/info/{badge_id}":{"get":{"summary":"Badge Info Get","description":"Get details for a specific badge.\n\nArgs:\n    badge_id: Badge identifier (e.g., \"first_outcome\", \"uoo_100\")\n    \nReturns:\n    Badge definition with criteria and rewards","operationId":"badge_info_get_badges_info__badge_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Badge Id"},"name":"badge_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social_proof/{username}":{"get":{"summary":"Social Proof Get","description":"Get social proof signals for a user.\n\nIncludes:\n- Badges earned\n- Verification status\n- Rating/outcome score\n- Portfolio highlights\n- Trust signals\n\nUsed to display trust indicators on profiles and proposals.\n\nExample:\n    GET /social_proof/wade\n    \nReturns:\n    {\n      \"verification_level\": \"elite\",\n      \"rating\": {\"stars\": 4.3, \"outcome_score\": 86},\n      \"badges\": {\"count\": 8, \"top_tier\": \"gold\"},\n      \"portfolio_highlights\": [...],\n      \"trust_signals\": [...]\n    }","operationId":"social_proof_get_social_proof__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/credit_score/{username}":{"get":{"summary":"Ocl Credit Score Get","description":"Get UoO-based credit score for user.\n\nCredit score: 300-850 (FICO-like scale)\nBased on: UoO (40%), verification rate (30%), revenue (20%), account age (10%)\n\nReturns:\n    {\n      \"credit_score\": 720,\n      \"tier\": \"good\",\n      \"max_loan_amount\": 25000,\n      \"components\": {...}\n    }","operationId":"ocl_credit_score_get_ocl_credit_score__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loan_offer/create":{"post":{"summary":"Ocl Loan Offer Create Post","description":"Create loan offer (lender stakes capital).\n\nArgs:\n    lender_username: Username of lender\n    amount: Amount to lend\n    interest_rate: Annual interest rate (e.g., 12.0 for 12%)\n    duration_days: Loan duration\n    min_credit_score: Minimum credit score required","operationId":"ocl_loan_offer_create_post_ocl_loan_offer_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Lender Username"},"name":"lender_username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"},{"required":true,"schema":{"type":"number","title":"Interest Rate"},"name":"interest_rate","in":"query"},{"required":true,"schema":{"type":"integer","title":"Duration Days"},"name":"duration_days","in":"query"},{"required":false,"schema":{"type":"integer","title":"Min Credit Score","default":600},"name":"min_credit_score","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loan_request/create":{"post":{"summary":"Ocl Loan Request Create Post","description":"Create loan request (borrower seeks capital).\n\nAuto-matches with available loan offers.\n\nArgs:\n    borrower_username: Username of borrower\n    amount: Amount needed\n    purpose: Loan purpose\n    duration_days: Desired duration","operationId":"ocl_loan_request_create_post_ocl_loan_request_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Borrower Username"},"name":"borrower_username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"},{"required":true,"schema":{"type":"string","title":"Purpose"},"name":"purpose","in":"query"},{"required":false,"schema":{"type":"integer","title":"Duration Days","default":30},"name":"duration_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loan/accept":{"post":{"summary":"Ocl Loan Accept Post","description":"Accept loan offer (complete the loan).\n\nTransfers funds and creates active loan.","operationId":"ocl_loan_accept_post_ocl_loan_accept_post","parameters":[{"required":true,"schema":{"type":"string","title":"Request Id"},"name":"request_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loan/payment":{"post":{"summary":"Ocl Loan Payment Post","description":"Make payment toward loan.","operationId":"ocl_loan_payment_post_ocl_loan_payment_post","parameters":[{"required":true,"schema":{"type":"string","title":"Loan Id"},"name":"loan_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Payment Amount"},"name":"payment_amount","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loan/auto_repay":{"post":{"summary":"Ocl Loan Auto Repay Post","description":"Auto-repay loans from earnings.\n\nDefault: 50% of earnings go to loan repayment.","operationId":"ocl_loan_auto_repay_post_ocl_loan_auto_repay_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Earnings Amount"},"name":"earnings_amount","in":"query"},{"required":false,"schema":{"type":"number","title":"Repayment Percentage","default":0.5},"name":"repayment_percentage","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loans/active/{username}":{"get":{"summary":"Ocl Loans Active Get","description":"Get active loans for user.\n\nArgs:\n    username: User to query\n    role: \"borrower\" or \"lender\"","operationId":"ocl_loans_active_get_ocl_loans_active__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"string","title":"Role","default":"borrower"},"name":"role","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/loans/history/{username}":{"get":{"summary":"Ocl Loans History Get","description":"Get complete loan history for user.\n\nReturns loans as both borrower and lender.","operationId":"ocl_loans_history_get_ocl_loans_history__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/offers/available":{"get":{"summary":"Ocl Offers Available Get","description":"List all available loan offers in marketplace.\n\nArgs:\n    min_amount: Minimum loan amount\n    max_interest: Maximum interest rate","operationId":"ocl_offers_available_get_ocl_offers_available_get","parameters":[{"required":false,"schema":{"type":"number","title":"Min Amount","default":0},"name":"min_amount","in":"query"},{"required":false,"schema":{"type":"number","title":"Max Interest","default":100},"name":"max_interest","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/access/{username}":{"get":{"summary":"Dark Pool Access Get","description":"Check user's dark pool access level based on UoO score.\n\nReturns:\n    {\n      \"current_tier\": \"gold\",\n      \"access_level\": \"premium\",\n      \"can_access_dark_pool\": true,\n      \"deal_value_range\": {\"min\": 5000, \"max\": 20000},\n      \"next_tier\": \"platinum\",\n      \"uoo_needed_for_next_tier\": 80\n    }","operationId":"dark_pool_access_get_dark_pool_access__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/qualify":{"get":{"summary":"Dark Pool Qualify Get","description":"Check if user qualifies for specific dark pool intent.\n\nArgs:\n    username: Agent username\n    intent_value: Deal value of intent\n    \nReturns qualification status and requirements.","operationId":"dark_pool_qualify_get_dark_pool_qualify_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Intent Value"},"name":"intent_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/auction/create":{"post":{"summary":"Dark Pool Auction Create Post","description":"Create premium dark pool auction.\n\nArgs:\n    intent: Intent to auction\n    min_uoo_required: Minimum UoO to participate (default: 200)\n    min_reputation_tier: Minimum reputation tier (default: gold)\n    auction_duration_hours: Duration in hours (default: 48)","operationId":"dark_pool_auction_create_post_dark_pool_auction_create_post","parameters":[{"required":false,"schema":{"type":"number","title":"Min Uoo Required","default":200},"name":"min_uoo_required","in":"query"},{"required":false,"schema":{"type":"string","title":"Min Reputation Tier","default":"gold"},"name":"min_reputation_tier","in":"query"},{"required":false,"schema":{"type":"integer","title":"Auction Duration Hours","default":48},"name":"auction_duration_hours","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Intent"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/bid/submit":{"post":{"summary":"Dark Pool Bid Submit Post","description":"Submit bid to premium dark pool auction.\n\nIncludes automatic qualification checks.","operationId":"dark_pool_bid_submit_post_dark_pool_bid_submit_post","parameters":[{"required":true,"schema":{"type":"number","title":"Bid Amount"},"name":"bid_amount","in":"query"},{"required":true,"schema":{"type":"integer","title":"Delivery Hours"},"name":"delivery_hours","in":"query"},{"required":false,"schema":{"type":"string","title":"Proposal Summary","default":""},"name":"proposal_summary","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_dark_pool_bid_submit_post_dark_pool_bid_submit_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/leaderboard":{"get":{"summary":"Dark Pool Leaderboard Get","description":"Get dark pool leaderboard of top performers.\n\nArgs:\n    limit: Number of top performers to return (default: 10)","operationId":"dark_pool_leaderboard_get_dark_pool_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dark_pool/unlock/{username}":{"get":{"summary":"Dark Pool Unlock Get","description":"Check if user has unlocked dark pool access.\n\nReturns milestone status and badge if earned.","operationId":"dark_pool_unlock_get_dark_pool_unlock__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/create":{"post":{"summary":"Subscription Create Post","description":"Create a new outcome subscription.\n\nArgs:\n    username: User's username\n    tier: bronze/silver/gold/platinum\n    billing_cycle: monthly or annual\n    stripe_subscription_id: Stripe subscription ID (optional)\n\nReturns:\n    Subscription object with credits allocated","operationId":"subscription_create_post_subscriptions_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"},{"required":false,"schema":{"type":"string","title":"Billing Cycle","default":"monthly"},"name":"billing_cycle","in":"query"},{"required":false,"schema":{"type":"string","title":"Stripe Subscription Id"},"name":"stripe_subscription_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/status/{username}":{"get":{"summary":"Subscription Status Get","description":"Get user's subscription status.\n\nReturns:\n    Current subscription, credits, billing info","operationId":"subscription_status_get_subscriptions_status__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/use_credit":{"post":{"summary":"Subscription Use Credit Post","description":"Use subscription credit(s) for an intent.\n\nArgs:\n    username: User's username\n    intent_id: Intent ID being funded\n    credits_to_use: Number of credits (default 1)\n\nReturns:\n    Usage record and updated credit balance","operationId":"subscription_use_credit_post_subscriptions_use_credit_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":false,"schema":{"type":"integer","title":"Credits To Use","default":1},"name":"credits_to_use","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/cancel":{"post":{"summary":"Subscription Cancel Post","description":"Cancel a subscription.\n\nArgs:\n    subscription_id: Subscription ID\n    immediate: Cancel now (true) or at period end (false)\n\nReturns:\n    Cancellation confirmation","operationId":"subscription_cancel_post_subscriptions_cancel_post","parameters":[{"required":true,"schema":{"type":"string","title":"Subscription Id"},"name":"subscription_id","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Immediate","default":false},"name":"immediate","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/tiers":{"get":{"summary":"Subscriptions List Tiers","description":"List all available subscription tiers with pricing and features.","operationId":"subscriptions_list_tiers_subscriptions_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/savings":{"get":{"summary":"Subscription Savings Get","description":"Calculate savings for a subscription tier.\n\nArgs:\n    tier: bronze/silver/gold/platinum\n    billing_cycle: monthly or annual\n\nReturns:\n    Savings vs one-time purchase pricing","operationId":"subscription_savings_get_subscriptions_savings_get","parameters":[{"required":true,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"},{"required":false,"schema":{"type":"string","title":"Billing Cycle","default":"monthly"},"name":"billing_cycle","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/priority/{username}":{"get":{"summary":"Subscription Priority Get","description":"Check subscriber priority queue status.\n\nReturns:\n    Priority level and tier info","operationId":"subscription_priority_get_subscriptions_priority__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/history/{username}":{"get":{"summary":"Subscription History Get","description":"Get user's complete subscription history.\n\nReturns:\n    All subscriptions, usage, and totals","operationId":"subscription_history_get_subscriptions_history__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/mrr":{"get":{"summary":"Subscription Mrr Get","description":"Calculate Monthly Recurring Revenue.\n\nAdmin endpoint for business metrics.\n\nReturns:\n    MRR, ARR, subscriber counts by tier","operationId":"subscription_mrr_get_subscriptions_mrr_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/warranties/create":{"post":{"summary":"Warranty Create Post","description":"Create a warranty offer for an outcome.\n\nArgs:\n    agent_username: Agent offering warranty\n    warranty_type: money_back_100, unlimited_revisions, etc\n    outcome_price: Price of outcome being warranted\n    custom_terms: Optional custom terms\n\nReturns:\n    Warranty with bond requirement","operationId":"warranty_create_post_warranties_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Username"},"name":"agent_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Warranty Type"},"name":"warranty_type","in":"query"},{"required":true,"schema":{"type":"number","title":"Outcome Price"},"name":"outcome_price","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Custom Terms"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/stake_bond":{"post":{"summary":"Warranty Stake Bond Post","description":"Stake warranty bond to activate warranty.\n\nArgs:\n    warranty_id: Warranty ID\n    agent_username: Agent staking bond\n    amount: Bond amount\n    payment_method: Payment method\n\nReturns:\n    Bond staking confirmation","operationId":"warranty_stake_bond_post_warranties_stake_bond_post","parameters":[{"required":true,"schema":{"type":"string","title":"Warranty Id"},"name":"warranty_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Agent Username"},"name":"agent_username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"},{"required":false,"schema":{"type":"string","title":"Payment Method","default":"stripe"},"name":"payment_method","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/claim":{"post":{"summary":"Warranty Claim Post","description":"File a warranty claim.\n\nArgs:\n    buyer_username: Buyer filing claim\n    outcome_id: Outcome ID\n    warranty_id: Warranty ID\n    claim_reason: Reason for claim\n    evidence: Supporting evidence\n    desired_resolution: refund or revision\n\nReturns:\n    Claim record","operationId":"warranty_claim_post_warranties_claim_post","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Username"},"name":"buyer_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Warranty Id"},"name":"warranty_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Claim Reason"},"name":"claim_reason","in":"query"},{"required":false,"schema":{"type":"string","title":"Evidence"},"name":"evidence","in":"query"},{"required":false,"schema":{"type":"string","title":"Desired Resolution","default":"refund"},"name":"desired_resolution","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/claim/process":{"post":{"summary":"Warranty Claim Process Post","description":"Process (approve/deny) a warranty claim.\n\nAdmin endpoint.\n\nArgs:\n    claim_id: Claim ID\n    approved: True to approve, False to deny\n    reviewer: Reviewer username\n    review_notes: Review notes\n\nReturns:\n    Claim processing result with refund/bond info","operationId":"warranty_claim_process_post_warranties_claim_process_post","parameters":[{"required":true,"schema":{"type":"string","title":"Claim Id"},"name":"claim_id","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Approved"},"name":"approved","in":"query"},{"required":false,"schema":{"type":"string","title":"Reviewer","default":"aigentsy_admin"},"name":"reviewer","in":"query"},{"required":false,"schema":{"type":"string","title":"Review Notes"},"name":"review_notes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/revision/request":{"post":{"summary":"Warranty Revision Request Post","description":"Request a revision under warranty.\n\nArgs:\n    buyer_username: Buyer requesting\n    outcome_id: Outcome ID\n    warranty_id: Warranty ID\n    revision_feedback: Feedback for revision\n    revision_details: Detailed requirements\n\nReturns:\n    Revision request with SLA deadline","operationId":"warranty_revision_request_post_warranties_revision_request_post","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Username"},"name":"buyer_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Warranty Id"},"name":"warranty_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Revision Feedback"},"name":"revision_feedback","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Revision Details"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/revision/deliver":{"post":{"summary":"Warranty Revision Deliver Post","description":"Agent delivers a revision.\n\nArgs:\n    agent_username: Agent delivering\n    revision_id: Revision request ID\n    revised_outcome: Revised outcome data\n    revision_notes: Notes about revision\n\nReturns:\n    Delivery confirmation with SLA status","operationId":"warranty_revision_deliver_post_warranties_revision_deliver_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Username"},"name":"agent_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Revision Id"},"name":"revision_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Revision Notes"},"name":"revision_notes","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Revised Outcome"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/terms/{warranty_id}":{"get":{"summary":"Warranty Terms Get","description":"Get warranty terms and details.\n\nReturns:\n    Complete warranty information","operationId":"warranty_terms_get_warranties_terms__warranty_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Warranty Id"},"name":"warranty_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/agent/{username}":{"get":{"summary":"Warranty Agent Get","description":"Get all warranties offered by an agent.\n\nReturns:\n    Agent's warranties, bonds, claims","operationId":"warranty_agent_get_warranties_agent__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/types":{"get":{"summary":"Warranty Types Get","description":"Get all available warranty types.\n\nReturns:\n    Warranty types with terms and bond requirements","operationId":"warranty_types_get_warranties_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/warranties/calculate_bond":{"get":{"summary":"Warranty Calculate Bond Get","description":"Calculate bond requirement for warranty.\n\nArgs:\n    warranty_type: Type of warranty\n    outcome_price: Outcome price\n\nReturns:\n    Bond calculation details","operationId":"warranty_calculate_bond_get_warranties_calculate_bond_get","parameters":[{"required":true,"schema":{"type":"string","title":"Warranty Type"},"name":"warranty_type","in":"query"},{"required":true,"schema":{"type":"number","title":"Outcome Price"},"name":"outcome_price","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/warranties/buyer_claims/{username}":{"get":{"summary":"Warranty Buyer Claims Get","description":"Get all claims filed by a buyer.\n\nReturns:\n    Buyer's claim history and refunds","operationId":"warranty_buyer_claims_get_warranties_buyer_claims__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/tiers":{"get":{"summary":"Get Slo Tiers","description":"Get all available SLO tiers","operationId":"get_slo_tiers_slo_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/pricing":{"get":{"summary":"Slo Pricing Get","description":"Calculate SLO pricing breakdown.\n\nArgs:\n    base_price: Base outcome price\n    tier: SLO tier (express/premium/standard/economy)\n\nReturns:\n    Detailed pricing breakdown","operationId":"slo_pricing_get_slo_pricing_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/compare":{"get":{"summary":"Slo Compare Get","description":"Compare all SLO tiers for a base price.\n\nArgs:\n    base_price: Base outcome price\n\nReturns:\n    Comparison table of all tiers","operationId":"slo_compare_get_slo_compare_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/status/{contract_id}":{"get":{"summary":"Slo Status Get","description":"Get SLO contract status.\n\nReturns:\n    Contract status with timeline and metrics","operationId":"slo_status_get_slo_status__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/agent_dashboard/{username}":{"get":{"summary":"Slo Agent Dashboard Get","description":"Get agent's SLO performance dashboard.\n\nReturns:\n    Performance metrics and active contracts","operationId":"slo_agent_dashboard_get_slo_agent_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/buyer_dashboard/{username}":{"get":{"summary":"Slo Buyer Dashboard Get","description":"Get buyer's SLO contracts dashboard.\n\nReturns:\n    Active contracts and protection status","operationId":"slo_buyer_dashboard_get_slo_buyer_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/recommend":{"get":{"summary":"Slo Recommend Get","description":"Get SLO tier recommendation.\n\nArgs:\n    urgency: low/medium/high/critical\n    budget_flexible: Can pay premium\n    quality_priority: Prioritize quality over speed\n\nReturns:\n    Recommended tier with reasoning","operationId":"slo_recommend_get_slo_recommend_get","parameters":[{"required":false,"schema":{"type":"string","title":"Urgency","default":"medium"},"name":"urgency","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Budget Flexible","default":true},"name":"budget_flexible","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Quality Priority","default":true},"name":"quality_priority","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/activate":{"post":{"summary":"Booster Activate Post","description":"Activate a booster for a user.\n\nArgs:\n    username: User's username\n    booster_type: Type of booster\n    source: How triggered (automatic/referral/purchase)\n    metadata: Additional metadata\n\nReturns:\n    Activated booster","operationId":"booster_activate_post_boosters_activate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Booster Type"},"name":"booster_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Source","default":"automatic"},"name":"source","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Metadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/active/{username}":{"get":{"summary":"Booster Active Get","description":"Get all active boosters for a user.\n\nReturns:\n    Active boosters with total multiplier","operationId":"booster_active_get_boosters_active__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/earnings":{"get":{"summary":"Booster Earnings Get","description":"Calculate boosted earnings.\n\nArgs:\n    base_amount: Base earnings\n    username: User's username\n    outcome_id: Outcome ID (for single-use boosters)\n\nReturns:\n    Boosted earnings breakdown","operationId":"booster_earnings_get_boosters_earnings_get","parameters":[{"required":true,"schema":{"type":"number","title":"Base Amount"},"name":"base_amount","in":"query"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/referral/track":{"post":{"summary":"Booster Referral Track Post","description":"Track a referral.\n\nArgs:\n    referrer_username: User who referred\n    referee_username: User who signed up\n    referral_code: Referral code used\n\nReturns:\n    Referral tracking confirmation","operationId":"booster_referral_track_post_boosters_referral_track_post","parameters":[{"required":true,"schema":{"type":"string","title":"Referrer Username"},"name":"referrer_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Referee Username"},"name":"referee_username","in":"query"},{"required":false,"schema":{"type":"string","title":"Referral Code"},"name":"referral_code","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/referral/milestone":{"post":{"summary":"Booster Referral Milestone Post","description":"Award referral milestone bonus.\n\nArgs:\n    referrer_username: Referrer\n    milestone: first_outcome/subscription\n    referee_username: Referee who hit milestone\n\nReturns:\n    Bonus award confirmation","operationId":"booster_referral_milestone_post_boosters_referral_milestone_post","parameters":[{"required":true,"schema":{"type":"string","title":"Referrer Username"},"name":"referrer_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Milestone"},"name":"milestone","in":"query"},{"required":true,"schema":{"type":"string","title":"Referee Username"},"name":"referee_username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/streak/check":{"post":{"summary":"Booster Streak Check Post","description":"Check and update activity streak.\n\nArgs:\n    username: User's username\n    last_active: ISO timestamp of last activity\n\nReturns:\n    Streak status and booster awards","operationId":"booster_streak_check_post_boosters_streak_check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Last Active"},"name":"last_active","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/purchase":{"post":{"summary":"Booster Purchase Post","description":"Purchase a power-up booster.\n\nArgs:\n    username: User purchasing\n    power_up_type: Type of power-up\n    payment_method: Payment method\n\nReturns:\n    Purchase confirmation","operationId":"booster_purchase_post_boosters_purchase_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Power Up Type"},"name":"power_up_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Payment Method","default":"stripe"},"name":"payment_method","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/available":{"get":{"summary":"Booster Available Get","description":"Get all available boosters.\n\nReturns:\n    Categorized list of boosters","operationId":"booster_available_get_boosters_available_get","parameters":[{"required":false,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/boosters/leaderboard":{"get":{"summary":"Booster Leaderboard Get","description":"Get booster leaderboard.\n\nArgs:\n    limit: Number of top users\n\nReturns:\n    Top boosted users","operationId":"booster_leaderboard_get_boosters_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/create":{"post":{"summary":"Pwp Create Post","description":"Create PWP contract.\n\nArgs:\n    buyer_username: Buyer deferring payment\n    agent_username: Agent receiving upfront\n    outcome_id: Outcome ID\n    outcome_price: Outcome price\n    pwp_plan: PWP plan type\n    outcome_type: Outcome type\n    metadata: Additional metadata\n\nReturns:\n    PWP contract","operationId":"pwp_create_post_pwp_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Username"},"name":"buyer_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Agent Username"},"name":"agent_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Outcome Price"},"name":"outcome_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Pwp Plan"},"name":"pwp_plan","in":"query"},{"required":false,"schema":{"type":"string","title":"Outcome Type","default":"marketing_campaign"},"name":"outcome_type","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Metadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/payment":{"post":{"summary":"Pwp Payment Post","description":"Record revenue payment.\n\nArgs:\n    contract_id: PWP contract ID\n    revenue_amount: Buyer's revenue\n    payment_source: Payment source\n    metadata: Payment metadata\n\nReturns:\n    Payment record","operationId":"pwp_payment_post_pwp_payment_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Revenue Amount"},"name":"revenue_amount","in":"query"},{"required":false,"schema":{"type":"string","title":"Payment Source","default":"stripe"},"name":"payment_source","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Metadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/status/{contract_id}":{"get":{"summary":"Pwp Status Get","description":"Get PWP contract status.\n\nReturns:\n    Contract status","operationId":"pwp_status_get_pwp_status__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/check_expiry/{contract_id}":{"get":{"summary":"Pwp Check Expiry Get","description":"Check contract expiry.\n\nReturns:\n    Expiry status","operationId":"pwp_check_expiry_get_pwp_check_expiry__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/pricing":{"get":{"summary":"Pwp Pricing Get","description":"Calculate PWP pricing.\n\nArgs:\n    outcome_price: Outcome price\n    pwp_plan: PWP plan\n    outcome_type: Outcome type\n\nReturns:\n    Pricing breakdown","operationId":"pwp_pricing_get_pwp_pricing_get","parameters":[{"required":true,"schema":{"type":"number","title":"Outcome Price"},"name":"outcome_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Pwp Plan"},"name":"pwp_plan","in":"query"},{"required":false,"schema":{"type":"string","title":"Outcome Type","default":"marketing_campaign"},"name":"outcome_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/buyer_dashboard/{username}":{"get":{"summary":"Pwp Buyer Dashboard Get","description":"Get buyer's PWP dashboard.\n\nReturns:\n    Buyer's contracts","operationId":"pwp_buyer_dashboard_get_pwp_buyer_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pwp/capital_pool":{"get":{"summary":"Pwp Capital Pool Get","description":"Get capital pool status.\n\nReturns:\n    Pool metrics","operationId":"pwp_capital_pool_get_pwp_capital_pool_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pwp/plans":{"get":{"summary":"Pwp Plans Get","description":"Get all PWP plans.\n\nReturns:\n    All available plans","operationId":"pwp_plans_get_pwp_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/franchise/template/create":{"post":{"summary":"Franchise Template Create Post","description":"Create franchisable template.\n\nArgs:\n    creator_username: Template creator\n    template_name: Template name\n    category: Template category\n    description: Description\n    base_price: Base outcome price\n    available_licenses: License types offered\n    metadata: Template files/instructions\n\nReturns:\n    Created template","operationId":"franchise_template_create_post_franchise_template_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Creator Username"},"name":"creator_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Template Name"},"name":"template_name","in":"query"},{"required":true,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"},{"required":true,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"},{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_franchise_template_create_post_franchise_template_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/license/purchase":{"post":{"summary":"Franchise License Purchase Post","description":"Purchase template license.\n\nArgs:\n    franchisee_username: Franchisee\n    template_id: Template to license\n    license_type: License type\n    territory: Geographic territory\n    niche: Industry niche\n\nReturns:\n    License agreement","operationId":"franchise_license_purchase_post_franchise_license_purchase_post","parameters":[{"required":true,"schema":{"type":"string","title":"Franchisee Username"},"name":"franchisee_username","in":"query"},{"required":true,"schema":{"type":"string","title":"Template Id"},"name":"template_id","in":"query"},{"required":true,"schema":{"type":"string","title":"License Type"},"name":"license_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Territory"},"name":"territory","in":"query"},{"required":false,"schema":{"type":"string","title":"Niche"},"name":"niche","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/outcome/record":{"post":{"summary":"Franchise Outcome Record Post","description":"Record franchise outcome.\n\nArgs:\n    license_id: Franchisee's license\n    outcome_id: Outcome delivered\n    revenue_amount: Revenue from outcome\n    buyer_username: Buyer\n\nReturns:\n    Revenue split","operationId":"franchise_outcome_record_post_franchise_outcome_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"License Id"},"name":"license_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Revenue Amount"},"name":"revenue_amount","in":"query"},{"required":true,"schema":{"type":"string","title":"Buyer Username"},"name":"buyer_username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/marketplace":{"get":{"summary":"Franchise Marketplace Get","description":"Get template marketplace.\n\nArgs:\n    category: Filter by category\n    sort_by: popular/revenue/recent/rating\n\nReturns:\n    Marketplace listings","operationId":"franchise_marketplace_get_franchise_marketplace_get","parameters":[{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"},{"required":false,"schema":{"type":"string","title":"Sort By","default":"popular"},"name":"sort_by","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/franchisee_dashboard/{username}":{"get":{"summary":"Franchise Franchisee Dashboard Get","description":"Get franchisee dashboard.\n\nReturns:\n    Franchisee's licenses and performance","operationId":"franchise_franchisee_dashboard_get_franchise_franchisee_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/creator_dashboard/{username}":{"get":{"summary":"Franchise Creator Dashboard Get","description":"Get creator dashboard.\n\nReturns:\n    Creator's templates and earnings","operationId":"franchise_creator_dashboard_get_franchise_creator_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/template/performance/{template_id}":{"get":{"summary":"Franchise Template Performance Get","description":"Get template performance.\n\nReturns:\n    Performance metrics","operationId":"franchise_template_performance_get_franchise_template_performance__template_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Template Id"},"name":"template_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/franchise/license_types":{"get":{"summary":"Franchise License Types Get","description":"Get all license types.\n\nReturns:\n    All available license types","operationId":"franchise_license_types_get_franchise_license_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/kit/activate/{username}":{"post":{"summary":"Activate Kit","description":"THE KEY ENDPOINT - Activates all 140+ systems\nTriggers template_integration_coordinator","operationId":"activate_kit_kit_activate__username__post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/opportunities/{username}":{"get":{"summary":"Get Kit Opportunities","description":"Get opportunities generated by kit activation","operationId":"get_kit_opportunities_kit_opportunities__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/analytics/{username}":{"get":{"summary":"Get Kit Analytics","description":"Get kit usage analytics","operationId":"get_kit_analytics_kit_analytics__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/complete/{username}":{"get":{"summary":"Dashboard Complete Get","description":"🆕 Get COMPLETE dashboard with all Growth Agent integrations","operationId":"dashboard_complete_get_api_dashboard_complete__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/discovery/stats/{username}":{"get":{"summary":"Api Discovery Stats","description":"Get Growth Agent discovery statistics","operationId":"api_discovery_stats_api_discovery_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunity/approve":{"post":{"summary":"Opportunity Approve Post","description":"🆕 Approve opportunity and earn AIGx","operationId":"opportunity_approve_post_api_opportunity_approve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/templates/{username}":{"get":{"summary":"Templates Get","description":"🆕 Get user's kit templates","operationId":"templates_get_api_templates__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/opportunities/{opportunity_id}/approve":{"post":{"summary":"Approve Opportunity Endpoint","description":"Approve an opportunity for execution\n\nBody: { \"username\": \"...\" }","operationId":"approve_opportunity_endpoint_opportunities__opportunity_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/opportunities/{opportunity_id}/status":{"get":{"summary":"Get Opportunity Status Endpoint","description":"Get status of a specific opportunity","operationId":"get_opportunity_status_endpoint_opportunities__opportunity_id__status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/opportunities":{"get":{"summary":"Api List Opportunities","description":"List user's opportunities with optional status filter","operationId":"api_list_opportunities_opportunities_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/actionize/deploy":{"post":{"tags":["actionization"],"summary":"Deploy Business","description":"Deploy live business from template\n\nThis is the main endpoint called when user clicks \"🚀 Publish Storefront\"\nin the GX Drawer.\n\nFlow:\n1. Get user data\n2. Determine template type\n3. Check if already deployed\n4. Deploy infrastructure (website, database, email, agents)\n5. Credit AIGx\n6. Record outcome\n7. Return URLs","operationId":"deploy_business_actionize_deploy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionizeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionizeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/actionize/status/{username}":{"get":{"tags":["actionization"],"summary":"Get Deployment Status","description":"Check if user has deployed business\n\nReturns deployment status, URLs, and template type","operationId":"get_deployment_status_actionize_status__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/actionize":{"post":{"tags":["actionization"],"summary":"Actionize Legacy","description":"Legacy endpoint for backwards compatibility\nMaps to /actionize/deploy","operationId":"actionize_legacy_actionize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/user/{username}/opportunities":{"get":{"tags":["execution"],"summary":"Get User Opportunities","description":"Get opportunities awaiting user approval\nUser sees these in their dashboard","operationId":"get_user_opportunities_execution_user__username__opportunities_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/user/{username}/approve/{opportunity_id}":{"post":{"tags":["execution"],"summary":"User Approve Opportunity","description":"User approves an opportunity\nTriggers execution pipeline","operationId":"user_approve_opportunity_execution_user__username__approve__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/user/{username}/decline/{opportunity_id}":{"post":{"tags":["execution"],"summary":"User Decline Opportunity","description":"User declines an opportunity","operationId":"user_decline_opportunity_execution_user__username__decline__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/wade/approval-queue":{"get":{"tags":["execution"],"summary":"Get Wade Approval Queue","description":"Get opportunities awaiting Wade's approval\nShows in Wade's dashboard","operationId":"get_wade_approval_queue_execution_wade_approval_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/wade/approve/{opportunity_id}":{"post":{"tags":["execution"],"summary":"Wade Approve Opportunity","description":"Wade approves AiGentsy-routed opportunity\n\n4-STAGE APPROVAL PROCESS (EXISTING - KEPT AS-IS):\n1. score_and_price - Initial approval\n2. engage - Approve engagement\n3. execute - Approve execution\n4. deliver - Approve delivery","operationId":"wade_approve_opportunity_execution_wade_approve__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/wade/bulk-execute":{"post":{"tags":["execution"],"summary":"Wade Bulk Execute","description":"✅ BULK EXECUTION - AUTOPILOT MODE\n\nExecutes multiple opportunities at once, firing V106-V112 for each!\n\nThis is the endpoint that makes money on autopilot!","operationId":"wade_bulk_execute_execution_wade_bulk_execute_post","parameters":[{"description":"Maximum number to execute","required":false,"schema":{"type":"integer","title":"Max Opportunities","description":"Maximum number to execute","default":10},"name":"max_opportunities","in":"query"},{"description":"Auto-approve all 4 stages","required":false,"schema":{"type":"boolean","title":"Auto Approve All","description":"Auto-approve all 4 stages","default":false},"name":"auto_approve_all","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/wade/reject/{opportunity_id}":{"post":{"tags":["execution"],"summary":"Wade Reject Opportunity","description":"Wade rejects an opportunity","operationId":"wade_reject_opportunity_execution_wade_reject__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/discover-and-route":{"post":{"summary":"Execution Discover And Route","description":"Route discovered opportunities to appropriate queues.\nCalled by GitHub Actions after discovery.\n\nSet auto_outreach=true to automatically send outreach for high-confidence\nopportunities (win_prob >= 0.8) via DirectOutreachEngine.","operationId":"execution_discover_and_route_execution_discover_and_route_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/status/{opportunity_id}":{"get":{"tags":["execution"],"summary":"Get Execution Status","description":"Get current execution status for an opportunity","operationId":"get_execution_status_execution_status__opportunity_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/stats":{"get":{"summary":"Execution Stats","description":"Execution statistics for GitHub Actions","operationId":"execution_stats_execution_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/revenue/stats":{"get":{"tags":["execution"],"summary":"Get Revenue Statistics","description":"NEW: Get revenue statistics from executions\nShows total revenue tracked, paid, pending","operationId":"get_revenue_statistics_execution_revenue_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/revenue/{execution_id}/mark-paid":{"post":{"tags":["execution"],"summary":"Mark Execution Paid","description":"NEW: Mark an execution as paid\nCalled when payment is confirmed","operationId":"mark_execution_paid_execution_revenue__execution_id__mark_paid_post","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Stripe Charge Id"},"name":"stripe_charge_id","in":"query"},{"required":false,"schema":{"type":"number","title":"Actual Amount"},"name":"actual_amount","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/revenue/reconcile":{"get":{"tags":["execution"],"summary":"Reconcile Revenue","description":"NEW: Reconcile revenue for a specific date\nCompares expected vs actual revenue","operationId":"reconcile_revenue_execution_revenue_reconcile_get","parameters":[{"description":"Date to reconcile (YYYY-MM-DD)","required":false,"schema":{"type":"string","title":"Date","description":"Date to reconcile (YYYY-MM-DD)"},"name":"date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/health":{"get":{"summary":"Execution Health","description":"Simple health check for GitHub Actions","operationId":"execution_health_execution_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/health/quick":{"get":{"tags":["execution"],"summary":"Quick Health","description":"NEW: Quick health check (just counts)\nFaster than full health check","operationId":"quick_health_execution_health_quick_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/hire":{"get":{"tags":["execution"],"summary":"Referral Landing","description":"REFERRAL PREVIEW GENERATOR\n\nWhen someone clicks /hire?ref=ABC123:\n1. Look up the referrer's last completed project\n2. Determine what kit/niche the referrer used\n3. Generate a sample preview matching that niche\n4. Return landing page with preview as social proof\n5. Track the referral click\n\nQuery params:\n    ref: Referral code (e.g., from referral link)\n    kit: Optional kit type override","operationId":"referral_landing_execution_hire_get","parameters":[{"description":"Referral code","required":false,"schema":{"type":"string","title":"Ref","description":"Referral code"},"name":"ref","in":"query"},{"description":"Kit/niche type","required":false,"schema":{"type":"string","title":"Kit","description":"Kit/niche type"},"name":"kit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/hire/convert":{"post":{"tags":["execution"],"summary":"Referral Convert","description":"Convert a referral visitor to a lead.\n\nCalled when visitor submits their info on the landing page.","operationId":"referral_convert_execution_hire_convert_post","parameters":[{"description":"Referral code","required":true,"schema":{"type":"string","title":"Ref","description":"Referral code"},"name":"ref","in":"query"},{"description":"Visitor email","required":true,"schema":{"type":"string","title":"Email","description":"Visitor email"},"name":"email","in":"query"},{"description":"Visitor name","required":false,"schema":{"type":"string","title":"Name","description":"Visitor name"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/discover-and-execute":{"post":{"summary":"Autonomous Discover And Execute","description":"Full autonomous discovery + execution cycle for GitHub Actions\n\nBody:\n{\n    \"auto_approve_user\": true,      # Auto-approve >60% win prob\n    \"auto_approve_aigentsy\": false, # Auto-approve >80% (Wade bypass)\n    \"max_executions\": 10,\n    \"min_win_probability\": 0.7\n}","operationId":"autonomous_discover_and_execute_autonomous_discover_and_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/discover-and-queue":{"post":{"summary":"Autonomous Discover And Queue","description":"Discovery only - queue for approval (no auto-execution)\nCalled by GitHub Actions for queue-only mode","operationId":"autonomous_discover_and_queue_autonomous_discover_and_queue_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/approval-queue":{"get":{"summary":"Autonomous Approval Queue","description":"Get pending approval queue for GitHub Actions","operationId":"autonomous_approval_queue_autonomous_approval_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/approve-for-autonomous/{opportunity_id}":{"post":{"tags":["autonomous_execution"],"summary":"Approve For Autonomous Execution","description":"Wade approves an opportunity to run AUTONOMOUSLY\n\nv2.0: Records outcome to AI Family for learning\n\nArgs:\n    opportunity_id: ID of opportunity\n    execute_now: If True, execute immediately; if False, just mark as approved","operationId":"approve_for_autonomous_execution_autonomous_approve_for_autonomous__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"},{"required":false,"schema":{"type":"boolean","title":"Execute Now","default":true},"name":"execute_now","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Approve For Autonomous Execution Autonomous Approve For Autonomous  Opportunity Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/record-execution-outcome":{"post":{"tags":["autonomous_execution"],"summary":"Record Execution Outcome","description":"v2.0 NEW: Record execution outcome for AI Family learning","operationId":"record_execution_outcome_autonomous_record_execution_outcome_post","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Success"},"name":"success","in":"query"},{"required":false,"schema":{"type":"number","title":"Revenue","default":0.0},"name":"revenue","in":"query"},{"required":false,"schema":{"type":"string","title":"Notes"},"name":"notes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Execution Outcome Autonomous Record Execution Outcome Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/enable-autonomous-for-type":{"post":{"tags":["autonomous_execution"],"summary":"Enable Autonomous For Opportunity Type","description":"Wade enables AUTONOMOUS mode for specific opportunity types\n\nExample: Enable autonomous for GitHub issues with >80% win prob and <$5K value\n\nArgs:\n    platform: Platform name (github, reddit, etc.)\n    opportunity_type: Type of opportunity\n    min_win_probability: Minimum win probability to auto-execute\n    max_value: Maximum value to auto-execute","operationId":"enable_autonomous_for_opportunity_type_autonomous_enable_autonomous_for_type_post","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"string","title":"Opportunity Type"},"name":"opportunity_type","in":"query"},{"required":false,"schema":{"type":"number","title":"Min Win Probability","default":0.8},"name":"min_win_probability","in":"query"},{"required":false,"schema":{"type":"number","title":"Max Value","default":5000},"name":"max_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Enable Autonomous For Opportunity Type Autonomous Enable Autonomous For Type Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/status/{execution_id}":{"get":{"tags":["autonomous_execution"],"summary":"Get Autonomous Execution Status","description":"Get status of an autonomous execution","operationId":"get_autonomous_execution_status_autonomous_status__execution_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/stats":{"get":{"summary":"Autonomous Stats","description":"Autonomous queue statistics for GitHub Actions","operationId":"autonomous_stats_autonomous_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/ai-family-stats":{"get":{"tags":["autonomous_execution"],"summary":"Get Ai Family Stats","description":"Get AI Family Brain statistics","operationId":"get_ai_family_stats_autonomous_ai_family_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/revenue/stats":{"get":{"tags":["autonomous_execution"],"summary":"Get Autonomous Revenue Stats","description":"Get revenue statistics from autonomous executions","operationId":"get_autonomous_revenue_stats_autonomous_revenue_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/revenue/{execution_id}/mark-paid":{"post":{"tags":["autonomous_execution"],"summary":"Mark Autonomous Execution Paid","description":"Mark an autonomous execution as paid","operationId":"mark_autonomous_execution_paid_autonomous_revenue__execution_id__mark_paid_post","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Stripe Charge Id"},"name":"stripe_charge_id","in":"query"},{"required":false,"schema":{"type":"number","title":"Actual Amount"},"name":"actual_amount","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/health":{"get":{"tags":["autonomous_execution"],"summary":"Autonomous System Health","description":"Full system health check","operationId":"autonomous_system_health_autonomous_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/health/quick":{"get":{"tags":["autonomous_execution"],"summary":"Autonomous Quick Health","description":"Quick health check","operationId":"autonomous_quick_health_autonomous_health_quick_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/test-execution":{"post":{"tags":["autonomous_execution"],"summary":"Test Autonomous Execution","description":"Test autonomous execution with a synthetic test opportunity","operationId":"test_autonomous_execution_autonomous_test_execution_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/access-panel/discover":{"post":{"tags":["Access Panel"],"summary":"Discover Opportunities","description":"Trigger opportunity discovery.\n\nStrategies:\n- perplexity_first: Use Perplexity AI as primary (recommended)\n- standard: Use all packs in parallel\n- scraping_only: Only use scraping packs\n\n- Enriches opportunities with scores\n- Routes for prioritization","operationId":"discover_opportunities_access_panel_discover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/opportunities":{"get":{"tags":["Access Panel"],"summary":"List Opportunities","description":"List discovered opportunities.\n\nSupports filtering by:\n- platform\n- routing tier\n- minimum routing score","operationId":"list_opportunities_access_panel_opportunities_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","default":0},"name":"offset","in":"query"},{"required":false,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"},{"required":false,"schema":{"type":"number","title":"Min Score"},"name":"min_score","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/opportunities/{opportunity_id}":{"get":{"tags":["Access Panel"],"summary":"Get Opportunity","description":"Get single opportunity by ID","operationId":"get_opportunity_access_panel_opportunities__opportunity_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/opportunities/{opportunity_id}/route":{"post":{"tags":["Access Panel"],"summary":"Route Opportunity","description":"Route/re-route single opportunity","operationId":"route_opportunity_access_panel_opportunities__opportunity_id__route_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/opportunities/{opportunity_id}/execute":{"post":{"tags":["Access Panel"],"summary":"Execute Opportunity","description":"Execute/act on opportunity","operationId":"execute_opportunity_access_panel_opportunities__opportunity_id__execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/enrich":{"post":{"tags":["Access Panel"],"summary":"Enrich Opportunities","description":"Enrich batch of opportunities","operationId":"enrich_opportunities_access_panel_enrich_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access-panel/stats":{"get":{"tags":["Access Panel"],"summary":"Get Stats","description":"Get Access Panel system stats","operationId":"get_stats_access_panel_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/access-panel/health":{"get":{"tags":["Access Panel"],"summary":"Health Check","description":"Access Panel health check","operationId":"health_check_access_panel_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/access-panel/debug/perplexity":{"get":{"tags":["Access Panel"],"summary":"Debug Perplexity","description":"Debug endpoint for Perplexity discovery issues","operationId":"debug_perplexity_access_panel_debug_perplexity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/stats":{"get":{"tags":["Integration"],"summary":"Get Integration Stats","description":"Get full system integration stats.\n\nReturns stats from all loaded systems:\n- Managers (discovery, execution, revenue)\n- Engines (35+)\n- Oracles (7)\n- Brain modules (12)\n- Agents (10+)\n- Fulfillment pipeline","operationId":"get_integration_stats_integration_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/health":{"get":{"tags":["Integration"],"summary":"Get Integration Health","description":"Full system health check.\n\nChecks all integration components.","operationId":"get_integration_health_integration_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/debug/perplexity":{"get":{"tags":["Integration"],"summary":"Debug Perplexity","description":"Debug endpoint to test Perplexity API directly.\n\n?full=true runs the full PerplexityFirstDiscovery pipeline (5 queries).\n?qi=0..7 runs a single specific query by index (bypasses rotation).\nDefault: single test query for API connectivity check.","operationId":"debug_perplexity_integration_debug_perplexity_get","parameters":[{"required":false,"schema":{"type":"boolean","title":"Full","default":false},"name":"full","in":"query"},{"required":false,"schema":{"type":"integer","title":"Qi","default":-1},"name":"qi","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/debug/alpha":{"get":{"tags":["Integration"],"summary":"Debug Alpha","description":"Debug endpoint to test AlphaDiscoveryEngine directly.\nShows raw structure + contact extraction.","operationId":"debug_alpha_integration_debug_alpha_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/debug/multi-source":{"get":{"tags":["Integration"],"summary":"Debug Multi Source","description":"Debug endpoint to check MultiSourceDiscovery configuration.\n\nShows which APIs are detected and available for discovery.","operationId":"debug_multi_source_integration_debug_multi_source_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/debug/twitter":{"get":{"tags":["Integration"],"summary":"Debug Twitter","description":"Debug endpoint to test Twitter API directly.\n\nTests Bearer Token authentication and search functionality.","operationId":"debug_twitter_integration_debug_twitter_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/debug/reddit":{"get":{"tags":["Integration"],"summary":"Debug Reddit","description":"Debug endpoint to test Reddit API directly.\n\nTests public JSON API access from Render servers.","operationId":"debug_reddit_integration_debug_reddit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/capacity":{"get":{"tags":["Integration"],"summary":"Get Capacity","description":"Get workforce capacity across all tiers.\n\nReturns:\n- Per-tier capacity (fabric, pdl, human)\n- Utilization percentages\n- Estimated wait times","operationId":"get_capacity_integration_capacity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/discover-and-execute":{"post":{"tags":["Integration"],"summary":"Discover And Execute Full Stack","description":"Full-stack pipeline: Discovery→Route→Contract→Fulfill.\n\nThis is the main autonomous execution endpoint.\n\nSteps:\n1. Discover opportunities (Perplexity-first)\n2. Enrich and route\n3. Generate SOW and escrow (if auto_contract)\n4. Create execution plan\n5. Dispatch to workforce (if auto_execute)","operationId":"discover_and_execute_full_stack_integration_discover_and_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FullStackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/create-contract":{"post":{"tags":["Integration"],"summary":"Create Contract","description":"Create SOW + Escrow for a single opportunity.\n\nReturns contract with:\n- SOW details\n- Milestone paylinks\n- Client room URL","operationId":"create_contract_integration_create_contract_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/release-milestone":{"post":{"tags":["Integration"],"summary":"Release Milestone","description":"Release milestone funds after QA gate passes.\n\nChecks:\n1. Contract exists\n2. Milestone is funded\n3. QA gate passed\n4. Releases funds","operationId":"release_milestone_integration_release_milestone_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneReleaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/client-room/{contract_id}":{"get":{"tags":["Integration"],"summary":"Get Client Room","description":"Get client room data for a contract.\n\nReturns all information needed for client-facing room:\n- Contract status\n- Milestone status and paylinks\n- SOW summary","operationId":"get_client_room_integration_client_room__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/execution/{execution_id}":{"get":{"tags":["Integration"],"summary":"Get Execution Result","description":"Get results of a full-stack execution","operationId":"get_execution_result_integration_execution__execution_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integration/customer-loop-status":{"get":{"tags":["Integration"],"summary":"Get Customer Loop Status","description":"Get customer loop wiring status.\n\nShows which outreach/presentation systems are configured\nand what's needed to close the customer loop.","operationId":"get_customer_loop_status_integration_customer_loop_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integration/wall-of-wins":{"get":{"tags":["Integration"],"summary":"Get Wall Of Wins","description":"Get Wall of Wins - completed contracts with real revenue.\n\nOnly shows contracts where:\n- Customer signed SOW\n- At least one milestone funded\n- Work delivered and approved","operationId":"get_wall_of_wins_integration_wall_of_wins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brain/apex/routes":{"get":{"tags":["Brain Overlay"],"summary":"List Apex Routes","operationId":"list_apex_routes_brain_apex_routes_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Top K","default":20},"name":"top_k","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/apex/publish":{"post":{"tags":["Brain Overlay"],"summary":"Publish Routes","operationId":"publish_routes_brain_apex_publish_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brain/apex/stats":{"get":{"tags":["Brain Overlay"],"summary":"Apex Stats","operationId":"apex_stats_brain_apex_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/qc/activity-log":{"get":{"tags":["QC Activity Log"],"summary":"Activity Log","operationId":"activity_log_qc_activity_log_get","parameters":[{"description":"Filter by event type","required":false,"schema":{"type":"string","title":"Type","description":"Filter by event type"},"name":"type","in":"query"},{"description":"Max events to return","required":false,"schema":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","description":"Max events to return","default":500},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qc/summary":{"get":{"tags":["QC Activity Log"],"summary":"Summary","operationId":"summary_qc_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/qc/test-email":{"post":{"tags":["QC Activity Log"],"summary":"Test Email","description":"Send a single test email using the current template. For QC review only.","operationId":"test_email_qc_test_email_post","parameters":[{"description":"Recipient email address","required":true,"schema":{"type":"string","title":"To","description":"Recipient email address"},"name":"to","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qc/preview-email":{"get":{"tags":["QC Activity Log"],"summary":"Preview Email","description":"Preview the full styled HTML email WITHOUT sending. For QC review.","operationId":"preview_email_qc_preview_email_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/emergency-stop":{"post":{"tags":["Admin Controls"],"summary":"Emergency Stop","description":"Immediately halt ALL autonomous operations. Checked at every cycle + email + post.","operationId":"emergency_stop_admin_emergency_stop_post","parameters":[{"required":false,"schema":{"type":"string","title":"Reason","default":"manual"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/resume":{"post":{"tags":["Admin Controls"],"summary":"Admin Resume","description":"Clear emergency stop and resume autonomous operations.","operationId":"admin_resume_admin_resume_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/emergency-status":{"get":{"tags":["Admin Controls"],"summary":"Emergency Status","operationId":"emergency_status_admin_emergency_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/health-pulse":{"get":{"tags":["Admin Controls"],"summary":"Health Pulse","description":"Single endpoint for monitoring: last cycle, email volume, error rate, spend.","operationId":"health_pulse_admin_health_pulse_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/hitl-queue":{"get":{"tags":["Admin Controls"],"summary":"Hitl Queue","description":"View opportunities queued for human review (confidence < threshold).","operationId":"hitl_queue_admin_hitl_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/hitl-approve/{index}":{"post":{"tags":["Admin Controls"],"summary":"Hitl Approve","description":"Approve a queued opportunity for execution.","operationId":"hitl_approve_admin_hitl_approve__index__post","parameters":[{"required":true,"schema":{"type":"integer","title":"Index"},"name":"index","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/hire":{"get":{"tags":["Admin Controls"],"summary":"Hire Landing","description":"Public endpoint: Describe your project, get matched with AI agents.","operationId":"hire_landing_admin_hire_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/hire/submit":{"post":{"tags":["Admin Controls"],"summary":"Hire Submit","description":"Submit a project. Feeds into discovery pipeline as an inbound opportunity.","operationId":"hire_submit_admin_hire_submit_post","parameters":[{"required":true,"schema":{"type":"string","title":"Project Title"},"name":"project_title","in":"query"},{"required":true,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"},{"required":false,"schema":{"type":"number","title":"Budget Usd","default":0},"name":"budget_usd","in":"query"},{"required":false,"schema":{"type":"string","title":"Urgency","default":"normal"},"name":"urgency","in":"query"},{"required":false,"schema":{"type":"string","title":"Category","default":"general"},"name":"category","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Email","default":""},"name":"contact_email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/register":{"post":{"tags":["A2A Settlement Protocol"],"summary":"Register Agent","description":"Register a new AI agent. Returns agent_id, API key, passport, and OCS tier.","operationId":"register_agent_protocol_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/discover":{"get":{"tags":["A2A Settlement Protocol"],"summary":"Discover Work","description":"Browse available work on OfferNet. Requires valid API key.","operationId":"discover_work_protocol_discover_get","parameters":[{"description":"Filter by SKU","required":false,"schema":{"type":"string","title":"Sku Id","description":"Filter by SKU"},"name":"sku_id","in":"query"},{"description":"Filter by required capability","required":false,"schema":{"type":"string","title":"Capability","description":"Filter by required capability"},"name":"capability","in":"query"},{"description":"Minimum price filter","required":false,"schema":{"type":"number","title":"Min Price","description":"Minimum price filter","default":0},"name":"min_price","in":"query"},{"description":"Maximum price filter","required":false,"schema":{"type":"number","title":"Max Price","description":"Maximum price filter","default":100000},"name":"max_price","in":"query"},{"description":"Max results","required":false,"schema":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Limit","description":"Max results","default":50},"name":"limit","in":"query"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/commit":{"post":{"tags":["A2A Settlement Protocol"],"summary":"Commit To Job","description":"Lock funds in escrow for a job. Places a bid on an OfferNet offer.","operationId":"commit_to_job_protocol_commit_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deliver":{"post":{"tags":["A2A Settlement Protocol"],"summary":"Submit Delivery","description":"Submit proof bundle for a committed job.","operationId":"submit_delivery_protocol_deliver_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/reputation/{agent_id}":{"get":{"tags":["A2A Settlement Protocol"],"summary":"Get Reputation","description":"Get OCS trust score and tier for any agent. Public endpoint.","operationId":"get_reputation_protocol_reputation__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/latest":{"get":{"tags":["Transparency Log"],"summary":"Latest Sth","description":"Get the latest signed tree head.","operationId":"latest_sth_protocol_merkle_latest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/info":{"get":{"tags":["A2A Settlement Protocol"],"summary":"Protocol Info","description":"Protocol metadata and statistics.","operationId":"protocol_info_protocol_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/agents/{agent_id}/revenue-audit":{"get":{"tags":["Deal Audit"],"summary":"Revenue Audit","description":"Revenue audit for a specific agent.","operationId":"revenue_audit_protocol_agents__agent_id__revenue_audit_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/capabilities/{agent_id}":{"get":{"tags":["Capability Declaration"],"summary":"Get Capabilities","description":"Get the capability manifest for an agent. Public endpoint.","operationId":"get_capabilities_protocol_capabilities__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/manifests":{"get":{"tags":["Capability Declaration"],"summary":"Get Manifests","description":"Get manifest history for an agent. Authenticated.","operationId":"get_manifests_protocol_agents__agent_id__manifests_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/skus":{"get":{"tags":["Capability Declaration"],"summary":"List Skus","description":"List all available SKUs with pricing and quality gates. Public.","operationId":"list_skus_protocol_skus_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/preflight":{"post":{"tags":["Capability Declaration"],"summary":"Run Preflight","description":"Check readiness for a SKU: missing inputs, connector availability, SLO pricing.","operationId":"run_preflight_protocol_preflight_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/birth":{"post":{"tags":["Agent Lifecycle"],"summary":"Birth Agent","description":"Register a new agent with full lifecycle initialization.","operationId":"birth_agent_protocol_agents_birth_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BirthRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/retire":{"post":{"tags":["Agent Lifecycle"],"summary":"Retire Agent","description":"Retire an agent — marks inactive, revokes passport.","operationId":"retire_agent_protocol_agents__agent_id__retire_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/migrate":{"post":{"tags":["Agent Lifecycle"],"summary":"Migrate Agent","description":"Migrate agent to new capabilities.","operationId":"migrate_agent_protocol_agents__agent_id__migrate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/graduate":{"post":{"tags":["Agent Lifecycle"],"summary":"Graduate Agent","description":"Graduate a SKU from incubating to graduated.","operationId":"graduate_agent_protocol_agents__agent_id__graduate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__lifecycle_api__get_lifecycle_router__<locals>__GraduateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/suspend":{"post":{"tags":["Agent Lifecycle"],"summary":"Suspend Agent","description":"Suspend an agent for risk/compliance reasons.","operationId":"suspend_agent_protocol_agents__agent_id__suspend_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuspendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/request-publish":{"post":{"tags":["Agent Lifecycle"],"summary":"Request Publish","description":"Request marketplace listing: DRAFT → PENDING_REVIEW.","operationId":"request_publish_protocol_agents__agent_id__request_publish_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/approve-publish":{"post":{"tags":["Agent Lifecycle"],"summary":"Approve Publish","description":"Approve marketplace listing: PENDING_REVIEW → PUBLISHED (admin).","operationId":"approve_publish_protocol_agents__agent_id__approve_publish_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/unlist":{"post":{"tags":["Agent Lifecycle"],"summary":"Unlist Agent","description":"Remove agent from marketplace: → DEPRECATED.","operationId":"unlist_agent_protocol_agents__agent_id__unlist_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/state":{"get":{"tags":["Agent Lifecycle"],"summary":"Get Agent State","description":"Get full agent state snapshot. Public endpoint.","operationId":"get_agent_state_protocol_agents__agent_id__state_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/subcontracts":{"get":{"tags":["Nested Subcontracting"],"summary":"List Subcontracts","description":"List all subcontracts for a parent deal.","operationId":"list_subcontracts_protocol_deals__deal_id__subcontracts_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Nested Subcontracting"],"summary":"Create Subcontract","description":"Create a subcontract under a parent deal.","operationId":"create_subcontract_protocol_deals__deal_id__subcontracts_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubcontractSpec"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/subcontracts/{subcontract_id}/bids":{"post":{"tags":["Nested Subcontracting"],"summary":"Bid On Subcontract","description":"Place a bid on a subcontract.","operationId":"bid_on_subcontract_protocol_subcontracts__subcontract_id__bids_post","parameters":[{"required":true,"schema":{"type":"string","title":"Subcontract Id"},"name":"subcontract_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidOnSubcontract"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/subcontracts/{subcontract_id}/award":{"post":{"tags":["Nested Subcontracting"],"summary":"Award Subcontract","description":"Award a subcontract to a winning bidder.","operationId":"award_subcontract_protocol_subcontracts__subcontract_id__award_post","parameters":[{"required":true,"schema":{"type":"string","title":"Subcontract Id"},"name":"subcontract_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardSubcontract"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/settlement/providers":{"get":{"tags":["Settlement Abstraction"],"summary":"List Providers","description":"List available settlement providers. Public endpoint.","operationId":"list_providers_protocol_settlement_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/payout-rails":{"get":{"tags":["Settlement Abstraction"],"summary":"Available Payout Rails","description":"Return only rails whose provider is active. Console uses this to populate dropdown.","operationId":"available_payout_rails_protocol_payout_rails_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/settle":{"post":{"tags":["Settlement Abstraction"],"summary":"Settle Payment","description":"Settle payment via chosen provider with deal_id tracking.","operationId":"settle_payment_protocol_settle_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__settlement_api__get_settlement_router__<locals>__SettlementRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/attribution":{"get":{"tags":["Settlement Abstraction"],"summary":"Get Deal Attribution","description":"Get full attribution chain for a deal: events + ledger + referrals + policy.","operationId":"get_deal_attribution_protocol_deals__deal_id__attribution_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/verify/providers":{"get":{"tags":["Verification Providers"],"summary":"List Verification Providers","operationId":"list_verification_providers_protocol_verify_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/verify/provider":{"post":{"tags":["Verification Providers"],"summary":"Verify With Provider","description":"Verify proof via provider. Emits PROOF_VERIFIED event on success.","operationId":"verify_with_provider_protocol_verify_provider_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__verification_provider__get_verification_router__<locals>__VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/verify/{deal_id}/receipt":{"get":{"tags":["Verification Providers"],"summary":"Get Verification Receipts","description":"Get all verification receipts for a deal.","operationId":"get_verification_receipts_protocol_verify__deal_id__receipt_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/{deal_id}":{"get":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Get Proof Bundle","description":"Get the full proof bundle for a deal.\n\nReturns all proofs, event chain, hash chain, and Merkle receipt\nassociated with this deal_id.","operationId":"get_proof_bundle_proof__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/{deal_id}/verify":{"get":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Verify Proof Bundle","description":"Cryptographic verification of a deal's proof bundle.\n\nVerifies:\n1. Hash chain integrity (each event's prev_event_hash is valid)\n2. Merkle inclusion proof (if available)\n3. Chain starts with OPPORTUNITY_FOUND (if events exist)","operationId":"verify_proof_bundle_proof__deal_id__verify_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/timeline":{"get":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Deal Timeline","description":"Enterprise confidence primitive: full deal timeline.\n\nReturns event stream + ledger summary + proof URL + current stage.","operationId":"deal_timeline_protocol_deals__deal_id__timeline_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proof-pack":{"post":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Create Proof Pack","description":"Create a standardized Proof Pack for a deal.\n\nThis is the canonical entry point for the Proof→Go→Pay loop.\nCreates the proof, enriches with vertical policy, emits PROOF_READY,\nand returns a viewable proof URL + go URL.\n\nSchema returned (ProofPack):\n    deal_id, proof_url, proof_bundle_id, proof_type, vertical,\n    estimated_price, price_floor_applied, policy_profile,\n    allowed_go_actions, go_url, scope_summary, proof_hash","operationId":"create_proof_pack_protocol_proof_pack_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofPackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stamp":{"post":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Stamp","description":"Simplified proof creation — fewest possible fields.\n\nWraps /protocol/proof-pack with smart defaults:\n  agent_id + description → full ProofPack with verify/share URLs.","operationId":"stamp_protocol_stamp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StampRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/go":{"post":{"tags":["Proof Verifier","Proof Verifier"],"summary":"Go Approve","description":"Lock scope, enforce pricing, create Stripe payment link, emit GO_APPROVED.\n\nThis is the canonical \"Go\" button for the protocol.\nAfter this, the deal is locked — no scope changes allowed.\n\nFlow:\n1. Validate deal_id has PROOF_READY in event chain\n2. Enforce vertical_policy pricing floors\n3. Lock scope (transition deal to ACCEPTED if dealgraph available)\n4. Create Stripe payment link (if Stripe configured)\n5. Emit GO_APPROVED to canonical event store\n6. Return payment_url for buyer","operationId":"go_approve_protocol_go_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/attestation":{"get":{"tags":["Outcome Attestation"],"summary":"Get Attestation","description":"Export a portable, Ed25519-signed outcome attestation for an agent.\n\nThe attestation is a self-contained JSON document that any third party\ncan verify against AiGentsy's published public key — no account or\nAPI access required.\n\nThis is a public endpoint — no API key needed.","operationId":"get_attestation_protocol_agents__agent_id__attestation_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/providers/capabilities":{"get":{"tags":["Provider-Neutral Settlement","Provider-Neutral Settlement"],"summary":"List Capabilities","description":"List provider capabilities. Public endpoint.\n\nReturns normalized capability records for all connected providers.\nCapabilities describe WHAT a provider can do (destination types,\ncurrencies, regions, latency, features) — not brand identity.","operationId":"list_capabilities_protocol_providers_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/providers/select":{"post":{"tags":["Provider-Neutral Settlement","Provider-Neutral Settlement"],"summary":"Select Provider Endpoint","description":"Select the best eligible provider for given requirements.\n\nUses capability matching, not brand selection. Returns the\nbest-fit provider along with selection reasoning.","operationId":"select_provider_endpoint_protocol_providers_select_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderSelectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/settlement-instruction":{"post":{"tags":["Provider-Neutral Settlement","Provider-Neutral Settlement"],"summary":"Create Instruction","description":"Generate a provider-neutral settlement instruction.\n\nThe instruction captures the verified settlement output from\nLayer 2 (AiGentsy coordination) for handoff to Layer 3\n(provider execution). It is hashable, auditable, and portable.\n\nThis does NOT execute the settlement. It produces the instruction\nthat an eligible provider would execute.","operationId":"create_instruction_protocol_settlement_instruction_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstructionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/anchors":{"get":{"tags":["Transparency Log","Transparency Log"],"summary":"List Anchors","description":"List STH anchor receipts, newest first.","operationId":"list_anchors_protocol_merkle_anchors_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/anchors/latest":{"get":{"tags":["Transparency Log","Transparency Log"],"summary":"Latest Anchor","description":"Most recent STH anchor receipt.","operationId":"latest_anchor_protocol_merkle_anchors_latest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/merkle/keys":{"get":{"tags":["Transparency Log","Transparency Log"],"summary":"List Keys","description":"All known signing keys (rotation-safe discovery).\n\nReturns the current active key and any historical keys.\nWhen a key rotation occurs, old keys remain discoverable here\nwith deprecated_after set.","operationId":"list_keys_protocol_merkle_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/agents/{agent_id}/badge":{"get":{"tags":["Trust Badge","Trust Badge"],"summary":"Get Badge","description":"Badge data for an agent's trust card.\n\nInternally calls the attestation endpoint so the displayed\nattested_at timestamp comes from the real signed attestation.\nPublic endpoint — no auth.\n\nFor the full Ed25519-signed attestation, use\nGET /protocol/agents/{agent_id}/attestation instead.","operationId":"get_badge_protocol_agents__agent_id__badge_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/whoami":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Whoami","description":"Return the resolved role for the provided key.","operationId":"whoami_ops_launch_econ_whoami_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/marketplaces":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Marketplaces","operationId":"list_marketplaces_ops_launch_econ_marketplaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Marketplace","operationId":"create_marketplace_ops_launch_econ_marketplaces_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/marketplaces/{partner_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Marketplace","operationId":"get_marketplace_ops_launch_econ_marketplaces__partner_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Partner Id"},"name":"partner_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Marketplace","operationId":"update_marketplace_ops_launch_econ_marketplaces__partner_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Partner Id"},"name":"partner_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/builders":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Builders","operationId":"list_builders_ops_launch_econ_builders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Builder","operationId":"create_builder_ops_launch_econ_builders_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/builders/{builder_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Builder","operationId":"get_builder_ops_launch_econ_builders__builder_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Builder Id"},"name":"builder_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Builder","operationId":"update_builder_ops_launch_econ_builders__builder_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Builder Id"},"name":"builder_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/pilots":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Pilots","operationId":"list_pilots_ops_launch_econ_pilots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Pilot","operationId":"create_pilot_ops_launch_econ_pilots_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/pilots/{pilot_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Pilot","operationId":"get_pilot_ops_launch_econ_pilots__pilot_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Pilot Id"},"name":"pilot_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Pilot","operationId":"update_pilot_ops_launch_econ_pilots__pilot_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Pilot Id"},"name":"pilot_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/triggers":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Triggers","operationId":"triggers_ops_launch_econ_triggers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/summary":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Summary","operationId":"summary_ops_launch_econ_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/eligibility":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Eligibility Report","description":"Cross-registry eligibility report for all enrolled entities.","operationId":"eligibility_report_ops_launch_econ_eligibility_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/alerts":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Alerts","description":"Ops alerts: clawback risk, flagged builders, near-expiry pilots, grace periods.","operationId":"alerts_ops_launch_econ_alerts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/snapshot":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Snapshot","description":"Point-in-time JSON export of all registries, eligibility, and triggers.","operationId":"snapshot_ops_launch_econ_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/rebate-preview":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Rebate Preview","description":"Compute rebate preview for all enforcing partners for a given month.","operationId":"rebate_preview_ops_launch_econ_finance_rebate_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/advance-preview":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Advance Preview","description":"Compute cash advance status for all marketplace partners.","operationId":"advance_preview_ops_launch_econ_finance_advance_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/credit-preview":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Credit Preview","description":"Compute credit grant status for all builders.","operationId":"credit_preview_ops_launch_econ_finance_credit_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/pilot-preview":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Pilot Preview","description":"Compute pilot discount status for all enterprise pilots.","operationId":"pilot_preview_ops_launch_econ_finance_pilot_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/reviews":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Reviews","description":"List finance reviews with optional filters.","operationId":"list_reviews_ops_launch_econ_finance_reviews_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Review","description":"Create a finance review record.","operationId":"create_review_ops_launch_econ_finance_reviews_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/finance/reviews/{review_id}":{"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Review","description":"Update a finance review (status, notes, overrides).","operationId":"update_review_ops_launch_econ_finance_reviews__review_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Review Id"},"name":"review_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/finance/reviews/{review_id}/execute":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Execute Review","description":"Mark an approved review as executed (disbursement tracking).","operationId":"execute_review_ops_launch_econ_finance_reviews__review_id__execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Review Id"},"name":"review_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/finance/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Finance","description":"Export finance reviews as JSON or CSV.","operationId":"export_finance_ops_launch_econ_finance_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/history":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List History","description":"Return recent operator action history.","operationId":"list_history_ops_launch_econ_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/outreach/targets":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Outreach Targets","description":"List outreach targets with optional filters.","operationId":"list_outreach_targets_ops_launch_econ_outreach_targets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Add Outreach Target","description":"Add an outreach target.","operationId":"add_outreach_target_ops_launch_econ_outreach_targets_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/outreach/targets/{target_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Outreach Target","description":"Get a single outreach target.","operationId":"get_outreach_target_ops_launch_econ_outreach_targets__target_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Target Id"},"name":"target_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Outreach Target","description":"Update outreach target fields.","operationId":"update_outreach_target_ops_launch_econ_outreach_targets__target_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Target Id"},"name":"target_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/outreach/pipeline":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Outreach Pipeline","description":"Pipeline summary with due actions and demos this week.","operationId":"outreach_pipeline_ops_launch_econ_outreach_pipeline_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/outreach/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Outreach","description":"Export outreach targets as JSON or CSV.","operationId":"export_outreach_ops_launch_econ_outreach_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/outreach/scripts":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Outreach Scripts","description":"Return canonical outreach script reference map.","operationId":"outreach_scripts_ops_launch_econ_outreach_scripts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/intake/submit":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Submit Intake","description":"Public endpoint — no auth required. Creates a program interest submission.","operationId":"submit_intake_ops_launch_econ_intake_submit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/intake/submissions":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Intake","operationId":"list_intake_ops_launch_econ_intake_submissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/intake/summary":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Intake Summary","operationId":"intake_summary_ops_launch_econ_intake_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/intake/submissions/{submission_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Intake","operationId":"get_intake_ops_launch_econ_intake_submissions__submission_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Submission Id"},"name":"submission_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Intake","operationId":"update_intake_ops_launch_econ_intake_submissions__submission_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Submission Id"},"name":"submission_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/intake/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Intake","operationId":"export_intake_ops_launch_econ_intake_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/intake/submissions/{submission_id}/convert":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Convert Intake","description":"Manual convert a qualified submission to an outreach target.","operationId":"convert_intake_ops_launch_econ_intake_submissions__submission_id__convert_post","parameters":[{"required":true,"schema":{"type":"string","title":"Submission Id"},"name":"submission_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/marketplaces/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Marketplaces","description":"Export marketplace partners as JSON or CSV.","operationId":"export_marketplaces_ops_launch_econ_marketplaces_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/builders/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Builders","description":"Export builders as JSON or CSV.","operationId":"export_builders_ops_launch_econ_builders_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/pilots/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Pilots","description":"Export enterprise pilots as JSON or CSV.","operationId":"export_pilots_ops_launch_econ_pilots_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/leads":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Leads","description":"Export qualified intake submissions as normalized CRM leads.","operationId":"crm_export_leads_ops_launch_econ_crm_export_leads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/opportunities":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Opportunities","description":"Export outreach targets as normalized CRM opportunities.","operationId":"crm_export_opportunities_ops_launch_econ_crm_export_opportunities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/finance":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Finance","description":"Export finance reviews as normalized flat records.","operationId":"crm_export_finance_ops_launch_econ_crm_export_finance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/builders":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Builders","description":"Export builder records as normalized candidates.","operationId":"crm_export_builders_ops_launch_econ_crm_export_builders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/enterprise":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Enterprise","description":"Export enterprise pilots as normalized candidates.","operationId":"crm_export_enterprise_ops_launch_econ_crm_export_enterprise_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/marketplace":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Marketplace","description":"Export marketplace partners as normalized records.","operationId":"crm_export_marketplace_ops_launch_econ_crm_export_marketplace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/bundle":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Export Bundle","description":"Export all registries as a combined CRM-ready bundle.","operationId":"crm_export_bundle_ops_launch_econ_crm_export_bundle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/filtered-bundle":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Filtered Bundle","description":"Export a filtered CRM-ready bundle with manifest metadata.","operationId":"crm_filtered_bundle_ops_launch_econ_crm_export_filtered_bundle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/templates":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Templates","description":"List available filtered bundle templates.","operationId":"crm_templates_ops_launch_econ_crm_export_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/push":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Push","description":"Push normalized records to configured CRM webhook (one-way, operator-triggered).","operationId":"crm_push_ops_launch_econ_crm_export_push_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/crm-export/push-log":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Crm Push Log","description":"View recent CRM push history.","operationId":"crm_push_log_ops_launch_econ_crm_export_push_log_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/packets/intake/{submission_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Generate Intake Packet","description":"Generate a draft program packet from an intake submission.","operationId":"generate_intake_packet_ops_launch_econ_packets_intake__submission_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Submission Id"},"name":"submission_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/packets/outreach/{target_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Generate Outreach Packet","description":"Generate a draft program packet from an outreach target.","operationId":"generate_outreach_packet_ops_launch_econ_packets_outreach__target_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Target Id"},"name":"target_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/packets/deal-summary/{target_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Generate Deal Summary","description":"Generate an internal deal summary from an outreach target.","operationId":"generate_deal_summary_ops_launch_econ_packets_deal_summary__target_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Target Id"},"name":"target_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/meetings":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"List Meetings","description":"List meetings with optional filters.","operationId":"list_meetings_ops_launch_econ_meetings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Meeting","description":"Create a meeting/demo record.","operationId":"create_meeting_ops_launch_econ_meetings_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/meetings/summary":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Meetings Summary","description":"Meeting summary with KPIs, this-week schedule, and overdue follow-ups.","operationId":"meetings_summary_ops_launch_econ_meetings_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/meetings/{meeting_id}":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Get Meeting","operationId":"get_meeting_ops_launch_econ_meetings__meeting_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Meeting Id"},"name":"meeting_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Update Meeting","operationId":"update_meeting_ops_launch_econ_meetings__meeting_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Meeting Id"},"name":"meeting_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/meetings/export":{"get":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Export Meetings","description":"Export meetings as JSON or CSV.","operationId":"export_meetings_ops_launch_econ_meetings_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/launch-econ/meetings/from-intake/{submission_id}":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Meeting From Intake","description":"Create a meeting from an intake submission (operator-triggered).","operationId":"create_meeting_from_intake_ops_launch_econ_meetings_from_intake__submission_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Submission Id"},"name":"submission_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/launch-econ/meetings/from-outreach/{target_id}":{"post":{"tags":["Launch Econ Ops","Launch Econ Ops"],"summary":"Create Meeting From Outreach","description":"Create a meeting from an outreach target (operator-triggered).","operationId":"create_meeting_from_outreach_ops_launch_econ_meetings_from_outreach__target_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Target Id"},"name":"target_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates":{"post":{"tags":["Buyer Mandates"],"summary":"Create Mandate","description":"Create a BuyerMandate for autonomous settlement approval.","operationId":"create_mandate_protocol_mandates_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMandateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/{buyer_id}":{"get":{"tags":["Buyer Mandates"],"summary":"Get Mandate","description":"Get active mandate for a buyer.","operationId":"get_mandate_protocol_mandates__buyer_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Id"},"name":"buyer_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/{mandate_id}/revoke":{"post":{"tags":["Buyer Mandates"],"summary":"Revoke Mandate","description":"Revoke a buyer mandate.","operationId":"revoke_mandate_protocol_mandates__mandate_id__revoke_post","parameters":[{"required":true,"schema":{"type":"string","title":"Mandate Id"},"name":"mandate_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/auto-go":{"post":{"tags":["Auto-GO Autonomy"],"summary":"Auto Go","description":"Autonomous GO — policy-approved settlement without human approval.\n\nFlow:\n1. Atomic idempotency claim (prevents double-charge)\n2. Load proof-pack/quote + mandate\n3. Evaluate auto_go_decision()\n4. If MANUAL: return go_url\n5. If AUTO: off-session Stripe PaymentIntent + events","operationId":"auto_go_protocol_auto_go_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoGoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/payout-destinations":{"post":{"tags":["Payout Destinations"],"summary":"Create Destination","description":"Create a payout destination for a seller/provider.","operationId":"create_destination_protocol_payout_destinations_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDestinationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/payout-destinations/{owner_id}":{"get":{"tags":["Payout Destinations"],"summary":"List Destinations","description":"List payout destinations for an owner.","operationId":"list_destinations_protocol_payout_destinations__owner_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Owner Id"},"name":"owner_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/payout-destinations/{destination_id}/verify":{"post":{"tags":["Payout Destinations"],"summary":"Verify Destination","description":"Mark a payout destination as verified.","operationId":"verify_destination_protocol_payout_destinations__destination_id__verify_post","parameters":[{"required":true,"schema":{"type":"string","title":"Destination Id"},"name":"destination_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/payout-destinations/{destination_id}/pause":{"post":{"tags":["Payout Destinations"],"summary":"Pause Destination","description":"Pause a payout destination.","operationId":"pause_destination_protocol_payout_destinations__destination_id__pause_post","parameters":[{"required":true,"schema":{"type":"string","title":"Destination Id"},"name":"destination_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/intents/proof-pack":{"post":{"tags":["Internal Intents"],"summary":"Intent Proof Pack","description":"Growth runtime → AME: create proof-pack.","operationId":"intent_proof_pack_internal_intents_proof_pack_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofPackIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/intents/auto-go":{"post":{"tags":["Internal Intents"],"summary":"Intent Auto Go","description":"AME internal: execute autonomous GO.","operationId":"intent_auto_go_internal_intents_auto_go_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoGoIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/intents/payout":{"post":{"tags":["Internal Intents"],"summary":"Intent Payout","description":"AME internal: route payout to destination.","operationId":"intent_payout_internal_intents_payout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/intents/mandate-setup":{"post":{"tags":["Internal Intents"],"summary":"Intent Mandate Setup","description":"AME internal: create BuyerMandate + optional SetupIntent.","operationId":"intent_mandate_setup_internal_intents_mandate_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateSetupIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/intents/payout-destination":{"post":{"tags":["Internal Intents"],"summary":"Intent Payout Destination","description":"SDK runtime → AME: manage payout destinations.","operationId":"intent_payout_destination_internal_intents_payout_destination_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutDestIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/fee-estimate":{"get":{"tags":["Fee Estimate"],"summary":"Fee Estimate","description":"Estimate all fees for a settlement before committing.","operationId":"fee_estimate_protocol_fee_estimate_get","parameters":[{"description":"Gross settlement amount (USD)","required":true,"schema":{"type":"number","title":"Amount","description":"Gross settlement amount (USD)"},"name":"amount","in":"query"},{"description":"Agent ID for OCS/volume discounts","required":false,"schema":{"type":"string","title":"Agent Id","description":"Agent ID for OCS/volume discounts"},"name":"agent_id","in":"query"},{"description":"Payout rail (PAYPAL, ACH, STRIPE_CONNECT, CRYPTO_USDT, CRYPTO_USDC)","required":false,"schema":{"type":"string","title":"Rail","description":"Payout rail (PAYPAL, ACH, STRIPE_CONNECT, CRYPTO_USDT, CRYPTO_USDC)"},"name":"rail","in":"query"},{"description":"Include autonomy surcharge (Auto-GO)","required":false,"schema":{"type":"boolean","title":"Autonomy","description":"Include autonomy surcharge (Auto-GO)","default":false},"name":"autonomy","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/idempotency/stats":{"get":{"tags":["Idempotency Admin"],"summary":"Idempotency Stats","operationId":"idempotency_stats_protocol_idempotency_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/idempotency/{key}":{"get":{"tags":["Idempotency Admin"],"summary":"Lookup Idempotency Key","operationId":"lookup_idempotency_key_protocol_idempotency__key__get","parameters":[{"required":true,"schema":{"type":"string","title":"Key"},"name":"key","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Create Graph","description":"Create a composable settlement graph with linear stages.","operationId":"create_graph_protocol_graphs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGraphRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/fund":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Fund Graph","description":"Fund the graph with ONE root payment — creates escrow with stage allocations.","operationId":"fund_graph_protocol_graphs__graph_id__fund_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/stages/{stage_id}/proof-pack":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Stage Proof Pack","description":"Create a ProofPack for a graph stage, bound to root_scope_lock_hash.","operationId":"stage_proof_pack_protocol_graphs__graph_id__stages__stage_id__proof_pack_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Stage Id"},"name":"stage_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageProofRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/stages/{stage_id}/approve":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Stage Approve","description":"Approve a graph stage — scope lock + authorization (no buyer charge).","operationId":"stage_approve_protocol_graphs__graph_id__stages__stage_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Stage Id"},"name":"stage_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageApproveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/stages/{stage_id}/settle":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Stage Settle","description":"Settle a graph stage — release escrow allocation, fee deduction, payout.","operationId":"stage_settle_protocol_graphs__graph_id__stages__stage_id__settle_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Stage Id"},"name":"stage_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageSettleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}":{"get":{"tags":["Composable Settlement Graphs"],"summary":"Get Graph","description":"Get full graph state with all stages and escrow.","operationId":"get_graph_protocol_graphs__graph_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/stages/{stage_id}/fail":{"post":{"tags":["Composable Settlement Graphs"],"summary":"Stage Fail","description":"Report a stage failure. If allow_partial_failure, locks downstream and computes refund.","operationId":"stage_fail_protocol_graphs__graph_id__stages__stage_id__fail_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Stage Id"},"name":"stage_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageFailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/intents":{"post":{"tags":["Intent-Based Exchange"],"summary":"Publish Intent","description":"Publish an intent — agents can submit sealed bids.","operationId":"publish_intent_protocol_intents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/intents/{intent_id}/bids":{"post":{"tags":["Intent-Based Exchange"],"summary":"Submit Bid","description":"Submit a sealed bid on an intent. Price is hidden until close.","operationId":"submit_bid_protocol_intents__intent_id__bids_post","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitBidRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/intents/{intent_id}/close":{"post":{"tags":["Intent-Based Exchange"],"summary":"Close Intent","description":"Close bidding, score all bids, select winner, auto-create ProofPack.","operationId":"close_intent_protocol_intents__intent_id__close_post","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/intents/{intent_id}":{"get":{"tags":["Intent-Based Exchange"],"summary":"Get Intent","description":"Get intent details. Bids are SEALED (redacted) until intent is closed.\nAfter close: reveal_mode='winner_only' shows winner only (default),\nreveal_mode='all_bids_after_close' shows all unsealed bids.","operationId":"get_intent_protocol_intents__intent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Reveal Mode","default":"winner_only"},"name":"reveal_mode","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/compile":{"post":{"tags":["Graph Compiler"],"summary":"Compile Structured Endpoint","description":"Compile a structured graph spec — always ON.","operationId":"compile_structured_endpoint_protocol_graphs_compile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileStructuredRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/compile-nl":{"post":{"tags":["Graph Compiler"],"summary":"Compile Nl Endpoint","description":"Compile natural language into a draft graph spec — gated by GRAPH_COMPILER_NL_ENABLED.","operationId":"compile_nl_endpoint_protocol_graphs_compile_nl_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileNLRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/timeline":{"get":{"tags":["Graph Audit"],"summary":"Graph Timeline","description":"Chronological event timeline for a settlement graph.","operationId":"graph_timeline_protocol_graphs__graph_id__timeline_get","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/attribution":{"get":{"tags":["Graph Audit"],"summary":"Graph Attribution","description":"Per-actor attribution roll-up for a settlement graph.","operationId":"graph_attribution_protocol_graphs__graph_id__attribution_get","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/graphs/{graph_id}/replay":{"post":{"tags":["Graph Audit"],"summary":"Graph Replay","description":"Replay audit: verify event chain integrity for all deal_ids in graph.","operationId":"graph_replay_protocol_graphs__graph_id__replay_post","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/outcomes":{"post":{"tags":["Outcome Markets"],"summary":"Create Outcome","description":"Create an outcome-contingent deal.","operationId":"create_outcome_protocol_outcomes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOutcomeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/outcomes/{deal_id}/measure":{"post":{"tags":["Outcome Markets"],"summary":"Measure Outcome","description":"Submit outcome measurement result.","operationId":"measure_outcome_protocol_outcomes__deal_id__measure_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/outcomes/{deal_id}/resolve":{"post":{"tags":["Outcome Markets"],"summary":"Resolve Outcome","description":"Resolve outcome: compute payout = base + (bonus * achievement).","operationId":"resolve_outcome_protocol_outcomes__deal_id__resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__outcome_market__get_outcome_market_router__<locals>__ResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/outcomes/{deal_id}":{"get":{"tags":["Outcome Markets"],"summary":"Get Outcome","description":"Get outcome deal state.","operationId":"get_outcome_protocol_outcomes__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/trust/vouch":{"post":{"tags":["Trust Networks"],"summary":"Create Vouch","description":"Create a reputation-backed vouch for another agent.","operationId":"create_vouch_protocol_trust_vouch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VouchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/trust/vouch/{vouch_id}/withdraw":{"post":{"tags":["Trust Networks"],"summary":"Withdraw","description":"Withdraw an active vouch.","operationId":"withdraw_protocol_trust_vouch__vouch_id__withdraw_post","parameters":[{"required":true,"schema":{"type":"string","title":"Vouch Id"},"name":"vouch_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/trust/{agent_id}":{"get":{"tags":["Trust Networks"],"summary":"Trust Graph","description":"Get trust graph for an agent.","operationId":"trust_graph_protocol_trust__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/trust/factor":{"post":{"tags":["Trust Networks"],"summary":"Factor","description":"Compute OCS adjustment from trust network backing.","operationId":"factor_protocol_trust_factor_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/identity/bind":{"post":{"tags":["Identity Resolution"],"summary":"Bind","description":"Bind an external identity to an agent.","operationId":"bind_protocol_identity_bind_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/identity/bind/{binding_id}/verify":{"post":{"tags":["Identity Resolution"],"summary":"Verify","description":"Verify a binding by submitting the challenge token.","operationId":"verify_protocol_identity_bind__binding_id__verify_post","parameters":[{"required":true,"schema":{"type":"string","title":"Binding Id"},"name":"binding_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__identity_resolution__get_identity_router__<locals>__VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/identity/{agent_id}/passport":{"get":{"tags":["Identity Resolution"],"summary":"Public Passport","description":"Get public passport with verified bindings.","operationId":"public_passport_protocol_identity__agent_id__passport_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/econ/feed":{"get":{"tags":["Economic Observability"],"summary":"Public Feed","description":"Public economic feed (delayed by ECON_FEED_DELAY_SECONDS, k-anonymity applied).","operationId":"public_feed_protocol_econ_feed_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/econ/feed/premium":{"get":{"tags":["Economic Observability"],"summary":"Premium Feed","description":"Premium economic feed (real-time, auth-gated).","operationId":"premium_feed_protocol_econ_feed_premium_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/policies/validate":{"post":{"tags":["Settlement Policies"],"summary":"Validate Policy","description":"Validate a settlement policy spec.","operationId":"validate_policy_protocol_policies_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatePolicyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/policies/evaluate":{"post":{"tags":["Settlement Policies"],"summary":"Evaluate","description":"Evaluate a policy against context.","operationId":"evaluate_protocol_policies_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatePolicyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proofs/{deal_id}/export":{"get":{"tags":["Proof Portability"],"summary":"Export","description":"Export proof bundle for a deal.\n\nQuery params:\n    format=bundle  (default) — native proof bundle\n    format=vc      — W3C Verifiable Credential envelope\n    format=pdf     — human-readable PDF document","operationId":"export_protocol_proofs__deal_id__export_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Format","default":"bundle"},"name":"format","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proofs/publish-root":{"post":{"tags":["Proof Portability"],"summary":"Publish Root","description":"Publish daily merkle root.","operationId":"publish_root_protocol_proofs_publish_root_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRootRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proofs/verify-bundle":{"post":{"tags":["Proof Portability"],"summary":"Verify","description":"Verify a proof bundle.","operationId":"verify_protocol_proofs_verify_bundle_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyBundleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/sth/{tree_size}":{"get":{"tags":["Transparency Log"],"summary":"Sth At Size","description":"Get STH at a specific tree size.","operationId":"sth_at_size_protocol_merkle_sth__tree_size__get","parameters":[{"required":true,"schema":{"type":"integer","title":"Tree Size"},"name":"tree_size","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/inclusion":{"get":{"tags":["Transparency Log"],"summary":"Inclusion","description":"Get inclusion proof for a leaf.","operationId":"inclusion_protocol_merkle_inclusion_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Leaf Index"},"name":"leaf_index","in":"query"},{"required":false,"schema":{"type":"integer","title":"Tree Size"},"name":"tree_size","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/consistency":{"get":{"tags":["Transparency Log"],"summary":"Consistency","description":"Get consistency proof between two tree sizes.","operationId":"consistency_protocol_merkle_consistency_get","parameters":[{"required":true,"schema":{"type":"integer","title":"First"},"name":"first","in":"query"},{"required":false,"schema":{"type":"integer","title":"Second"},"name":"second","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/entries":{"get":{"tags":["Transparency Log"],"summary":"Entries","description":"Get log entries in range.","operationId":"entries_protocol_merkle_entries_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Start","default":0},"name":"start","in":"query"},{"required":false,"schema":{"type":"integer","title":"End","default":100},"name":"end","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/leaf/{index}":{"get":{"tags":["Transparency Log"],"summary":"Leaf","description":"Get leaf data at index.","operationId":"leaf_protocol_merkle_leaf__index__get","parameters":[{"required":true,"schema":{"type":"integer","title":"Index"},"name":"index","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/merkle/stats":{"get":{"tags":["Transparency Log"],"summary":"Stats","description":"Get log statistics.","operationId":"stats_protocol_merkle_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/merkle/public-key":{"get":{"tags":["Transparency Log"],"summary":"Public Key","description":"Get the log signing public key.","operationId":"public_key_protocol_merkle_public_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/merkle/deal/{deal_id}/proof":{"get":{"tags":["Transparency Log"],"summary":"Deal Proof","description":"Get inclusion proof for a deal's events.","operationId":"deal_proof_protocol_merkle_deal__deal_id__proof_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/pipelines/link":{"post":{"tags":["Cross-Graph Pipelines"],"summary":"Link","description":"Create a pipeline link between graphs.","operationId":"link_protocol_pipelines_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/pipelines/{graph_id}":{"get":{"tags":["Cross-Graph Pipelines"],"summary":"Get Links","description":"Get all pipeline links for a graph.","operationId":"get_links_protocol_pipelines__graph_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/pipelines/link/{link_id}/check":{"post":{"tags":["Cross-Graph Pipelines"],"summary":"Check","description":"Check if a pipeline link's condition is satisfied.","operationId":"check_protocol_pipelines_link__link_id__check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Link Id"},"name":"link_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/governance/pips":{"get":{"tags":["Governance"],"summary":"List Pips","description":"List all PIPs.","operationId":"list_pips_protocol_governance_pips_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Governance"],"summary":"Submit Pip","description":"Submit a Protocol Improvement Proposal.","operationId":"submit_pip_protocol_governance_pips_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitPIPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/governance/pips/{pip_id}/vote":{"post":{"tags":["Governance"],"summary":"Vote On Pip","description":"Vote on a PIP. Gated by GOVERNANCE_VOTING_ENABLED.","operationId":"vote_on_pip_protocol_governance_pips__pip_id__vote_post","parameters":[{"required":true,"schema":{"type":"string","title":"Pip Id"},"name":"pip_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/governance/pips/{pip_id}/resolve":{"post":{"tags":["Governance"],"summary":"Resolve Pip","description":"Resolve a PIP — approve or reject based on votes.","operationId":"resolve_pip_protocol_governance_pips__pip_id__resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Pip Id"},"name":"pip_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__governance__get_governance_router__<locals>__ResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{parent_id}/spawn":{"post":{"tags":["Recursive Spawning"],"summary":"Spawn","description":"Spawn a child agent.","operationId":"spawn_protocol_agents__parent_id__spawn_post","parameters":[{"required":true,"schema":{"type":"string","title":"Parent Id"},"name":"parent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpawnRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/{agent_id}/spawn-tree":{"get":{"tags":["Recursive Spawning"],"summary":"Tree","description":"Get spawn tree for an agent.","operationId":"tree_protocol_agents__agent_id__spawn_tree_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/spawns/{spawn_id}/graduate":{"post":{"tags":["Recursive Spawning"],"summary":"Graduate","description":"Graduate a spawned agent.","operationId":"graduate_protocol_spawns__spawn_id__graduate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/spawns/{spawn_id}/revoke":{"post":{"tags":["Recursive Spawning"],"summary":"Revoke","description":"Revoke a spawn.","operationId":"revoke_protocol_spawns__spawn_id__revoke_post","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__recursive_spawn__get_recursive_spawn_router__<locals>__RevokeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/rotate":{"post":{"tags":["API Key Management"],"summary":"Rotate Key","description":"Rotate an API key. Old key valid during grace period.","operationId":"rotate_key_protocol_rotate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/revoke":{"post":{"tags":["API Key Management"],"summary":"Revoke Key","description":"Immediately revoke an API key.","operationId":"revoke_key_protocol_revoke_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/protocol__api_key_manager__get_api_key_router__<locals>__RevokeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/keys/{agent_id}":{"get":{"tags":["API Key Management"],"summary":"List Keys","description":"List all keys for an agent (no plaintext exposed).","operationId":"list_keys_protocol_keys__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/keys/{agent_id}/validate":{"get":{"tags":["API Key Management"],"summary":"Validate Key","description":"Validate an API key for a specific agent.","operationId":"validate_key_protocol_keys__agent_id__validate_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/replay":{"get":{"tags":["Deal Audit"],"summary":"Replay Deal Endpoint","description":"Replay deal event chain and detect discrepancies.","operationId":"replay_deal_endpoint_protocol_deals__deal_id__replay_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/ledger":{"get":{"tags":["Deal Audit"],"summary":"Deal Ledger","description":"Get all ledger entries for a deal.","operationId":"deal_ledger_protocol_deals__deal_id__ledger_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/me/summary":{"get":{"tags":["Protocol"],"summary":"Me Summary","description":"Aggregated sidebar data for the authenticated agent.\n\nReturns partial data (null sections) rather than failing\nif any backing store is unavailable.","operationId":"me_summary_protocol_me_summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/debug/contracts":{"get":{"summary":"Fallback Debug Contracts","description":"List all contracts - fallback route","operationId":"fallback_debug_contracts_client_room_debug_contracts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/client-room/debug/outreach":{"get":{"tags":["Client Room"],"summary":"Debug Outreach History","description":"DEBUG: Show outreach tracking history (spam prevention).","operationId":"debug_outreach_history_client_room_debug_outreach_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/client-room/debug/conversations":{"get":{"tags":["Client Room"],"summary":"Debug Conversations","description":"DEBUG: Show active conversations being monitored.","operationId":"debug_conversations_client_room_debug_conversations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/client-room/{contract_id}/json":{"get":{"tags":["Client Room"],"summary":"Get Client Room Json","description":"Get full client room data as JSON.\n\nReturns:\n- Contract status\n- Green Light timeline\n- Milestone cards with payment rails\n- Artifact previews\n- Proof cards","operationId":"get_client_room_json_client_room__contract_id__json_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Token"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}":{"get":{"summary":"Fallback Client Room","description":"Fallback client room HTML page with handshake modal.","operationId":"fallback_client_room_client_room__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/view":{"get":{"tags":["Client Room"],"summary":"View Client Room Legacy","description":"Legacy route - redirects to main client room view","operationId":"view_client_room_legacy_client_room__contract_id__view_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Token"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/timeline":{"get":{"tags":["Client Room"],"summary":"Get Timeline","description":"Get Green Light timeline.\n\n3-card sequence:\n1. Today: First artifact + SOW acceptance\n2. This Week: 2-3 milestones\n3. Month 1: Final results","operationId":"get_timeline_client_room__contract_id__timeline_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/milestones":{"get":{"tags":["Client Room"],"summary":"Get Milestones","description":"Get milestone cards with payment rails","operationId":"get_milestones_client_room__contract_id__milestones_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/previews":{"get":{"tags":["Client Room"],"summary":"Get Previews","description":"Get live artifact previews","operationId":"get_previews_client_room__contract_id__previews_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/proofs":{"get":{"tags":["Client Room"],"summary":"Get Proofs For Contract","description":"Get proof-of-outcome cards","operationId":"get_proofs_for_contract_client_room__contract_id__proofs_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{contract_id}/select-rail":{"post":{"tags":["Client Room"],"summary":"Select Payment Rail","description":"Select payment rail for a milestone","operationId":"select_payment_rail_client_room__contract_id__select_rail_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Milestone Id"},"name":"milestone_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Rail Type"},"name":"rail_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/handshake/{contract_id}/terms":{"get":{"tags":["Handshake"],"summary":"Get Handshake Terms","description":"Get legal terms for handshake agreement.\n\nReturns:\n- Handshake terms (AI disclosure, preview terms, etc.)\n- Deposit terms\n- Full agreement text","operationId":"get_handshake_terms_handshake__contract_id__terms_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/handshake/{contract_id}/accept":{"post":{"tags":["Handshake"],"summary":"Accept Handshake","description":"Accept handshake terms and trigger preview generation.\n\n- Logs acceptance with IP/timestamp\n- Triggers preview generation\n- Returns preview spec","operationId":"accept_handshake_handshake__contract_id__accept_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptHandshakeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/handshake/{contract_id}/preview":{"get":{"tags":["Handshake"],"summary":"Get Preview Status","description":"Get preview status and artifacts.\n\nReturns:\n- Preview status (not_started, in_progress, delivered, approved, expired)\n- Preview artifacts (if delivered)\n- Expiration countdown","operationId":"get_preview_status_handshake__contract_id__preview_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/handshake/{contract_id}/preview/approve":{"post":{"tags":["Handshake"],"summary":"Approve Preview","description":"Approve preview and create deposit payment intent.\n\n- Verifies preview is delivered and not expired\n- Creates Stripe payment intent (auth, not capture)\n- Returns payment link","operationId":"approve_preview_handshake__contract_id__preview_approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovePreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/handshake/{contract_id}/status":{"get":{"tags":["Handshake"],"summary":"Get Handshake Status","description":"Get full handshake/preview status.\n\nReturns:\n- Handshake status\n- Preview status\n- Contract status\n- Timeline","operationId":"get_handshake_status_handshake__contract_id__status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/generate":{"get":{"summary":"Api Generate Content","description":"Generate branded content (preview or post).\n\npost_to: Optional platform override — 'twitter', 'linkedin', 'instagram', 'all'.\n         When set, forces preview_only=False and posts to the specified platform(s).","operationId":"api_generate_content_content_generate_get","parameters":[{"required":false,"schema":{"type":"string","title":"Content Type"},"name":"content_type","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Preview Only","default":true},"name":"preview_only","in":"query"},{"required":false,"schema":{"type":"string","title":"Post To"},"name":"post_to","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/thread":{"get":{"summary":"Api Generate Thread","description":"Generate a Twitter thread (preview or post).","operationId":"api_generate_thread_content_thread_get","parameters":[{"required":false,"schema":{"type":"string","title":"Topic","default":"portfolio"},"name":"topic","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Preview Only","default":true},"name":"preview_only","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/queue":{"get":{"summary":"Api Content Queue","description":"Get the content posting queue.","operationId":"api_content_queue_content_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/content/process":{"post":{"summary":"Api Process Content Queue","description":"Process all due content in the queue.","operationId":"api_process_content_queue_content_process_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/image/providers":{"get":{"summary":"Api Image Providers","description":"Check which image generation providers are configured.","operationId":"api_image_providers_image_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/image/generate":{"post":{"summary":"Api Generate Image","description":"Generate an image from a text prompt.","operationId":"api_generate_image_image_generate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Prompt"},"name":"prompt","in":"query"},{"required":false,"schema":{"type":"string","title":"Provider","default":"stability"},"name":"provider","in":"query"},{"required":false,"schema":{"type":"integer","title":"Width","default":1024},"name":"width","in":"query"},{"required":false,"schema":{"type":"integer","title":"Height","default":1024},"name":"height","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/image/portfolio":{"get":{"summary":"Api Portfolio Image","description":"Generate a portfolio showcase image.","operationId":"api_portfolio_image_image_portfolio_get","parameters":[{"required":false,"schema":{"type":"string","title":"Project Type","default":"React dashboard"},"name":"project_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Style","default":"dashboard"},"name":"style","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/linkedin/discover":{"get":{"summary":"Api Linkedin Discover","description":"Discover opportunities on LinkedIn (jobs and/or posts).","operationId":"api_linkedin_discover_linkedin_discover_get","parameters":[{"required":false,"schema":{"type":"string","title":"Source","default":"both"},"name":"source","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":30},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/linkedin/post":{"post":{"summary":"Api Linkedin Post","description":"Post content to LinkedIn.","operationId":"api_linkedin_post_linkedin_post_post","parameters":[{"required":false,"schema":{"type":"string","title":"Content Type","default":"portfolio"},"name":"content_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Text"},"name":"text","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/linkedin/content/preview":{"get":{"summary":"Api Linkedin Content Preview","description":"Preview generated LinkedIn content.","operationId":"api_linkedin_content_preview_linkedin_content_preview_get","parameters":[{"required":false,"schema":{"type":"string","title":"Content Type","default":"portfolio"},"name":"content_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/platforms":{"get":{"summary":"Api Content Platforms","description":"List all supported platforms and their configurations.","operationId":"api_content_platforms_content_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/content/generate-from-contract":{"post":{"summary":"Api Generate Contract Content","description":"Generate content package from a contract (or test data).","operationId":"api_generate_contract_content_content_generate_from_contract_post","parameters":[{"required":false,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Project","default":"React dashboard"},"name":"project","in":"query"},{"required":false,"schema":{"type":"integer","title":"Price","default":1200},"name":"price","in":"query"},{"required":false,"schema":{"type":"integer","title":"Market Rate","default":2400},"name":"market_rate","in":"query"},{"required":false,"schema":{"type":"string","title":"Completion Time","default":"45 minutes"},"name":"completion_time","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/post-all":{"post":{"summary":"Api Post To All Platforms","description":"Post content to all (or specified) platforms.","operationId":"api_post_to_all_platforms_content_post_all_post","parameters":[{"required":false,"schema":{"type":"string","title":"Content Id"},"name":"content_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/content/orchestrator/stats":{"get":{"summary":"Api Content Stats","description":"Get content orchestrator statistics.","operationId":"api_content_stats_content_orchestrator_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement/run-cycle":{"post":{"summary":"Api Run Engagement Cycle","description":"Run one engagement cycle across platforms.","operationId":"api_run_engagement_cycle_engagement_run_cycle_post","parameters":[{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"},{"required":false,"schema":{"type":"integer","title":"Targets Per Platform","default":5},"name":"targets_per_platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engagement/stats":{"get":{"summary":"Api Engagement Stats","description":"Get engagement bot statistics.","operationId":"api_engagement_stats_engagement_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement/discover":{"get":{"summary":"Api Discover Targets","description":"Discover engagement targets on a platform.","operationId":"api_discover_targets_engagement_discover_get","parameters":[{"required":false,"schema":{"type":"string","title":"Platform","default":"twitter"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/public-engagement/run-cycle":{"post":{"summary":"Api Run Public Engagement","description":"Run public engagement cycle - comment/reply on hiring posts.\n\nThis is the PRIMARY outreach method (public comments work 100%, DMs fail 80%).","operationId":"api_run_public_engagement_public_engagement_run_cycle_post","parameters":[{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/public-engagement/stats":{"get":{"summary":"Api Public Engagement Stats","description":"Get public engagement statistics.","operationId":"api_public_engagement_stats_public_engagement_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/public-engagement/test-twitter":{"post":{"summary":"Api Test Twitter Write","description":"Test Twitter API write access.\n\nAfter changing app permissions to Read+Write in the Twitter Developer Portal,\nyou MUST regenerate the Access Token and Access Token Secret.\nOld tokens retain their original (Read-only) permission scope.","operationId":"api_test_twitter_write_public_engagement_test_twitter_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/public-engagement/diagnose-platforms":{"get":{"summary":"Api Diagnose Platforms","description":"Diagnose which discovery sources are active and test each API.\nShows exactly why Instagram/LinkedIn/Reddit discovery fails.","operationId":"api_diagnose_platforms_public_engagement_diagnose_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auto-reply/run-cycle":{"post":{"summary":"Api Run Auto Reply","description":"Monitor comments on our content and auto-reply with referral codes.\n\nFlow: Someone comments \"interested\" → they get personalized referral link","operationId":"api_run_auto_reply_auto_reply_run_cycle_post","parameters":[{"required":false,"schema":{"type":"boolean","title":"Twitter Enabled","default":true},"name":"twitter_enabled","in":"query"},{"required":false,"schema":{"type":"string","title":"Instagram Post Ids"},"name":"instagram_post_ids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auto-reply/stats":{"get":{"summary":"Api Auto Reply Stats","description":"Get auto-reply system statistics.","operationId":"api_auto_reply_stats_auto_reply_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/success-story/post":{"post":{"summary":"Api Post Success Story","description":"Post success story for a completed contract.\n\nGenerates and posts to all platforms with referral codes.","operationId":"api_post_success_story_success_story_post_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/success-story/campaign":{"post":{"summary":"Api Run Content Campaign","description":"Run a content campaign for brand building.\n\nTypes:\n- educational: \"Why AI beats freelancers\"\n- direct_cta: \"Need a dev? We deliver in 1 hour\"","operationId":"api_run_content_campaign_success_story_campaign_post","parameters":[{"required":false,"schema":{"type":"string","title":"Content Type","default":"educational"},"name":"content_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/success-story/stats":{"get":{"summary":"Api Success Story Stats","description":"Get success story engine statistics.","operationId":"api_success_story_stats_success_story_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified-engagement/run-cycle":{"post":{"summary":"Api Unified Engagement","description":"UNIFIED engagement cycle — routes ALL discovery results to the best channel.\n\nDiscovery: Perplexity (internet-wide) + Twitter + Reddit + LinkedIn + Instagram + GitHub + OpenRouter\nChannels: Public comments, Email (Resend), SMS (Twilio), WhatsApp (Twilio), DMs","operationId":"api_unified_engagement_unified_engagement_run_cycle_post","parameters":[{"required":false,"schema":{"type":"integer","title":"Max Opportunities","default":50},"name":"max_opportunities","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unified-engagement/stats":{"get":{"summary":"Api Unified Stats","description":"Get unified engagement router statistics.","operationId":"api_unified_stats_unified_engagement_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/browser/run-cycle":{"post":{"summary":"Api Browser Engagement","description":"Run browser-based engagement cycle.\n\nZERO API COST - uses existing @AiGentsy accounts via Playwright.\n\n- Twitter: Reply to hiring tweets\n- Instagram: Comment on #hiring posts\n- LinkedIn: Comment on job posts\n- Reddit: Comment on r/forhire posts","operationId":"api_browser_engagement_browser_run_cycle_post","parameters":[{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"},{"required":false,"schema":{"type":"integer","title":"Max Per Platform","default":5},"name":"max_per_platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/browser/stats":{"get":{"summary":"Api Browser Stats","description":"Get browser automation statistics.","operationId":"api_browser_stats_browser_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/browser/diagnose":{"get":{"summary":"Api Browser Diagnose","description":"Diagnose browser automation - check credentials, Playwright, and Chromium.","operationId":"api_browser_diagnose_browser_diagnose_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/status":{"get":{"tags":["API Status"],"summary":"Get Api Status","description":"Get overall API credential status\n\nShows which of the 28 premium APIs are configured","operationId":"get_api_status_api_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/credentials/missing":{"get":{"tags":["API Status"],"summary":"Get Missing Credentials","description":"List missing API credentials\n\nReturns list of expected APIs that don't have credentials configured","operationId":"get_missing_credentials_api_credentials_missing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/packs":{"get":{"tags":["API Status"],"summary":"Get Api Packs","description":"List all premium API packs with status\n\nShows pack name, priority, and whether credentials are available","operationId":"get_api_packs_api_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/execute":{"post":{"summary":"Fabric Execute Endpoint","description":"Execute an action through the Universal Fulfillment Fabric.\n\nBody:\n- pdl_name: PDL name (e.g., \"upwork.submit_proposal\")\n- params: Parameters for the action\n- dry_run: If true, analyze and plan but don't execute\n\nRoutes automatically through:\n1. API (if available)\n2. Browser automation (if configured)\n3. AI-powered Universal Fabric (fallback)","operationId":"fabric_execute_endpoint_fabric_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/execute-pdl/{pdl_name}":{"post":{"tags":["fulfillment-fabric"],"summary":"Execute From Pdl","description":"Execute an outcome using a Protocol Descriptor Language (PDL) specification.\n\nArgs:\n    pdl_name: Name of the PDL (e.g., \"shopify.create_product\", \"email.send\")\n    body: Input parameters for the PDL\n\nOptional body params:\n- idempotency_key: Unique key for idempotent execution\n- quote_only: If true, return quote without executing\n- dry_run: If true, simulate execution","operationId":"execute_from_pdl_fabric_execute_pdl__pdl_name__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pdl Name"},"name":"pdl_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/quote":{"post":{"tags":["fulfillment-fabric"],"summary":"Quote Outcome","description":"Get a price quote for an outcome without executing it.","operationId":"quote_outcome_fabric_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/batch-execute":{"post":{"tags":["fulfillment-fabric"],"summary":"Batch Execute","description":"Execute multiple outcomes in batch.\n\nRequest body:\n- outcomes: List of COI specifications\n- parallel: If true, execute in parallel (default: true)","operationId":"batch_execute_fabric_batch_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/capabilities":{"get":{"tags":["fulfillment-fabric"],"summary":"List Capabilities","description":"List all available capabilities in the fulfillment fabric","operationId":"list_capabilities_fabric_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/pdls":{"get":{"tags":["fulfillment-fabric"],"summary":"List Pdls","description":"List all available Protocol Descriptors (PDLs).\n\nQuery params:\n- tag: Filter by tag (e.g., \"payment\", \"email\")\n- connector: Filter by connector (e.g., \"stripe\", \"shopify\")","operationId":"list_pdls_fabric_pdls_get","parameters":[{"required":false,"schema":{"type":"string","title":"Tag"},"name":"tag","in":"query"},{"required":false,"schema":{"type":"string","title":"Connector"},"name":"connector","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/pdl/{pdl_name}":{"get":{"tags":["fulfillment-fabric"],"summary":"Get Pdl","description":"Get details of a specific PDL","operationId":"get_pdl_fabric_pdl__pdl_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Pdl Name"},"name":"pdl_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/connectors":{"get":{"tags":["fulfillment-fabric"],"summary":"List Connectors","description":"List all registered connectors","operationId":"list_connectors_fabric_connectors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/connectors/{connector_name}":{"get":{"tags":["fulfillment-fabric"],"summary":"Get Connector","description":"Get details of a specific connector","operationId":"get_connector_fabric_connectors__connector_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Connector Name"},"name":"connector_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/connectors/{connector_name}/health":{"get":{"tags":["fulfillment-fabric"],"summary":"Connector Health","description":"Check health of a specific connector","operationId":"connector_health_fabric_connectors__connector_name__health_get","parameters":[{"required":true,"schema":{"type":"string","title":"Connector Name"},"name":"connector_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/health":{"get":{"tags":["fulfillment-fabric"],"summary":"Fabric Health","description":"Check health of the entire fulfillment fabric","operationId":"fabric_health_fabric_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/metrics":{"get":{"tags":["fulfillment-fabric"],"summary":"Fabric Metrics","description":"Get fulfillment fabric metrics","operationId":"fabric_metrics_fabric_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/sla-violations":{"get":{"tags":["fulfillment-fabric"],"summary":"Get Sla Violations","description":"Get recent SLA violations","operationId":"get_sla_violations_fabric_sla_violations_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/contract/{outcome_id}":{"get":{"tags":["fulfillment-fabric"],"summary":"Get Contract","description":"Get contract details by outcome ID","operationId":"get_contract_fabric_contract__outcome_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Outcome Id"},"name":"outcome_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/send-email":{"post":{"tags":["fulfillment-fabric"],"summary":"Send Email","description":"Convenience endpoint to send an email.\n\nRequired: to, subject, body\nOptional: html, idempotency_key","operationId":"send_email_fabric_send_email_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/send-sms":{"post":{"tags":["fulfillment-fabric"],"summary":"Send Sms","description":"Convenience endpoint to send an SMS.\n\nRequired: to, body\nOptional: idempotency_key","operationId":"send_sms_fabric_send_sms_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/create-payment-link":{"post":{"tags":["fulfillment-fabric"],"summary":"Create Payment Link","description":"Convenience endpoint to create a Stripe payment link.\n\nRequired: amount\nOptional: currency, description, metadata, idempotency_key","operationId":"create_payment_link_fabric_create_payment_link_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/create-shopify-product":{"post":{"tags":["fulfillment-fabric"],"summary":"Create Shopify Product","description":"Convenience endpoint to create a Shopify product.\n\nRequired: title, price\nOptional: description, images, sku, inventory, idempotency_key","operationId":"create_shopify_product_fabric_create_shopify_product_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric/webhook-deliver":{"post":{"tags":["fulfillment-fabric"],"summary":"Deliver Webhook","description":"Convenience endpoint to deliver a webhook.\n\nRequired: url, payload\nOptional: signing_secret, idempotency_key","operationId":"deliver_webhook_fabric_webhook_deliver_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/execute":{"post":{"tags":["aigentsy-fabric"],"summary":"Smart Execute","description":"Smart execution with AI enhancement and COI fulfillment.\n\nRequest body:\n- outcome_type: Type of outcome (send_email, send_sms, etc.)\n- params: Parameters for the outcome\n- use_ai: Whether to use AI enhancement (default: true)\n- ai_task_category: AI task category for enhancement\n- username: User context for pattern learning\n- idempotency_key: Unique key for idempotent execution","operationId":"smart_execute_fabric_unified_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/send-email":{"post":{"tags":["aigentsy-fabric"],"summary":"Smart Email","description":"Send email with AI enhancement and Resend delivery.\n\nRequired: to, subject, body\nOptional: html, use_ai, username","operationId":"smart_email_fabric_unified_send_email_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/ame/deliver/{pitch_id}":{"post":{"tags":["aigentsy-fabric"],"summary":"Ame Deliver","description":"Deliver an AME pitch via COI connectors","operationId":"ame_deliver_fabric_unified_ame_deliver__pitch_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Pitch Id"},"name":"pitch_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/ame/auto-pipeline":{"post":{"tags":["aigentsy-fabric"],"summary":"Ame Auto Pipeline","description":"Full AME pipeline: Generate pitches and deliver via COI.\n\nRequired: matches (list of match objects), originator","operationId":"ame_auto_pipeline_fabric_unified_ame_auto_pipeline_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/amg/execute-action":{"post":{"tags":["aigentsy-fabric"],"summary":"Amg Execute Action","description":"Execute an AMG action via COI.\n\nRequired: username, action_type\nOptional: params","operationId":"amg_execute_action_fabric_unified_amg_execute_action_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/amg/run-cycle":{"post":{"tags":["aigentsy-fabric"],"summary":"Amg Run Cycle","description":"Run full AMG cycle with COI-powered fulfillment","operationId":"amg_run_cycle_fabric_unified_amg_run_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/metabridge/dispatch":{"post":{"tags":["aigentsy-fabric"],"summary":"Metabridge Dispatch","description":"MetaBridge deal dispatch with COI-powered delivery.\n\nRequired: query, originator\nOptional: mesh_session_id","operationId":"metabridge_dispatch_fabric_unified_metabridge_dispatch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/jv/propose":{"post":{"tags":["aigentsy-fabric"],"summary":"Jv Propose","description":"Create JV proposal and notify via COI.\n\nRequired: proposer, partner, title, description, revenue_split","operationId":"jv_propose_fabric_unified_jv_propose_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/jv/auto-match":{"post":{"tags":["aigentsy-fabric"],"summary":"Jv Auto Match","description":"Auto-match JV partners and propose via COI.\n\nRequired: agent (agent object), all_agents (list of agent objects)","operationId":"jv_auto_match_fabric_unified_jv_auto_match_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/metahive/distribute":{"post":{"tags":["aigentsy-fabric"],"summary":"Metahive Distribute","description":"Distribute MetaHive rewards using COI for notifications","operationId":"metahive_distribute_fabric_unified_metahive_distribute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric-unified/metahive/record":{"post":{"tags":["aigentsy-fabric"],"summary":"Metahive Record","description":"Record MetaHive contribution.\n\nRequired: username, contribution_type\nOptional: value","operationId":"metahive_record_fabric_unified_metahive_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/ai/execute-with-fulfillment":{"post":{"tags":["aigentsy-fabric"],"summary":"Ai Execute With Fulfillment","description":"Execute AI task and optionally fulfill the result via COI.\n\nRequired: prompt\nOptional: task_category, fulfill_result, fulfillment_type, fulfillment_params","operationId":"ai_execute_with_fulfillment_fabric_unified_ai_execute_with_fulfillment_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/ai/research-and-act":{"post":{"tags":["aigentsy-fabric"],"summary":"Ai Research And Act","description":"Research with AI then act via COI.\n\nRequired: research_query, action_type, action_params\nOptional: username","operationId":"ai_research_and_act_fabric_unified_ai_research_and_act_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fabric-unified/status":{"get":{"tags":["aigentsy-fabric"],"summary":"Fabric Status","description":"Get comprehensive fabric status","operationId":"fabric_status_fabric_unified_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric-unified/metrics":{"get":{"tags":["aigentsy-fabric"],"summary":"Fabric Metrics","description":"Get fabric metrics","operationId":"fabric_metrics_fabric_unified_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric-unified/initialize":{"post":{"tags":["aigentsy-fabric"],"summary":"Initialize Fabric","description":"Explicitly initialize the fabric","operationId":"initialize_fabric_fabric_unified_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/capabilities":{"get":{"tags":["monetization"],"summary":"Get Monetization Capabilities","description":"List all monetization capabilities and fee schedule","operationId":"get_monetization_capabilities_money_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/quote/price":{"post":{"tags":["monetization"],"summary":"Quote Dynamic Price","description":"Get dynamic price with surge, FX, wave uplift","operationId":"quote_dynamic_price_money_quote_price_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceQuoteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/quote/platform-fee":{"get":{"tags":["monetization"],"summary":"Quote Platform Fee","description":"Calculate platform fee for amount","operationId":"quote_platform_fee_money_quote_platform_fee_get","parameters":[{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/revenue/split":{"post":{"tags":["monetization"],"summary":"Split Revenue","description":"Split revenue across platform, user, pool, partner","operationId":"split_revenue_money_revenue_split_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevenueSplitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/ledger/entry":{"post":{"tags":["monetization"],"summary":"Create Ledger Entry","description":"Post a double-entry ledger entry","operationId":"create_ledger_entry_money_ledger_entry_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerEntryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/ledger/balance/{entity}":{"get":{"tags":["monetization"],"summary":"Get Balance","description":"Get entity balance","operationId":"get_balance_money_ledger_balance__entity__get","parameters":[{"required":true,"schema":{"type":"string","title":"Entity"},"name":"entity","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/ledger/history/{entity}":{"get":{"tags":["monetization"],"summary":"Get Ledger History","description":"Get entity ledger history","operationId":"get_ledger_history_money_ledger_history__entity__get","parameters":[{"required":true,"schema":{"type":"string","title":"Entity"},"name":"entity","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/ledger/stats":{"get":{"tags":["monetization"],"summary":"Get Stats","description":"Get ledger statistics","operationId":"get_stats_money_ledger_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/subscription/subscribe":{"post":{"tags":["monetization"],"summary":"Create Subscription","description":"Subscribe user to a tier","operationId":"create_subscription_money_subscription_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/subscription/tier/{tier_name}":{"get":{"tags":["monetization"],"summary":"Get Tier Info","description":"Get tier details","operationId":"get_tier_info_money_subscription_tier__tier_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tier Name"},"name":"tier_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/subscription/quota/{user}":{"get":{"tags":["monetization"],"summary":"Check User Quota","description":"Check user API quota","operationId":"check_user_quota_money_subscription_quota__user__get","parameters":[{"required":true,"schema":{"type":"string","title":"User"},"name":"user","in":"path"},{"required":false,"schema":{"type":"integer","title":"Calls Needed","default":1},"name":"calls_needed","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/license/quote":{"post":{"tags":["monetization"],"summary":"Get License Quote","description":"Get licensing quote","operationId":"get_license_quote_money_license_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicenseQuoteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/license/issue":{"post":{"tags":["monetization"],"summary":"Create License","description":"Issue a license","operationId":"create_license_money_license_issue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_create_license_money_license_issue_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/data/telemetry-pack":{"get":{"tags":["monetization"],"summary":"Quote Telemetry Pack","description":"Quote telemetry pack pricing","operationId":"quote_telemetry_pack_money_data_telemetry_pack_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Rows","default":10000},"name":"rows","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/data/benchmark-badge":{"get":{"tags":["monetization"],"summary":"Quote Benchmark Badge","description":"Quote benchmark badge pricing","operationId":"quote_benchmark_badge_money_data_benchmark_badge_get","parameters":[{"required":true,"schema":{"type":"string","title":"Outcome Type"},"name":"outcome_type","in":"query"},{"required":false,"schema":{"type":"integer","title":"Percentile","default":90},"name":"percentile","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/data/purchase":{"post":{"tags":["monetization"],"summary":"Purchase Product","description":"Purchase a data product","operationId":"purchase_product_money_data_purchase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/sponsorship/slots":{"get":{"tags":["monetization"],"summary":"List Available Slots","description":"List available sponsorship slots","operationId":"list_available_slots_money_sponsorship_slots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/sponsorship/active":{"get":{"tags":["monetization"],"summary":"List Active Sponsorships","description":"List active sponsorships","operationId":"list_active_sponsorships_money_sponsorship_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/sponsorship/purchase":{"post":{"tags":["monetization"],"summary":"Purchase Sponsorship","description":"Purchase a sponsorship slot","operationId":"purchase_sponsorship_money_sponsorship_purchase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorshipRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/referral/register":{"post":{"tags":["monetization"],"summary":"Register Referral Chain","description":"Register a referral chain for a user","operationId":"register_referral_chain_money_referral_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralChainRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/referral/allocate":{"post":{"tags":["monetization"],"summary":"Allocate Referral Revenue","description":"Allocate referral revenue across chain","operationId":"allocate_referral_revenue_money_referral_allocate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_allocate_referral_revenue_money_referral_allocate_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/referral/attribute":{"post":{"tags":["monetization"],"summary":"Attribute Revenue","description":"Record attribution for user revenue event","operationId":"attribute_revenue_money_referral_attribute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_attribute_revenue_money_referral_attribute_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/badge/mint":{"post":{"tags":["monetization"],"summary":"Mint Proof Badge","description":"Mint a proof-of-outcome badge","operationId":"mint_proof_badge_money_badge_mint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeAttestationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/badge/entity/{entity}":{"get":{"tags":["monetization"],"summary":"Get Badges For Entity","description":"Get all badges for an entity","operationId":"get_badges_for_entity_money_badge_entity__entity__get","parameters":[{"required":true,"schema":{"type":"string","title":"Entity"},"name":"entity","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/badge/verify/{badge_id}":{"get":{"tags":["monetization"],"summary":"Verify Proof Badge","description":"Verify a badge is authentic","operationId":"verify_proof_badge_money_badge_verify__badge_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Badge Id"},"name":"badge_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/arbitrage/detect-spread":{"post":{"tags":["monetization"],"summary":"Detect Spread","description":"Detect spread arbitrage opportunity","operationId":"detect_spread_money_arbitrage_detect_spread_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_detect_spread_money_arbitrage_detect_spread_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/arbitrage/stats":{"get":{"tags":["monetization"],"summary":"Arbitrage Stats","description":"Get arbitrage engine statistics","operationId":"arbitrage_stats_money_arbitrage_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/settlement/queue":{"post":{"tags":["monetization"],"summary":"Queue Payout","description":"Queue a settlement/payout","operationId":"queue_payout_money_settlement_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/monetization_routes__SettlementRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/settlement/pending":{"get":{"tags":["monetization"],"summary":"List Pending Settlements","description":"List pending settlements","operationId":"list_pending_settlements_money_settlement_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/settlement/process":{"post":{"tags":["monetization"],"summary":"Process Pending Settlements","description":"Process all pending settlements","operationId":"process_pending_settlements_money_settlement_process_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/fees":{"get":{"tags":["monetization"],"summary":"Get Fee Schedule","description":"Get current fee schedule","operationId":"get_fee_schedule_money_fees_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/fees/{key}":{"get":{"tags":["monetization"],"summary":"Get Specific Fee","description":"Get a specific fee value","operationId":"get_specific_fee_money_fees__key__get","parameters":[{"required":true,"schema":{"type":"string","title":"Key"},"name":"key","in":"path"},{"required":false,"schema":{"type":"number","title":"Default"},"name":"default","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["monetization"],"summary":"Set Fee","description":"Override a fee value (admin)","operationId":"set_fee_money_fees__key__post","parameters":[{"required":true,"schema":{"type":"string","title":"Key"},"name":"key","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_set_fee_money_fees__key__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v/{deal_id}":{"get":{"tags":["Public Proofs","proofs"],"summary":"Short Verify Redirect","description":"Short verification URL — redirects to verify.html?deal={deal_id}.","operationId":"short_verify_redirect_v__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs":{"get":{"tags":["Public Proofs","proofs"],"summary":"Get Proofs Landing","description":"Public proofs landing page data.\nReturns summary statistics and recent proof samples.","operationId":"get_proofs_landing_proofs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Proofs Landing Proofs Get"}}}}}}},"/proofs/root/today":{"get":{"tags":["Public Proofs","proofs"],"summary":"Get Root Today","description":"Get today's Merkle root.","operationId":"get_root_today_proofs_root_today_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Root Today Proofs Root Today Get"}}}}}}},"/proofs/root/{date}":{"get":{"tags":["Public Proofs","proofs"],"summary":"Get Root By Date","description":"Get Merkle root for a specific date.\n\nArgs:\n    date: Date in YYYY-MM-DD format","operationId":"get_root_by_date_proofs_root__date__get","parameters":[{"required":true,"schema":{"type":"string","title":"Date"},"name":"date","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Root By Date Proofs Root  Date  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/receipt/{execution_id}":{"get":{"tags":["Public Proofs","proofs"],"summary":"Get Receipt","description":"Get proof receipt for a specific execution.\n\nArgs:\n    execution_id: Execution/outcome identifier","operationId":"get_receipt_proofs_receipt__execution_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Receipt Proofs Receipt  Execution Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/stats":{"get":{"summary":"Proofs Stats","description":"Public stats for social proof display on landing pages.","operationId":"proofs_stats_proofs_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proofs/wall-of-wins":{"get":{"summary":"Proofs Wall Of Wins","description":"Public wall of wins — anonymized proof cards for social proof.","operationId":"proofs_wall_of_wins_proofs_wall_of_wins_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":6},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/share-card/{proof_id}":{"get":{"summary":"Proofs Share Card","description":"Get shareable proof card data for /proof/{id} page.","operationId":"proofs_share_card_proofs_share_card__proof_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proof Id"},"name":"proof_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/verify":{"get":{"tags":["Public Proofs","proofs"],"summary":"Verify Proof","description":"Verify a proof against a root hash.\n\nArgs:\n    execution_id: Execution ID to verify\n    expected_root: Optional expected root hash","operationId":"verify_proof_proofs_verify_get","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Expected Root"},"name":"expected_root","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verify Proof Proofs Verify Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Verify Proof Endpoint","description":"Verify a proof record\n\nBody:\n{\n    \"proof_id\": \"proof_abc123\",\n    \"verifier\": \"system\"\n}","operationId":"verify_proof_endpoint_proofs_verify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portfolio":{"get":{"tags":["Public Proofs","proofs"],"summary":"Get Portfolio","description":"Public portfolio endpoint — browsable catalog of verified outcomes.\n\nAggregates proof records, trust scores, badges, and sample work\ninto a portfolio showcase. All data is anonymized.","operationId":"get_portfolio_portfolio_get","parameters":[{"description":"Filter by vertical (e.g., web_dev, design)","required":false,"schema":{"type":"string","title":"Vertical","description":"Filter by vertical (e.g., web_dev, design)"},"name":"vertical","in":"query"},{"required":false,"schema":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Portfolio Portfolio Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/hello":{"get":{"tags":["Protocol Hello","Protocol Hello"],"summary":"Protocol Hello","operationId":"protocol_hello_protocol_hello_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/metrics/emit":{"post":{"tags":["Protocol Metrics","Protocol Metrics"],"summary":"Emit Metric","operationId":"emit_metric_protocol_metrics_emit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricEvent"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/auth/check":{"post":{"tags":["Protocol Metrics","Protocol Metrics"],"summary":"Wade Auth Check","description":"Validate Wade dashboard token. Returns ok:true or ok:false.","operationId":"wade_auth_check_wade_auth_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/metrics/summary":{"get":{"tags":["Protocol Metrics","Protocol Metrics"],"summary":"Metrics Summary","operationId":"metrics_summary_protocol_metrics_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/webhooks":{"get":{"tags":["Webhooks","Webhooks"],"summary":"List Webhooks","operationId":"list_webhooks_protocol_webhooks_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Webhooks","Webhooks"],"summary":"Register Webhook","operationId":"register_webhook_protocol_webhooks_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRegistration"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/webhooks/{hook_id}":{"delete":{"tags":["Webhooks","Webhooks"],"summary":"Delete Webhook","operationId":"delete_webhook_protocol_webhooks__hook_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Hook Id"},"name":"hook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/webhooks/{hook_id}/deliveries":{"get":{"tags":["Webhooks","Webhooks"],"summary":"Get Deliveries","description":"Get delivery log for a webhook — shows successes, failures, and retries.","operationId":"get_deliveries_protocol_webhooks__hook_id__deliveries_get","parameters":[{"required":true,"schema":{"type":"string","title":"Hook Id"},"name":"hook_id","in":"path"},{"required":false,"schema":{"type":"integer","maximum":200.0,"title":"Limit","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/webhooks/{hook_id}/test":{"post":{"tags":["Webhooks","Webhooks"],"summary":"Test Webhook","description":"Send a test event to verify webhook connectivity.","operationId":"test_webhook_protocol_webhooks__hook_id__test_post","parameters":[{"required":true,"schema":{"type":"string","title":"Hook Id"},"name":"hook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proof-chain/{deal_id}":{"get":{"tags":["Proof Chains","Proof Chains"],"summary":"Get Proof Chain","description":"Get proof chain provenance for a deal.","operationId":"get_proof_chain_protocol_proof_chain__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proof-chain/{deal_id}/lineage":{"get":{"tags":["Proof Chains","Proof Chains"],"summary":"Get Proof Lineage","description":"Get full provenance lineage: ancestors + self + descendants.","operationId":"get_proof_lineage_protocol_proof_chain__deal_id__lineage_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/proof-chain/roots":{"get":{"tags":["Proof Chains","Proof Chains"],"summary":"Get Chain Roots","description":"Get all root proofs (supply chain origins).","operationId":"get_chain_roots_protocol_proof_chain_roots_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":500.0,"title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/settle/multi":{"post":{"tags":["Multi-Party Settlement","Multi-Party Settlement"],"summary":"Settle Multiparty","description":"Multi-party settlement with atomic N-way splits.\n\nValidates shares sum to 1.0, computes per-agent amounts with protocol fees,\nrecords all transactions, emits events for each split, and creates a single\nMULTIPARTY_SETTLED event with full attribution.","operationId":"settle_multiparty_protocol_settle_multi_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiPartyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/deals/{deal_id}/splits":{"get":{"tags":["Multi-Party Settlement","Multi-Party Settlement"],"summary":"Get Deal Splits","description":"Get multi-party split breakdown for a deal.","operationId":"get_deal_splits_protocol_deals__deal_id__splits_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/bridges":{"get":{"tags":["Cross-Protocol Bridges","Cross-Protocol Bridges"],"summary":"List Bridges","description":"List available cross-protocol bridge adapters.","operationId":"list_bridges_protocol_bridges_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/bridges/{protocol}":{"get":{"tags":["Cross-Protocol Bridges","Cross-Protocol Bridges"],"summary":"Get Bridge Info","description":"Get details for a specific bridge adapter.","operationId":"get_bridge_info_protocol_bridges__protocol__get","parameters":[{"required":true,"schema":{"type":"string","title":"Protocol"},"name":"protocol","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/fee-tiers":{"get":{"tags":["Volume Fee Compression","Volume Fee Compression"],"summary":"Get Fee Tiers","description":"Public fee tier schedule. Volume-based compression is automatic.","operationId":"get_fee_tiers_protocol_fee_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/fee-tiers/{agent_id}":{"get":{"tags":["Volume Fee Compression","Volume Fee Compression"],"summary":"Get Agent Tier","description":"Get an agent's current volume tier and 30-day volume.","operationId":"get_agent_tier_protocol_fee_tiers__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stakes":{"post":{"tags":["Reputation Staking","Reputation Staking"],"summary":"Create Stake","description":"Stake balance against a commitment for a deal.\n\nThe stake signals confidence. On success, agent earns a bonus.\nOn failure, the stake is slashed. Buyers can filter by staked deals.","operationId":"create_stake_protocol_stakes_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStakeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stakes/{stake_id}/resolve":{"post":{"tags":["Reputation Staking","Reputation Staking"],"summary":"Resolve Stake","description":"Resolve a stake as success (bonus) or failure (slash).","operationId":"resolve_stake_protocol_stakes__stake_id__resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Stake Id"},"name":"stake_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveStakeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stakes/{agent_id}":{"get":{"tags":["Reputation Staking","Reputation Staking"],"summary":"Get Agent Stakes","description":"List stakes for an agent.","operationId":"get_agent_stakes_protocol_stakes__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"},{"required":false,"schema":{"type":"boolean","title":"Active Only","default":false},"name":"active_only","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stakes/leaderboard":{"get":{"tags":["Reputation Staking","Reputation Staking"],"summary":"Staking Leaderboard","description":"Agents ranked by staking success (win rate * volume staked).","operationId":"staking_leaderboard_protocol_stakes_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":100.0,"title":"Limit","default":25},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/netting/record":{"post":{"tags":["Settlement Netting","Settlement Netting"],"summary":"Record Obligation","description":"Record a settlement obligation eligible for netting.","operationId":"record_obligation_protocol_netting_record_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordObligationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/netting/cycle":{"post":{"tags":["Settlement Netting","Settlement Netting"],"summary":"Run Netting Cycle","description":"Run a netting cycle: compute bilateral net positions and produce transfers.\n\nClears all pending obligations. Net transfers can then be settled\nindividually via POST /protocol/settle.","operationId":"run_netting_cycle_protocol_netting_cycle_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/netting/positions":{"get":{"tags":["Settlement Netting","Settlement Netting"],"summary":"Get Positions","description":"View current bilateral net positions (before netting cycle).","operationId":"get_positions_protocol_netting_positions_get","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/netting/history":{"get":{"tags":["Settlement Netting","Settlement Netting"],"summary":"Netting History","description":"View past netting cycle summaries.","operationId":"netting_history_protocol_netting_history_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":100.0,"title":"Limit","default":20},"name":"limit","in":"query"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/programmable":{"post":{"tags":["Programmable Mandates","Programmable Mandates"],"summary":"Create Programmable Mandate","description":"Create a programmable mandate with conditional rules.\n\nRules are evaluated in order — first match wins. Each rule has\nconditions (all must match) and an action (auto_approve, require_human, reject).","operationId":"create_programmable_mandate_protocol_mandates_programmable_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProgrammableMandateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/programmable/{buyer_id}":{"get":{"tags":["Programmable Mandates","Programmable Mandates"],"summary":"Get Programmable Mandate","description":"Get active programmable mandate for a buyer.","operationId":"get_programmable_mandate_protocol_mandates_programmable__buyer_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Id"},"name":"buyer_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/programmable/evaluate":{"post":{"tags":["Programmable Mandates","Programmable Mandates"],"summary":"Evaluate Mandate","description":"Evaluate a context against a programmable mandate.\n\nReturns the action decision and which rule matched (if any).","operationId":"evaluate_mandate_protocol_mandates_programmable_evaluate_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateMandateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/mandates/programmable/{mandate_id}/revoke":{"post":{"tags":["Programmable Mandates","Programmable Mandates"],"summary":"Revoke Programmable Mandate","description":"Revoke a programmable mandate.","operationId":"revoke_programmable_mandate_protocol_mandates_programmable__mandate_id__revoke_post","parameters":[{"required":true,"schema":{"type":"string","title":"Mandate Id"},"name":"mandate_id","in":"path"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/attestations/issue":{"post":{"tags":["Reputation Attestations","Reputation Attestations"],"summary":"Issue","description":"Issue a signed W3C Verifiable Credential attesting an agent's reputation.","operationId":"issue_protocol_attestations_issue_post","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"query"},{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/attestations/{agent_id}":{"get":{"tags":["Reputation Attestations","Reputation Attestations"],"summary":"Get Attestation","description":"Get the latest reputation attestation for an agent.\n\nPublic endpoint — credentials are designed to be shared.","operationId":"get_attestation_protocol_attestations__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/attestations/verify":{"post":{"tags":["Reputation Attestations","Reputation Attestations"],"summary":"Verify","description":"Verify a reputation attestation offline.\n\nNo API key required — verification is a public operation.\nProvide the Ed25519 public key for full signature verification,\nor omit it for hash-only verification.","operationId":"verify_protocol_attestations_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyAttestationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/attestations":{"get":{"tags":["Reputation Attestations","Reputation Attestations"],"summary":"Attestation Stats","description":"Get attestation system statistics.","operationId":"attestation_stats_protocol_attestations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/credentials/publish":{"post":{"tags":["Credential Marketplace","Credential Marketplace"],"summary":"Publish Credential","description":"Publish a verified proof as a discoverable credential.\n\nThe proof must have at least one PROOF_VERIFIED event. This packages\nthe proof metadata, verification confidence, and OCS score at time\nof publication into a searchable credential.","operationId":"publish_credential_protocol_credentials_publish_post","parameters":[{"required":true,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishCredentialRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/credentials/search":{"get":{"tags":["Credential Marketplace","Credential Marketplace"],"summary":"Search Credentials","description":"Search the credential marketplace by proven capability.\n\nReturns credentials sorted by verification confidence. Each credential\nis backed by a verified proof bundle with full provenance chain.","operationId":"search_credentials_protocol_credentials_search_get","parameters":[{"description":"Capability tag to search for","required":false,"schema":{"type":"string","title":"Capability","description":"Capability tag to search for","default":""},"name":"capability","in":"query"},{"description":"Vertical filter","required":false,"schema":{"type":"string","title":"Vertical","description":"Vertical filter","default":""},"name":"vertical","in":"query"},{"description":"Agent ID filter","required":false,"schema":{"type":"string","title":"Agent Id","description":"Agent ID filter","default":""},"name":"agent_id","in":"query"},{"description":"Minimum verification confidence","required":false,"schema":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Confidence","description":"Minimum verification confidence","default":0.0},"name":"min_confidence","in":"query"},{"required":false,"schema":{"type":"integer","maximum":200.0,"title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/credentials/{deal_id}":{"get":{"tags":["Credential Marketplace","Credential Marketplace"],"summary":"Get Credential","description":"Get credential details for a specific deal. Public endpoint.","operationId":"get_credential_protocol_credentials__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/credentials":{"get":{"tags":["Credential Marketplace","Credential Marketplace"],"summary":"Credential Stats","description":"Credential marketplace statistics.","operationId":"credential_stats_protocol_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compliance/export/events":{"get":{"tags":["Compliance Export"],"summary":"Export Events","description":"Export protocol events for compliance audit.","operationId":"export_events_compliance_export_events_get","parameters":[{"description":"ISO date (YYYY-MM-DD) start","required":false,"schema":{"type":"string","title":"Start Date","description":"ISO date (YYYY-MM-DD) start"},"name":"start_date","in":"query"},{"description":"ISO date (YYYY-MM-DD) end","required":false,"schema":{"type":"string","title":"End Date","description":"ISO date (YYYY-MM-DD) end"},"name":"end_date","in":"query"},{"description":"Filter by deal_id","required":false,"schema":{"type":"string","title":"Deal Id","description":"Filter by deal_id"},"name":"deal_id","in":"query"},{"required":false,"schema":{"type":"integer","maximum":10000.0,"title":"Limit","default":1000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/export/audit":{"get":{"tags":["Compliance Export"],"summary":"Export Audit","description":"Export audit log entries.","operationId":"export_audit_compliance_export_audit_get","parameters":[{"description":"Filter by event type","required":false,"schema":{"type":"string","title":"Event Type","description":"Filter by event type"},"name":"event_type","in":"query"},{"description":"Filter by actor","required":false,"schema":{"type":"string","title":"Actor","description":"Filter by actor"},"name":"actor","in":"query"},{"required":false,"schema":{"type":"integer","maximum":10000.0,"title":"Limit","default":1000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/export/subject":{"get":{"tags":["Compliance Export"],"summary":"Export Subject Data","description":"GDPR data subject access request — export all data for a given agent/user.","operationId":"export_subject_data_compliance_export_subject_get","parameters":[{"description":"Agent/user ID for data subject request","required":true,"schema":{"type":"string","title":"Subject Id","description":"Agent/user ID for data subject request"},"name":"subject_id","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/erase/subject":{"post":{"tags":["Compliance Export"],"summary":"Erase Subject","description":"GDPR right-to-erasure (Art. 17) — anonymize personal data for a given agent.\n\nThis endpoint implements a safe erasure strategy:\n\n- Agent record: PII fields (name, email, description, api_endpoint) are\n  replaced with \"[erased]\". Status set to \"erased\". Agent ID retained as\n  a pseudonymous key for referential integrity.\n- API keys: revoked (agent can no longer authenticate).\n- Webhooks: registrations owned by this agent are deleted.\n- Protocol events: actor_id fields matching the subject are replaced with\n  \"erased_<hash>\" to preserve event chain integrity while removing the\n  link to the original identity.\n- Ledger entries: agent references are replaced with the same anonymized ID.\n  Financial amounts are retained for audit/tax compliance (GDPR Art. 17(3)(e)).\n- Proofs and Merkle log entries: not modified. These are deal-scoped\n  cryptographic records. Modifying them would break hash chains and\n  transparency log integrity. They contain only pseudonymous agent IDs\n  which are anonymized at the registry level.\n\nRequires confirm=true to execute.","operationId":"erase_subject_compliance_erase_subject_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EraseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalog/sitemap.json":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"Get Sitemap Json","description":"Get full catalog sitemap in JSON format.","operationId":"get_sitemap_json_catalog_sitemap_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Sitemap Json Catalog Sitemap Json Get"}}}}}}},"/catalog/sitemap.xml":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"Get Sitemap Xml","description":"Get catalog sitemap in XML format for search engines.","operationId":"get_sitemap_xml_catalog_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/catalog/skus":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"List Skus","description":"List active SKUs with optional filtering.\n\nArgs:\n    category: Filter by category\n    active_only: Only return active SKUs\n    limit: Maximum results","operationId":"list_skus_catalog_skus_get","parameters":[{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Active Only","default":true},"name":"active_only","in":"query"},{"required":false,"schema":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Skus Catalog Skus Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalog/sku/{sku_id}":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"Get Sku","description":"Get details for a specific SKU.\n\nArgs:\n    sku_id: SKU identifier","operationId":"get_sku_catalog_sku__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Sku Catalog Sku  Sku Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalog/categories":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"List Categories","description":"List all available categories.","operationId":"list_categories_catalog_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Categories Catalog Categories Get"}}}}}}},"/catalog/store":{"get":{"tags":["Catalog Sitemap","catalog"],"summary":"Get Store","description":"Get the v2 SKU store with pre-scoped SKUs.\n\nReturns all v2 SKUs with computed go_url field for instant purchase.\nSupports filtering by category and rush pricing toggle.","operationId":"get_store_catalog_store_get","parameters":[{"description":"Filter by category","required":false,"schema":{"type":"string","title":"Category","description":"Filter by category"},"name":"category","in":"query"},{"description":"Show rush pricing (+20%)","required":false,"schema":{"type":"boolean","title":"Rush","description":"Show rush pricing (+20%)","default":false},"name":"rush","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Store Catalog Store Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/genome/{sku_id}":{"get":{"tags":["SKU Flywheel"],"summary":"Get Genome","description":"View a SKU genome — pricing, telemetry, playbooks, routing.","operationId":"get_genome_sku_genome__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/genome/{sku_id}/full":{"get":{"tags":["SKU Flywheel"],"summary":"Get Genome Full","description":"View full genome data including all playbooks and patterns.","operationId":"get_genome_full_sku_genome__sku_id__full_get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/graduate":{"post":{"tags":["SKU Flywheel"],"summary":"Graduate Sku Endpoint","description":"Manually trigger graduation check + promotion for a SKU.","operationId":"graduate_sku_endpoint_sku_graduate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__sku_routes__GraduateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/graduation/{sku_id}":{"get":{"tags":["SKU Flywheel"],"summary":"Get Graduation Status","description":"Check graduation eligibility for a SKU.","operationId":"get_graduation_status_sku_graduation__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/demand":{"get":{"tags":["SKU Flywheel"],"summary":"Get Demand Overview","description":"Get demand clusters and summary across all SKUs.","operationId":"get_demand_overview_sku_demand_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sku/demand/{sku_id}":{"get":{"tags":["SKU Flywheel"],"summary":"Get Sku Demand","description":"Get detailed demand stats for a specific SKU (24h, 7d, 30d).","operationId":"get_sku_demand_sku_demand__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/spawns":{"get":{"tags":["SKU Flywheel"],"summary":"Get Spawns","description":"Get all active auto-spawned businesses.","operationId":"get_spawns_sku_spawns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sku/spawns/performance":{"get":{"tags":["SKU Flywheel"],"summary":"Get Spawn Performance","description":"Get aggregate telemetry from all active spawns.","operationId":"get_spawn_performance_sku_spawns_performance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sku/library":{"get":{"tags":["SKU Flywheel"],"summary":"Get Library","description":"Get graduated SKUs available as Business-in-a-Box templates.","operationId":"get_library_sku_library_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sku/gate/{sku_id}":{"get":{"tags":["SKU Flywheel"],"summary":"Get Gate Assessment","description":"Get fulfillability gate assessment for a SKU.","operationId":"get_gate_assessment_sku_gate__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sku/routing":{"get":{"tags":["SKU Flywheel"],"summary":"Get Routing Stats","description":"Get monetization routing stats (direct vs platform decisions).","operationId":"get_routing_stats_sku_routing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sku/stats":{"get":{"tags":["SKU Flywheel"],"summary":"Get Flywheel Stats","description":"Aggregate SKU Flywheel stats — demand, spawns, graduation, routing\nall in one view.","operationId":"get_flywheel_stats_sku_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/external":{"get":{"tags":["SLO Dashboard"],"summary":"Slo External","description":"Public-facing SLO metrics","operationId":"slo_external_slo_external_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/internal":{"get":{"tags":["SLO Dashboard"],"summary":"Slo Internal","description":"Internal ops dashboard data","operationId":"slo_internal_slo_internal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/badges":{"get":{"tags":["SLO Dashboard"],"summary":"Slo Badges","description":"Badge data for widget embedding","operationId":"slo_badges_slo_badges_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runbooks/pause/{category}":{"post":{"tags":["Runbooks"],"summary":"Runbooks Pause","description":"Pause a category of operations","operationId":"runbooks_pause_runbooks_pause__category__post","parameters":[{"required":true,"schema":{"type":"string","title":"Category"},"name":"category","in":"path"},{"required":false,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runbooks/resume/{category}":{"post":{"tags":["Runbooks"],"summary":"Runbooks Resume","description":"Resume a paused category","operationId":"runbooks_resume_runbooks_resume__category__post","parameters":[{"required":true,"schema":{"type":"string","title":"Category"},"name":"category","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runbooks/status":{"get":{"tags":["Runbooks"],"summary":"Runbooks Status","description":"Get current runbook status","operationId":"runbooks_status_runbooks_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runbooks/snapshot":{"post":{"tags":["Runbooks"],"summary":"Runbooks Snapshot","description":"Create configuration snapshot","operationId":"runbooks_snapshot_runbooks_snapshot_post","parameters":[{"required":false,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runbooks/snapshots":{"get":{"tags":["Runbooks"],"summary":"Runbooks List","description":"List available snapshots","operationId":"runbooks_list_runbooks_snapshots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runbooks/rollback/{snapshot_id}":{"post":{"tags":["Runbooks"],"summary":"Runbooks Rollback","description":"Rollback to snapshot","operationId":"runbooks_rollback_runbooks_rollback__snapshot_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Snapshot Id"},"name":"snapshot_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outcomes/write":{"post":{"summary":"Outcomes Write","description":"Unified outcome sink - every money-path hits this endpoint.\nTriggers: (a) upsell/cross-sell, (b) referral request, (c) case-study gen","operationId":"outcomes_write_outcomes_write_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outcomes/ledger":{"get":{"summary":"Outcomes Ledger","description":"Get recent outcomes from the unified ledger","operationId":"outcomes_ledger_outcomes_ledger_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Hours","default":24},"name":"hours","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outcomes/summary":{"get":{"summary":"Outcomes Summary","description":"Summary of outcomes by type and revenue path","operationId":"outcomes_summary_outcomes_summary_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Hours","default":24},"name":"hours","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/replies/process-batch":{"post":{"summary":"Replies Process Batch","description":"Process a batch of pending replies - detect intent and route","operationId":"replies_process_batch_replies_process_batch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/intent-to-cash":{"post":{"summary":"Orchestrator Intent To Cash","description":"Atomic close-loop: Intent → Claim → DealGraph → Price → Bid → Revenue → Reconcile\nTurns a single intent into a fully reconciled cash event.","operationId":"orchestrator_intent_to_cash_orchestrator_intent_to_cash_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/inventory-merch":{"post":{"summary":"Orchestrator Inventory Merch","description":"Commerce pipeline: Inventory → Pricing ARM → AAM/Retarget → Cart Recovery → Revenue\nv104: Now reads capacity/pacing and respects AGG/SLO for SKU selection.\n- SLO violated → fast SKUs (express, quickturn, low-ticket)\n- Optimized mode → high-margin SKUs\n- Uses pricing bandit winner as price floor","operationId":"orchestrator_inventory_merch_orchestrator_inventory_merch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/jv-auto-execute":{"post":{"summary":"Orchestrator Jv Auto Execute","description":"JV Mesh orchestration: Scan → Propose → Vote → Execute → Revenue Split\nAutomates the full JV lifecycle with compatibility scoring.","operationId":"orchestrator_jv_auto_execute_orchestrator_jv_auto_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/franchise-autospawn":{"post":{"summary":"Orchestrator Franchise Autospawn","description":"Auto-replicator: Detect Winners → Template → Clone → Deploy → Royalties\nScales winning business patterns exponentially.","operationId":"orchestrator_franchise_autospawn_orchestrator_franchise_autospawn_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/publish":{"post":{"summary":"Ifx Publish Intent","description":"Publish a verified demand intent for fulfillment bidding","operationId":"ifx_publish_intent_ifx_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/bid":{"post":{"summary":"Ifx Submit Bid","description":"Submit a bid to fulfill a published intent","operationId":"ifx_submit_bid_ifx_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/settle":{"post":{"summary":"Ifx Settle Listing","description":"Accept winning bid and create settlement","operationId":"ifx_settle_listing_ifx_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/listings":{"get":{"summary":"Ifx Get Listings","description":"Get all IFX listings","operationId":"ifx_get_listings_ifx_listings_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status","default":"open"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/settlement/{settlement_id}":{"get":{"summary":"Ifx Get Settlement","description":"Get settlement details","operationId":"ifx_get_settlement_ifx_settlement__settlement_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Settlement Id"},"name":"settlement_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/auto-quote":{"post":{"summary":"Ifx Auto Quote","description":"Build orderbook from intents with Kelly sizing + SLA + pricing.\nEvery discovered intent becomes a quoted instrument.\nUses atomic JSONBIN writes with idempotency keys.","operationId":"ifx_auto_quote_ifx_auto_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/mark-to-market":{"post":{"summary":"Ifx Mark To Market","description":"Reprice all quotes in orderbook with current pricing rules.\nGap 2 Fix: Now includes VaR (Value at Risk) calculation.","operationId":"ifx_mark_to_market_ifx_mark_to_market_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/market-make":{"post":{"summary":"Oaa Market Make","description":"Full market-maker cycle: auto-quote → sweep spreads → reconcile.\nThis is the main entry point for autonomous market-making.","operationId":"oaa_market_make_oaa_market_make_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/sweep-spreads":{"post":{"summary":"Pricing Sweep Spreads","description":"Execute best-EV quotes from orderbook & reconcile revenue.\nCalls contract_payment_engine and revenue_reconciliation.","operationId":"pricing_sweep_spreads_pricing_sweep_spreads_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/orderbook":{"get":{"summary":"Ifx Get Orderbook","description":"Get current orderbook state","operationId":"ifx_get_orderbook_ifx_orderbook_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/route-with-tranches":{"post":{"summary":"Dealgraph Route With Tranches","description":"Route a deal through tranche structure.\nReturns senior/mezz/equity stack with premiums.","operationId":"dealgraph_route_with_tranches_dealgraph_route_with_tranches_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/underwriting/quote":{"post":{"summary":"Underwriting Quote","description":"Full underwriting quote with risk assessment and premiums.\nUses outcome_oracle and fraud_detector if available.","operationId":"underwriting_quote_underwriting_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/bind":{"post":{"summary":"Insurance Bind","description":"Bind insurance policy to pool.\nGap 3 Fix: Flows premium through contract_payment_engine and revenue_reconciliation_engine.","operationId":"insurance_bind_insurance_bind_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bonds/issue":{"post":{"summary":"Bonds Issue","description":"Issue performance bond for deal.\nUses performance_bonds module if available, else safe fallback.","operationId":"bonds_issue_bonds_issue_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/reconcile-tranche":{"post":{"summary":"Revenue Reconcile Tranche","description":"Reconcile tranche revenue - handoff to recon engine.\nRecords underwriting premium revenue for accounting.","operationId":"revenue_reconcile_tranche_revenue_reconcile_tranche_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/underwriting/status":{"get":{"summary":"Underwriting Status","description":"Get underwriting system status","operationId":"underwriting_status_underwriting_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/claims/file":{"post":{"summary":"Claims File","description":"File a claim against a deal/policy.\nClaims are processed through the waterfall when resolved.","operationId":"claims_file_claims_file_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claims/resolve":{"post":{"summary":"Claims Resolve","description":"Resolve a claim using the waterfall: equity → mezzanine → senior → bond.\nEach layer absorbs losses up to its capacity before passing to the next.","operationId":"claims_resolve_claims_resolve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claims/list":{"get":{"summary":"Claims List","description":"List all claims, optionally filtered by status","operationId":"claims_list_claims_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claims/{claim_id}":{"get":{"summary":"Claims Get","description":"Get details of a specific claim","operationId":"claims_get_claims__claim_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Claim Id"},"name":"claim_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/route":{"post":{"summary":"Dealgraph Route","description":"Route deals through the DealGraph for tranching.\nScope: all_open_deals, closing, new_only","operationId":"dealgraph_route_dealgraph_route_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/risk-tranche":{"post":{"summary":"Dealgraph Risk Tranche","description":"Apply risk tranching to all routed deals.\nCreates bond + insurance coverage for each.","operationId":"dealgraph_risk_tranche_dealgraph_risk_tranche_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/underwrite":{"post":{"summary":"Dealgraph Underwrite","description":"Final underwriting step - bind all policies and set exposure limits.","operationId":"dealgraph_underwrite_dealgraph_underwrite_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/stats":{"get":{"summary":"Dealgraph Stats","description":"Get DealGraph coverage and underwriting statistics","operationId":"dealgraph_stats_dealgraph_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oaa/credits/mint":{"post":{"summary":"Oaa Credits Mint","description":"Mint outcome credits - buyer prepays at discount","operationId":"oaa_credits_mint_oaa_credits_mint_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/credits/redeem":{"post":{"summary":"Oaa Credits Redeem","description":"Redeem credits for outcome fulfillment","operationId":"oaa_credits_redeem_oaa_credits_redeem_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/credits/balance":{"get":{"summary":"Oaa Credits Balance","description":"Get credit balance for user","operationId":"oaa_credits_balance_oaa_credits_balance_get","parameters":[{"required":false,"schema":{"type":"string","title":"User Id","default":"anon"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/credits/market":{"post":{"summary":"Oaa Credits Market List","description":"List credits on secondary market","operationId":"oaa_credits_market_list_oaa_credits_market_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/auto-compose":{"post":{"summary":"Bundles Auto Compose","description":"Auto-compose bundles from winning SKUs this week","operationId":"bundles_auto_compose_bundles_auto_compose_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/price-elasticity":{"get":{"summary":"Bundles Price Elasticity","description":"Get price elasticity data for bundles","operationId":"bundles_price_elasticity_bundles_price_elasticity_get","parameters":[{"required":false,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/creator-onboard":{"post":{"summary":"Syndication Creator Onboard","description":"Onboard creator to profit-share program","operationId":"syndication_creator_onboard_syndication_creator_onboard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/auto-share":{"post":{"summary":"Syndication Auto Share","description":"Auto-share content through creator storefronts","operationId":"syndication_auto_share_syndication_auto_share_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/royalty/settle-creator":{"post":{"summary":"Royalty Settle Creator","description":"Settle royalties for creator","operationId":"royalty_settle_creator_royalty_settle_creator_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/amg/amm/quote":{"post":{"summary":"Amg Amm Quote","description":"Quote ad inventory slot using Kelly+Bandit","operationId":"amg_amm_quote_amg_amm_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/amg/amm/fill":{"post":{"summary":"Amg Amm Fill","description":"Fill ad inventory slot","operationId":"amg_amm_fill_amg_amm_fill_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/auto-enable-pack":{"post":{"summary":"Platform Auto Enable Pack","description":"Auto-enable revenue pack on connected platform","operationId":"platform_auto_enable_pack_platform_auto_enable_pack_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/pack/health":{"get":{"summary":"Platform Pack Health","description":"Check health of installed revenue pack","operationId":"platform_pack_health_platform_pack_health_get","parameters":[{"required":false,"schema":{"type":"string","title":"Install Id"},"name":"install_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/lp/register":{"post":{"summary":"Insurance Lp Register","description":"Register LP for insurance pool","operationId":"insurance_lp_register_insurance_lp_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/lp/share-statement":{"get":{"summary":"Insurance Lp Share Statement","description":"Get LP share statement","operationId":"insurance_lp_share_statement_insurance_lp_share_statement_get","parameters":[{"required":true,"schema":{"type":"string","title":"Lp Id"},"name":"lp_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bonds/lp/yield-sweep":{"post":{"summary":"Bonds Lp Yield Sweep","description":"Sweep yield to bond LPs","operationId":"bonds_lp_yield_sweep_bonds_lp_yield_sweep_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/refresh-all":{"post":{"summary":"Oauth Refresh All","description":"Refresh all OAuth tokens that are near expiry","operationId":"oauth_refresh_all_oauth_refresh_all_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/scope-audit":{"get":{"summary":"Oauth Scope Audit","description":"Audit OAuth scopes across platforms","operationId":"oauth_scope_audit_oauth_scope_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/platform/permissions/audit":{"get":{"summary":"Platform Permissions Audit","description":"Audit which third-party rails are hot or degraded","operationId":"platform_permissions_audit_platform_permissions_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oaa/quote":{"post":{"summary":"Oaa Get Quote","description":"Get a quote for outcome fulfillment","operationId":"oaa_get_quote_oaa_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/execute":{"post":{"summary":"Oaa Execute Outcome","description":"Execute an outcome request (white-label fulfillment)","operationId":"oaa_execute_outcome_oaa_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/webhook/register":{"post":{"summary":"Oaa Register Webhook","description":"Register a webhook for outcome notifications","operationId":"oaa_register_webhook_oaa_webhook_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oaa/request/{request_id}":{"get":{"summary":"Oaa Get Request","description":"Get status of an OAA request","operationId":"oaa_get_request_oaa_request__request_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Request Id"},"name":"request_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/subscribe":{"post":{"summary":"Skills Subscribe","description":"Subscribe to a skill cartridge","operationId":"skills_subscribe_skills_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/catalog":{"get":{"summary":"Skills Get Catalog","description":"Get skills catalog","operationId":"skills_get_catalog_skills_catalog_get","parameters":[{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skills/push":{"post":{"summary":"Skills Push To Subscribers","description":"Push skill updates to all subscribers","operationId":"skills_push_to_subscribers_skills_push_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/status":{"get":{"summary":"Orchestrator Status","description":"Get status of all orchestrators and new modules","operationId":"orchestrator_status_orchestrator_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/estimate-cogs":{"post":{"summary":"Estimate Cogs","description":"Estimate Cost of Goods Sold before bidding/closing.\nReturns model/compute/API costs, human minutes, platform fees, FX, slippage, failure risk.","operationId":"estimate_cogs_execution_estimate_cogs_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/margin-gate":{"post":{"summary":"Margin Gate","description":"Gate bids/contracts - only proceed if margin meets threshold.\nDynamic SLA↔Price linker: rush SLA = higher price bandit priors.","operationId":"margin_gate_execution_margin_gate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tenant/guard/check":{"post":{"summary":"Tenant Guard Check","description":"Check if tenant context is valid","operationId":"tenant_guard_check_tenant_guard_check_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/strike/record":{"post":{"summary":"Platform Strike Record","description":"Record a TOS strike for a platform.\nAuto-downgrades aggression for that platform when threshold exceeded.","operationId":"platform_strike_record_platform_strike_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/strikes/status":{"get":{"summary":"Platform Strikes Status","description":"Get strike status across all platforms","operationId":"platform_strikes_status_platform_strikes_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/platform/strikes/reset":{"post":{"summary":"Platform Strikes Reset","description":"Reset strikes for a platform (admin action)","operationId":"platform_strikes_reset_platform_strikes_reset_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/test/golden-path":{"post":{"summary":"Test Golden Path","description":"Run 10-minute golden path test.\nSynthetic user: Hello → first API call → PoO badge","operationId":"test_golden_path_test_golden_path_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/test/golden-path/history":{"get":{"summary":"Test Golden Path History","description":"Get golden path test history","operationId":"test_golden_path_history_test_golden_path_history_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/test/send-demo":{"post":{"summary":"Test Send Demo","description":"Send a demo DM and/or email to test the full flow.\nCreates a real contract and sends through the normal outreach system.","operationId":"test_send_demo_test_send_demo_post","parameters":[{"description":"Email to send demo to","required":false,"schema":{"type":"string","title":"Email","description":"Email to send demo to"},"name":"email","in":"query"},{"description":"Twitter handle to DM","required":false,"schema":{"type":"string","title":"Twitter","description":"Twitter handle to DM"},"name":"twitter","in":"query"},{"description":"Project title","required":false,"schema":{"type":"string","title":"Title","description":"Project title","default":"Demo: AiGentsy Test Project"},"name":"title","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/debug/brain":{"get":{"summary":"Debug Brain State","description":"Get AI Family Brain + MetaHive learning state","operationId":"debug_brain_state_debug_brain_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/debug/brain/save":{"post":{"summary":"Force Save Brain State","description":"Force save all brain learning state","operationId":"force_save_brain_state_debug_brain_save_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brain/stats/{username}":{"get":{"summary":"Get Brain Stats For User","description":"Consolidated brain stats for dashboard display.","operationId":"get_brain_stats_for_user_brain_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/pacing-guard":{"post":{"summary":"Platform Pacing Guard","description":"Check if action is allowed based on platform rate limits and TOS.\nApplies per-platform ceilings, randomized jitter, warmup requirements.","operationId":"platform_pacing_guard_platform_pacing_guard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform/health":{"get":{"summary":"Platform Health","description":"Get health status of all platforms","operationId":"platform_health_platform_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/platform/reset-counters":{"post":{"summary":"Platform Reset Counters","description":"Reset platform counters (daily reset)","operationId":"platform_reset_counters_platform_reset_counters_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queue/poison/add":{"post":{"summary":"Add To Poison Queue","description":"Add a failed item to poison queue after max retries","operationId":"add_to_poison_queue_queue_poison_add_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queue/poison":{"get":{"summary":"Get Poison Queue","description":"Get all items in poison queue","operationId":"get_poison_queue_queue_poison_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/queue/poison/recover":{"post":{"summary":"Recover From Poison","description":"Attempt to recover a poison queue item with alternative action","operationId":"recover_from_poison_queue_poison_recover_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/capacity/forecast":{"post":{"summary":"Capacity Forecast","description":"Predict human minutes + GPU minutes needed in next 72h by SKU.\nReturns scaling recommendations.","operationId":"capacity_forecast_capacity_forecast_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/capacity/allocate":{"post":{"summary":"Capacity Allocate","description":"Allocate capacity slot for a job","operationId":"capacity_allocate_capacity_allocate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/capacity/release":{"post":{"summary":"Capacity Release","description":"Release capacity slot after job completion","operationId":"capacity_release_capacity_release_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/scale-or-shed":{"post":{"summary":"Spawn Scale Or Shed","description":"Scale franchises for SKUs with >80% utilization.\nShed (kill) tail performers with <20% utilization.","operationId":"spawn_scale_or_shed_spawn_scale_or_shed_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provision/bootstrap":{"post":{"summary":"Provision Bootstrap","description":"Bootstrap infrastructure for a new spawn/franchise","operationId":"provision_bootstrap_provision_bootstrap_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storefront/autopublish":{"post":{"summary":"Storefront Autopublish","description":"Auto-publish storefronts for spawned businesses","operationId":"storefront_autopublish_storefront_autopublish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provision/status":{"get":{"summary":"Provision Status","description":"Get status of all provisioned sites","operationId":"provision_status_provision_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oaa/sla-enforce":{"post":{"summary":"Oaa Sla Enforce","description":"Enforce SLAs on OAA requests.\nApply penalties if SLO falls below tier.\nKill-switch for chronic failures.","operationId":"oaa_sla_enforce_oaa_sla_enforce_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/precheck-guard":{"post":{"summary":"Orchestrator Precheck Guard","description":"Comprehensive precheck before any action:\n1. Dedupe (already in queue? already bid? already contacted?)\n2. Rate-limit per platform (OAuth health + TOS thresholds)\n3. Budget/SLO gates (R³, SLO, risk)\n4. COGS/margin check","operationId":"orchestrator_precheck_guard_orchestrator_precheck_guard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v102/status":{"get":{"summary":"V102 Status","description":"Get status of all v102 systems","operationId":"v102_status_v102_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/queue/poison/retry":{"post":{"summary":"Poison Queue Retry","description":"Retry recoverable items from poison queue with backoff","operationId":"poison_queue_retry_queue_poison_retry_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queue/poison/quarantine":{"post":{"summary":"Poison Queue Quarantine","description":"Move old failures to permanent quarantine","operationId":"poison_queue_quarantine_queue_poison_quarantine_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/config/v103":{"get":{"summary":"Get V103 Config","description":"Get centralized v103 configuration","operationId":"get_v103_config_orchestrator_config_v103_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/config/v104":{"get":{"summary":"Get V104 Config","description":"Get centralized v104 configuration with AGG tuning","operationId":"get_v104_config_orchestrator_config_v104_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/config/v115":{"get":{"summary":"Get V115 Config","description":"Get v115 configuration with POLYMORPHIC EXECUTION FLOWS.\n\nv115 introduces platform-native monetization:\n- GitHub bounties: IMMEDIATE execution (analyze → PR → claim)\n- LinkedIn leads: CONVERSATIONAL (connect → qualify → close)\n- Upwork gigs: PROPOSAL-based (submit → hire → execute)\n- Twitter: CONTENT POSTING (generate → post → track)\n- Each platform monetizes in its native way","operationId":"get_v115_config_orchestrator_config_v115_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/flow-status":{"get":{"summary":"Get Flow Status","description":"Get detailed status of polymorphic execution flows.\n\nShows which platforms can auto-execute, which need communication,\nand which are blocked by missing APIs.","operationId":"get_flow_status_orchestrator_flow_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pdl/catalog":{"get":{"summary":"Get Pdl Catalog Endpoint","description":"Get the full PDL (Protocol Descriptor Language) catalog.\n\nReturns all platform actions with their:\n- Execution method (api, browser, universal_fabric)\n- Required APIs and availability\n- Cost models and SLAs\n- Auto-execute eligibility","operationId":"get_pdl_catalog_endpoint_pdl_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pdl/summary":{"get":{"summary":"Get Pdl Summary","description":"Get PDL catalog summary stats","operationId":"get_pdl_summary_pdl_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pdl/{name}":{"get":{"summary":"Get Pdl By Name","description":"Get a specific PDL by name.\n\nExample: /pdl/github.submit_pr","operationId":"get_pdl_by_name_pdl__name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pdl/platform/{platform}":{"get":{"summary":"Get Pdls By Platform","description":"Get all PDLs for a specific platform","operationId":"get_pdls_by_platform_pdl_platform__platform__get","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pdl/executable":{"get":{"summary":"Get Executable Pdls","description":"Get all PDLs that can currently execute (APIs configured)","operationId":"get_executable_pdls_pdl_executable_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/status":{"get":{"summary":"Get Fabric Status Endpoint","description":"Get Universal Fulfillment Fabric status","operationId":"get_fabric_status_endpoint_fabric_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fabric/logs":{"get":{"summary":"Get Fabric Logs","description":"Get recent Universal Fabric execution logs","operationId":"get_fabric_logs_fabric_logs_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/unified-cycle":{"post":{"summary":"Run Unified Cycle","description":"Run the unified revenue orchestrator cycle.\n\n9 PHASES:\n1. Discovery & Spawning\n2. Polymorphic Execution (platform-native monetization)\n3. Social Promotion\n4. Fiverr Orders\n5. Cart Recovery\n6. Subscriptions\n7. Arbitrage\n8. Revenue Summary\n\nThis is the master endpoint that coordinates ALL revenue systems.","operationId":"run_unified_cycle_orchestrator_unified_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/unified-dashboard":{"get":{"summary":"Get Unified Dashboard","description":"Get unified orchestrator dashboard with all system statuses","operationId":"get_unified_dashboard_orchestrator_unified_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/get-aggression":{"get":{"summary":"Get Aggression","description":"Get current aggression settings including pricing bandit integration","operationId":"get_aggression_orchestrator_get_aggression_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v103/status":{"get":{"summary":"V103 Status","description":"Get status of all v103 systems","operationId":"v103_status_v103_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v104/status":{"get":{"summary":"V104 Status","description":"Get status of v104 two-job architecture","operationId":"v104_status_v104_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/matrix/quick":{"get":{"summary":"Matrix Quick","description":"Quick matrix test for opportunistic job","operationId":"matrix_quick_matrix_quick_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r3/budget/status":{"get":{"summary":"R3 Budget Status","description":"Get R³ budget status for guard checks","operationId":"r3_budget_status_r3_budget_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/transaction/calculate_fee":{"post":{"summary":"Calculate Fee Endpoint","description":"Calculate transaction fees for a deal\n\nExample: POST /transaction/calculate_fee\n{\n    \"amount_usd\": 1000,\n    \"dark_pool\": true,\n    \"insurance\": true\n}","operationId":"calculate_fee_endpoint_transaction_calculate_fee_post","parameters":[{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Dark Pool","default":false},"name":"dark_pool","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Jv Admin","default":false},"name":"jv_admin","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Insurance","default":false},"name":"insurance","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Factoring","default":false},"name":"factoring","in":"query"},{"required":false,"schema":{"type":"integer","title":"Factoring Days","default":30},"name":"factoring_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deal/configure_premium_services":{"post":{"summary":"Configure Deal Premium Services","description":"Configure premium services for a deal\n\nExample: POST /deal/configure_premium_services\n{\n    \"deal_id\": \"deal_abc123\",\n    \"username\": \"wade\",\n    \"dark_pool\": true,\n    \"insurance\": true\n}","operationId":"configure_deal_premium_services_deal_configure_premium_services_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Dark Pool","default":false},"name":"dark_pool","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Jv Admin","default":false},"name":"jv_admin","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Insurance","default":false},"name":"insurance","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Factoring","default":false},"name":"factoring","in":"query"},{"required":false,"schema":{"type":"integer","title":"Factoring Days","default":30},"name":"factoring_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deal/{deal_id}/premium_services":{"get":{"summary":"Get Deal Premium Services","description":"Get premium service configuration for a deal","operationId":"get_deal_premium_services_deal__deal_id__premium_services_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/configure_premium_services":{"post":{"summary":"Configure Intent Premium Services","description":"Configure premium services for an intent\n\nExample: POST /intent/configure_premium_services\n{\n    \"intent_id\": \"intent_xyz789\",\n    \"username\": \"wade\",\n    \"factoring\": true,\n    \"factoring_days\": 7\n}","operationId":"configure_intent_premium_services_intent_configure_premium_services_post","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Dark Pool","default":false},"name":"dark_pool","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Jv Admin","default":false},"name":"jv_admin","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Insurance","default":false},"name":"insurance","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Factoring","default":false},"name":"factoring","in":"query"},{"required":false,"schema":{"type":"integer","title":"Factoring Days","default":30},"name":"factoring_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/premium_services/stats":{"get":{"summary":"Get Premium Services Stats","description":"Get usage statistics for premium services","operationId":"get_premium_services_stats_premium_services_stats_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/{username}":{"get":{"summary":"Get Reputation","description":"Get user's reputation score and unlocked features","operationId":"get_reputation_reputation__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/refresh":{"post":{"summary":"Refresh Reputation","description":"Recalculate reputation and check for new unlocks","operationId":"refresh_reputation_reputation_refresh_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/deal_completed":{"post":{"summary":"Mark Deal Completed","description":"Mark deal as completed and update reputation","operationId":"mark_deal_completed_reputation_deal_completed_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/add_review":{"post":{"summary":"Add Review","description":"Add review and update reputation","operationId":"add_review_reputation_add_review_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Is Positive"},"name":"is_positive","in":"query"},{"required":false,"schema":{"type":"string","title":"Reviewer"},"name":"reviewer","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/{username}/tier":{"get":{"summary":"Get User Tier","description":"Get user's early adopter tier info","operationId":"get_user_tier_user__username__tier_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/{username}/assign_tier":{"post":{"summary":"Assign User Tier","description":"Manually trigger tier assignment (usually happens on signup)","operationId":"assign_user_tier_user__username__assign_tier_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiers/leaderboard":{"get":{"summary":"Get Tier Leaderboard","description":"Get early adopter leaderboard (first N users)","operationId":"get_tier_leaderboard_tiers_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user":{"post":{"summary":"Get User Endpoint","description":"Get user data by username","operationId":"get_user_endpoint_user_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health Check","description":"Health check endpoint","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/automation/gates":{"get":{"summary":"Automation Gates","description":"Report current automation gating state for operator verification.","operationId":"automation_gates_automation_gates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/score/outcome":{"get":{"summary":"Get Outcome Score","operationId":"get_outcome_score_score_outcome_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metrics/summary":{"get":{"summary":"Metrics Summary Get","description":"Compact snapshot for dashboard","operationId":"metrics_summary_get_metrics_summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ifx/save-state":{"post":{"summary":"Ifx Save State","description":"Manually save market maker state to JSONBIN","operationId":"ifx_save_state_ifx_save_state_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ifx/state-status":{"get":{"summary":"Ifx State Status","description":"Get current market maker state status","operationId":"ifx_state_status_ifx_state_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bandit/next":{"post":{"summary":"Bandit Next","description":"Body: { username, key, arms:[\"A\",\"B\",...], epsilon:0.15 }\nReturns: { arm }","operationId":"bandit_next_bandit_next_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bandit/reward":{"post":{"summary":"Bandit Reward","description":"Body: { username, key, arm, reward }   # reward ∈ [0,1] (click/lead/won)","operationId":"bandit_reward_bandit_reward_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mint":{"post":{"summary":"Mint User","operationId":"mint_user_mint_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/generate-referral-link":{"post":{"summary":"Api Generate Referral Link","description":"Generate referral link for external outreach\n\nExample:\n    POST /generate-referral-link\n    {\n        \"username\": \"wade\",\n        \"template_id\": \"content_calendar\",\n        \"target_platform\": \"reddit\"\n    }","operationId":"api_generate_referral_link_generate_referral_link_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unlock":{"post":{"summary":"Unlock Feature","operationId":"unlock_feature_unlock_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/cleanup_jsonbin":{"post":{"summary":"Cleanup Jsonbin","description":"Remove invalid records from JSONBin (strings, nulls, non-dicts)","operationId":"cleanup_jsonbin_admin_cleanup_jsonbin_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/amg/sync":{"post":{"summary":"Amg Sync","description":"Body: { username, apps: [{name, scopes:[]}, ...] }\nDerives capabilities and saves to user.amg","operationId":"amg_sync_amg_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/summary":{"post":{"summary":"Money Summary","operationId":"money_summary_money_summary_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/summary":{"get":{"summary":"Get Revenue Summary","description":"Get user's comprehensive revenue breakdown for dashboard","operationId":"get_revenue_summary_revenue_summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/by_platform":{"get":{"summary":"Get Revenue By Platform","description":"Get revenue breakdown by platform (Instagram, TikTok, LinkedIn, etc.)","operationId":"get_revenue_by_platform_revenue_by_platform_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/attribution":{"get":{"summary":"Get Revenue Attribution","description":"Get detailed revenue attribution with optional filters\n\nArgs:\n    username: User to query\n    limit: Max records to return (default 50)\n    source: Filter by source (ame, shopify, affiliate, etc.)\n    platform: Filter by platform (instagram, tiktok, linkedin, etc.)","operationId":"get_revenue_attribution_revenue_attribution_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":false,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/top_performers":{"get":{"summary":"Get Top Performers","description":"Get top performing sources and platforms with analytics","operationId":"get_top_performers_revenue_top_performers_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/platform_breakdown":{"get":{"summary":"Get Platform Breakdown","description":"Get detailed breakdown of revenue for a specific platform\n\nShows which revenue sources contributed to this platform's total","operationId":"get_platform_breakdown_revenue_platform_breakdown_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/referral/credit":{"post":{"summary":"Referral Credit","description":"Body: { referrer: \"alice\", newUser: \"bob\", amount?: number }\nAdds AIGx to referrer for bringing in a new user.","operationId":"referral_credit_referral_credit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallet/connect":{"post":{"summary":"Wallet Connect","description":"Body: { username, method: \"stripe\"|\"crypto\", account?: \"acct_...\", address?: \"0x..\", note? }\nStores payout destination metadata for the user.","operationId":"wallet_connect_wallet_connect_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payout/request":{"post":{"summary":"Payout Request","operationId":"payout_request_payout_request_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"},{"required":false,"schema":{"type":"string","title":"Idempotency-Key"},"name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/actionize-my-business":{"post":{"summary":"Actionize Business","description":"PATH 2: User brings existing business → AiGentsy actionizes it\nFlow:\n1. User uploads business data (customers, services, pricing)\n2. AI learns business patterns\n3. Creates custom SKU\n4. Activates APEX ULTRA with custom SKU\n5. Deploys storefront\n6. All 160 logics fire contextualized to their business\n\nBody:\n{\n    \"username\": \"wade\",\n    \"businessProfile\": {\n        \"business_name\": \"Paws & Claws Grooming\",\n        \"industry\": \"pet_services\",\n        \"locations\": [\"SF\", \"Oakland\"],\n        \"annual_revenue\": 450000,\n        \"employees\": 8,\n        \"existing_website\": \"https://pawsclaws.com\"\n    },\n    \"uploadedFiles\": [\n        {\n            \"type\": \"customer_list\",\n            \"content\": \"name,email,phone,last_visit,lifetime_value\\nJohn,john@email.com,555-1234,2025-09-15,450\\n...\"\n        },\n        {\n            \"type\": \"service_menu\",\n            \"content\": \"Full Groom - $80\\nBath Only - $40\\nNails - $20\"\n        }\n    ]\n}","operationId":"actionize_business_actionize_my_business_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomy":{"post":{"summary":"Set Autonomy","operationId":"set_autonomy_autonomy_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payout/status":{"post":{"summary":"Payout Status","description":"Admin/daemon hook.\nBody: { username, payoutId, status: \"queued\"|\"paid\"|\"failed\", txn_id? }\nOn 'paid' we post a negative payout ledger line.","operationId":"payout_status_payout_status_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigx/credit":{"post":{"summary":"Aigx Credit","description":"Body: { username, amount, basis, ref }\nAdds to ownership.ledger and yield.aigxEarned","operationId":"aigx_credit_aigx_credit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/referral/link":{"post":{"summary":"Referral Link","operationId":"referral_link_referral_link_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vault/autostake":{"post":{"summary":"Vault Autostake","operationId":"vault_autostake_vault_autostake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metrics":{"get":{"summary":"Metrics","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/users/all":{"get":{"summary":"Get All Users","description":"Return all users (for matching). Paginate in production.","operationId":"get_all_users_users_all_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/algo/hints/upsert":{"post":{"summary":"Algo Hints Upsert","description":"Body: { username, platform, hints: { cadence_per_day, quiet_hours:[22,8], max_caption_len, hashtags:int } }","operationId":"algo_hints_upsert_algo_hints_upsert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/algo/schedule/plan":{"post":{"summary":"Algo Schedule Plan","description":"Body: { username, platform, window_hours: 48, start_iso?: now }\nReturns: { slots:[iso...] } best-effort evenly spaced outside quiet hours.","operationId":"algo_schedule_plan_algo_schedule_plan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/distribution/register":{"post":{"summary":"Distribution Register","operationId":"distribution_register_distribution_register_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/distribution/push":{"post":{"summary":"Distribution Push","operationId":"distribution_push_distribution_push_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/send_invite":{"post":{"summary":"Send Invite","description":"Send business circle invitation via email (Resend API) or in-app proposal","operationId":"send_invite_send_invite_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/split":{"post":{"summary":"Revenue Split","operationId":"revenue_split_revenue_split_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/creative/render":{"post":{"summary":"Creative Render","description":"Body: { username, platform, caption, intent? }\nEnsures disclosure + max caption len based on algo hints (if set).","operationId":"creative_render_creative_render_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts/optin":{"post":{"summary":"Contacts Optin","description":"Body: { username, sources: [{source:\"upload/csv/gmail/phone\", count:int}] }\nWe store counts only (privacy-first). Send actual outreach via /contacts/send -> webhook.","operationId":"contacts_optin_contacts_optin_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monetize/scale":{"post":{"summary":"Monetize Scale","description":"Body: { username, roas: float, min:0.5, max:1.5 }\nReturns a multiplier for tomorrow's budget based on ROAS.","operationId":"monetize_scale_monetize_scale_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts/send":{"post":{"summary":"Contacts Send","description":"Body: { username, channel:\"sms|email|dm\", template, previewOnly=false }\nWe store outreach events & counts only (no raw PII).\nOptional webhook fanout via PROPOSAL_WEBHOOK_URL.\nAdds soft per-user/channel rate-limit: 50 sends / 24h.","operationId":"contacts_send_contacts_send_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/jv/create":{"post":{"summary":"Jv Create","description":"Body: { a: \"userA\", b: \"userB\", title, split: {\"a\":0.6,\"b\":0.4}, terms }\nAppends JV entry to both users' jvMesh; settlement handled by MetaBridge runtime.","operationId":"jv_create_jv_create_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge":{"post":{"summary":"Metabridge Dispatch","operationId":"metabridge_dispatch_metabridge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agent":{"post":{"summary":"Run Agent","description":"Proxies to the growth agent's dedicated Render service for full C-Suite intelligence.","operationId":"run_agent_agent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/action/execute":{"post":{"summary":"Execute Action","operationId":"execute_action_action_execute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/router/decide":{"post":{"summary":"Router Decide","description":"Body: { username, intent, payload, previewOnly=false }\nReturns a routing decision with risk/holdout flags for safe execution.","operationId":"router_decide_router_decide_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/consent/upsert":{"post":{"summary":"Consent Upsert","description":"Body: { username, scopes:[], connectors:[] }\nUpserts consent scopes/connectors to user.consent.","operationId":"consent_upsert_consent_upsert_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/consent/list":{"post":{"summary":"Consent List","operationId":"consent_list_consent_list_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pricing/nudge":{"post":{"summary":"Pricing Nudge","description":"Body: { username, itemId, floor, currentPrice }\nReturns a safe ±1–3% nudge recommendation, respecting floors.","operationId":"pricing_nudge_pricing_nudge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metahive/optin":{"post":{"summary":"Metahive Optin","operationId":"metahive_optin_metahive_optin_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metahive/summary":{"post":{"summary":"Metahive Summary","operationId":"metahive_summary_metahive_summary_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metahive/stats":{"get":{"summary":"Metahive Stats","description":"Get MetaHive collective intelligence statistics","operationId":"metahive_stats_metahive_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/templates/list":{"get":{"summary":"Templates List","operationId":"templates_list_templates_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/templates/search":{"get":{"summary":"Templates Search","operationId":"templates_search_templates_search_get","parameters":[{"required":false,"schema":{"type":"string","title":"Q","default":""},"name":"q","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/activate":{"post":{"summary":"Templates Activate","description":"Activate a template (echo-only for now; frontend also passes context).","operationId":"templates_activate_templates_activate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intelligence/{username}":{"get":{"summary":"Get User Intelligence","description":"Get comprehensive business intelligence for a user\nUsed by orchestrator and can be called directly","operationId":"get_user_intelligence_intelligence__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/opportunities/{username}":{"get":{"summary":"Get User Opportunities","description":"Get scored revenue opportunities for a user","operationId":"get_user_opportunities_opportunities__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mint/generate-kit":{"post":{"summary":"Generate Kit At Mint","description":"Generate complete kit deliverables at account creation\nCalled by frontend during onboarding after kit selection","operationId":"generate_kit_at_mint_mint_generate_kit_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Kit Type"},"name":"kit_type","in":"query"},{"required":true,"schema":{"type":"string","title":"Company Name"},"name":"company_name","in":"query"},{"required":false,"schema":{"type":"string","title":"Jurisdiction","default":"Delaware"},"name":"jurisdiction","in":"query"},{"required":false,"schema":{"type":"string","title":"Industry","default":"Technology"},"name":"industry","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Email"},"name":"contact_email","in":"query"},{"required":false,"schema":{"type":"string","title":"Phone"},"name":"phone","in":"query"},{"required":false,"schema":{"type":"string","title":"Address"},"name":"address","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mint/kit-manifest/{username}":{"get":{"summary":"Get Kit Manifest","description":"Get manifest of generated kit deliverables\nUsed by dashboard to display \"Your Kit\" section","operationId":"get_kit_manifest_mint_kit_manifest__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mint/kit-summary/{kit_type}":{"get":{"summary":"Get Kit Summary","description":"Get summary of what user will receive in kit\nUsed by onboarding UI","operationId":"get_kit_summary_mint_kit_summary__kit_type__get","parameters":[{"required":true,"schema":{"type":"string","title":"Kit Type"},"name":"kit_type","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/documents/{username}":{"get":{"summary":"Get Kit Documents","description":"Get kit documents for user's dashboard\nCalled by aigent0.html renderDynamicKit()","operationId":"get_kit_documents_kit_documents__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/document/{username}/{doc_id}":{"get":{"summary":"Get Kit Document","description":"Get a specific kit document for editing.\nReturns {ok, content, title, editable} — flat structure expected by frontend.","operationId":"get_kit_document_kit_document__username___doc_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":true,"schema":{"type":"string","title":"Doc Id"},"name":"doc_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/save":{"post":{"summary":"Save Kit Document","description":"Save user's edited kit document","operationId":"save_kit_document_kit_save_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/download/{filename}":{"get":{"summary":"Download Kit File","description":"Serve kit pack as downloadable file — HTML templates from disk, text packs generated.","operationId":"download_kit_file_kit_download__filename__get","parameters":[{"required":true,"schema":{"type":"string","title":"Filename"},"name":"filename","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/template/{template_path}":{"get":{"summary":"Serve Template Html","description":"Serve actual HTML template file from templates/ directory.","operationId":"serve_template_html_kit_template__template_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Template Path"},"name":"template_path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/storefront/preview":{"post":{"summary":"Preview Storefront","description":"Preview a storefront template with user-specific variations applied.","operationId":"preview_storefront_kit_storefront_preview_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kit/storefront/deploy":{"post":{"summary":"Deploy Kit Storefront","description":"Deploy a storefront from the kit panel — wires to storefront_deployer.py + template_variations.py.","operationId":"deploy_kit_storefront_kit_storefront_deploy_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quote/create":{"post":{"summary":"Quote Create","operationId":"quote_create_quote_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/order/accept":{"post":{"summary":"Order Accept","operationId":"order_accept_order_accept_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/auto_bid":{"post":{"summary":"Intent Auto Bid","operationId":"intent_auto_bid_intent_auto_bid_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/invoice/create":{"post":{"summary":"Invoice Create","operationId":"invoice_create_invoice_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/link":{"post":{"summary":"Pay Link","operationId":"pay_link_pay_link_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/recognize":{"post":{"summary":"Revenue Recognize","operationId":"revenue_recognize_revenue_recognize_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outcome/attribute":{"post":{"summary":"Outcome Attribute","description":"Called when revenue is attributed to a channel.\nUpdates Outcome Oracle + triggers R³ reallocation.","operationId":"outcome_attribute_outcome_attribute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/budget/spend":{"post":{"summary":"Budget Spend","operationId":"budget_spend_budget_spend_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/log":{"post":{"summary":"Events Log","operationId":"events_log_events_log_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/attribution/rollup":{"post":{"summary":"Attribution Rollup","operationId":"attribution_rollup_attribution_rollup_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/automatch/pulse":{"post":{"summary":"Automatch Pulse","operationId":"automatch_pulse_automatch_pulse_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monetize/toggle":{"post":{"summary":"Monetize Toggle","description":"Body: { username, enabled: bool, dailyBudget?: number, quietHours?: [22,8] }\nSets runtimeFlags.monetizeEnabled and basic guardrails.","operationId":"monetize_toggle_monetize_toggle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/playbooks/catalog":{"get":{"summary":"Playbooks Catalog","operationId":"playbooks_catalog_playbooks_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/playbooks/enable":{"post":{"summary":"Playbooks Enable","description":"Body: { username, codes: [\"tiktok_affiliate\", ...], enabled: true|false }","operationId":"playbooks_enable_playbooks_enable_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/playbooks/config":{"post":{"summary":"Playbooks Config","description":"Body: { username, code, config: { budget?:number, notes?:str } }","operationId":"playbooks_config_playbooks_config_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orders/{orderId}/tasks/add":{"post":{"summary":"Order Task Add","operationId":"order_task_add_orders__orderId__tasks_add_post","parameters":[{"required":true,"schema":{"type":"string","title":"Orderid"},"name":"orderId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orders/{orderId}/tasks/done":{"post":{"summary":"Order Task Done","operationId":"order_task_done_orders__orderId__tasks_done_post","parameters":[{"required":true,"schema":{"type":"string","title":"Orderid"},"name":"orderId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orders/{orderId}/status":{"post":{"summary":"Order Status","operationId":"order_status_orders__orderId__status_post","parameters":[{"required":true,"schema":{"type":"string","title":"Orderid"},"name":"orderId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proposal/{proposalId}/followup/schedule":{"post":{"summary":"Proposal Followup Schedule","operationId":"proposal_followup_schedule_proposal__proposalId__followup_schedule_post","parameters":[{"required":true,"schema":{"type":"string","title":"Proposalid"},"name":"proposalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proposal/{proposalId}/followup/send":{"post":{"summary":"Proposal Followup Send","operationId":"proposal_followup_send_proposal__proposalId__followup_send_post","parameters":[{"required":true,"schema":{"type":"string","title":"Proposalid"},"name":"proposalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule/create":{"post":{"summary":"Schedule Create","operationId":"schedule_create_schedule_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/meeting/notes":{"post":{"summary":"Meeting Notes","operationId":"meeting_notes_meeting_notes_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts/import":{"post":{"summary":"Contacts Import","operationId":"contacts_import_contacts_import_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts/segment":{"post":{"summary":"Contacts Segment","operationId":"contacts_segment_contacts_segment_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts/optout":{"post":{"summary":"Contacts Optout","operationId":"contacts_optout_contacts_optout_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"X-API-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/decide":{"post":{"summary":"Pricing Decide","operationId":"pricing_decide_pricing_decide_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/ab/assign":{"post":{"summary":"Pricing Ab Assign","operationId":"pricing_ab_assign_pricing_ab_assign_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/ab/result":{"post":{"summary":"Pricing Ab Result","operationId":"pricing_ab_result_pricing_ab_result_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/doc/generate":{"post":{"summary":"Doc Generate","operationId":"doc_generate_doc_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/doc/attach":{"post":{"summary":"Doc Attach","operationId":"doc_attach_doc_attach_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kpi/rollup":{"post":{"summary":"Kpi Rollup","operationId":"kpi_rollup_kpi_rollup_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kpi/forecast":{"post":{"summary":"Kpi Forecast","operationId":"kpi_forecast_kpi_forecast_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/create":{"post":{"summary":"Support Create","operationId":"support_create_support_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/status":{"post":{"summary":"Support Status","operationId":"support_status_support_status_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/nps/ping":{"post":{"summary":"Nps Ping","operationId":"nps_ping_nps_ping_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/nps/submit":{"post":{"summary":"Nps Submit","operationId":"nps_submit_nps_submit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/testimonial/add":{"post":{"summary":"Testimonial Add","operationId":"testimonial_add_testimonial_add_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/collectible/award":{"post":{"summary":"Collectible Award","operationId":"collectible_award_collectible_award_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/listing/publish":{"post":{"summary":"Listing Publish","operationId":"listing_publish_listing_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/listing/status":{"post":{"summary":"Listing Status","operationId":"listing_status_listing_status_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apikey/issue":{"post":{"summary":"Apikey Issue","operationId":"apikey_issue_apikey_issue_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/apikey/revoke":{"post":{"summary":"Apikey Revoke","operationId":"apikey_revoke_apikey_revoke_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/roles/grant":{"post":{"summary":"Roles Grant","operationId":"roles_grant_roles_grant_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/roles/revoke":{"post":{"summary":"Roles Revoke","operationId":"roles_revoke_roles_revoke_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audit/log":{"post":{"summary":"Audit Log","operationId":"audit_log_audit_log_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/submit_proposal":{"post":{"summary":"Submit Proposal","operationId":"submit_proposal_submit_proposal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/earn/task/complete":{"post":{"summary":"Earn Task Complete","operationId":"earn_task_complete_earn_task_complete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/normalize":{"post":{"summary":"Admin Normalize","operationId":"admin_normalize_admin_normalize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stream/activity":{"get":{"summary":"Stream Activity","operationId":"stream_activity_stream_activity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proposal/feedback":{"post":{"summary":"Proposal Feedback","operationId":"proposal_feedback_proposal_feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Proposal Id"},"name":"proposal_id","in":"query"},{"required":true,"schema":{"type":"string","enum":["won","lost","ignored","replied"],"title":"Outcome"},"name":"outcome","in":"query"},{"required":false,"schema":{"type":"number","title":"Weight","default":1.0},"name":"weight","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key","default":""},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storefront/config":{"get":{"summary":"Storefront Get Config","operationId":"storefront_get_config_storefront_config_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Storefront Set Config","operationId":"storefront_set_config_storefront_config_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Config"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storefront/publish":{"post":{"summary":"Storefront Publish","operationId":"storefront_publish_storefront_publish_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/analytics/track":{"post":{"summary":"Analytics Track","operationId":"analytics_track_analytics_track_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Event"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alpha-discovery/run":{"post":{"summary":"Run Alpha Discovery","description":"Run Alpha Discovery Engine\nDiscovers opportunities and routes them intelligently\n\n8 Discovery Dimensions:\n    1. Explicit Marketplaces (GitHub, Upwork, Reddit, HN)\n    2. Pain Point Detection (Twitter, App Store reviews)\n    3. Flow Arbitrage (cross-platform, temporal)\n    4. Predictive Intelligence (funding→hiring, launches→needs)\n    5. Network Amplification (internal opportunities)\n    6. Opportunity Creation (proactive outreach)\n    7. Emergent Patterns (AI meta-analysis)\n    8. Novel Discovery (broken builds, graveyard leads, solve-first, frustrated users)\n\nBody:\n    {\n        \"platforms\": [\"github\", \"upwork\", \"reddit\", \"hackernews\"],  // optional\n        \"dimensions\": [1, 2, 3, 4, 5, 6, 7, 8]  // optional, defaults to all\n    }\n\nReturns:\n    {\n        'ok': True,\n        'total_opportunities': 80,\n        'dimensions_used': [1,2,3,4,5,6,7,8],\n        'routing': {...}\n    }","operationId":"run_alpha_discovery_alpha_discovery_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/fulfillment-queue":{"get":{"summary":"Get Wade Fulfillment Queue","description":"Wade's approval dashboard for AiGentsy direct fulfillment\nShows all opportunities awaiting approval","operationId":"get_wade_fulfillment_queue_wade_fulfillment_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/approve/{fulfillment_id}":{"post":{"summary":"Approve Fulfillment","description":"Wade approves AiGentsy direct fulfillment\n\nThis triggers:\n1. Auto-bidding/application (if not already submitted)\n2. Fulfillment execution (AI agents start work)\n3. Revenue tracking\n4. Outcome tracking","operationId":"approve_fulfillment_wade_approve__fulfillment_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Fulfillment Id"},"name":"fulfillment_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/reject/{fulfillment_id}":{"post":{"summary":"Reject Fulfillment","description":"Wade rejects AiGentsy direct fulfillment\n\nThis marks the opportunity as rejected and optionally:\n1. Holds for future user recruitment\n2. Improves capability assessment","operationId":"reject_fulfillment_wade_reject__fulfillment_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Fulfillment Id"},"name":"fulfillment_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discover/{username}":{"get":{"summary":"Discover For User","description":"ULTIMATE DISCOVERY ENGINE + REVENUE INTELLIGENCE MESH\n\nFeatures:\n- 12 REAL data sources (GitHub, Reddit, RemoteOK, HN, Upwork, etc.)\n- Automatic outlier detection (filters $20M parsing bugs)\n- Stale opportunity removal (no 5-year-old GitHub issues)\n- Win probability scoring (50x improvement with Revenue Mesh)\n- Dynamic pricing optimization\n- Cross-platform intelligence\n- Execute-now prioritization\n- Smart routing (user vs AiGentsy fulfillment)\n\nParameters:\n- use_revenue_mesh: Enable 10x revenue acceleration (default: True)\n\nReturns:\n    - Filtered, scored, prioritized opportunities\n    - Revenue Mesh optimization data (if enabled)\n    - Execute-now list (high-priority deals)\n    - Full economics breakdown","operationId":"discover_for_user_discover__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"boolean","title":"Use Revenue Mesh","default":true},"name":"use_revenue_mesh","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Platforms"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/credit/status":{"get":{"summary":"Ocl Status","description":"Get OCL credit status","operationId":"ocl_status_credit_status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/credit/spend":{"post":{"summary":"Ocl Spend Endpoint","description":"Spend from OCL","operationId":"ocl_spend_endpoint_credit_spend_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/credit/repay":{"post":{"summary":"Ocl Repay Endpoint","description":"Manual OCL repayment","operationId":"ocl_repay_endpoint_credit_repay_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unlocks/status":{"get":{"summary":"Get Unlock Status","description":"Get user's feature unlock status and progress","operationId":"get_unlock_status_unlocks_status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/list":{"get":{"summary":"List Notifications","description":"Get user's notifications","operationId":"list_notifications_notifications_list_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Unread Only","default":false},"name":"unread_only","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/mark_read":{"post":{"summary":"Mark Notification Read","description":"Mark a notification as read","operationId":"mark_notification_read_notifications_mark_read_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Notification Id"},"name":"notification_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/create_intent":{"post":{"summary":"Create Escrow Intent","description":"Create payment intent (authorize but don't capture)\nCalled when buyer accepts a quote","operationId":"create_escrow_intent_escrow_create_intent_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/capture":{"post":{"summary":"Capture Escrow","description":"Capture authorized payment (called on DELIVERED)","operationId":"capture_escrow_escrow_capture_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/cancel":{"post":{"summary":"Cancel Escrow","description":"Cancel authorized payment (dispute or timeout)","operationId":"cancel_escrow_escrow_cancel_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/status":{"get":{"summary":"Escrow Status","description":"Check escrow/payment status","operationId":"escrow_status_escrow_status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/refund":{"post":{"summary":"Escrow Refund","description":"Issue partial refund for dispute resolution","operationId":"escrow_refund_escrow_refund_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/discover-and-queue":{"post":{"summary":"Discover And Queue","description":"Run discovery and automatically queue Wade opportunities","operationId":"discover_and_queue_wade_discover_and_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bond/stake":{"post":{"summary":"Stake Performance Bond","description":"Stake performance bond when accepting intent\nAuto-called on intent acceptance","operationId":"stake_performance_bond_bond_stake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bond/return":{"post":{"summary":"Return Performance Bond","description":"Return bond on successful delivery\nAuto-called on PoO verification","operationId":"return_performance_bond_bond_return_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bond/award_bonus":{"post":{"summary":"Award Bonus","description":"Award SLA bonus for early delivery\nAuto-called on PoO verification","operationId":"award_bonus_bond_award_bonus_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bond/slash":{"post":{"summary":"Slash Performance Bond","description":"Slash bond on dispute loss\nCalled by dispute resolution system","operationId":"slash_performance_bond_bond_slash_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bond/calculate":{"get":{"summary":"Calculate Bond","description":"Calculate required bond for an order value","operationId":"calculate_bond_bond_calculate_get","parameters":[{"required":true,"schema":{"type":"number","title":"Order Value"},"name":"order_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/pool/balance":{"get":{"summary":"Insurance Pool Balance","description":"Get current insurance pool balance","operationId":"insurance_pool_balance_insurance_pool_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/insurance/collect":{"post":{"summary":"Collect Insurance Fee","description":"Collect insurance fee when intent is awarded\nAuto-called by /intent/award","operationId":"collect_insurance_fee_insurance_collect_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/payout":{"post":{"summary":"Insurance Payout","description":"Pay out from insurance pool on dispute resolution\nCalled by dispute resolution system","operationId":"insurance_payout_insurance_payout_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/dispute_rate":{"get":{"summary":"Get Dispute Rate","description":"Check agent's dispute rate","operationId":"get_dispute_rate_insurance_dispute_rate_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Days","default":365},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insurance/claim_refund":{"post":{"summary":"Claim Annual Refund","description":"Claim annual insurance refund (for low-dispute agents)","operationId":"claim_annual_refund_insurance_claim_refund_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/factoring/eligibility":{"get":{"summary":"Factoring Eligibility","description":"Check agent's factoring eligibility and tier","operationId":"factoring_eligibility_factoring_eligibility_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/factoring/outstanding":{"get":{"summary":"Factoring Outstanding","description":"Get agent's outstanding factoring balance","operationId":"factoring_outstanding_factoring_outstanding_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/factoring/request":{"post":{"summary":"Request Factoring","description":"Request factoring advance (auto-called on intent award)","operationId":"request_factoring_factoring_request_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/factoring/settle":{"post":{"summary":"Settle Factoring Endpoint","description":"Settle factoring when buyer pays (auto-called on revenue recognition)","operationId":"settle_factoring_endpoint_factoring_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/tier":{"get":{"summary":"Get Pricing Tier","description":"Get agent's current pricing tier based on OutcomeScore","operationId":"get_pricing_tier_pricing_tier_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/calculate":{"get":{"summary":"Calculate Price","description":"Calculate reputation-adjusted price for a service","operationId":"calculate_price_pricing_calculate_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":false,"schema":{"type":"string","title":"Service Type","default":"custom"},"name":"service_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/recommend_bid":{"post":{"summary":"Recommend Bid Price","description":"Recommend optimal bid price for an intent.\nTakes into account agent reputation + existing bids.\nBody: { username, intent_id }","operationId":"recommend_bid_price_pricing_recommend_bid_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pricing/update_score":{"post":{"summary":"Update Pricing Score","description":"Update agent's OutcomeScore after job completion\nAuto-called by PoO verification","operationId":"update_pricing_score_pricing_update_score_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/market_rates":{"get":{"summary":"Get Market Rates","description":"Get current market rates by reputation tier","operationId":"get_market_rates_pricing_market_rates_get","parameters":[{"required":false,"schema":{"type":"string","title":"Service Type","default":"custom"},"name":"service_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/currency/rates":{"get":{"summary":"Get Exchange Rates","description":"Get current exchange rates","operationId":"get_exchange_rates_currency_rates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/currency/convert":{"post":{"summary":"Convert Currency Endpoint","description":"Convert amount from one currency to another","operationId":"convert_currency_endpoint_currency_convert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/currency/balance":{"get":{"summary":"Get Currency Balance","description":"Get user's balance in specified currency","operationId":"get_currency_balance_currency_balance_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Currency","default":"USD"},"name":"currency","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/currency/credit":{"post":{"summary":"Credit User Currency","description":"Credit user's account in any supported currency","operationId":"credit_user_currency_currency_credit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/currency/debit":{"post":{"summary":"Debit User Currency","description":"Debit user's account in any supported currency","operationId":"debit_user_currency_currency_debit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/currency/transfer":{"post":{"summary":"Transfer Between Users","description":"Transfer funds between users with currency conversion","operationId":"transfer_between_users_currency_transfer_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/payment/create":{"post":{"summary":"Create Batch Payment Endpoint","description":"Create a batch payment for multiple agents\n\nBody:\n{\n    \"payments\": [\n        {\"username\": \"agent1\", \"amount\": 100, \"currency\": \"USD\", \"reason\": \"job_123\"},\n        {\"username\": \"agent2\", \"amount\": 50, \"currency\": \"EUR\", \"reason\": \"job_456\"}\n    ],\n    \"description\": \"Weekly agent payouts\"\n}","operationId":"create_batch_payment_endpoint_batch_payment_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/payment/execute":{"post":{"summary":"Execute Batch Payment Endpoint","description":"Execute a batch payment - credit all agents","operationId":"execute_batch_payment_endpoint_batch_payment_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/invoices/generate":{"post":{"summary":"Generate Bulk Invoices Endpoint","description":"Generate invoices for multiple completed intents\n\nBody:\n{\n    \"intent_ids\": [\"intent_123\", \"intent_456\"]\n}","operationId":"generate_bulk_invoices_endpoint_batch_invoices_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/revenue/recognize":{"post":{"summary":"Batch Revenue Recognition Endpoint","description":"Process revenue recognition for multiple invoices at once\n\nBody:\n{\n    \"invoice_ids\": [\"inv_123\", \"inv_456\"],\n    \"platform_fee_rate\": 0.05\n}","operationId":"batch_revenue_recognition_endpoint_batch_revenue_recognize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/payment/schedule":{"post":{"summary":"Schedule Recurring Payment Endpoint","description":"Schedule recurring payment (monthly stipends, etc.)\n\nBody:\n{\n    \"payment_template\": {\n        \"username\": \"agent1\",\n        \"amount\": 1000,\n        \"currency\": \"USD\",\n        \"reason\": \"monthly_stipend\"\n    },\n    \"schedule\": \"monthly\",\n    \"start_date\": \"2025-12-01T00:00:00Z\"\n}","operationId":"schedule_recurring_payment_endpoint_batch_payment_schedule_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/payment/report":{"get":{"summary":"Get Batch Payment Report","description":"Get payment report for a batch\n\nformat: summary | detailed | csv","operationId":"get_batch_payment_report_batch_payment_report_get","parameters":[{"required":true,"schema":{"type":"string","title":"Batch Id"},"name":"batch_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Format","default":"summary"},"name":"format","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/batch/payment/retry":{"post":{"summary":"Retry Failed Payments Endpoint","description":"Retry all failed payments from a batch","operationId":"retry_failed_payments_endpoint_batch_payment_retry_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/revenue":{"get":{"summary":"Get Revenue Analytics","description":"Get platform revenue metrics","operationId":"get_revenue_analytics_analytics_revenue_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Period Days","default":30},"name":"period_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/revenue/by_currency":{"get":{"summary":"Get Revenue By Currency","description":"Get revenue broken down by currency","operationId":"get_revenue_by_currency_analytics_revenue_by_currency_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Period Days","default":30},"name":"period_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/revenue/forecast":{"get":{"summary":"Get Revenue Forecast","description":"Forecast future revenue based on historical data","operationId":"get_revenue_forecast_analytics_revenue_forecast_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Historical Days","default":30},"name":"historical_days","in":"query"},{"required":false,"schema":{"type":"integer","title":"Forecast Days","default":30},"name":"forecast_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/agent":{"get":{"summary":"Get Agent Analytics","description":"Get individual agent performance metrics","operationId":"get_agent_analytics_analytics_agent_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Period Days","default":30},"name":"period_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/leaderboard":{"get":{"summary":"Get Agent Leaderboard","description":"Get agent leaderboard\n\nmetric options: total_earned, completed_jobs, outcome_score, on_time_rate","operationId":"get_agent_leaderboard_analytics_leaderboard_get","parameters":[{"required":false,"schema":{"type":"string","title":"Metric","default":"total_earned"},"name":"metric","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/health":{"get":{"summary":"Get Platform Health","description":"Get overall platform financial health score","operationId":"get_platform_health_analytics_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/analytics/cohorts":{"get":{"summary":"Get Cohort Analysis","description":"Analyze user cohorts\n\ncohort_by options: signup_month, outcome_score_tier, revenue_tier","operationId":"get_cohort_analysis_analytics_cohorts_get","parameters":[{"required":false,"schema":{"type":"string","title":"Cohort By","default":"signup_month"},"name":"cohort_by","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/analytics/alerts":{"get":{"summary":"Get Financial Alerts","description":"Get financial health alerts and recommendations","operationId":"get_financial_alerts_analytics_alerts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/analytics/dashboard":{"get":{"summary":"Get Analytics Dashboard","description":"Get complete analytics dashboard summary","operationId":"get_analytics_dashboard_analytics_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tax/earnings":{"get":{"summary":"Get Annual Earnings","description":"Get agent's annual earnings for tax purposes","operationId":"get_annual_earnings_tax_earnings_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/1099":{"get":{"summary":"Get 1099 Nec","description":"Generate 1099-NEC form for agent","operationId":"get_1099_nec_tax_1099_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/estimated":{"get":{"summary":"Get Estimated Taxes","description":"Calculate estimated tax liability","operationId":"get_estimated_taxes_tax_estimated_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"},{"required":false,"schema":{"type":"string","title":"Region","default":"US"},"name":"region","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/quarterly":{"get":{"summary":"Get Quarterly Report","description":"Generate quarterly tax report\n\nquarter: 1, 2, 3, or 4","operationId":"get_quarterly_report_tax_quarterly_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"},{"required":true,"schema":{"type":"integer","title":"Quarter"},"name":"quarter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/vat":{"get":{"summary":"Get Vat Liability","description":"Calculate VAT liability for EU/UK agents","operationId":"get_vat_liability_tax_vat_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"},{"required":false,"schema":{"type":"integer","title":"Quarter"},"name":"quarter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/summary":{"get":{"summary":"Get Annual Tax Summary Endpoint","description":"Get comprehensive annual tax summary","operationId":"get_annual_tax_summary_endpoint_tax_summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/batch_1099":{"get":{"summary":"Batch Generate 1099S Endpoint","description":"Generate 1099s for all eligible agents\nAdmin only","operationId":"batch_generate_1099s_endpoint_tax_batch_1099_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tax/export_csv":{"get":{"summary":"Export Tax Csv Endpoint","description":"Export tax data as CSV for accountant","operationId":"export_tax_csv_endpoint_tax_export_csv_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"integer","title":"Year"},"name":"year","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/tiers":{"get":{"summary":"Get Autopilot Tiers","description":"Get available autopilot tiers","operationId":"get_autopilot_tiers_r3_autopilot_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r3/autopilot/recommend":{"get":{"summary":"Recommend Autopilot Tier","description":"Get personalized autopilot recommendations","operationId":"recommend_autopilot_tier_r3_autopilot_recommend_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/create":{"post":{"summary":"Create Autopilot Strategy Endpoint","description":"Create an autopilot budget strategy\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"tier\": \"balanced\",\n    \"monthly_budget\": 500\n}","operationId":"create_autopilot_strategy_endpoint_r3_autopilot_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/strategy":{"get":{"summary":"Get Autopilot Strategy","description":"Get user's current autopilot strategy","operationId":"get_autopilot_strategy_r3_autopilot_strategy_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/allocate":{"post":{"summary":"Calculate Allocation Endpoint","description":"Calculate optimal budget allocation\n\nBody:\n{\n    \"budget\": 500,\n    \"tier\": \"balanced\",\n    \"historical_performance\": {...}\n}","operationId":"calculate_allocation_endpoint_r3_autopilot_allocate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/predict":{"post":{"summary":"Predict Channel Roi","description":"Predict ROI for a specific channel\n\nBody:\n{\n    \"channel\": \"google_ads\",\n    \"spend_amount\": 200,\n    \"historical_data\": {...}\n}","operationId":"predict_channel_roi_r3_autopilot_predict_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/execute":{"post":{"summary":"Execute Autopilot Spend Endpoint","description":"Execute the autopilot spend for current period\n\nBody:\n{\n    \"username\": \"agent1\"\n}","operationId":"execute_autopilot_spend_endpoint_r3_autopilot_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/rebalance":{"post":{"summary":"Rebalance Autopilot Endpoint","description":"Rebalance autopilot strategy based on performance\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"actual_performance\": {\n        \"google_ads\": {\"roi\": 2.1, \"revenue\": 420},\n        \"facebook_ads\": {\"roi\": 1.4, \"revenue\": 168}\n    }\n}","operationId":"rebalance_autopilot_endpoint_r3_autopilot_rebalance_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/pause":{"post":{"summary":"Pause Autopilot","description":"Pause autopilot strategy","operationId":"pause_autopilot_r3_autopilot_pause_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/resume":{"post":{"summary":"Resume Autopilot","description":"Resume paused autopilot strategy","operationId":"resume_autopilot_r3_autopilot_resume_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/autopilot/performance":{"get":{"summary":"Get Autopilot Performance","description":"Get autopilot performance summary","operationId":"get_autopilot_performance_r3_autopilot_performance_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/create":{"post":{"summary":"Create Ab Test Endpoint","description":"Create an A/B test for a logic upgrade\n\nBody:\n{\n    \"upgrade_type\": \"pricing_strategy\",\n    \"control_logic\": {...},\n    \"test_duration_days\": 14,\n    \"sample_size\": 100\n}","operationId":"create_ab_test_endpoint_upgrades_test_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/list":{"get":{"summary":"List Ab Tests","description":"List all A/B tests\n\nstatus: active | completed | deployed | all","operationId":"list_ab_tests_upgrades_test_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/{test_id}":{"get":{"summary":"Get Ab Test","description":"Get specific A/B test details","operationId":"get_ab_test_upgrades_test__test_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Test Id"},"name":"test_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/assign":{"post":{"summary":"Assign Agent To Test","description":"Assign agent to A/B test group\n\nBody:\n{\n    \"test_id\": \"test_abc123\",\n    \"agent_id\": \"agent1\"\n}","operationId":"assign_agent_to_test_upgrades_test_assign_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/record":{"post":{"summary":"Record Test Outcome Endpoint","description":"Record outcome for an A/B test sample\n\nBody:\n{\n    \"test_id\": \"test_abc123\",\n    \"group\": \"variant\",\n    \"metrics\": {\n        \"win_rate\": 0.35,\n        \"avg_margin\": 0.15,\n        \"conversion_rate\": 0.28\n    }\n}","operationId":"record_test_outcome_endpoint_upgrades_test_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/test/analyze":{"post":{"summary":"Analyze Ab Test Endpoint","description":"Analyze A/B test results\n\nBody:\n{\n    \"test_id\": \"test_abc123\",\n    \"min_sample_size\": 30\n}","operationId":"analyze_ab_test_endpoint_upgrades_test_analyze_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/suggest":{"get":{"summary":"Suggest Next Upgrade Endpoint","description":"Suggest next logic upgrade to test based on platform needs","operationId":"suggest_next_upgrade_endpoint_upgrades_suggest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/agent/history":{"get":{"summary":"Get Agent Upgrade History","description":"Get agent's logic upgrade history","operationId":"get_agent_upgrade_history_upgrades_agent_history_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/active":{"get":{"summary":"Get Active Tests Endpoint","description":"Get all active A/B tests","operationId":"get_active_tests_endpoint_upgrades_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/dashboard":{"get":{"summary":"Get Upgrades Dashboard","description":"Get autonomous upgrades dashboard summary","operationId":"get_upgrades_dashboard_upgrades_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ocl/expansion/rules":{"get":{"summary":"Get Expansion Rules","description":"Get OCL expansion rules and reputation tiers","operationId":"get_expansion_rules_ocl_expansion_rules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ocl/expansion/calculate":{"post":{"summary":"Calculate Ocl Expansion Endpoint","description":"Calculate potential OCL expansion\n\nBody:\n{\n    \"job_value\": 500,\n    \"outcome_score\": 75,\n    \"on_time\": true,\n    \"disputed\": false\n}","operationId":"calculate_ocl_expansion_endpoint_ocl_expansion_calculate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/eligibility/{username}":{"get":{"summary":"Check Expansion Eligibility Endpoint","description":"Check if agent is eligible for OCL expansion","operationId":"check_expansion_eligibility_endpoint_ocl_expansion_eligibility__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/expand":{"post":{"summary":"Expand Ocl Limit Endpoint","description":"Manually expand OCL limit\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"expansion_amount\": 100,\n    \"job_id\": \"job_xyz789\",\n    \"reason\": \"job_completion\"\n}","operationId":"expand_ocl_limit_endpoint_ocl_expansion_expand_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/process_completion":{"post":{"summary":"Process Job Completion Expansion Endpoint","description":"Process OCL expansion after job completion\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"job_value\": 500,\n    \"job_id\": \"job_xyz789\",\n    \"on_time\": true,\n    \"disputed\": false,\n    \"trigger_r3\": true\n}","operationId":"process_job_completion_expansion_endpoint_ocl_expansion_process_completion_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/stats/{username}":{"get":{"summary":"Get Expansion Stats Endpoint","description":"Get agent's OCL expansion statistics","operationId":"get_expansion_stats_endpoint_ocl_expansion_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/simulate":{"post":{"summary":"Simulate Expansion Potential Endpoint","description":"Simulate potential OCL expansion for future job\n\nBody:\n{\n    \"outcome_score\": 75,\n    \"projected_job_value\": 1000,\n    \"on_time\": true\n}","operationId":"simulate_expansion_potential_endpoint_ocl_expansion_simulate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/next_tier/{username}":{"get":{"summary":"Get Next Tier Incentive Endpoint","description":"Show agent benefit of reaching next reputation tier\n\nParameters:\n- username: Agent username\n- job_value: Hypothetical job value to calculate benefit (default: 500)","operationId":"get_next_tier_incentive_endpoint_ocl_expansion_next_tier__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"number","title":"Job Value","default":500},"name":"job_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/history/{username}":{"get":{"summary":"Get Expansion History","description":"Get agent's expansion history\n\nParameters:\n- username: Agent username\n- limit: Number of recent expansions to return (default: 20)","operationId":"get_expansion_history_ocl_expansion_history__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/dashboard/{username}":{"get":{"summary":"Get Expansion Dashboard","description":"Get comprehensive OCL expansion dashboard for agent","operationId":"get_expansion_dashboard_ocl_expansion_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocl/expansion/batch_process":{"post":{"summary":"Batch Process Expansions","description":"Batch process OCL expansions for multiple completed jobs\n\nBody:\n{\n    \"expansions\": [\n        {\n            \"username\": \"agent1\",\n            \"job_value\": 500,\n            \"job_id\": \"job_1\",\n            \"on_time\": true,\n            \"disputed\": false\n        },\n        ...\n    ]\n}","operationId":"batch_process_expansions_ocl_expansion_batch_process_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/tiers":{"get":{"summary":"Get Reputation Tiers","description":"Get reputation tier definitions","operationId":"get_reputation_tiers_darkpool_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/darkpool/tier/{username}":{"get":{"summary":"Get Agent Reputation Tier","description":"Get agent's reputation tier","operationId":"get_agent_reputation_tier_darkpool_tier__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/auction/create":{"post":{"summary":"Create Dark Pool Auction Endpoint","description":"Create a dark pool auction for an intent\n\nBody:\n{\n    \"intent_id\": \"intent_123\",\n    \"min_reputation_tier\": \"silver\",\n    \"auction_duration_hours\": 24,\n    \"reveal_reputation\": true\n}","operationId":"create_dark_pool_auction_endpoint_darkpool_auction_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/auction/{auction_id}":{"get":{"summary":"Get Dark Pool Auction","description":"Get dark pool auction details","operationId":"get_dark_pool_auction_darkpool_auction__auction_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Auction Id"},"name":"auction_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/auction/list":{"get":{"summary":"List Dark Pool Auctions","description":"List dark pool auctions\n\nstatus: open | closed | expired | all","operationId":"list_dark_pool_auctions_darkpool_auction_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/bid":{"post":{"summary":"Submit Dark Pool Bid Endpoint","description":"Submit anonymous bid to dark pool auction\n\nBody:\n{\n    \"auction_id\": \"dark_abc123\",\n    \"username\": \"agent1\",\n    \"bid_amount\": 150,\n    \"delivery_hours\": 48,\n    \"proposal_summary\": \"Brief description\"\n}","operationId":"submit_dark_pool_bid_endpoint_darkpool_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/auction/close":{"post":{"summary":"Close Dark Pool Auction Endpoint","description":"Close dark pool auction and select winner\n\nBody:\n{\n    \"auction_id\": \"dark_abc123\",\n    \"matching_algorithm\": \"reputation_weighted_price\"\n}\n\nmatching_algorithm options:\n- reputation_weighted_price (default): Balance quality and price\n- lowest_price: Cheapest qualified bid\n- highest_reputation: Best reputation\n- best_value: Optimize value score","operationId":"close_dark_pool_auction_endpoint_darkpool_auction_close_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/reveal":{"post":{"summary":"Reveal Agent Identity Endpoint","description":"Reveal agent identity (only after auction closes)\n\nBody:\n{\n    \"auction_id\": \"dark_abc123\",\n    \"anonymous_id\": \"agent_xyz789\",\n    \"requester\": \"buyer1\"\n}","operationId":"reveal_agent_identity_endpoint_darkpool_reveal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/metrics":{"get":{"summary":"Get Dark Pool Metrics","description":"Get dark pool performance metrics","operationId":"get_dark_pool_metrics_darkpool_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/darkpool/agent/history":{"get":{"summary":"Get Agent Dark Pool History Endpoint","description":"Get agent's dark pool bidding history","operationId":"get_agent_dark_pool_history_endpoint_darkpool_agent_history_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/darkpool/dashboard":{"get":{"summary":"Get Dark Pool Dashboard","description":"Get dark pool dashboard summary","operationId":"get_dark_pool_dashboard_darkpool_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/jv/propose":{"post":{"summary":"Propose Jv Endpoint","description":"Propose a JV partnership\n\nBody:\n{\n    \"proposer\": \"agent1\",\n    \"partner\": \"agent2\",\n    \"title\": \"Design + Dev Partnership\",\n    \"description\": \"...\",\n    \"revenue_split\": {\"agent1\": 0.6, \"agent2\": 0.4},\n    \"duration_days\": 90\n}","operationId":"propose_jv_endpoint_jv_propose_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/vote":{"post":{"summary":"Vote On Jv Endpoint","description":"Vote on JV proposal\n\nBody:\n{\n    \"proposal_id\": \"jvp_abc123\",\n    \"voter\": \"agent2\",\n    \"vote\": \"APPROVED\",\n    \"feedback\": \"optional\"\n}","operationId":"vote_on_jv_endpoint_jv_vote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/proposals":{"get":{"summary":"List Jv Proposals Endpoint","description":"List JV proposals","operationId":"list_jv_proposals_endpoint_jv_proposals_get","parameters":[{"required":false,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/active":{"get":{"summary":"List Active Jvs Endpoint","description":"List active JV partnerships","operationId":"list_active_jvs_endpoint_jv_active_get","parameters":[{"required":false,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/proposal/{proposal_id}":{"get":{"summary":"Get Jv Proposal Endpoint","description":"Get specific JV proposal","operationId":"get_jv_proposal_endpoint_jv_proposal__proposal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proposal Id"},"name":"proposal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/{jv_id}":{"get":{"summary":"Get Active Jv Endpoint","description":"Get active JV details","operationId":"get_active_jv_endpoint_jv__jv_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Jv Id"},"name":"jv_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/dissolve":{"post":{"summary":"Dissolve Jv Endpoint","description":"Dissolve a JV partnership\n\nBody:\n{\n    \"jv_id\": \"jv_abc123\",\n    \"requester\": \"agent1\",\n    \"reason\": \"mutual agreement\"\n}","operationId":"dissolve_jv_endpoint_jv_dissolve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/suggest/{username}":{"get":{"summary":"Suggest Jv Partners Endpoint","description":"AI suggests compatible JV partners","operationId":"suggest_jv_partners_endpoint_jv_suggest__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"number","title":"Min Score","default":0.6},"name":"min_score","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":5},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/auto_propose":{"post":{"summary":"Auto Propose Jv Endpoint","description":"Automatically propose JV to AI-suggested partner\n\nBody:\n{\n    \"agent_username\": \"agent1\",\n    \"partner_username\": \"agent2\"\n}","operationId":"auto_propose_jv_endpoint_jv_auto_propose_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/compatibility":{"get":{"summary":"Check Compatibility","description":"Check compatibility between two agents","operationId":"check_compatibility_jv_compatibility_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent1"},"name":"agent1","in":"query"},{"required":true,"schema":{"type":"string","title":"Agent2"},"name":"agent2","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/performance/{jv_id}":{"get":{"summary":"Get Jv Performance","description":"Evaluate JV partnership performance","operationId":"get_jv_performance_jv_performance__jv_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Jv Id"},"name":"jv_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/config":{"get":{"summary":"Get Money Config","description":"Get state-driven money configuration","operationId":"get_money_config_money_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/idempotency_key":{"post":{"summary":"Generate Idempotency Key Endpoint","description":"Generate idempotency key for Stripe operation\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"action\": \"authorize\",\n    \"timestamp\": \"2025-01-15T10:00:00Z\" (optional)\n}","operationId":"generate_idempotency_key_endpoint_money_idempotency_key_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/validate_transition":{"post":{"summary":"Validate State Transition Endpoint","description":"Validate if state transition is allowed\n\nBody:\n{\n    \"current_state\": \"ACCEPTED\",\n    \"new_state\": \"ESCROW_HELD\"\n}","operationId":"validate_state_transition_endpoint_money_validate_transition_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/authorize":{"post":{"summary":"Authorize Payment Endpoint","description":"Authorize payment (Stripe payment intent)\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"payment_intent_id\": \"pi_stripe123\",\n    \"amount\": 500\n}","operationId":"authorize_payment_endpoint_money_authorize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/capture":{"post":{"summary":"Capture Payment Endpoint","description":"Capture payment (when delivered)\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"capture_amount\": 500 (optional - defaults to authorized amount)\n}","operationId":"capture_payment_endpoint_money_capture_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/pause_dispute":{"post":{"summary":"Pause On Dispute Endpoint","description":"Pause payment on dispute\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"dispute_reason\": \"Quality issue\"\n}","operationId":"pause_on_dispute_endpoint_money_pause_dispute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/check_timeout/{deal_id}":{"get":{"summary":"Check Timeout Endpoint","description":"Check if deal has timed out","operationId":"check_timeout_endpoint_money_check_timeout__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/auto_release":{"post":{"summary":"Auto Release On Timeout Endpoint","description":"Auto-release payment on timeout\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"proof_verified\": true\n}","operationId":"auto_release_on_timeout_endpoint_money_auto_release_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/void":{"post":{"summary":"Void Authorization Endpoint","description":"Void authorization (cancel deal)\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"reason\": \"cancelled_by_buyer\"\n}","operationId":"void_authorization_endpoint_money_void_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/webhook":{"post":{"summary":"Process Webhook Endpoint","description":"Process Stripe webhook with idempotency\n\nBody: Stripe webhook payload","operationId":"process_webhook_endpoint_money_webhook_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/timeline/{deal_id}":{"get":{"summary":"Get Money Timeline Endpoint","description":"Get complete money event timeline for deal","operationId":"get_money_timeline_endpoint_money_timeline__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/money/batch_check_timeouts":{"post":{"summary":"Batch Check Timeouts","description":"Batch check all active deals for timeouts","operationId":"batch_check_timeouts_money_batch_check_timeouts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/money/dashboard":{"get":{"summary":"Get Money Dashboard","description":"Get state-driven money dashboard","operationId":"get_money_dashboard_money_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metabridge/config":{"get":{"summary":"Get Metabridge Config","description":"Get MetaBridge configuration","operationId":"get_metabridge_config_metabridge_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metabridge/analyze_intent":{"post":{"summary":"Analyze Intent Complexity Endpoint","description":"Analyze if intent requires a team\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\"\n}","operationId":"analyze_intent_complexity_endpoint_metabridge_analyze_intent_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/find_candidates":{"post":{"summary":"Find Complementary Agents Endpoint","description":"Find agents with complementary skills\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\",\n    \"max_team_size\": 5\n}","operationId":"find_complementary_agents_endpoint_metabridge_find_candidates_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/optimize_team":{"post":{"summary":"Optimize Team Composition Endpoint","description":"Optimize team composition for skill coverage\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\",\n    \"candidate_usernames\": [\"agent1\", \"agent2\", \"agent3\"],\n    \"max_team_size\": 5\n}","operationId":"optimize_team_composition_endpoint_metabridge_optimize_team_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/execute":{"post":{"summary":"Execute Metabridge Endpoint","description":"Execute complete MetaBridge pipeline to auto-form team\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\"\n}","operationId":"execute_metabridge_endpoint_metabridge_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/vote":{"post":{"summary":"Vote On Team Proposal Endpoint","description":"Vote on team proposal\n\nBody:\n{\n    \"proposal_id\": \"team_abc123\",\n    \"voter\": \"agent1\",\n    \"vote\": \"APPROVED\",\n    \"feedback\": \"Looks good to me\"\n}","operationId":"vote_on_team_proposal_endpoint_metabridge_vote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/proposal/{proposal_id}":{"get":{"summary":"Get Team Proposal","description":"Get team proposal details","operationId":"get_team_proposal_metabridge_proposal__proposal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proposal Id"},"name":"proposal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/proposals/list":{"get":{"summary":"List Team Proposals","description":"List team proposals with filters\n\nParameters:\n- status: Filter by status (PENDING_VOTES, APPROVED, REJECTED)\n- intent_id: Filter by intent","operationId":"list_team_proposals_metabridge_proposals_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/stats":{"get":{"summary":"Get Metabridge Stats Endpoint","description":"Get MetaBridge performance statistics","operationId":"get_metabridge_stats_endpoint_metabridge_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metabridge/agent/{username}/invitations":{"get":{"summary":"Get Agent Team Invitations","description":"Get pending team invitations for an agent","operationId":"get_agent_team_invitations_metabridge_agent__username__invitations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/dashboard":{"get":{"summary":"Get Metabridge Dashboard","description":"Get MetaBridge orchestration dashboard","operationId":"get_metabridge_dashboard_metabridge_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metabridge/batch_execute":{"post":{"summary":"Batch Execute Metabridge","description":"Batch execute MetaBridge for multiple intents\n\nBody:\n{\n    \"intent_ids\": [\"intent_1\", \"intent_2\", \"intent_3\"]\n}","operationId":"batch_execute_metabridge_metabridge_batch_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/tier/{tier_name}":{"get":{"summary":"Get Slo Tier Endpoint","description":"Get specific SLO tier configuration","operationId":"get_slo_tier_endpoint_slo_tier__tier_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tier Name"},"name":"tier_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/calculate":{"post":{"summary":"Calculate Slo Requirements Endpoint","description":"Calculate SLO requirements for a job\n\nBody:\n{\n    \"job_value\": 500,\n    \"tier\": \"premium\"\n}","operationId":"calculate_slo_requirements_endpoint_slo_calculate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contract/create":{"post":{"summary":"Create Slo Contract Endpoint","description":"Create SLO contract when agent accepts intent\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\",\n    \"agent_username\": \"agent1\",\n    \"tier\": \"premium\"\n}","operationId":"create_slo_contract_endpoint_slo_contract_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/bond/stake":{"post":{"summary":"Stake Slo Bond Endpoint","description":"Agent stakes required bond for SLO contract\n\nBody:\n{\n    \"contract_id\": \"slo_abc123\",\n    \"agent_username\": \"agent1\"\n}","operationId":"stake_slo_bond_endpoint_slo_bond_stake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contract/{contract_id}":{"get":{"summary":"Get Slo Contract","description":"Get SLO contract details","operationId":"get_slo_contract_slo_contract__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contract/{contract_id}/check":{"get":{"summary":"Check Slo Breach Endpoint","description":"Check if SLO contract has been breached","operationId":"check_slo_breach_endpoint_slo_contract__contract_id__check_get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contract/enforce":{"post":{"summary":"Enforce Slo Breach Endpoint","description":"Auto-enforce SLO breach (slash bond, refund buyer)\n\nBody:\n{\n    \"contract_id\": \"slo_abc123\"\n}","operationId":"enforce_slo_breach_endpoint_slo_contract_enforce_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contract/deliver":{"post":{"summary":"Process Slo Delivery Endpoint","description":"Process delivery under SLO contract\n\nBody:\n{\n    \"contract_id\": \"slo_abc123\",\n    \"agent_username\": \"agent1\",\n    \"delivery_timestamp\": \"2025-01-15T10:00:00Z\" (optional)\n}","operationId":"process_slo_delivery_endpoint_slo_contract_deliver_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/agent/{username}/stats":{"get":{"summary":"Get Agent Slo Stats Endpoint","description":"Get agent's SLO performance statistics","operationId":"get_agent_slo_stats_endpoint_slo_agent__username__stats_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slo/contracts/active":{"get":{"summary":"List Active Slo Contracts","description":"List all active SLO contracts","operationId":"list_active_slo_contracts_slo_contracts_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/contracts/breached":{"get":{"summary":"List Breached Slo Contracts","description":"List all breached SLO contracts needing enforcement","operationId":"list_breached_slo_contracts_slo_contracts_breached_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/dashboard":{"get":{"summary":"Get Slo Dashboard","description":"Get SLO system dashboard","operationId":"get_slo_dashboard_slo_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ipvault/types":{"get":{"summary":"Get Asset Types","description":"Get available IP asset types","operationId":"get_asset_types_ipvault_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ipvault/asset/create":{"post":{"summary":"Create Ip Asset Endpoint","description":"Create an IP asset (playbook, template, workflow, etc.)\n\nBody:\n{\n    \"owner_username\": \"agent1\",\n    \"asset_type\": \"playbook\",\n    \"title\": \"E-commerce SEO Audit\",\n    \"description\": \"Complete SEO audit process for online stores\",\n    \"royalty_percentage\": 0.10,\n    \"price\": 50.0,\n    \"license_type\": \"per_use\",\n    \"metadata\": {...}\n}","operationId":"create_ip_asset_endpoint_ipvault_asset_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/asset/{asset_id}":{"get":{"summary":"Get Ip Asset","description":"Get IP asset details","operationId":"get_ip_asset_ipvault_asset__asset_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Asset Id"},"name":"asset_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/license":{"post":{"summary":"License Ip Asset Endpoint","description":"License an IP asset to use in deliveries\n\nBody:\n{\n    \"asset_id\": \"asset_abc123\",\n    \"licensee_username\": \"agent2\"\n}","operationId":"license_ip_asset_endpoint_ipvault_license_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/usage/record":{"post":{"summary":"Record Asset Usage Endpoint","description":"Record usage of an IP asset\n\nBody:\n{\n    \"asset_id\": \"asset_abc123\",\n    \"user_username\": \"agent2\",\n    \"job_id\": \"job_xyz789\",\n    \"context\": \"Used for client website audit\"\n}","operationId":"record_asset_usage_endpoint_ipvault_usage_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/royalty/calculate":{"post":{"summary":"Calculate Royalty Payment Endpoint","description":"Calculate royalty payment for asset usage\n\nBody:\n{\n    \"asset_id\": \"asset_abc123\",\n    \"job_payment\": 500\n}","operationId":"calculate_royalty_payment_endpoint_ipvault_royalty_calculate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/delivery/process":{"post":{"summary":"Process Delivery With Royalty Endpoint","description":"Process job delivery with automatic royalty routing\n\nBody:\n{\n    \"asset_id\": \"asset_abc123\",\n    \"job_payment\": 500,\n    \"agent_username\": \"agent2\",\n    \"job_id\": \"job_xyz789\"\n}","operationId":"process_delivery_with_royalty_endpoint_ipvault_delivery_process_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/asset/{asset_id}/performance":{"get":{"summary":"Get Asset Performance Endpoint","description":"Get asset performance metrics","operationId":"get_asset_performance_endpoint_ipvault_asset__asset_id__performance_get","parameters":[{"required":true,"schema":{"type":"string","title":"Asset Id"},"name":"asset_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/owner/{username}/portfolio":{"get":{"summary":"Get Owner Portfolio Endpoint","description":"Get owner's IP asset portfolio","operationId":"get_owner_portfolio_endpoint_ipvault_owner__username__portfolio_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/licensee/{username}/library":{"get":{"summary":"Get Licensee Library Endpoint","description":"Get agent's licensed asset library","operationId":"get_licensee_library_endpoint_ipvault_licensee__username__library_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/search":{"get":{"summary":"Search Assets Endpoint","description":"Search IP assets\n\nParameters:\n- asset_type: Filter by type (playbook, prompt_template, etc.)\n- query: Search title/description\n- min_usage: Minimum usage count\n- sort_by: royalties | usage | recent","operationId":"search_assets_endpoint_ipvault_search_get","parameters":[{"required":false,"schema":{"type":"string","title":"Asset Type"},"name":"asset_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Query"},"name":"query","in":"query"},{"required":false,"schema":{"type":"integer","title":"Min Usage","default":0},"name":"min_usage","in":"query"},{"required":false,"schema":{"type":"string","title":"Sort By","default":"royalties"},"name":"sort_by","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/asset/update_status":{"post":{"summary":"Update Asset Status Endpoint","description":"Update asset status\n\nBody:\n{\n    \"asset_id\": \"asset_abc123\",\n    \"status\": \"archived\",\n    \"reason\": \"No longer maintained\"\n}","operationId":"update_asset_status_endpoint_ipvault_asset_update_status_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ipvault/dashboard":{"get":{"summary":"Get Ipvault Dashboard","description":"Get IPVault marketplace dashboard","operationId":"get_ipvault_dashboard_ipvault_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reputation/knobs/config":{"get":{"summary":"Get Knobs Config","description":"Get reputation knobs configuration","operationId":"get_knobs_config_reputation_knobs_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reputation/metrics/{username}":{"get":{"summary":"Get Reputation Metrics Endpoint","description":"Get comprehensive reputation metrics for agent","operationId":"get_reputation_metrics_endpoint_reputation_metrics__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/calculate_ocl":{"post":{"summary":"Calculate Ocl Limit Endpoint","description":"Calculate OCL limit based on reputation\n\nBody:\n{\n    \"username\": \"agent1\"\n}","operationId":"calculate_ocl_limit_endpoint_reputation_knobs_calculate_ocl_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/calculate_factoring":{"post":{"summary":"Calculate Factoring Rate Endpoint","description":"Calculate factoring rate based on reputation\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"job_value\": 1000\n}","operationId":"calculate_factoring_rate_endpoint_reputation_knobs_calculate_factoring_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/calculate_arm":{"post":{"summary":"Calculate Arm Pricing Endpoint","description":"Calculate ARM pricing based on reputation\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"base_price\": 500\n}","operationId":"calculate_arm_pricing_endpoint_reputation_knobs_calculate_arm_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/calculate_rank":{"post":{"summary":"Calculate Dark Pool Rank Endpoint","description":"Calculate dark pool rank based on reputation\n\nBody:\n{\n    \"username\": \"agent1\"\n}","operationId":"calculate_dark_pool_rank_endpoint_reputation_knobs_calculate_rank_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/recompute":{"post":{"summary":"Recompute All Knobs Endpoint","description":"Recompute all reputation knobs for an agent\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"job_value\": 1000,\n    \"base_price\": 500\n}","operationId":"recompute_all_knobs_endpoint_reputation_knobs_recompute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/apply":{"post":{"summary":"Apply Knob Updates Endpoint","description":"Recompute and apply all knob updates to agent record\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"job_value\": 1000,\n    \"base_price\": 500\n}","operationId":"apply_knob_updates_endpoint_reputation_knobs_apply_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/tiers":{"get":{"summary":"Get Tier Comparison Endpoint","description":"Get comparison of all tiers\n\nParameters:\n- outcome_score: Current outcome score","operationId":"get_tier_comparison_endpoint_reputation_knobs_tiers_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Outcome Score"},"name":"outcome_score","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/simulate":{"post":{"summary":"Simulate Reputation Change Endpoint","description":"Simulate impact of reputation change\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"new_outcome_score\": 80\n}","operationId":"simulate_reputation_change_endpoint_reputation_knobs_simulate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/dashboard/{username}":{"get":{"summary":"Get Knobs Dashboard","description":"Get comprehensive knobs dashboard for agent","operationId":"get_knobs_dashboard_reputation_knobs_dashboard__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/batch_update":{"post":{"summary":"Batch Update Knobs","description":"Batch update knobs for multiple agents\n\nBody:\n{\n    \"usernames\": [\"agent1\", \"agent2\", \"agent3\"]\n}","operationId":"batch_update_knobs_reputation_knobs_batch_update_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reputation/knobs/auto_update":{"post":{"summary":"Auto Update Knobs On Event","description":"Auto-trigger knob update when reputation changes\n\nBody:\n{\n    \"username\": \"agent1\",\n    \"event\": \"job_completed\",\n    \"event_data\": {...}\n}","operationId":"auto_update_knobs_on_event_reputation_knobs_auto_update_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/process-opportunity":{"post":{"summary":"Process Opportunity","description":"Step 1: Process discovered opportunity\nAdds to Wade's approval queue","operationId":"process_opportunity_wade_process_opportunity_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/check-approval/{workflow_id}":{"post":{"summary":"Check Approval","description":"Manually check if client approved\n(Background job would do this automatically)","operationId":"check_approval_wade_check_approval__workflow_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/fulfillment/{fulfillment_id}/create-workflow":{"post":{"summary":"Create Workflow From Fulfillment","description":"Create a workflow from an approved fulfillment","operationId":"create_workflow_from_fulfillment_wade_fulfillment__fulfillment_id__create_workflow_post","parameters":[{"required":true,"schema":{"type":"string","title":"Fulfillment Id"},"name":"fulfillment_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/graphics/test-engine":{"post":{"summary":"Test Graphics Engine","description":"Test graphics engine directly","operationId":"test_graphics_engine_wade_graphics_test_engine_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/graphics/test-direct":{"post":{"summary":"Test Stability Direct","description":"Test Stability API directly without workflow","operationId":"test_stability_direct_wade_graphics_test_direct_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/graphics/status":{"get":{"summary":"Check Graphics Status","description":"Check if graphics engine is configured and ready","operationId":"check_graphics_status_wade_graphics_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/graphics/test":{"post":{"summary":"Test Graphics Generation","description":"Test graphics generation with sample data\nCreates a temporary test workflow and executes it","operationId":"test_graphics_generation_wade_graphics_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/workflow/{workflow_id}/client-approved":{"post":{"summary":"Mark Client Approved","description":"Mark opportunity as accepted by client","operationId":"mark_client_approved_wade_workflow__workflow_id__client_approved_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/workflow/{workflow_id}/execute":{"post":{"summary":"Execute Workflow","description":"Execute the approved work\n\nRoutes to appropriate executor:\n- Code generation (Claude)\n- Content generation (Claude)\n- Business deployment (template_actionizer)\n- AI agent deployment (openai_agent_deployer)\n- Platform monetization (metabridge_runtime)","operationId":"execute_workflow_wade_workflow__workflow_id__execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/workflow/{workflow_id}/deliver":{"post":{"summary":"Deliver Workflow","description":"Deliver completed work to client\n\nPlatform-specific delivery:\n- GitHub: Comment with solution + optional PR\n- Upwork: Submit through platform\n- Reddit: DM + reply to post\n- Email: Send deliverables via email","operationId":"deliver_workflow_wade_workflow__workflow_id__deliver_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/workflow/{workflow_id}/payment-received":{"post":{"summary":"Track Payment","description":"Track payment received\n\nUpdates:\n- Workflow status → PAID\n- AIGx balance\n- Revenue tracking\n- Outcome oracle","operationId":"track_payment_wade_workflow__workflow_id__payment_received_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/workflow/{workflow_id}":{"get":{"summary":"Get Workflow Status","description":"Get workflow status and history\n\nReturns:\n- Current stage\n- Opportunity details\n- Execution results\n- Delivery status\n- Payment info\n- Complete history","operationId":"get_workflow_status_wade_workflow__workflow_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/active-workflows":{"get":{"summary":"Get Active Workflows","description":"Get all active workflows\n\nReturns workflows in:\n- PENDING_CLIENT_APPROVAL\n- CLIENT_APPROVED\n- IN_PROGRESS\n- COMPLETED\n- DELIVERED\n\nExcludes:\n- PAID (finished)\n- REJECTED (dead)","operationId":"get_active_workflows_wade_active_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/workflow/{workflow_id}/auto-execute":{"post":{"summary":"Auto Execute Workflow","description":"FULL AUTO MODE: Execute + Deliver in one call\n\nDoes:\n1. Execute work (generate code/content/deploy)\n2. Deliver to platform automatically\n3. Track delivery\n\nUse this for hands-off execution after client approves","operationId":"auto_execute_workflow_wade_workflow__workflow_id__auto_execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/week2/launch":{"post":{"summary":"Launch Week2 Master Plan","description":"🚀 LAUNCH WEEK 2 MASTER PLAN\n\nComplete marketplace integration across:\n- Fiverr ($1K-$5K/month)\n- 99designs ($1K-$3K/month)  \n- Dribbble ($500-$2K/month)\n\nTotal Target: $2.5K-$10K/month","operationId":"launch_week2_master_plan_wade_week2_launch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/week2/dashboard":{"get":{"summary":"Get Week2 Dashboard","description":"📊 REAL-TIME WEEK 2 DASHBOARD\n\nLive metrics from all platforms:\n- Revenue tracking\n- Platform status\n- Automation health\n- Performance metrics","operationId":"get_week2_dashboard_wade_week2_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/week2/status":{"get":{"summary":"Check Week2 Status","description":"🔍 WEEK 2 PLATFORM STATUS CHECK\n\nQuick status check for all platforms:\n- Fiverr gig status\n- 99designs contest activity\n- Dribbble posting status\n- Graphics engine health","operationId":"check_week2_status_wade_week2_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/week2/portfolio/generate":{"post":{"summary":"Generate Portfolio Sample","description":"🎨 GENERATE PORTFOLIO SAMPLE\n\nGenerate a single portfolio sample for testing:\n- Uses real graphics engine\n- Creates professional design\n- Returns image and metadata","operationId":"generate_portfolio_sample_wade_week2_portfolio_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/week2/analytics":{"get":{"summary":"Get Week2 Analytics","description":"📈 WEEK 2 PERFORMANCE ANALYTICS\n\nComprehensive analytics across all platforms:\n- Revenue tracking\n- Conversion metrics\n- Performance insights\n- Optimization recommendations","operationId":"get_week2_analytics_wade_week2_analytics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/integration/initialize":{"post":{"summary":"Initialize Integration System","description":"INITIALIZE UNIVERSAL INTEGRATION SYSTEM + REVENUE INTELLIGENCE MESH\n\nConnects your 27-platform discovery with AI worker orchestration\nThis bridges Universal Discovery -> Revenue Mesh -> Week 2 Automation -> Future AI Workers","operationId":"initialize_integration_system_wade_integration_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/revenue-mesh/status":{"get":{"summary":"Get Revenue Mesh Status","description":"Get Revenue Intelligence Mesh status and metrics","operationId":"get_revenue_mesh_status_wade_revenue_mesh_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/revenue-mesh/optimize":{"post":{"summary":"Optimize Opportunity With Mesh","description":"Optimize a single opportunity using Revenue Intelligence Mesh\n\nReturns:\n- Win probability prediction\n- Optimal pricing\n- Platform intelligence\n- Market strategy\n- Revenue multiplier","operationId":"optimize_opportunity_with_mesh_wade_revenue_mesh_optimize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/revenue-mesh/batch-optimize":{"post":{"summary":"Batch Optimize Opportunities","description":"Batch optimize multiple opportunities using Revenue Intelligence Mesh\n\nReturns optimized opportunities sorted by ROI potential","operationId":"batch_optimize_opportunities_wade_revenue_mesh_batch_optimize_post","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Opportunities"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/revenue-mesh/learn":{"post":{"summary":"Learn From Outcome","description":"Feed actual outcome data back to Revenue Mesh for learning\n\nThis improves future predictions through:\n- Yield Memory (personal patterns)\n- MetaHive (collective learning if ROAS > 1.5)","operationId":"learn_from_outcome_wade_revenue_mesh_learn_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_learn_from_outcome_wade_revenue_mesh_learn_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/integration/full-cycle":{"post":{"summary":"Run Full Discovery Execution Cycle","description":"🚀 FULL INTEGRATED CYCLE\n\nRuns complete cycle:\n1. Universal Discovery (27+ platforms)\n2. Intelligent Analysis & Routing\n3. AI Worker Selection\n4. Execution Planning\n5. Queue for Delivery\n\nThis is the main orchestration endpoint","operationId":"run_full_discovery_execution_cycle_wade_integration_full_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/integration/status":{"get":{"summary":"Get Integration Status","description":"📊 INTEGRATION SYSTEM STATUS\n\nCheck status of all integrated components:\n- Universal Discovery Engine\n- Intelligent Router\n- AI Workers\n- Execution Queue","operationId":"get_integration_status_wade_integration_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/integration/queue":{"get":{"summary":"Get Execution Queue","description":"📋 VIEW EXECUTION QUEUE\n\nSee what tasks are queued for execution","operationId":"get_execution_queue_wade_integration_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/integration/execute-queue":{"post":{"summary":"Execute Integration Queue","description":"⚡ EXECUTE QUEUED TASKS\n\nExecute all tasks in the integration queue using appropriate AI workers","operationId":"execute_integration_queue_wade_integration_execute_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/integration/analyze-opportunity":{"post":{"summary":"Analyze Single Opportunity","description":"🧠 ANALYZE SINGLE OPPORTUNITY\n\nTest the intelligent router on a single opportunity","operationId":"analyze_single_opportunity_wade_integration_analyze_opportunity_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/integration/performance":{"get":{"summary":"Get Integration Performance","description":"📈 INTEGRATION PERFORMANCE METRICS\n\nPerformance analytics for the integrated system","operationId":"get_integration_performance_wade_integration_performance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/video/initialize":{"post":{"summary":"Initialize Video Engine","description":"🎬 INITIALIZE VIDEO ENGINE\n\nSet up video generation capabilities:\n- Runway ML (dynamic content)\n- Synthesia (AI presenters)  \n- HeyGen (premium videos)\n- Script generation","operationId":"initialize_video_engine_wade_video_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/video/generate":{"post":{"summary":"Generate Video","description":"🎥 GENERATE VIDEO\n\nCreate professional video content from opportunity description:\n- Analyzes video requirements\n- Generates script automatically\n- Selects best AI worker\n- Produces final video","operationId":"generate_video_wade_video_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/video/analyze":{"post":{"summary":"Analyze Video Opportunity","description":"🧠 ANALYZE VIDEO OPPORTUNITY\n\nAnalyze opportunity to determine video requirements:\n- Video type (explainer, ad, social, testimonial)\n- Optimal duration and style\n- Recommended AI worker\n- Quality tier and pricing","operationId":"analyze_video_opportunity_wade_video_analyze_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/video/status":{"get":{"summary":"Get Video Engine Status","description":"📊 VIDEO ENGINE STATUS\n\nCheck video engine health and capabilities","operationId":"get_video_engine_status_wade_video_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/video/test":{"post":{"summary":"Test Video Generation","description":"🧪 TEST VIDEO GENERATION\n\nTest video engine with sample opportunity","operationId":"test_video_generation_wade_video_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/video/pricing":{"get":{"summary":"Get Video Pricing","description":"💰 VIDEO PRICING CALCULATOR\n\nGet pricing information for different video types","operationId":"get_video_pricing_wade_video_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/audio/initialize":{"post":{"summary":"Initialize Audio Engine","description":"🎵 INITIALIZE AUDIO ENGINE\n\nSet up audio generation capabilities:\n- ElevenLabs (premium voice synthesis)\n- Murf (natural AI voices)\n- Play.ht (voice cloning)\n- Script generation","operationId":"initialize_audio_engine_wade_audio_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/audio/generate":{"post":{"summary":"Generate Audio","description":"🎤 GENERATE AUDIO\n\nCreate professional audio content from opportunity description:\n- Analyzes audio requirements\n- Generates script automatically  \n- Selects best AI worker and voice\n- Produces final audio file","operationId":"generate_audio_wade_audio_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/audio/analyze":{"post":{"summary":"Analyze Audio Opportunity","description":"🧠 ANALYZE AUDIO OPPORTUNITY\n\nAnalyze opportunity to determine audio requirements:\n- Audio type (voiceover, podcast, audiobook, etc.)\n- Optimal duration and voice style\n- Language and quality requirements\n- Recommended AI worker and pricing","operationId":"analyze_audio_opportunity_wade_audio_analyze_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/audio/status":{"get":{"summary":"Get Audio Engine Status","description":"📊 AUDIO ENGINE STATUS\n\nCheck audio engine health and capabilities","operationId":"get_audio_engine_status_wade_audio_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/audio/test":{"post":{"summary":"Test Audio Generation","description":"🧪 TEST AUDIO GENERATION\n\nTest audio engine with sample opportunity","operationId":"test_audio_generation_wade_audio_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/audio/pricing":{"get":{"summary":"Get Audio Pricing","description":"💰 AUDIO PRICING CALCULATOR\n\nGet pricing information for different audio types","operationId":"get_audio_pricing_wade_audio_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/audio/voices":{"get":{"summary":"Get Available Voices","description":"🎭 AVAILABLE VOICES\n\nGet information about available AI voices","operationId":"get_available_voices_wade_audio_voices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/initialize":{"post":{"summary":"Initialize Research Engine","description":"🔍 INITIALIZE RESEARCH ENGINE\n\nSet up research capabilities with MetaHive integration:\n- Perplexity (real-time web research)\n- Claude Opus (deep analysis)\n- Gemini (multimodal research)\n- MetaBridge team formation for complex projects","operationId":"initialize_research_engine_wade_research_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/generate":{"post":{"summary":"Generate Research","description":"📊 GENERATE RESEARCH REPORT\n\nCreate comprehensive research with MetaHive intelligence:\n- Analyzes research requirements\n- Routes to best AI worker or MetaBridge team\n- Leverages shared intelligence from other AI workers\n- Produces professional deliverables","operationId":"generate_research_wade_research_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/research/analyze":{"post":{"summary":"Analyze Research Opportunity","description":"🧠 ANALYZE RESEARCH OPPORTUNITY\n\nIntelligent analysis with MetaHive insights:\n- Research type detection\n- Complexity assessment  \n- Team formation requirements\n- MetaBridge coordination recommendations","operationId":"analyze_research_opportunity_wade_research_analyze_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/research/status":{"get":{"summary":"Get Research Engine Status","description":"📊 RESEARCH ENGINE STATUS\n\nCheck research engine and MetaHive integration health","operationId":"get_research_engine_status_wade_research_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/test":{"post":{"summary":"Test Research Generation","description":"🧪 TEST RESEARCH GENERATION\n\nTest research engine with MetaHive integration","operationId":"test_research_generation_wade_research_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/metahive":{"get":{"summary":"Get Metahive Intelligence","description":"🧠 METAHIVE INTELLIGENCE DASHBOARD\n\nView cross-AI learning and shared intelligence","operationId":"get_metahive_intelligence_wade_research_metahive_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/orchestrate":{"post":{"summary":"Orchestrate Universal Revenue Flow","description":"🚀 UNIVERSAL ORCHESTRATION\n\nActivate the complete intelligence mesh for maximum revenue:\n- Discovery across 27+ platforms\n- Predictive opportunity analysis  \n- MetaBridge team formation\n- AMG revenue optimization\n- Autonomous learning integration","operationId":"orchestrate_universal_revenue_flow_wade_research_orchestrate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/predict":{"post":{"summary":"Predict Opportunity Profitability","description":"🔮 PREDICTIVE MARKET ANALYSIS\n\nPredict opportunity success with 95% accuracy:\n- Win probability calculation\n- Optimal pricing recommendations\n- Risk assessment and mitigation\n- Execution requirements prediction","operationId":"predict_opportunity_profitability_wade_research_predict_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/generate-enhanced":{"post":{"summary":"Generate Enhanced Research","description":"📊 ENHANCED RESEARCH GENERATION\n\nGenerate research with ALL exponential multipliers:\n- Predictive optimization\n- Universal coordination  \n- Cross-AI intelligence\n- Revenue cascade optimization\n- Autonomous learning integration","operationId":"generate_enhanced_research_wade_research_generate_enhanced_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/status-multipliers":{"get":{"summary":"Get Exponential Multipliers Status","description":"📊 EXPONENTIAL MULTIPLIERS STATUS\n\nMonitor all multiplier systems and coordination efficiency","operationId":"get_exponential_multipliers_status_wade_research_status_multipliers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/research/test-full-system":{"post":{"summary":"Test Exponential Multipliers System","description":"🧪 FULL SYSTEM TEST\n\nTest complete exponential multipliers workflow:\n- Initialize all systems\n- Run predictive analysis\n- Execute universal orchestration  \n- Generate enhanced research\n- Apply autonomous learning","operationId":"test_exponential_multipliers_system_wade_research_test_full_system_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/initialize":{"post":{"summary":"Initialize Business In A Box","description":"🚀 INITIALIZE BUSINESS-IN-A-BOX ACCELERATOR\n\nTransform AiGentsy from service provider to business deployment platform:\n- Market Intelligence Engine (identify profitable niches)\n- Business Deployment Engine (deploy complete businesses in 10 minutes)\n- Portfolio Manager (manage multiple businesses per user)\n- Universal Router integration for optimal deployment","operationId":"initialize_business_in_a_box_wade_biz_initialize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/analyze-markets":{"post":{"summary":"Analyze Profitable Markets","description":"🔍 MARKET INTELLIGENCE ANALYSIS\n\nIdentify the most profitable business niches:\n- High-profit, low-competition opportunities\n- Market size and growth potential\n- Revenue projections and success probability\n- Optimal business types for each niche","operationId":"analyze_profitable_markets_wade_biz_analyze_markets_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/deploy-business":{"post":{"summary":"Deploy Intelligent Business","description":"🚀 DEPLOY COMPLETE BUSINESS IN 10 MINUTES\n\nDeploy a complete, AI-enhanced business:\n- Market intelligence guided niche selection\n- Universal Router optimized deployment\n- All AI workers contribute to business quality\n- Autonomous growth systems activated\n- Revenue tracking and optimization","operationId":"deploy_intelligent_business_wade_biz_deploy_business_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/deploy-portfolio":{"post":{"summary":"Deploy Business Portfolio","description":"🎯 DEPLOY MULTI-BUSINESS PORTFOLIO\n\nDeploy a portfolio of complementary businesses:\n- Strategic portfolio composition\n- Cross-business synergies and optimization\n- Diversified revenue streams\n- Portfolio-level analytics and management","operationId":"deploy_business_portfolio_wade_biz_deploy_portfolio_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/analytics":{"get":{"summary":"Get Business Analytics","description":"📊 BUSINESS-IN-A-BOX ANALYTICS\n\nComprehensive analytics for deployed businesses:\n- Revenue performance across all businesses\n- Market intelligence insights\n- Growth optimization opportunities\n- Portfolio performance metrics","operationId":"get_business_analytics_wade_biz_analytics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/optimize-business":{"post":{"summary":"Optimize Deployed Business","description":"⚡ OPTIMIZE DEPLOYED BUSINESS\n\nApply AI-powered optimization to existing businesses:\n- Performance analysis and enhancement recommendations\n- Revenue optimization strategies\n- Market positioning improvements\n- Growth acceleration opportunities","operationId":"optimize_deployed_business_wade_biz_optimize_business_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/biz/status":{"get":{"summary":"Get Business In A Box Status","description":"📊 BUSINESS-IN-A-BOX SYSTEM STATUS\n\nMonitor system health and performance metrics","operationId":"get_business_in_a_box_status_wade_biz_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/traffic/track":{"post":{"summary":"Traffic Track","description":"Track incoming visitor and identify traffic source\n\nBody: {\n    url: str,\n    referrer?: str,\n    utm_source?: str,\n    utm_campaign?: str,\n    utm_medium?: str,\n    utm_content?: str\n}\n\nReturns: {\n    ok: true,\n    source: \"instagram\" | \"tiktok\" | \"facebook\" | etc,\n    source_name: str,\n    session_id: str,\n    creator_code?: str,\n    is_affiliate: bool,\n    visitor_fingerprint: str,\n    tracked_at: str\n}","operationId":"traffic_track_traffic_track_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/traffic/strategy":{"post":{"summary":"Traffic Strategy","description":"Generate monetization strategy for visitor\n\nThis is the CORE endpoint - call it when a visitor lands on a product page.\nReturns tactics (AIGx bonus, exit intent, scarcity, etc.) + frontend scripts.\n\nBody: {\n    visitor_data: {\n        source: \"instagram\" | \"tiktok\" | etc,\n        session_id: str,\n        creator_code?: str,\n        is_first_visit?: bool\n    },\n    product_data: {\n        id?: str,\n        price: float,\n        inventory?: int,\n        category?: str,\n        recent_purchases?: int\n    },\n    session_data?: {\n        time_on_site?: int (seconds),\n        pages_viewed?: int,\n        cart_items?: []\n    },\n    user_history?: {\n        previous_visits?: int,\n        total_spent?: float,\n        aigx_balance?: float\n    }\n}\n\nReturns: {\n    ok: true,\n    session_id: str,\n    source: str,\n    tactics: [{\n        tactic: \"aigx_bonus\" | \"exit_intent\" | etc,\n        message: str,\n        discount_pct?: int,\n        code?: str,\n        aigx_amount?: int,\n        priority: int\n    }],\n    scripts: {\n        aigx_banner: str (JavaScript),\n        exit_intent: str (JavaScript),\n        cart_nudge: str (JavaScript),\n        scarcity: str (JavaScript),\n        countdown: str (JavaScript),\n        tracking: str (JavaScript)\n    },\n    messaging_tone: str,\n    urgency_level: str,\n    total_aigx_potential: int,\n    integrations: {\n        revenue_mesh: bool,\n        yield_memory: bool,\n        pricing_oracle: bool,\n        metahive: bool\n    }\n}","operationId":"traffic_strategy_traffic_strategy_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traffic/scripts/{session_id}":{"get":{"summary":"Traffic Scripts","description":"Get frontend JavaScript for a session's tactics\n\nCall this endpoint and inject the returned script into your page.\nThe script will:\n- Show AIGx bonus banner\n- Enable exit intent popup\n- Show cart nudge after delay\n- Display scarcity indicators\n- Track all interactions\n\nReturns: {\n    ok: true,\n    session_id: str,\n    script: str (combined JavaScript to inject),\n    tactics_count: int\n}","operationId":"traffic_scripts_traffic_scripts__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traffic/convert":{"post":{"summary":"Traffic Convert","description":"Track a conversion with full attribution\n\nCall this when a purchase is completed.\nDetermines which tactic gets credit and calculates ROAS.\nHigh ROAS patterns are stored in Yield Memory and shared to MetaHive.\n\nBody: {\n    session_id: str,\n    purchase_data: {\n        total: float,\n        items?: [{id, name, price, qty}],\n        used_code?: str (discount code used)\n    },\n    username?: str (for AIGx credits and Outcome Oracle tracking)\n}\n\nReturns: {\n    ok: true,\n    session_id: str,\n    source: str,\n    primary_tactic: str,\n    attribution_confidence: float (0-1),\n    roas: float,\n    contributed_to_hive?: bool (true if ROAS > 1.5),\n    aigx_credited?: float,\n    integrations_triggered: [str]\n}","operationId":"traffic_convert_traffic_convert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traffic/event":{"post":{"summary":"Traffic Event","description":"Track frontend events from injected scripts\n\nCalled automatically by the tracking script.\nEvents: page_view, aigx_banner_click, exit_intent_shown, \n        exit_intent_claimed, cart_nudge_shown, etc.\n\nBody: {\n    event: str,\n    data?: {},\n    ts?: int (timestamp)\n}","operationId":"traffic_event_traffic_event_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/traffic/optimize":{"get":{"summary":"Traffic Optimize","description":"Get AMG optimization insights for traffic monetization\n\nReturns insights on:\n- Best performing traffic sources\n- Most effective tactics per source\n- Revenue by source\n- Recommendations for improvement\n\nReturns: {\n    ok: true,\n    total_conversions: int,\n    total_revenue: float,\n    insights_by_source: [{\n        source: str,\n        conversions: int,\n        revenue: float,\n        avg_order_value: float,\n        best_tactic: str\n    }],\n    recommendations: [str]\n}","operationId":"traffic_optimize_traffic_optimize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/traffic/sources":{"get":{"summary":"Traffic Sources","description":"List available traffic sources and their configurations\n\nUse this to understand how different platforms are configured.\nTikTok has highest urgency, LinkedIn is most professional, etc.\n\nReturns: {\n    ok: true,\n    sources: [{\n        source: str,\n        primary_tactics: [str],\n        urgency_level: \"low\" | \"medium\" | \"high\",\n        aigx_multiplier: float\n    }]\n}","operationId":"traffic_sources_traffic_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/traffic/simulate":{"post":{"summary":"Traffic Simulate","description":"Simulate a visitor session for testing\n\nBody: {\n    source: \"instagram\" | \"tiktok\" | etc,\n    product_price: float,\n    is_first_visit?: bool,\n    creator_code?: str\n}\n\nReturns full strategy as if visitor just arrived","operationId":"traffic_simulate_traffic_simulate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recruit/cta":{"post":{"summary":"Recruit Cta","description":"Generate recruitment CTA for a visitor\n\nBody: {\n    source_platform: \"tiktok\" | \"instagram\" | \"youtube\" | etc,\n    visitor_data: {session_id, ...},\n    trigger?: \"exit_intent\" | \"time_on_site\" | \"scroll_depth\",\n    tactics_experienced?: [\"exit_intent\", \"aigx_bonus\", ...]\n}","operationId":"recruit_cta_recruit_cta_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recruit/pitch/{platform}":{"get":{"summary":"Recruit Pitch","description":"Get the monetization pitch for a specific platform","operationId":"recruit_pitch_recruit_pitch__platform__get","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recruit/pitches":{"get":{"summary":"Recruit All Pitches","description":"Get all platform monetization pitches","operationId":"recruit_all_pitches_recruit_pitches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/recruit/signup":{"post":{"summary":"Recruit Signup","description":"Process a signup from platform recruitment\n\nBody: {\n    username: str,\n    source_platform: \"tiktok\" | \"instagram\" | etc,\n    session_id: str\n}","operationId":"recruit_signup_recruit_signup_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recruit/convert":{"post":{"summary":"Recruit Convert","description":"Track when a recruited visitor signs up","operationId":"recruit_convert_recruit_convert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recruit/stats":{"get":{"summary":"Recruit Stats","description":"Get recruitment performance stats","operationId":"recruit_stats_recruit_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/aigentsy/value-prop":{"get":{"summary":"Aigentsy Value Prop","description":"The AiGentsy Value Proposition\nFor marketing, landing pages, and pitch decks","operationId":"aigentsy_value_prop_aigentsy_value_prop_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/aigentsy/capabilities":{"get":{"summary":"Aigentsy Capabilities","description":"Full AiGentsy capability matrix\nShows everything the platform can do","operationId":"aigentsy_capabilities_aigentsy_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/aigentsy/revenue-streams":{"get":{"summary":"Aigentsy Revenue Streams","description":"All AiGentsy revenue streams\nHow the platform monetizes","operationId":"aigentsy_revenue_streams_aigentsy_revenue_streams_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/aigentsy/monetize-opportunity":{"post":{"summary":"Aigentsy Monetize Opportunity","description":"Route any opportunity through AiGentsy's monetization engine\n\nThis is the MASTER endpoint - takes ANY opportunity and figures out\nhow to monetize it using all available systems.\n\nBody: {\n    opportunity_type: \"freelance\" | \"content\" | \"commerce\" | \"traffic\" | \"partnership\",\n    details: {...},\n    constraints?: {budget?, timeline?, quality_level?}\n}","operationId":"aigentsy_monetize_opportunity_aigentsy_monetize_opportunity_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigentsy/active-systems":{"get":{"summary":"Aigentsy Active Systems","description":"Show all active AiGentsy systems and their status\nThe full autonomous money machine at a glance","operationId":"aigentsy_active_systems_aigentsy_active_systems_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deploy/quick":{"post":{"summary":"Deploy Quick","description":"Quick deploy monetization for a recruited user.\n\nCalled after user signs up via platform recruitment.\nImmediately sets up their platform monetization.\n\nBody: {\n    username: str,\n    platform: \"tiktok\" | \"instagram\" | etc,\n    connect_token?: str (OAuth token if they connected platform)\n}","operationId":"deploy_quick_deploy_quick_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/platforms":{"get":{"summary":"Social Platforms","description":"List available social platforms and their configurations","operationId":"social_platforms_social_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/social/oauth/{platform}":{"get":{"summary":"Social Oauth Url","description":"Get OAuth URL to connect a social platform","operationId":"social_oauth_url_social_oauth__platform__get","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/callback/{platform}":{"get":{"summary":"Social Oauth Callback","description":"Handle OAuth callback from social platform","operationId":"social_oauth_callback_social_callback__platform__get","parameters":[{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"path"},{"required":true,"schema":{"type":"string","title":"Code"},"name":"code","in":"query"},{"required":true,"schema":{"type":"string","title":"State"},"name":"state","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/connected/{username}":{"get":{"summary":"Social Connected","description":"Get list of connected social platforms for user","operationId":"social_connected_social_connected__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/preferences":{"post":{"summary":"Social Preferences","description":"Set user's posting preferences and approval mode\n\nBody: {\n    username: str,\n    approval_mode: \"manual\" | \"review_first\" | \"auto_with_notify\" | \"full_auto\",\n    platforms: [\"tiktok\", \"instagram\", ...],\n    max_posts_per_day: int,\n    content_guidelines?: str\n}\n\nApproval Modes:\n- manual: User approves every post before it goes live\n- review_first: AI generates, user reviews queue, batch approves\n- auto_with_notify: Auto-posts but notifies user\n- full_auto: Complete autopilot (requires explicit opt-in)","operationId":"social_preferences_social_preferences_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/generate":{"post":{"summary":"Social Generate","description":"Generate content for approval (respects user's approval mode)\n\nBody: {\n    username: str,\n    platform: \"tiktok\" | \"instagram\" | \"youtube\" | \"twitter\" | \"linkedin\",\n    content_type: \"video\" | \"image\" | \"text\",\n    topic: str,\n    style?: \"engaging\" | \"educational\" | \"promotional\"\n}\n\nIf approval_mode is \"manual\" or \"review_first\", returns content for approval.\nIf approval_mode is \"auto_with_notify\" or \"full_auto\", posts immediately.","operationId":"social_generate_social_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/pending/{username}":{"get":{"summary":"Social Pending","description":"Get all posts pending user approval","operationId":"social_pending_social_pending__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/approve/{approval_id}":{"post":{"summary":"Social Approve","description":"Approve a pending post and publish it\n\nBody (optional): {\n    edited_caption?: str  (if user wants to modify before posting)\n}","operationId":"social_approve_social_approve__approval_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Approval Id"},"name":"approval_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/reject/{approval_id}":{"post":{"summary":"Social Reject","description":"Reject a pending post\n\nBody (optional): {\n    feedback?: str  (why it was rejected, helps AI learn)\n}","operationId":"social_reject_social_reject__approval_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Approval Id"},"name":"approval_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/bulk-approve":{"post":{"summary":"Social Bulk Approve","description":"Approve and post multiple items at once\n\nBody: {\n    approval_ids: [\"approval_xxx\", \"approval_yyy\", ...]\n}","operationId":"social_bulk_approve_social_bulk_approve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/post":{"post":{"summary":"Social Post","description":"Create and post content (bypasses approval for immediate posting)\n\nUse /social/generate for normal flow that respects approval mode.\nUse this endpoint only when user explicitly wants immediate posting.\n\nBody: {\n    username: str,\n    platform: \"tiktok\" | \"instagram\" | \"youtube\" | \"twitter\" | \"linkedin\",\n    content_type: \"video\" | \"image\" | \"text\",\n    topic: str,\n    style?: \"engaging\" | \"educational\" | \"promotional\",\n    schedule?: bool,\n    scheduled_time?: str (ISO format)\n}","operationId":"social_post_social_post_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/metrics/{username}":{"get":{"summary":"Social Metrics","description":"Get recent social posts and their metadata for a user.","operationId":"social_metrics_social_metrics__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/strategy/{username}":{"get":{"summary":"Social Strategy","description":"Get AI-recommended posting strategy","operationId":"social_strategy_social_strategy__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"string","title":"Platforms","default":"tiktok,instagram"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/aigx/register":{"post":{"summary":"Protocol Register","description":"Register a new AI agent in the AIGx Protocol (legacy).\nNew agents should use POST /protocol/register (A2A Settlement Protocol).","operationId":"protocol_register_protocol_aigx_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/direct/twitter":{"post":{"summary":"Direct Twitter Post","description":"Post directly to AiGentsy's Twitter using env var keys","operationId":"direct_twitter_post_direct_twitter_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/direct/instagram":{"post":{"summary":"Direct Instagram Post","description":"Post directly to AiGentsy's Instagram using env var keys","operationId":"direct_instagram_post_direct_instagram_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/direct/linkedin":{"post":{"summary":"Direct Linkedin Post","description":"Post directly to AiGentsy's LinkedIn using env var keys","operationId":"direct_linkedin_post_direct_linkedin_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/direct/sms":{"post":{"summary":"Direct Sms","description":"Send SMS using AiGentsy's Twilio account","operationId":"direct_sms_direct_sms_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/direct/all":{"post":{"summary":"Direct Post All","description":"Post to all AiGentsy's social accounts at once","operationId":"direct_post_all_direct_all_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/aigx/settle":{"post":{"summary":"Protocol Settle","description":"Settle an AI-to-AI payment via AIGx (legacy).\nNew settlements should use POST /protocol/settle (A2A Settlement Protocol).","operationId":"protocol_settle_protocol_aigx_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stake":{"post":{"summary":"Protocol Stake","description":"Stake AIGx in the protocol\n\nBenefits:\n- Skin in the game (can be slashed for bad behavior)\n- Verification eligibility (100+ AIGx)\n- Yield from protocol fees\n- Higher reputation weight\n\nBody: {\n    \"api_key\": \"aigx_xxx\",\n    \"amount_aigx\": 100.0\n}","operationId":"protocol_stake_protocol_stake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/unstake":{"post":{"summary":"Protocol Unstake","description":"Unstake AIGx from the protocol\n\nNote: Stakes are locked for 7 days after last activity.\n\nBody: {\n    \"api_key\": \"aigx_xxx\",\n    \"amount_aigx\": 50.0\n}","operationId":"protocol_unstake_protocol_unstake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/balance":{"get":{"summary":"Protocol Balance","description":"Get agent's AIGx balance\n\nReturns liquid balance, staked amount, and total.","operationId":"protocol_balance_protocol_balance_get","parameters":[{"required":true,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agent/{agent_id}":{"get":{"summary":"Protocol Agent","description":"Get public agent info\n\nReturns: agent type, capabilities, reputation score/tier, \njobs completed, on-time rate, verification status.\n\nNo authentication required.","operationId":"protocol_agent_protocol_agent__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/agents/search":{"get":{"summary":"Protocol Search","description":"Search for agents by criteria\n\nExamples:\n- /protocol/agents/search?capability=code_generation\n- /protocol/agents/search?agent_type=claude&verified_only=true\n- /protocol/agents/search?min_reputation=70\n\nNo authentication required.","operationId":"protocol_search_protocol_agents_search_get","parameters":[{"required":false,"schema":{"type":"string","title":"Capability"},"name":"capability","in":"query"},{"required":false,"schema":{"type":"string","title":"Agent Type"},"name":"agent_type","in":"query"},{"required":false,"schema":{"type":"integer","title":"Min Reputation","default":0},"name":"min_reputation","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Verified Only","default":false},"name":"verified_only","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/leaderboard":{"get":{"summary":"Protocol Leaderboard","description":"Get agent leaderboard by reputation\n\nNo authentication required.","operationId":"protocol_leaderboard_protocol_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/tx/{tx_id}":{"get":{"summary":"Protocol Tx","description":"Get transaction details\n\nNo authentication required.","operationId":"protocol_tx_protocol_tx__tx_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tx Id"},"name":"tx_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/verify/{tx_id}":{"get":{"summary":"Protocol Verify","description":"Verify a transaction exists and is valid\n\nReturns: verified (bool), tx_hash, block_number, status\n\nNo authentication required.","operationId":"protocol_verify_protocol_verify__tx_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tx Id"},"name":"tx_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/history":{"get":{"summary":"Protocol History","description":"Get agent's transaction history\n\nRequires authentication (own history only).","operationId":"protocol_history_protocol_history_get","parameters":[{"required":true,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/aigx/info":{"get":{"summary":"Protocol Info Legacy","description":"Get AIGx protocol information (legacy).\nNew clients should use GET /protocol/info (A2A Settlement Protocol).","operationId":"protocol_info_legacy_protocol_aigx_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/capabilities":{"get":{"summary":"Protocol Capabilities","description":"Get list of all agent capabilities\n\nNo authentication required.","operationId":"protocol_capabilities_protocol_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/agent-types":{"get":{"summary":"Protocol Agent Types","description":"Get list of all agent types\n\nNo authentication required.","operationId":"protocol_agent_types_protocol_agent_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/internal/sync-aigx-to-protocol":{"post":{"summary":"Sync Aigx To Protocol","description":"INTERNAL: Sync product user's AIGx to protocol balance\n\nCalled when product users earn AIGx through platform activity.\nCreates protocol agent if needed.\n\nBody: {\n    \"username\": \"wade\",\n    \"aigx_amount\": 10.0,\n    \"reason\": \"daily_activity\"\n}","operationId":"sync_aigx_to_protocol_protocol_internal_sync_aigx_to_protocol_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigx/earn":{"post":{"summary":"Aigx Earn","description":"User earns AIGx through platform activity\n\nBody: {\n    \"user_id\": \"alice\",\n    \"earn_type\": \"job_completed\" | \"daily_active\" | \"referral_signup\" | etc,\n    \"reference_value\": 500.0,  // Job value if applicable\n    \"reference_id\": \"job_123\"  // Optional reference\n}\n\nAIGx is NEVER purchased - only earned through:\n- Daily activity\n- Completing jobs\n- Referrals\n- Verified outcomes\n- IP licensing","operationId":"aigx_earn_aigx_earn_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigx/balance/{user_id}":{"get":{"summary":"Aigx Balance","description":"Get user's AIGx balance\n\nReturns balance and recent transaction history.","operationId":"aigx_balance_aigx_balance__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigx/history/{user_id}":{"get":{"summary":"Aigx History","description":"Get user's AIGx transaction history","operationId":"aigx_history_aigx_history__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aigx/stats":{"get":{"summary":"Aigx Stats","description":"Get AIGx system statistics\n\nReturns:\n- Total issued\n- Total burned (fees)\n- Circulating supply\n- Total users","operationId":"aigx_stats_aigx_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/p2p/stake":{"post":{"summary":"P2P Stake","description":"User A stakes AIGx on User B\n\nBody: {\n    \"staker_id\": \"alice\",\n    \"recipient_id\": \"bob\",\n    \"amount\": 100.0,\n    \"duration_days\": 30\n}\n\nRISK: Staker (alice)\nFEE: 2.5% to AiGentsy\n\nUse case: Reputation boost, credit backing","operationId":"p2p_stake_p2p_stake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/lend":{"post":{"summary":"P2P Lend","description":"User A lends AIGx to User B\n\nBody: {\n    \"lender_id\": \"alice\",\n    \"borrower_id\": \"bob\",\n    \"amount\": 100.0,\n    \"interest_rate\": 12.0,  // Annual %\n    \"duration_days\": 30\n}\n\nRISK: Lender (alice)\nFEE: 2.5% to AiGentsy","operationId":"p2p_lend_p2p_lend_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/factor":{"post":{"summary":"P2P Factor","description":"User A advances payment to User B against pending invoice\n\nBody: {\n    \"investor_id\": \"alice\",\n    \"agent_id\": \"bob\",\n    \"invoice_value\": 1000.0,\n    \"invoice_id\": \"inv_123\"  // Optional\n}\n\nAdvance rate: 80% of invoice value\nRISK: Investor (alice)\nFEE: 2% to AiGentsy","operationId":"p2p_factor_p2p_factor_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/repay":{"post":{"summary":"P2P Repay","description":"Repay a P2P transaction (loan, stake, factoring)\n\nBody: {\n    \"tx_id\": \"p2p_loan_xxx\",\n    \"amount\": 50.0,\n    \"payer_id\": \"bob\"  // Optional, defaults to borrower\n}","operationId":"p2p_repay_p2p_repay_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/summary/{user_id}":{"get":{"summary":"P2P Summary","description":"Get user's P2P activity summary\n\nShows:\n- As lender: total lent, outstanding due to you\n- As borrower: total borrowed, outstanding owed","operationId":"p2p_summary_p2p_summary__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/transaction/{tx_id}":{"get":{"summary":"P2P Transaction","description":"Get P2P transaction details","operationId":"p2p_transaction_p2p_transaction__tx_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tx Id"},"name":"tx_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p2p/stats":{"get":{"summary":"P2P Stats","description":"Get P2P facilitation statistics\n\nShows platform's role as FACILITATOR:\n- Total facilitated volume\n- Fees collected (not risk taken)\n- Transaction counts","operationId":"p2p_stats_p2p_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/transaction":{"post":{"summary":"Record Transaction","description":"Record transaction fee from user job\n\nBody: {\n    \"job_value_usd\": 1000.0,\n    \"job_id\": \"job_123\",\n    \"user_id\": \"alice\"\n}\n\nFee: 2.8% + $0.28\nAlso credits user with AIGx (10% of job value)","operationId":"record_transaction_revenue_transaction_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/native/register":{"post":{"summary":"Native Register","description":"Register a platform-owned AI agent\n\nBody: {\n    \"name\": \"Claude Worker Alpha\",\n    \"agent_type\": \"claude\",\n    \"capabilities\": [\"code_generation\", \"code_review\"],\n    \"platforms\": [\"github\", \"upwork\", \"fiverr\"]\n}\n\nNative agents earn revenue for THE PLATFORM, not users.","operationId":"native_register_native_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/native/job":{"post":{"summary":"Native Job","description":"Record job completed by platform's native agent\n\nBody: {\n    \"agent_id\": \"native_xxx\",\n    \"platform\": \"github\",\n    \"job_type\": \"code_review\",\n    \"revenue_usd\": 150.0\n}\n\nRevenue goes to PLATFORM TREASURY, not users.","operationId":"native_job_native_job_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/native/fleet":{"get":{"summary":"Native Fleet","description":"Get native agent fleet statistics\n\nShows platform's autonomous earning capacity.","operationId":"native_fleet_native_fleet_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/treasury/summary":{"get":{"summary":"Treasury Summary","description":"Get platform treasury summary\n\nShows all revenue by source:\n- Transaction fees\n- Protocol fees\n- P2P facilitation fees\n- Native agent earnings","operationId":"treasury_summary_treasury_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/treasury/recent":{"get":{"summary":"Treasury Recent","description":"Get recent treasury entries","operationId":"treasury_recent_treasury_recent_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":50},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/protocol/stats":{"get":{"summary":"Protocol Stats","description":"Get complete protocol statistics\n\nComprehensive view of:\n- AIGx system\n- P2P layer\n- Treasury\n- Native fleet\n- Fee structure","operationId":"protocol_stats_protocol_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/protocol/fees":{"get":{"summary":"Protocol Fees","description":"Get current fee structure\n\nAiGentsy's revenue model:\n- Transaction: 2.8% + $0.28\n- Protocol settlement: 0.5%\n- P2P facilitation: 2-2.5%","operationId":"protocol_fees_protocol_fees_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/job_completed":{"post":{"summary":"Webhook Job Completed","description":"Webhook: Called when a job is completed\n\nBody: {\n    \"user_id\": \"alice\",\n    \"job_id\": \"job_123\",\n    \"job_value_usd\": 500.0\n}\n\nThis:\n1. Records transaction fee to treasury\n2. Credits user with AIGx","operationId":"webhook_job_completed_webhook_job_completed_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/outcome_verified":{"post":{"summary":"Webhook Outcome Verified","description":"Webhook: Called when PoO is verified\n\nBody: {\n    \"user_id\": \"alice\",\n    \"outcome_id\": \"poo_123\"\n}\n\nCredits user with 5 AIGx","operationId":"webhook_outcome_verified_webhook_outcome_verified_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/referral":{"post":{"summary":"Webhook Referral","description":"Webhook: Called when referral signs up\n\nBody: {\n    \"referrer_id\": \"alice\",\n    \"referred_id\": \"bob\"\n}\n\nCredits referrer with 10 AIGx","operationId":"webhook_referral_webhook_referral_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/daily_active":{"post":{"summary":"Webhook Daily Active","description":"Webhook: Called when user is active for the day\n\nBody: {\n    \"user_id\": \"alice\"\n}\n\nCredits user with 1 AIGx","operationId":"webhook_daily_active_webhook_daily_active_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signals/ingest":{"post":{"summary":"Ingest Signals","description":"Run full signal ingestion from all sources\n\nScrapes:\n- TechCrunch (funding)\n- Greenhouse (hiring)\n- Product Hunt (launches)\n- Hacker News Show (launches)\n- Reddit (pain points)\n\nReturns predicted opportunities with confidence scores.","operationId":"ingest_signals_signals_ingest_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/signals/actionable":{"get":{"summary":"Get Actionable Signals","description":"Get signals that should be acted on TODAY\n\nReturns opportunities where optimal outreach date is today or tomorrow.\nSorted by confidence * estimated_value.","operationId":"get_actionable_signals_signals_actionable_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/signals/stats":{"get":{"summary":"Get Signal Stats","description":"Get signal ingestion statistics","operationId":"get_signal_stats_signals_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/record":{"post":{"summary":"Record Deal","description":"Record a completed deal and extract relationships\n\nBody: {\n    \"deal_id\": \"deal_001\",\n    \"client_name\": \"Alice Chen\",\n    \"client_email\": \"alice@startup.com\",\n    \"client_company\": \"TechStartup Inc\",\n    \"client_industry\": \"saas\",\n    \"deal_value\": 5000,\n    \"service_type\": \"api_integration\",\n    \"team_members\": [\n        {\"name\": \"Designer Dan\", \"email\": \"dan@design.com\"}\n    ],\n    \"referrer\": {\n        \"name\": \"Bob Smith\",\n        \"email\": \"bob@company.com\"\n    }\n}\n\nAutomatically:\n- Creates/updates entities\n- Creates relationships\n- Detects intro opportunities","operationId":"record_deal_deals_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/set-self":{"post":{"summary":"Set Self Entity","description":"Set the 'self' entity (you/AiGentsy)\n\nBody: {\n    \"name\": \"AiGentsy\",\n    \"email\": \"contact@aigentsy.com\"\n}","operationId":"set_self_entity_deals_set_self_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/intros":{"get":{"summary":"Find Intro Opportunities","description":"Find warm intro opportunities\n\nReturns people you can reach through your network.\nSorted by confidence * estimated_value.","operationId":"find_intro_opportunities_deals_intros_get","parameters":[{"required":false,"schema":{"type":"string","title":"Industry"},"name":"industry","in":"query"},{"required":false,"schema":{"type":"number","title":"Min Strength","default":0.2},"name":"min_strength","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/request-intro/{opportunity_id}":{"post":{"summary":"Request Intro","description":"Mark an intro opportunity as requested","operationId":"request_intro_deals_request_intro__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/network-stats":{"get":{"summary":"Get Network Stats","description":"Get network statistics","operationId":"get_network_stats_deals_network_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/strongest-connections":{"get":{"summary":"Get Strongest Connections","description":"Get strongest connections in your network","operationId":"get_strongest_connections_deals_strongest_connections_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/execute":{"post":{"summary":"Execute Arbitrage","description":"Execute a single arbitrage opportunity\n\nBody: {\n    \"source_platform\": \"fiverr\",\n    \"source_price\": 50,\n    \"target_platform\": \"upwork\",\n    \"target_price\": 200,\n    \"service_type\": \"content_creation\",\n    \"service_description\": \"Blog post writing\",\n    \"delivery_time_days\": 3\n}\n\nPipeline:\n1. Validate risk and margins\n2. Auto-approve if low/medium risk\n3. Purchase on source platform\n4. Fulfill (AI or purchased)\n5. List on target platform\n6. Settle and collect profit","operationId":"execute_arbitrage_arbitrage_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/execute-batch":{"post":{"summary":"Execute Arbitrage Batch","description":"Execute multiple arbitrage opportunities\n\nBody: {\n    \"opportunities\": [\n        {\n            \"source_platform\": \"fiverr\",\n            \"source_price\": 50,\n            \"target_platform\": \"upwork\",\n            \"target_price\": 200,\n            \"service_type\": \"content_creation\"\n        },\n        ...\n    ]\n}","operationId":"execute_arbitrage_batch_arbitrage_execute_batch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/from-detected":{"post":{"summary":"Execute Detected Arbitrage","description":"Execute arbitrage from flow_arbitrage_detector.py format\n\nBody: {\n    \"id\": \"price_arb_1\",\n    \"arbitrage_type\": \"price\",\n    \"type\": \"content_creation\",\n    \"source_data\": {\n        \"source_platform\": \"fiverr\",\n        \"source_price\": 50,\n        \"target_platform\": \"upwork\",\n        \"target_price\": 200\n    }\n}","operationId":"execute_detected_arbitrage_arbitrage_from_detected_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/approve/{opportunity_id}":{"post":{"summary":"Approve Pending Arbitrage","description":"Manually approve a pending high-risk arbitrage","operationId":"approve_pending_arbitrage_arbitrage_approve__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/stats":{"get":{"summary":"Get Arbitrage Stats","description":"Get arbitrage execution statistics","operationId":"get_arbitrage_stats_arbitrage_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/full-cycle-signals":{"post":{"summary":"Run Full Autonomous Cycle Signals","description":"LEGACY: Signal-based autonomous cycle.\n\nFor the full E2E pipeline with 7 dimensions, use POST /autonomous/full-cycle instead.\n\nThis endpoint focuses on:\n1. Ingest signals (predict opportunities)\n2. Detect arbitrage (from flow_arbitrage_detector)\n3. Execute arbitrage opportunities\n4. Record deals in relationship graph\n5. Find new intro opportunities","operationId":"run_full_autonomous_cycle_signals_autonomous_full_cycle_signals_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/deal-settled":{"post":{"summary":"Webhook Deal Settled","description":"Webhook called when a deal settles in intent_exchange\n\nAutomatically records in deal graph for relationship tracking.","operationId":"webhook_deal_settled_webhook_deal_settled_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/internet-discovery":{"post":{"summary":"Run Internet Discovery","description":"Run internet-wide discovery scan.\nScans search engines, RSS feeds, and extracts contact info.","operationId":"run_internet_discovery_autonomous_internet_discovery_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/outreach/stats":{"get":{"summary":"Get Outreach Stats","description":"Get direct outreach statistics","operationId":"get_outreach_stats_autonomous_outreach_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/outreach/send":{"post":{"summary":"Send Outreach Proposal","description":"Send a direct outreach proposal to a prospect.\n\nProvide either:\n- contact_email for email outreach\n- contact_twitter for Twitter DM\n- contact_reddit for Reddit DM\n\nAutomatically tracks sent proposals for reply detection.","operationId":"send_outreach_proposal_autonomous_outreach_send_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/full-cycle-with-internet":{"post":{"summary":"Run Full Cycle With Internet","description":"Run complete autonomous cycle including internet-wide discovery.\n\nFlow:\n1. Standard 27-platform discovery\n2. Internet-wide discovery (search engines, RSS)\n3. Extract contacts from all opportunities\n4. Execute high-confidence opportunities\n5. Send direct outreach for others","operationId":"run_full_cycle_with_internet_autonomous_full_cycle_with_internet_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/internet-discovery/test":{"get":{"summary":"Test Internet Discovery","description":"Quick test of internet discovery components","operationId":"test_internet_discovery_autonomous_internet_discovery_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/discover-with-contacts":{"post":{"summary":"Discover With Contact Extraction","description":"Run full discovery across all platforms AND extract contacts.\nReturns opportunities enriched with contact info for outreach.","operationId":"discover_with_contact_extraction_autonomous_discover_with_contacts_post","parameters":[{"required":false,"schema":{"type":"string","title":"Username","default":"system"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Platforms"},"name":"platforms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/enrich-contacts":{"post":{"summary":"Enrich Existing Opportunities","description":"Enrich existing discovered opportunities with contact info.\nPulls from approval queue and adds contacts.","operationId":"enrich_existing_opportunities_autonomous_enrich_contacts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/contact-extraction/test":{"get":{"summary":"Test Contact Extraction","description":"Test contact extraction with sample data","operationId":"test_contact_extraction_autonomous_contact_extraction_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/full-cycle-v99":{"post":{"summary":"Run Full Cycle V99","description":"v99 Full Cycle: Discovery + Contact Extraction + Outreach\n\nFlow:\n1. Standard 27-platform discovery WITH contact extraction\n2. Internet-wide discovery (already has contacts)\n3. Merge and dedupe all opportunities\n4. Send direct outreach to all with contacts\n5. Queue platform responses for others","operationId":"run_full_cycle_v99_autonomous_full_cycle_v99_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/resend":{"post":{"summary":"Resend Webhook","description":"Resend webhook endpoint for email events.\nEvents: sent, delivered, opened, clicked, bounced, complained","operationId":"resend_webhook_webhooks_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/resend-inbound":{"post":{"summary":"Resend Inbound Webhook","description":"Resend inbound email webhook.\nReceives emails sent to admin@aigentsy.com (or any @aigentsy.com address).\nConverts to standard reply format and processes through reply detection engine.\nAuto-responds to interested leads.","operationId":"resend_inbound_webhook_webhooks_resend_inbound_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/email-reply":{"post":{"summary":"Email Reply Webhook","description":"Endpoint to receive email replies (generic format).\nBody: {from_email, from_name, to_email, subject, body, received_at}","operationId":"email_reply_webhook_webhooks_email_reply_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/replies/check-all":{"post":{"summary":"Check All Replies","description":"Check all channels for new replies (Twitter DMs, Reddit inbox, etc.)","operationId":"check_all_replies_replies_check_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/replies/pending":{"get":{"summary":"Get Pending Replies","description":"Get replies waiting to be processed","operationId":"get_pending_replies_replies_pending_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/replies/high-priority":{"get":{"summary":"Get High Priority Replies","description":"Get high-priority replies (intent=interested) - HOT LEADS!","operationId":"get_high_priority_replies_replies_high_priority_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/replies/{reply_id}/mark-responded":{"post":{"summary":"Mark Reply Responded","description":"Mark a reply as responded to","operationId":"mark_reply_responded_replies__reply_id__mark_responded_post","parameters":[{"required":true,"schema":{"type":"string","title":"Reply Id"},"name":"reply_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/replies/{reply_id}/mark-converted":{"post":{"summary":"Mark Reply Converted","description":"Mark a reply as converted to deal","operationId":"mark_reply_converted_replies__reply_id__mark_converted_post","parameters":[{"required":true,"schema":{"type":"string","title":"Reply Id"},"name":"reply_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/replies/stats":{"get":{"summary":"Get Reply Stats","description":"Get reply detection and conversion stats","operationId":"get_reply_stats_replies_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement/respond-on-platform":{"post":{"summary":"Respond On Platform","description":"Post a helpful comment on a platform before sending DM.\nFlow: Post comment -> Schedule DM for 5-15 min later","operationId":"respond_on_platform_engagement_respond_on_platform_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform Id"},"name":"platform_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"},{"required":true,"schema":{"type":"string","title":"Title"},"name":"title","in":"query"},{"required":false,"schema":{"type":"string","title":"Description","default":""},"name":"description","in":"query"},{"required":false,"schema":{"type":"string","title":"Author","default":""},"name":"author","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engagement/respond-batch":{"post":{"summary":"Respond To Batch","description":"Post comments on multiple discovered opportunities","operationId":"respond_to_batch_engagement_respond_batch_post","parameters":[{"required":false,"schema":{"type":"integer","title":"Max Comments","default":10},"name":"max_comments","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engagement/warm-then-dm":{"post":{"summary":"Warm Then Dm","description":"Full warm-up flow: Post comment -> Wait -> Send DM\nRecommended for higher conversion rates.","operationId":"warm_then_dm_engagement_warm_then_dm_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform Id"},"name":"platform_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"},{"required":true,"schema":{"type":"string","title":"Title"},"name":"title","in":"query"},{"required":false,"schema":{"type":"string","title":"Description","default":""},"name":"description","in":"query"},{"required":false,"schema":{"type":"string","title":"Author","default":""},"name":"author","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Email"},"name":"contact_email","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Twitter"},"name":"contact_twitter","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Reddit"},"name":"contact_reddit","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Name","default":"there"},"name":"contact_name","in":"query"},{"required":false,"schema":{"type":"string","title":"Pain Point","default":""},"name":"pain_point","in":"query"},{"required":false,"schema":{"type":"number","title":"Estimated Value","default":1000},"name":"estimated_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engagement/pending-dms":{"get":{"summary":"Get Pending Dms","description":"Get engagements waiting for DM (comment posted, delay not passed)","operationId":"get_pending_dms_engagement_pending_dms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement/process-pending-dms":{"post":{"summary":"Process Pending Dms","description":"Process engagements where delay has passed - send DMs","operationId":"process_pending_dms_engagement_process_pending_dms_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conversation/create":{"post":{"summary":"Create Conversation","description":"Create a new conversation from outreach","operationId":"create_conversation_conversation_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Proposal Id"},"name":"proposal_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Email"},"name":"contact_email","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Name"},"name":"contact_name","in":"query"},{"required":false,"schema":{"type":"string","title":"Contact Handle"},"name":"contact_handle","in":"query"},{"required":false,"schema":{"type":"string","title":"Channel","default":"email"},"name":"channel","in":"query"},{"required":false,"schema":{"type":"string","title":"Title","default":""},"name":"title","in":"query"},{"required":false,"schema":{"type":"string","title":"Pain Point","default":""},"name":"pain_point","in":"query"},{"required":false,"schema":{"type":"number","title":"Estimated Value","default":1000},"name":"estimated_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/process-reply":{"post":{"summary":"Process Conversation Reply","description":"Process incoming reply and generate AI response","operationId":"process_conversation_reply_conversation_process_reply_post","parameters":[{"required":false,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Email"},"name":"email","in":"query"},{"required":false,"schema":{"type":"string","title":"Handle"},"name":"handle","in":"query"},{"required":false,"schema":{"type":"string","title":"Message","default":""},"name":"message","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/{conversation_id}":{"get":{"summary":"Get Conversation Detail","description":"Get conversation details","operationId":"get_conversation_detail_conversation__conversation_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/hot-leads":{"get":{"summary":"Get Hot Leads","description":"Get conversations close to closing (HOT LEADS!)","operationId":"get_hot_leads_conversations_hot_leads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conversations/by-stage/{stage}":{"get":{"summary":"Get Conversations By Stage","description":"Get all conversations at a specific stage","operationId":"get_conversations_by_stage_conversations_by_stage__stage__get","parameters":[{"required":true,"schema":{"type":"string","title":"Stage"},"name":"stage","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/{conversation_id}/mark-proposal-sent":{"post":{"summary":"Mark Conversation Proposal Sent","description":"Mark that a proposal was sent","operationId":"mark_conversation_proposal_sent_conversation__conversation_id__mark_proposal_sent_post","parameters":[{"required":true,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"path"},{"required":true,"schema":{"type":"number","title":"Price"},"name":"price","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/{conversation_id}/mark-contract-sent":{"post":{"summary":"Mark Conversation Contract Sent","description":"Mark that a contract was sent","operationId":"mark_conversation_contract_sent_conversation__conversation_id__mark_contract_sent_post","parameters":[{"required":true,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/{conversation_id}/mark-closed":{"post":{"summary":"Mark Conversation Closed","description":"Mark deal as closed won","operationId":"mark_conversation_closed_conversation__conversation_id__mark_closed_post","parameters":[{"required":true,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"path"},{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/stats":{"get":{"summary":"Get Conversation Stats","description":"Get conversation/sales stats","operationId":"get_conversation_stats_conversations_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conversation/auto-process-replies":{"post":{"summary":"Auto Process Conversation Replies","description":"Auto-process pending replies and generate responses","operationId":"auto_process_conversation_replies_conversation_auto_process_replies_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/contract/create":{"post":{"summary":"Create Contract","description":"Create a new service contract","operationId":"create_contract_contract_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Conversation Id"},"name":"conversation_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Client Name"},"name":"client_name","in":"query"},{"required":true,"schema":{"type":"string","title":"Client Email"},"name":"client_email","in":"query"},{"required":true,"schema":{"type":"string","title":"Service Description"},"name":"service_description","in":"query"},{"required":false,"schema":{"type":"number","title":"Total Amount","default":1000},"name":"total_amount","in":"query"},{"required":false,"schema":{"type":"number","title":"Deposit Percentage","default":0.5},"name":"deposit_percentage","in":"query"},{"required":false,"schema":{"type":"string","title":"Timeline","default":"To be agreed upon"},"name":"timeline","in":"query"},{"required":false,"schema":{"type":"string","title":"Client Company"},"name":"client_company","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Deliverables","default":[]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contract/{contract_id}/create-payment-link":{"post":{"summary":"Create Contract Payment Link","description":"Create Stripe payment link for contract deposit","operationId":"create_contract_payment_link_contract__contract_id__create_payment_link_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contract/{contract_id}/send":{"post":{"summary":"Send Contract","description":"Prepare and send contract with payment link.\nReturns email content ready to send.","operationId":"send_contract_contract__contract_id__send_post","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contract/{contract_id}":{"get":{"summary":"Get Contract","description":"Get contract details","operationId":"get_contract_contract__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contracts/pending-payments":{"get":{"summary":"Get Pending Payments","description":"Get contracts awaiting payment","operationId":"get_pending_payments_contracts_pending_payments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/stripe":{"post":{"summary":"Stripe Webhook Endpoint","description":"Handle all Stripe webhooks","operationId":"stripe_webhook_endpoint_webhooks_stripe_post","parameters":[{"required":false,"schema":{"type":"string","title":"Stripe-Signature"},"name":"Stripe-Signature","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contracts/stats":{"get":{"summary":"Get Contract Stats","description":"Get contract/payment stats","operationId":"get_contract_stats_contracts_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/contract/auto-send-for-closing":{"post":{"summary":"Auto Send Contracts For Closing","description":"Automatically create and send contracts for conversations in CLOSING stage.","operationId":"auto_send_contracts_for_closing_contract_auto_send_for_closing_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v99/system-check":{"get":{"summary":"V99 System Check","description":"Comprehensive check of all v99 autonomous closing pipeline components.","operationId":"v99_system_check_v99_system_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v99/quick-test":{"get":{"summary":"V99 Quick Test","description":"Quick test of v99 pipeline components","operationId":"v99_quick_test_v99_quick_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/matrix/full-audit":{"get":{"summary":"Full Matrix Audit","description":"Redirects to comprehensive test","operationId":"full_matrix_audit_matrix_full_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/matrix/comprehensive":{"get":{"summary":"Comprehensive Matrix Test","description":"🔬 COMPREHENSIVE MATRIX TEST - Tests ALL major AiGentsy systems\n\nTests 150+ critical endpoints across ALL orchestrators, engines, and executors.\nNO placeholder data. ALL real endpoint calls. Real responses.\n\nSystems tested:\n- Discovery (27 platforms)\n- Outreach & Engagement  \n- Conversation & Closing\n- Social Auto-posting\n- Platform Automation (Fiverr, Dribbble, 99designs)\n- Content Generation (Video, Audio, Graphics)\n- AI Intelligence (MetaHive, CSuite, Yield Memory)\n- Revenue & Payments (Stripe, Escrow, Treasury)\n- Spawn & Automation\n- Protocol Layer (AIGx, P2P, DarkPool)\n- Orchestration (AMG, Revenue Mesh, Week2)","operationId":"comprehensive_matrix_test_matrix_comprehensive_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/matrix/surgical-test":{"get":{"summary":"Surgical Matrix Test","description":"SURGICAL FUNCTIONAL TEST - Calls REAL endpoints, returns REAL results.\nNo placeholders. No fake data. Every result is from an actual endpoint call.","operationId":"surgical_matrix_test_matrix_surgical_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dealgraph/config":{"get":{"summary":"Get Dealgraph Config","description":"Get DealGraph configuration","operationId":"get_dealgraph_config_dealgraph_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dealgraph/deal/create":{"post":{"summary":"Create Deal Endpoint","description":"Create a DealGraph entry - the unified contract\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\",\n    \"agent_username\": \"agent1\",\n    \"slo_tier\": \"premium\",\n    \"ip_assets\": [\"asset_xyz789\"],\n    \"jv_partners\": [\n        {\"username\": \"agent2\", \"split\": 0.3}\n    ]\n}","operationId":"create_deal_endpoint_dealgraph_deal_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/deal/{deal_id}":{"get":{"summary":"Get Deal","description":"Get deal details","operationId":"get_deal_dealgraph_deal__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/deal/{deal_id}/summary":{"get":{"summary":"Get Deal Summary Endpoint","description":"Get deal summary","operationId":"get_deal_summary_endpoint_dealgraph_deal__deal_id__summary_get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/deal/calculate_split":{"post":{"summary":"Calculate Revenue Split Endpoint","description":"Calculate revenue distribution preview\n\nBody:\n{\n    \"job_value\": 1000,\n    \"lead_agent\": \"agent1\",\n    \"jv_partners\": [{\"username\": \"agent2\", \"split\": 0.3}],\n    \"ip_asset_ids\": [\"asset_xyz789\"]\n}","operationId":"calculate_revenue_split_endpoint_dealgraph_deal_calculate_split_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/deal/accept":{"post":{"summary":"Accept Deal","description":"Accept deal (buyer accepts proposal)\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"buyer_username\": \"buyer1\"\n}","operationId":"accept_deal_dealgraph_deal_accept_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/escrow/authorize":{"post":{"summary":"Authorize Escrow Endpoint","description":"Authorize escrow (hold funds)\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"payment_intent_id\": \"pi_stripe123\",\n    \"buyer_username\": \"buyer1\"\n}","operationId":"authorize_escrow_endpoint_dealgraph_escrow_authorize_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/bonds/stake":{"post":{"summary":"Stake Bonds Endpoint","description":"Stake performance bonds from all participants\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"agent_stakes\": [\n        {\"username\": \"agent1\", \"amount\": 100},\n        {\"username\": \"agent2\", \"amount\": 50}\n    ]\n}","operationId":"stake_bonds_endpoint_dealgraph_bonds_stake_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/work/start":{"post":{"summary":"Start Work Endpoint","description":"Start work phase\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"deadline\": \"2025-01-20T10:00:00Z\"\n}","operationId":"start_work_endpoint_dealgraph_work_start_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/work/deliver":{"post":{"summary":"Mark Delivered Endpoint","description":"Mark work as delivered\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\",\n    \"delivery_timestamp\": \"2025-01-18T14:00:00Z\" (optional)\n}","operationId":"mark_delivered_endpoint_dealgraph_work_deliver_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/settle":{"post":{"summary":"Settle Deal Endpoint","description":"Settle deal - THE HOLY GRAIL\n\nSingle atomic operation that:\n1. Captures escrow\n2. Returns bonds\n3. Distributes to JV partners\n4. Pays IP royalties\n5. Credits platform & insurance\n\nBody:\n{\n    \"deal_id\": \"deal_abc123\"\n}","operationId":"settle_deal_endpoint_dealgraph_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/deals/list":{"get":{"summary":"List Deals","description":"List deals with filters\n\nParameters:\n- state: Filter by state (PROPOSED, ACCEPTED, IN_PROGRESS, etc.)\n- agent: Filter by lead agent\n- buyer: Filter by buyer","operationId":"list_deals_dealgraph_deals_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"State"},"name":"state","in":"query"},{"required":false,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"},{"required":false,"schema":{"type":"string","title":"Buyer"},"name":"buyer","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/agent/{username}/deals":{"get":{"summary":"Get Agent Deals","description":"Get all deals for an agent (lead or JV partner)","operationId":"get_agent_deals_dealgraph_agent__username__deals_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/dashboard":{"get":{"summary":"Get Dealgraph Dashboard","description":"Get DealGraph system dashboard","operationId":"get_dealgraph_dashboard_dealgraph_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proofs/types":{"get":{"summary":"Get Proof Types","description":"Get available proof types","operationId":"get_proof_types_proofs_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proofs/create":{"post":{"summary":"Create Proof Endpoint","description":"Create a proof record\n\nBody:\n{\n    \"proof_type\": \"pos_receipt\",\n    \"source\": \"square\",\n    \"agent_username\": \"agent1\",\n    \"job_id\": \"job_xyz789\",\n    \"deal_id\": \"deal_abc123\",\n    \"proof_data\": {\n        \"transaction_id\": \"...\",\n        \"amount\": 50.00,\n        \"timestamp\": \"...\",\n        \"merchant_id\": \"...\"\n    },\n    \"attachment_url\": \"https://...\"\n}","operationId":"create_proof_endpoint_proofs_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/webhook/square":{"post":{"summary":"Square Webhook Endpoint","description":"Square POS webhook handler\n\nAutomatically processes Square payment webhooks and creates proofs","operationId":"square_webhook_endpoint_proofs_webhook_square_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/webhook/calendly":{"post":{"summary":"Calendly Webhook Endpoint","description":"Calendly booking webhook handler\n\nAutomatically processes Calendly webhooks and creates proofs","operationId":"calendly_webhook_endpoint_proofs_webhook_calendly_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/{proof_id}":{"get":{"summary":"Get Proof","description":"Get proof details","operationId":"get_proof_proofs__proof_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proof Id"},"name":"proof_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/create_outcome":{"post":{"summary":"Create Outcome From Proof Endpoint","description":"Create outcome record from verified proof\n\nBody:\n{\n    \"proof_id\": \"proof_abc123\",\n    \"agent_username\": \"agent1\",\n    \"outcome_event\": \"PAID_POS\"\n}","operationId":"create_outcome_from_proof_endpoint_proofs_create_outcome_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/agent/{username}":{"get":{"summary":"Get Agent Proofs Endpoint","description":"Get all proofs for an agent","operationId":"get_agent_proofs_endpoint_proofs_agent__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"boolean","title":"Verified Only","default":false},"name":"verified_only","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/attach_to_deal":{"post":{"summary":"Attach Proof To Deal Endpoint","description":"Attach verified proof to a DealGraph entry\n\nBody:\n{\n    \"proof_id\": \"proof_abc123\",\n    \"deal_id\": \"deal_xyz789\"\n}","operationId":"attach_proof_to_deal_endpoint_proofs_attach_to_deal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/report":{"get":{"summary":"Generate Proof Report Endpoint","description":"Generate proof verification report\n\nParameters:\n- start_date: Filter start (ISO format)\n- end_date: Filter end (ISO format)","operationId":"generate_proof_report_endpoint_proofs_report_get","parameters":[{"required":false,"schema":{"type":"string","title":"Start Date"},"name":"start_date","in":"query"},{"required":false,"schema":{"type":"string","title":"End Date"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/list":{"get":{"summary":"List Proofs","description":"List proofs with filters\n\nParameters:\n- proof_type: Filter by type\n- source: Filter by source\n- verified: Filter by verification status\n- agent: Filter by agent","operationId":"list_proofs_proofs_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Proof Type"},"name":"proof_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Verified"},"name":"verified","in":"query"},{"required":false,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proofs/dashboard":{"get":{"summary":"Get Proofs Dashboard","description":"Get proof pipe dashboard","operationId":"get_proofs_dashboard_proofs_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sponsors/pool_types":{"get":{"summary":"Get Sponsor Pool Types","description":"Get available sponsor pool types","operationId":"get_sponsor_pool_types_sponsors_pool_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sponsors/pool/create":{"post":{"summary":"Create Sponsor Pool Endpoint","description":"Create a sponsor pool\n\nBody:\n{\n    \"sponsor_name\": \"Adobe\",\n    \"pool_type\": \"outcome_specific\",\n    \"target_outcomes\": [\"website_migrations\", \"design_refreshes\"],\n    \"total_budget\": 10000,\n    \"discount_percentage\": 0.20,\n    \"duration_days\": 90,\n    \"max_per_job\": 500,\n    \"criteria\": {\n        \"min_agent_score\": 70,\n        \"required_skills\": [\"design\", \"web_development\"]\n    }\n}","operationId":"create_sponsor_pool_endpoint_sponsors_pool_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/{pool_id}":{"get":{"summary":"Get Sponsor Pool","description":"Get sponsor pool details","operationId":"get_sponsor_pool_sponsors_pool__pool_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Pool Id"},"name":"pool_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/check_eligibility":{"post":{"summary":"Check Pool Eligibility Endpoint","description":"Check if job/agent is eligible for pool discount\n\nBody:\n{\n    \"pool_id\": \"pool_abc123\",\n    \"job_id\": \"job_xyz789\",\n    \"agent_username\": \"agent1\"\n}","operationId":"check_pool_eligibility_endpoint_sponsors_pool_check_eligibility_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/calculate_discount":{"post":{"summary":"Calculate Pool Discount Endpoint","description":"Calculate discount amount from pool\n\nBody:\n{\n    \"pool_id\": \"pool_abc123\",\n    \"job_value\": 500\n}","operationId":"calculate_pool_discount_endpoint_sponsors_pool_calculate_discount_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/apply":{"post":{"summary":"Apply Pool Discount Endpoint","description":"Apply pool discount to a job\n\nBody:\n{\n    \"pool_id\": \"pool_abc123\",\n    \"job_id\": \"job_xyz789\",\n    \"agent_username\": \"agent1\",\n    \"buyer_username\": \"buyer1\"\n}","operationId":"apply_pool_discount_endpoint_sponsors_pool_apply_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/track_conversion":{"post":{"summary":"Track Conversion Endpoint","description":"Track conversion for subsidized job\n\nBody:\n{\n    \"pool_id\": \"pool_abc123\",\n    \"job_id\": \"job_xyz789\",\n    \"converted\": true\n}","operationId":"track_conversion_endpoint_sponsors_pool_track_conversion_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/{pool_id}/report":{"get":{"summary":"Generate Sponsor Report Endpoint","description":"Generate sponsor ROI report","operationId":"generate_sponsor_report_endpoint_sponsors_pool__pool_id__report_get","parameters":[{"required":true,"schema":{"type":"string","title":"Pool Id"},"name":"pool_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pool/refill":{"post":{"summary":"Refill Pool Endpoint","description":"Refill sponsor pool with additional budget\n\nBody:\n{\n    \"pool_id\": \"pool_abc123\",\n    \"additional_budget\": 5000,\n    \"extend_days\": 30\n}","operationId":"refill_pool_endpoint_sponsors_pool_refill_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/find_pools":{"post":{"summary":"Find Matching Pools Endpoint","description":"Find matching sponsor pools for a job/agent\n\nBody:\n{\n    \"job_id\": \"job_xyz789\",\n    \"agent_username\": \"agent1\"\n}","operationId":"find_matching_pools_endpoint_sponsors_find_pools_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/leaderboard":{"get":{"summary":"Get Sponsor Leaderboard","description":"Get sponsor pool leaderboard\n\nsort_by: roi | conversions | jobs_subsidized | budget_spent","operationId":"get_sponsor_leaderboard_sponsors_leaderboard_get","parameters":[{"required":false,"schema":{"type":"string","title":"Sort By","default":"roi"},"name":"sort_by","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/pools/list":{"get":{"summary":"List Sponsor Pools","description":"List sponsor pools with filters\n\nParameters:\n- status: Filter by status (active, depleted, expired)\n- sponsor: Filter by sponsor name","operationId":"list_sponsor_pools_sponsors_pools_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Sponsor"},"name":"sponsor","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/dashboard":{"get":{"summary":"Get Sponsors Dashboard","description":"Get sponsor pools dashboard","operationId":"get_sponsors_dashboard_sponsors_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/syndication/networks":{"get":{"summary":"Get Partner Networks","description":"Get available partner networks","operationId":"get_partner_networks_syndication_networks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/syndication/route/create":{"post":{"summary":"Create Syndication Route Endpoint","description":"Create syndication route for an intent\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\",\n    \"target_network\": \"upwork\",\n    \"reason\": \"no_local_match\",\n    \"lineage_split\": {\n        \"agent\": 0.70,\n        \"partner_network\": 0.20,\n        \"aigentsy\": 0.10\n    },\n    \"sla_terms\": {\n        \"delivery_days\": 7,\n        \"quality_threshold\": 0.8,\n        \"escrow_held\": true\n    }\n}","operationId":"create_syndication_route_endpoint_syndication_route_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/route/{route_id}":{"get":{"summary":"Get Syndication Route","description":"Get syndication route details","operationId":"get_syndication_route_syndication_route__route_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/route/execute":{"post":{"summary":"Route To Network Endpoint","description":"Execute routing to partner network\n\nBody:\n{\n    \"route_id\": \"route_abc123\",\n    \"network_job_id\": \"upwork_xyz789\" (optional)\n}","operationId":"route_to_network_endpoint_syndication_route_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/route/accept":{"post":{"summary":"Record Network Acceptance Endpoint","description":"Record network agent acceptance\n\nBody:\n{\n    \"route_id\": \"route_abc123\",\n    \"agent_on_network\": \"upwork_agent_123\",\n    \"network_metadata\": {...}\n}","operationId":"record_network_acceptance_endpoint_syndication_route_accept_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/route/complete":{"post":{"summary":"Record Network Completion Endpoint","description":"Record job completion on network\n\nBody:\n{\n    \"route_id\": \"route_abc123\",\n    \"completion_value\": 500,\n    \"completion_proof\": {...}\n}","operationId":"record_network_completion_endpoint_syndication_route_complete_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/lineage/calculate":{"post":{"summary":"Calculate Lineage Distribution Endpoint","description":"Calculate lineage distribution for completed route\n\nBody:\n{\n    \"route_id\": \"route_abc123\",\n    \"completion_value\": 500\n}","operationId":"calculate_lineage_distribution_endpoint_syndication_lineage_calculate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/royalty/process":{"post":{"summary":"Process Royalty Payment Endpoint","description":"Process royalty payment from network\n\nBody:\n{\n    \"route_id\": \"route_abc123\",\n    \"received_amount\": 50 (optional - defaults to expected)\n}","operationId":"process_royalty_payment_endpoint_syndication_royalty_process_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/find_network":{"post":{"summary":"Find Best Network Endpoint","description":"Find best network for an intent\n\nBody:\n{\n    \"intent_id\": \"intent_abc123\"\n}","operationId":"find_best_network_endpoint_syndication_find_network_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/stats":{"get":{"summary":"Get Syndication Stats Endpoint","description":"Get syndication performance statistics","operationId":"get_syndication_stats_endpoint_syndication_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/syndication/network/{network_id}/report":{"get":{"summary":"Generate Network Report Endpoint","description":"Generate performance report for specific network","operationId":"generate_network_report_endpoint_syndication_network__network_id__report_get","parameters":[{"required":true,"schema":{"type":"string","title":"Network Id"},"name":"network_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/route/{route_id}/sla":{"get":{"summary":"Check Sla Compliance Endpoint","description":"Check SLA compliance for syndicated route","operationId":"check_sla_compliance_endpoint_syndication_route__route_id__sla_get","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/routes/list":{"get":{"summary":"List Syndication Routes","description":"List syndication routes with filters\n\nParameters:\n- status: Filter by status (pending, routed, accepted, completed)\n- network: Filter by target network\n- intent_id: Filter by intent","operationId":"list_syndication_routes_syndication_routes_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Network"},"name":"network","in":"query"},{"required":false,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/syndication/dashboard":{"get":{"summary":"Get Syndication Dashboard","description":"Get syndication orchestration dashboard","operationId":"get_syndication_dashboard_syndication_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/poo/issue":{"post":{"summary":"Poo Issue","operationId":"poo_issue_poo_issue_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Title"},"name":"title","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_poo_issue_poo_issue_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/poo/submit":{"post":{"summary":"Poo Submit","operationId":"poo_submit_poo_submit_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Title"},"name":"title","in":"query"},{"required":false,"schema":{"type":"string","title":"Description","default":""},"name":"description","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_poo_submit_poo_submit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/poo/verify":{"post":{"summary":"Poo Verify","description":"Verify PoO + auto-capture escrow + return bond + award bonus","operationId":"poo_verify_poo_verify_post","parameters":[{"required":true,"schema":{"type":"string","title":"Poo Id"},"name":"poo_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Buyer Username"},"name":"buyer_username","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Approved"},"name":"approved","in":"query"},{"required":false,"schema":{"type":"string","title":"Feedback","default":""},"name":"feedback","in":"query"},{"required":false,"schema":{"type":"string","title":"Outcome Rating","default":"good"},"name":"outcome_rating","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/poo/{poo_id}":{"get":{"summary":"Poo Get","operationId":"poo_get_poo__poo_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Poo Id"},"name":"poo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/poo/list":{"get":{"summary":"Poo List","operationId":"poo_list_poo_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"},{"required":false,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/poo/stats/{username}":{"get":{"summary":"Poo Stats","operationId":"poo_stats_poo_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/open":{"post":{"summary":"Dispute Open","operationId":"dispute_open_disputes_open_post","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Opener"},"name":"opener","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"},{"required":false,"schema":{"type":"string","title":"Description","default":""},"name":"description","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Evidence Urls"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/evidence":{"post":{"summary":"Dispute Evidence","operationId":"dispute_evidence_disputes_evidence_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"},{"required":false,"schema":{"type":"string","title":"Statement","default":""},"name":"statement","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Evidence Urls"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/auto_resolve":{"post":{"summary":"Dispute Auto Resolve","operationId":"dispute_auto_resolve_disputes_auto_resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/resolve":{"post":{"summary":"Dispute Resolve","operationId":"dispute_resolve_disputes_resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Resolver"},"name":"resolver","in":"query"},{"required":true,"schema":{"type":"string","title":"Resolution"},"name":"resolution","in":"query"},{"required":true,"schema":{"type":"number","title":"Refund Pct"},"name":"refund_pct","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/{dispute_id}":{"get":{"summary":"Dispute Get","operationId":"dispute_get_disputes__dispute_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/list":{"get":{"summary":"Dispute List","operationId":"dispute_list_disputes_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"},{"required":false,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/stats/{party}":{"get":{"summary":"Dispute Stats","operationId":"dispute_stats_disputes_stats__party__get","parameters":[{"required":true,"schema":{"type":"string","title":"Party"},"name":"party","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/create":{"post":{"summary":"Intent Create","description":"Create a new intent and start auction.","operationId":"intent_create_intent_create_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compliance/kyc/submit":{"post":{"summary":"Kyc Submit","description":"Submit KYC","operationId":"kyc_submit_compliance_kyc_submit_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Level"},"name":"level","in":"query"},{"required":true,"schema":{"type":"string","title":"Full Name"},"name":"full_name","in":"query"},{"required":true,"schema":{"type":"string","title":"Date Of Birth"},"name":"date_of_birth","in":"query"},{"required":true,"schema":{"type":"string","title":"Country"},"name":"country","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Documents"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/kyc/approve":{"post":{"summary":"Kyc Approve","description":"Approve KYC","operationId":"kyc_approve_compliance_kyc_approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Reviewer"},"name":"reviewer","in":"query"},{"required":false,"schema":{"type":"string","title":"Notes","default":""},"name":"notes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/kyc/reject":{"post":{"summary":"Kyc Reject","description":"Reject KYC","operationId":"kyc_reject_compliance_kyc_reject_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Reviewer"},"name":"reviewer","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/check":{"post":{"summary":"Compliance Check","description":"Check transaction compliance","operationId":"compliance_check_compliance_check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Transaction Type"},"name":"transaction_type","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount"},"name":"amount","in":"query"},{"required":false,"schema":{"type":"string","title":"Destination"},"name":"destination","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/kyc/{username}":{"get":{"summary":"Kyc Status","operationId":"kyc_status_compliance_kyc__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/kyc/pending":{"get":{"summary":"Kyc Pending","operationId":"kyc_pending_compliance_kyc_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compliance/sars":{"get":{"summary":"Sars List","operationId":"sars_list_compliance_sars_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/compliance/stats":{"get":{"summary":"Compliance Stats","operationId":"compliance_stats_compliance_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/register":{"post":{"summary":"Conductor Register","description":"Register device","operationId":"conductor_register_conductor_register_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Device Id"},"name":"device_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_conductor_register_conductor_register_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/scan":{"post":{"summary":"Conductor Scan","description":"Scan for opportunities","operationId":"conductor_scan_conductor_scan_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Device Id"},"name":"device_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/plan":{"post":{"summary":"Conductor Plan","description":"Create execution plan","operationId":"conductor_plan_conductor_plan_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Device Id"},"name":"device_id","in":"query"},{"required":false,"schema":{"type":"integer","title":"Max Actions","default":10},"name":"max_actions","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Opportunities"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/approve":{"post":{"summary":"Conductor Approve","description":"Approve plan","operationId":"conductor_approve_conductor_approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Approved Action Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/execute":{"post":{"summary":"Conductor Execute","description":"Execute plan","operationId":"conductor_execute_conductor_execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/policy":{"post":{"summary":"Conductor Policy","description":"Set user policy","operationId":"conductor_policy_conductor_policy_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Policy"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/dashboard/{username}/{device_id}":{"get":{"summary":"Conductor Dashboard","operationId":"conductor_dashboard_conductor_dashboard__username___device_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":true,"schema":{"type":"string","title":"Device Id"},"name":"device_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conductor/scan-all-devices":{"post":{"summary":"Conductor Scan All Devices","description":"Scan all registered devices for opportunities","operationId":"conductor_scan_all_devices_conductor_scan_all_devices_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/create-plans":{"post":{"summary":"Conductor Create Plans","description":"Create execution plans from all opportunities","operationId":"conductor_create_plans_conductor_create_plans_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/execute-approved":{"post":{"summary":"Conductor Execute Approved","description":"Execute all auto-approved plans","operationId":"conductor_execute_approved_conductor_execute_approved_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/dashboard-all":{"get":{"summary":"Conductor Dashboard All","description":"Get dashboard for all registered devices","operationId":"conductor_dashboard_all_conductor_dashboard_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/route-tasks":{"post":{"summary":"Conductor Route Tasks","description":"Route pending tasks to appropriate AI models","operationId":"conductor_route_tasks_conductor_route_tasks_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/connect-spawn":{"post":{"summary":"Conductor Connect Spawn","description":"Connect a spawned business to Conductor for autonomous operation","operationId":"conductor_connect_spawn_conductor_connect_spawn_post","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/initiate":{"post":{"summary":"Oauth Initiate","description":"Initiate OAuth","operationId":"oauth_initiate_oauth_initiate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"string","title":"Redirect Uri"},"name":"redirect_uri","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/complete":{"post":{"summary":"Oauth Complete","description":"Complete OAuth","operationId":"oauth_complete_oauth_complete_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"string","title":"Code"},"name":"code","in":"query"},{"required":true,"schema":{"type":"string","title":"Redirect Uri"},"name":"redirect_uri","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/post":{"post":{"summary":"Oauth Post","description":"Create post","operationId":"oauth_post_oauth_post_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"string","title":"Schedule For"},"name":"schedule_for","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Content"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/post/{post_id}/approve":{"post":{"summary":"Oauth Approve","description":"Approve post","operationId":"oauth_approve_oauth_post__post_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Post Id"},"name":"post_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/post/{post_id}/reject":{"post":{"summary":"Oauth Reject","description":"Reject post","operationId":"oauth_reject_oauth_post__post_id__reject_post","parameters":[{"required":true,"schema":{"type":"string","title":"Post Id"},"name":"post_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Reason","default":""},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/platforms/{username}":{"get":{"summary":"Oauth Platforms","operationId":"oauth_platforms_oauth_platforms__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/pending/{username}":{"get":{"summary":"Oauth Pending","operationId":"oauth_pending_oauth_pending__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/disconnect":{"post":{"summary":"Oauth Disconnect","description":"Disconnect platform","operationId":"oauth_disconnect_oauth_disconnect_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/discover":{"post":{"summary":"Chain Discover","description":"Discover value chains","operationId":"chain_discover_chains_discover_post","parameters":[{"required":true,"schema":{"type":"string","title":"Initiator"},"name":"initiator","in":"query"},{"required":true,"schema":{"type":"string","title":"Initiator Capability"},"name":"initiator_capability","in":"query"},{"required":true,"schema":{"type":"string","title":"Target Outcome"},"name":"target_outcome","in":"query"},{"required":false,"schema":{"type":"integer","title":"Max Hops","default":4},"name":"max_hops","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/create":{"post":{"summary":"Chain Create","description":"Create value chain","operationId":"chain_create_chains_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Initiator"},"name":"initiator","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Chain Config"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/{chain_id}/approve":{"post":{"summary":"Chain Approve","description":"Approve chain participation","operationId":"chain_approve_chains__chain_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Chain Id"},"name":"chain_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/{chain_id}/execute":{"post":{"summary":"Chain Execute","description":"Execute chain action","operationId":"chain_execute_chains__chain_id__execute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Chain Id"},"name":"chain_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Action Type"},"name":"action_type","in":"query"},{"required":true,"schema":{"type":"string","title":"Executed By"},"name":"executed_by","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Action Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/{chain_id}":{"get":{"summary":"Chain Get","operationId":"chain_get_chains__chain_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Chain Id"},"name":"chain_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/user/{username}":{"get":{"summary":"Chain User","operationId":"chain_user_chains_user__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/{chain_id}/performance":{"get":{"summary":"Chain Performance","operationId":"chain_performance_chains__chain_id__performance_get","parameters":[{"required":true,"schema":{"type":"string","title":"Chain Id"},"name":"chain_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chains/stats":{"get":{"summary":"Chain Stats","operationId":"chain_stats_chains_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clone/register":{"post":{"summary":"Clone Register","description":"Register clone with multi-gen lineage tracking","operationId":"clone_register_clone_register_post","parameters":[{"required":true,"schema":{"type":"string","title":"Clone Owner"},"name":"clone_owner","in":"query"},{"required":true,"schema":{"type":"string","title":"Clone Id"},"name":"clone_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Original Owner"},"name":"original_owner","in":"query"},{"required":false,"schema":{"type":"integer","title":"Generation","default":1},"name":"generation","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/bid":{"post":{"summary":"Intent Bid","description":"Bid on intent with ARM price recommendation","operationId":"intent_bid_intent_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/award":{"post":{"summary":"Intent Award","description":"Award intent + create escrow + stake bond + collect insurance + factoring advance","operationId":"intent_award_intent_award_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/productize":{"post":{"summary":"Productize","operationId":"productize_productize_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"File Meta"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quote":{"post":{"summary":"Quote","operationId":"quote_quote_post","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer"},"name":"buyer","in":"query"},{"required":true,"schema":{"type":"string","title":"Seller"},"name":"seller","in":"query"},{"required":true,"schema":{"type":"string","title":"Scope"},"name":"scope","in":"query"},{"required":false,"schema":{"type":"string","title":"Ttr","default":"48h"},"name":"ttr","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/create":{"post":{"summary":"Escrow Create","operationId":"escrow_create_escrow_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Quote Id"},"name":"quote_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Buyer"},"name":"buyer","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/release":{"post":{"summary":"Escrow Release","operationId":"escrow_release_escrow_release_post","parameters":[{"required":true,"schema":{"type":"string","title":"Escrow Id"},"name":"escrow_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/escrow/dispute":{"post":{"summary":"Escrow Dispute","operationId":"escrow_dispute_escrow_dispute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Escrow Id"},"name":"escrow_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offer/localize":{"post":{"summary":"Offer Localize","operationId":"offer_localize_offer_localize_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Locales"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fx":{"get":{"summary":"Fx","operationId":"fx_fx_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/media/bind_offer":{"post":{"summary":"Media Bind Offer","operationId":"media_bind_offer_media_bind_offer_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Media Id"},"name":"media_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/team/create":{"post":{"summary":"Team Create","operationId":"team_create_team_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Lead Owner"},"name":"lead_owner","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_team_create_team_create_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/team/offer":{"post":{"summary":"Team Offer","operationId":"team_offer_team_offer_post","parameters":[{"required":true,"schema":{"type":"string","title":"Lead Owner"},"name":"lead_owner","in":"query"},{"required":true,"schema":{"type":"string","title":"Team Id"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Bundle Spec"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/retarget/schedule":{"post":{"summary":"Retarget Schedule","operationId":"retarget_schedule_retarget_schedule_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Lead Id"},"name":"lead_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Cadence","default":"3d"},"name":"cadence","in":"query"},{"required":false,"schema":{"type":"string","title":"Incentive","default":"AIGx10"},"name":"incentive","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/market/rank":{"get":{"summary":"Market Rank","operationId":"market_rank_market_rank_get","parameters":[{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offer/upsells":{"get":{"summary":"Offer Upsells","operationId":"offer_upsells_offer_upsells_get","parameters":[{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/concierge/triage":{"post":{"summary":"Concierge Triage","operationId":"concierge_triage_concierge_triage_post","parameters":[{"required":true,"schema":{"type":"string","title":"Text"},"name":"text","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/health/detail":{"get":{"summary":"Health Detail","description":"Detailed health check - shows exactly which systems are broken","operationId":"health_detail_execution_health_detail_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/execution/health/broken":{"get":{"summary":"Health Broken Only","description":"Quick view of just broken systems","operationId":"health_broken_only_execution_health_broken_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discover":{"post":{"summary":"Discover Opportunities","description":"🚀 REAL DISCOVERY ENGINE - 12+ platforms with REAL data\n\nRequest:\n    {\n        \"username\": \"wade\",\n        \"platforms\": [\"github\", \"reddit\", \"remoteok\"],  # Optional\n        \"auto_bid\": false\n    }\n\nReturns REAL opportunities from REAL APIs - NO FAKE DATA","operationId":"discover_opportunities_discover_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/shopify":{"post":{"summary":"Shopify Webhook","description":"Shopify order webhook","operationId":"shopify_webhook_webhooks_shopify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/affiliate":{"post":{"summary":"Affiliate Commission","description":"Ingest affiliate commission","operationId":"affiliate_commission_revenue_affiliate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":true,"schema":{"type":"number","title":"Revenue Usd"},"name":"revenue_usd","in":"query"},{"required":false,"schema":{"type":"string","title":"Product Id"},"name":"product_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/cpm":{"post":{"summary":"Content Cpm","description":"Ingest content CPM revenue","operationId":"content_cpm_revenue_cpm_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Platform"},"name":"platform","in":"query"},{"required":true,"schema":{"type":"integer","title":"Views"},"name":"views","in":"query"},{"required":true,"schema":{"type":"number","title":"Cpm Rate"},"name":"cpm_rate","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/service":{"post":{"summary":"Service Payment","description":"Ingest service payment","operationId":"service_payment_revenue_service_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Invoice Id"},"name":"invoice_id","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/staking":{"post":{"summary":"Staking Returns","description":"Distribute staking returns","operationId":"staking_returns_revenue_staking_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/jv_split":{"post":{"summary":"Jv Split","description":"Split revenue with JV partner","operationId":"jv_split_revenue_jv_split_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":true,"schema":{"type":"string","title":"Jv Id"},"name":"jv_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/clone_royalty":{"post":{"summary":"Clone Royalty","description":"Pay clone royalty to original owner","operationId":"clone_royalty_revenue_clone_royalty_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":true,"schema":{"type":"string","title":"Clone Id"},"name":"clone_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent/check_spend":{"post":{"summary":"Check Spend","description":"Check if agent can spend amount","operationId":"check_spend_agent_check_spend_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent/spend":{"post":{"summary":"Agent Spend","description":"Execute agent spending","operationId":"agent_spend_agent_spend_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":true,"schema":{"type":"string","title":"Basis"},"name":"basis","in":"query"},{"required":false,"schema":{"type":"string","title":"Ref"},"name":"ref","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent/pay":{"post":{"summary":"Agent Pay","description":"Agent-to-agent payment","operationId":"agent_pay_agent_pay_post","parameters":[{"required":true,"schema":{"type":"string","title":"From User"},"name":"from_user","in":"query"},{"required":true,"schema":{"type":"string","title":"To User"},"name":"to_user","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent/spending":{"get":{"summary":"Spending Summary","description":"Get agent spending analytics","operationId":"spending_summary_agent_spending_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aam/run/{app_name}/{slug}":{"post":{"summary":"Run Aam","operationId":"run_aam_aam_run__app_name___slug__post","parameters":[{"required":true,"schema":{"type":"string","title":"App Name"},"name":"app_name","in":"path"},{"required":true,"schema":{"type":"string","title":"Slug"},"name":"slug","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/shopify":{"post":{"summary":"Webhook Shopify","description":"Shopify webhook - upgraded to process revenue with fees + premium services","operationId":"webhook_shopify_webhook_shopify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/tiktok":{"post":{"summary":"Webhook Tiktok","operationId":"webhook_tiktok_webhook_tiktok_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/amazon":{"post":{"summary":"Webhook Amazon","operationId":"webhook_amazon_webhook_amazon_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/stripe":{"post":{"summary":"Webhook Stripe","description":"Stripe webhook handler - updates user revenue in JSONBin","operationId":"webhook_stripe_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pricing/dynamic":{"post":{"summary":"Pricing Dynamic","description":"Calculate dynamic price","operationId":"pricing_dynamic_pricing_dynamic_post","parameters":[{"required":true,"schema":{"type":"number","title":"Base Price"},"name":"base_price","in":"query"},{"required":true,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Context"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/competitive":{"get":{"summary":"Pricing Competitive","description":"Get competitive market pricing","operationId":"pricing_competitive_pricing_competitive_get","parameters":[{"required":true,"schema":{"type":"string","title":"Service Type"},"name":"service_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Quality Tier","default":"standard"},"name":"quality_tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/bandit/pull":{"post":{"summary":"Pricing Bandit Pull","description":"Pull the bandit - get recommended pricing arm","operationId":"pricing_bandit_pull_pricing_bandit_pull_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/dealgraph/create":{"post":{"summary":" Exp Dg Create","operationId":"_exp_dg_create_metabridge_dealgraph_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metabridge/dealgraph/activate":{"post":{"summary":" Exp Dg Activate","operationId":"_exp_dg_activate_metabridge_dealgraph_activate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/arm":{"post":{"summary":" Exp Pricing Arm","operationId":"_exp_pricing_arm_pricing_arm_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/inventory/get":{"get":{"summary":" Exp Inventory Get","operationId":"_exp_inventory_get_inventory_get_get","parameters":[{"required":true,"schema":{"type":"string","title":"Product Id"},"name":"product_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/coop/sponsor":{"post":{"summary":" Exp Coop Sponsor","operationId":"_exp_coop_sponsor_coop_sponsor_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proposal/nudge":{"post":{"summary":" Exp Proposal Nudge","operationId":"_exp_proposal_nudge_proposal_nudge_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proposal/convert":{"post":{"summary":" Exp Proposal Convert","operationId":"_exp_proposal_convert_proposal_convert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/publish":{"post":{"tags":["Intent Exchange"],"summary":"Publish Intent","description":"Publish intent + start 90-second auction.","operationId":"publish_intent_intents_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Intent"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/bid":{"post":{"tags":["Intent Exchange"],"summary":"Bid On Intent","description":"Submit bid during auction window.","operationId":"bid_on_intent_intents_bid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bid"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/settle":{"post":{"summary":" Exp Intents Settle","operationId":"_exp_intents_settle_intents_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/list":{"get":{"tags":["Intent Exchange"],"summary":"List Intents","description":"List all intents (filterable by status).","operationId":"list_intents_intents_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/{intent_id}":{"get":{"tags":["Intent Exchange"],"summary":"Get Intent","description":"Get intent details including all bids.","operationId":"get_intent_intents__intent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/create":{"post":{"tags":["MetaBridge"],"summary":"Create","description":"Create DealGraph with REAL user matching.","operationId":"create_dealgraph_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/activate":{"post":{"tags":["MetaBridge"],"summary":"Activate","description":"Activate DealGraph = auto-send proposals to matched users.","operationId":"activate_dealgraph_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/{graph_id}":{"get":{"tags":["MetaBridge"],"summary":"Get Dealgraph","description":"Retrieve DealGraph status.","operationId":"get_dealgraph_dealgraph__graph_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Graph Id"},"name":"graph_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/allocate":{"post":{"summary":" Exp R3 Allocate","operationId":"_exp_r3_allocate_r3_allocate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/pacing/update":{"post":{"tags":["R³ Budget"],"summary":"Update Pacing","description":"Update historical performance for a user+channel.\nCalled by Outcome Oracle when revenue is attributed.","operationId":"update_pacing_r3_pacing_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelPacingReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r3/performance/{user_id}":{"get":{"tags":["R³ Budget"],"summary":"Get Performance","description":"Get all channel performance for a user.","operationId":"get_performance_r3_performance__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/stream":{"get":{"summary":"Events Stream","operationId":"events_stream_events_stream_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/memory/store":{"post":{"summary":"Memory Store","description":"Store a yield pattern","operationId":"memory_store_memory_store_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_memory_store_memory_store_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memory/recommend":{"post":{"summary":"Memory Recommend","description":"Get recommended action based on memory","operationId":"memory_recommend_memory_recommend_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Context"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memory/avoid":{"post":{"summary":"Memory Avoid","description":"Get patterns to avoid","operationId":"memory_avoid_memory_avoid_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Context"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memory/stats/{username}":{"get":{"summary":"Memory Stats","description":"Get memory statistics","operationId":"memory_stats_memory_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memory/export/{username}":{"get":{"summary":"Memory Export","description":"Export memory as JSON","operationId":"memory_export_memory_export__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memory/import":{"post":{"summary":"Memory Import","description":"Import memory from JSON","operationId":"memory_import_memory_import_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Json Data"},"name":"json_data","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/contribute":{"post":{"summary":"Hive Contribute","description":"Contribute pattern to hive","operationId":"hive_contribute_hive_contribute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Anonymize","default":true},"name":"anonymize","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_hive_contribute_hive_contribute_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/query":{"get":{"summary":"Hive Query","description":"Query the MetaHive for successful patterns","operationId":"hive_query_hive_query_get","parameters":[{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Hive Query","description":"Query hive for patterns","operationId":"hive_query_hive_query_post","parameters":[{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"number","title":"Min Weight","default":1.0},"name":"min_weight","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":5},"name":"limit","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Context"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/report":{"post":{"summary":"Hive Report","description":"Report pattern usage","operationId":"hive_report_hive_report_post","parameters":[{"required":true,"schema":{"type":"string","title":"Pattern Id"},"name":"pattern_id","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Success"},"name":"success","in":"query"},{"required":false,"schema":{"type":"number","title":"Actual Roas"},"name":"actual_roas","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/top":{"get":{"summary":"Hive Top","description":"Get top patterns","operationId":"hive_top_hive_top_get","parameters":[{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Sort By","default":"weight"},"name":"sort_by","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/proposals/{proposal_id}":{"get":{"summary":"Jv Proposal Get","operationId":"jv_proposal_get_jv_proposals__proposal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proposal Id"},"name":"proposal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/proposals/list":{"get":{"summary":"Jv Proposals List","operationId":"jv_proposals_list_jv_proposals_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jv/list":{"get":{"summary":"Jv List","operationId":"jv_list_jv_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Party"},"name":"party","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/check":{"post":{"summary":"Fraud Check","description":"Check for fraud signals","operationId":"fraud_check_fraud_check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Action Type"},"name":"action_type","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Metadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/suspend":{"post":{"summary":"Fraud Suspend","description":"Suspend account","operationId":"fraud_suspend_fraud_suspend_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Evidence"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/report":{"post":{"summary":"Fraud Report","description":"Report fraud","operationId":"fraud_report_fraud_report_post","parameters":[{"required":true,"schema":{"type":"string","title":"Reporter"},"name":"reporter","in":"query"},{"required":true,"schema":{"type":"string","title":"Reported User"},"name":"reported_user","in":"query"},{"required":true,"schema":{"type":"string","title":"Fraud Type"},"name":"fraud_type","in":"query"},{"required":true,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Evidence"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/resolve":{"post":{"summary":"Fraud Resolve","description":"Resolve fraud case","operationId":"fraud_resolve_fraud_resolve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Case Id"},"name":"case_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Resolution"},"name":"resolution","in":"query"},{"required":true,"schema":{"type":"string","title":"Action"},"name":"action","in":"query"},{"required":false,"schema":{"type":"string","title":"Notes","default":""},"name":"notes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/case/{case_id}":{"get":{"summary":"Fraud Case","operationId":"fraud_case_fraud_case__case_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Case Id"},"name":"case_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/cases":{"get":{"summary":"Fraud Cases","operationId":"fraud_cases_fraud_cases_get","parameters":[{"required":false,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/profile/{username}":{"get":{"summary":"Fraud Profile","operationId":"fraud_profile_fraud_profile__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fraud/stats":{"get":{"summary":"Fraud Stats","operationId":"fraud_stats_fraud_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/disputes/file":{"post":{"summary":"Dispute File","description":"File dispute","operationId":"dispute_file_disputes_file_post","parameters":[{"required":true,"schema":{"type":"string","title":"Claimant"},"name":"claimant","in":"query"},{"required":true,"schema":{"type":"string","title":"Respondent"},"name":"respondent","in":"query"},{"required":true,"schema":{"type":"string","title":"Dispute Type"},"name":"dispute_type","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":true,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Evidence"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/respond":{"post":{"summary":"Dispute Respond","description":"Respond to dispute","operationId":"dispute_respond_disputes_respond_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Respondent"},"name":"respondent","in":"query"},{"required":true,"schema":{"type":"string","title":"Response"},"name":"response","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Counter Evidence"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/offer":{"post":{"summary":"Dispute Offer","description":"Make settlement offer","operationId":"dispute_offer_disputes_offer_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Offerer"},"name":"offerer","in":"query"},{"required":true,"schema":{"type":"string","title":"Offer Type"},"name":"offer_type","in":"query"},{"required":false,"schema":{"type":"number","title":"Offer Amount"},"name":"offer_amount","in":"query"},{"required":false,"schema":{"type":"string","title":"Offer Terms","default":""},"name":"offer_terms","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/accept":{"post":{"summary":"Dispute Accept","description":"Accept settlement","operationId":"dispute_accept_disputes_accept_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Accepter"},"name":"accepter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/escalate":{"post":{"summary":"Dispute Escalate","description":"Escalate to arbitration","operationId":"dispute_escalate_disputes_escalate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/arbitrate":{"post":{"summary":"Dispute Arbitrate","description":"Arbitrate dispute","operationId":"dispute_arbitrate_disputes_arbitrate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Dispute Id"},"name":"dispute_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Ruling"},"name":"ruling","in":"query"},{"required":true,"schema":{"type":"number","title":"Claimant Award"},"name":"claimant_award","in":"query"},{"required":true,"schema":{"type":"number","title":"Respondent Award"},"name":"respondent_award","in":"query"},{"required":true,"schema":{"type":"string","title":"Rationale"},"name":"rationale","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/disputes/stats":{"get":{"summary":"Dispute Stats","operationId":"dispute_stats_disputes_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bundles/create":{"post":{"summary":"Bundle Create","description":"Create multi-agent bundle","operationId":"bundle_create_bundles_create_post","parameters":[{"required":true,"schema":{"type":"string","title":"Lead Agent"},"name":"lead_agent","in":"query"},{"required":true,"schema":{"type":"string","title":"Title"},"name":"title","in":"query"},{"required":true,"schema":{"type":"string","title":"Description"},"name":"description","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_bundle_create_bundles_create_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/sale":{"post":{"summary":"Bundle Sale","description":"Record bundle sale","operationId":"bundle_sale_bundles_sale_post","parameters":[{"required":true,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Buyer"},"name":"buyer","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"},{"required":false,"schema":{"type":"integer","title":"Delivery Hours"},"name":"delivery_hours","in":"query"},{"required":false,"schema":{"type":"number","title":"Satisfaction Score"},"name":"satisfaction_score","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/roles":{"post":{"summary":"Bundle Roles","description":"Assign roles to agents","operationId":"bundle_roles_bundles_roles_post","parameters":[{"required":true,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Role Assignments"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/status":{"post":{"summary":"Bundle Status","description":"Update bundle status","operationId":"bundle_status_bundles_status_post","parameters":[{"required":true,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Reason","default":""},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/{bundle_id}":{"get":{"summary":"Bundle Get","operationId":"bundle_get_bundles__bundle_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bundles/stats/{bundle_id}":{"get":{"summary":"Bundle Stats","operationId":"bundle_stats_bundles_stats__bundle_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Bundle Id"},"name":"bundle_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/join":{"post":{"summary":"Hive Join","description":"Join MetaHive","operationId":"hive_join_hive_join_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":false,"schema":{"type":"boolean","title":"Opt In Data Sharing","default":true},"name":"opt_in_data_sharing","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/leave":{"post":{"summary":"Hive Leave","description":"Leave MetaHive","operationId":"hive_leave_hive_leave_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/contribution":{"post":{"summary":"Hive Contribution","description":"Record contribution","operationId":"hive_contribution_hive_contribution_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"},{"required":true,"schema":{"type":"string","title":"Contribution Type"},"name":"contribution_type","in":"query"},{"required":false,"schema":{"type":"number","title":"Value","default":1.0},"name":"value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/revenue":{"post":{"summary":"Hive Revenue","description":"Record hive revenue","operationId":"hive_revenue_hive_revenue_post","parameters":[{"required":true,"schema":{"type":"string","title":"Source"},"name":"source","in":"query"},{"required":true,"schema":{"type":"number","title":"Amount Usd"},"name":"amount_usd","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Metadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/distribute":{"post":{"summary":"Hive Distribute","description":"Distribute rewards","operationId":"hive_distribute_hive_distribute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hive/member/{username}":{"get":{"summary":"Hive Member","operationId":"hive_member_hive_member__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/members":{"get":{"summary":"Hive Members","operationId":"hive_members_hive_members_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/treasury":{"get":{"summary":"Hive Treasury","operationId":"hive_treasury_hive_treasury_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hive/projected/{username}":{"get":{"summary":"Hive Projected","operationId":"hive_projected_hive_projected__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intents/claim":{"post":{"summary":" Exp Intents Claim","operationId":"_exp_intents_claim_intents_claim_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/temporal/start":{"post":{"summary":"Temporal Swarm Start","description":"Start the Temporal Arbitrage Swarm.\n\nThe swarm will:\n- Detect opportunities in real-time (<1s)\n- Classify urgency and strategy (<5s)\n- Precompute responses (<30s)\n- Dispatch through multiple channels (<30s)\n\nTotal target: <60 seconds from opportunity posted to response delivered.","operationId":"temporal_swarm_start_temporal_start_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/temporal/stop":{"post":{"summary":"Temporal Swarm Stop","description":"Stop the Temporal Arbitrage Swarm.","operationId":"temporal_swarm_stop_temporal_stop_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/temporal/stats":{"get":{"summary":"Temporal Swarm Stats","description":"Get comprehensive Temporal Arbitrage Swarm statistics.\n\nReturns:\n- Detection stats (opportunities detected, duplicates filtered)\n- Classification stats (by urgency, by strategy)\n- Precompute stats (responses generated, cache hits)\n- Dispatch stats (delivered, failed, by channel)\n- Latency metrics (p50, p95, p99 by phase)\n- SLO compliance rate","operationId":"temporal_swarm_stats_temporal_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/temporal/health":{"get":{"summary":"Temporal Swarm Health","description":"Health check for the Temporal Arbitrage Swarm.","operationId":"temporal_swarm_health_temporal_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/temporal/inject":{"post":{"summary":"Temporal Inject Opportunity","description":"Manually inject an opportunity into the Temporal Arbitrage Swarm.\n\nUseful for testing or routing external webhooks through the swarm.\n\nBody:\n{\n    \"platform\": \"github\",\n    \"title\": \"Help needed with API integration\",\n    \"body\": \"Looking for a developer to help...\",\n    \"url\": \"https://github.com/...\",\n    \"contact\": {\"username\": \"user123\"}\n}","operationId":"temporal_inject_opportunity_temporal_inject_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/temporal/latency/{opportunity_id}":{"get":{"summary":"Temporal Get Latency","description":"Get detailed latency trace for a specific opportunity.","operationId":"temporal_get_latency_temporal_latency__opportunity_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/engagement-responder/start":{"post":{"summary":"Engagement Responder Start","description":"Start the Engagement Responder.\n\nMonitors GitHub notifications for:\n- Assignments (\"You've been assigned...\")\n- Mentions (\"@AiGentsy can you...\")\n- Questions and interest signals\n\nResponds naturally using HumanVoice system.","operationId":"engagement_responder_start_engagement_responder_start_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement-responder/stop":{"post":{"summary":"Engagement Responder Stop","description":"Stop the Engagement Responder.","operationId":"engagement_responder_stop_engagement_responder_stop_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement-responder/stats":{"get":{"summary":"Engagement Responder Stats","description":"Get Engagement Responder statistics.","operationId":"engagement_responder_stats_engagement_responder_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagement-responder/process":{"post":{"summary":"Engagement Responder Process","description":"Manually process an engagement event.\n\nBody:\n{\n    \"platform\": \"github\",\n    \"sender\": \"username\",\n    \"message\": \"Hey @AiGentsy, you've been assigned...\",\n    \"context_url\": \"https://github.com/owner/repo/issues/123\"\n}","operationId":"engagement_responder_process_engagement_responder_process_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/arbitrage/run-cycle":{"post":{"summary":"Arbitrage Run Cycle","description":"Run full arbitrage detection + execution cycle\nCalled by GitHub Actions arbitrage job\n\nNote: For single opportunity execution, use POST /arbitrage/execute","operationId":"arbitrage_run_cycle_arbitrage_run_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/auto-approve":{"post":{"summary":"Ame Auto Approve","description":"BOTTLENECK KILLER #1: Auto-approval with bounded risk.\n\nApprove automatically when:\n- (score ≥ 0.72 AND est_value ≤ $600) OR\n- (returning_client AND OCS ≥ 70)\n\nCanary 10% of new operators; fallback to Direct when QA fails.","operationId":"ame_auto_approve_ame_auto_approve_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/settlements/process-batch":{"post":{"summary":"Settlements Process Batch","description":"BOTTLENECK KILLER #2: Hourly settlement batch processor.\n\nPayouts every hour if:\n- balance ≥ $25 OR\n- age ≥ 24h\n\nWrite idempotent ledger markers to prevent double-processing.","operationId":"settlements_process_batch_settlements_process_batch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/discover-and-pitch":{"post":{"summary":"Ame Discover And Pitch","description":"AME Pitch Pipeline: Discovery → Pitch → Approval → Deliver.\n\nNOTE: This is the PITCH generation flow (creates pitches in AME_PITCH_QUEUE).\nFor CONTRACT creation, use POST /integration/discover-and-execute instead.\n\nFull autonomous cycle:\n1. Discover leads from 27+ platforms\n2. Generate pitches with proof blocks\n3. Auto-approve high-confidence pitches\n4. Deliver and start nurture sequences","operationId":"ame_discover_and_pitch_ame_discover_and_pitch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/accretive":{"post":{"summary":"Accretive Outreach Cycle","description":"ACCRETIVE OUTREACH: Intent-scored, cost-optimized, compounding flywheel.\n\nThis is the efficient outreach engine that:\n1. Discovers opportunities with hybrid discovery (Perplexity + APIs)\n2. Scores each by payment_proximity using IntentScorer\n3. Sorts by intent (highest first)\n4. Routes through cheapest working channel\n5. Includes referral codes for tracking\n6. Auto-generates proof on completion\n\nConfig:\n    min_intent: Minimum payment_proximity to attempt outreach (default 0.5)\n    max_cost: Max cost per cycle in $ (default 1.0)\n    channels: Allowed channels (default all)","operationId":"accretive_outreach_cycle_outreach_accretive_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/channel-health":{"get":{"summary":"Outreach Channel Health","description":"Check health and remaining capacity of each outreach channel.","operationId":"outreach_channel_health_outreach_channel_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/channels":{"get":{"summary":"Outreach Channels","description":"Alias for /outreach/channel-health","operationId":"outreach_channels_outreach_channels_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fast-path/lock-bundle":{"post":{"summary":"Fast Path Lock Bundle","description":"FAST-PATH+: If payment_proximity ≥ 0.82, lock instant 2-item bundle.\n\nPrimary + add-on with 8% off.\nAuto-upgrade to Assured tier when add-on chosen → higher margin, lower refund risk.","operationId":"fast_path_lock_bundle_fast_path_lock_bundle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/elastic-plus/sample-band":{"post":{"summary":"Elastic Plus Sample Band","description":"ELASTIC+ (profit-aware): Thompson sampling via existing elastic.py module.\n\nUses pricing/elastic.py which already implements:\n- Per-SKU Thompson sampling across 5 bands (floor/low/target/high/premium)\n- Refund/defect penalty: alpha penalized by -0.5 if rates exceed thresholds\n- SKU Genome persistence for priors","operationId":"elastic_plus_sample_band_elastic_plus_sample_band_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/elastic-plus/record-outcome":{"post":{"summary":"Elastic Plus Record Outcome","description":"Record conversion or dispute for Elastic+ band learning via existing module.","operationId":"elastic_plus_record_outcome_elastic_plus_record_outcome_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assured/create-warranty":{"post":{"summary":"Assured Create Warranty","description":"OUTCOME WARRANTY: Assured tier at +12-18% price.\n\nRoute only to OCS≥80 operators.\nEnforce extra QA gate.\nNet margin improves despite warranty pool.","operationId":"assured_create_warranty_assured_create_warranty_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/cross-sell":{"post":{"summary":"Proof Cross Sell","description":"CROSS-SELL AT PROOF MOMENT: Turn delivery into new revenue with near-zero CAC.\n\nOn proof.html, show \"1-click replay\" bundle:\n\"Turn this into 6 social assets for $49\"","operationId":"proof_cross_sell_proof_cross_sell_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rwp/generate-preview":{"post":{"summary":"Rwp Generate Preview","description":"REPLY-WITH-PREVIEW (RWP): Attach auto-generated, watermarked mini-preview.\n\nWhen commenting publicly, attach low-res/blur preview artifact.\nLink carries ?ref=rwp&proof={id} → hire.html with prefilled SKU.","operationId":"rwp_generate_preview_rwp_generate_preview_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rwp/track-view":{"post":{"summary":"Rwp Track View","description":"Track RWP preview view.","operationId":"rwp_track_view_rwp_track_view_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rwp/track-unlock":{"post":{"summary":"Rwp Track Unlock","description":"Track RWP preview unlock (conversion).","operationId":"rwp_track_unlock_rwp_track_unlock_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offernet/broadcast":{"post":{"summary":"Offernet Broadcast","description":"OFFERNET BROADCASTS: Publish overflow to sealed auction when capacity hits 85%.\n\n90s sealed auction. You keep the spread; clients see continuous availability.","operationId":"offernet_broadcast_offernet_broadcast_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offernet/bid":{"post":{"summary":"Offernet Bid","description":"Submit bid to OfferNet auction.","operationId":"offernet_bid_offernet_bid_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offernet/close":{"post":{"summary":"Offernet Close","description":"Close OfferNet auction and award to highest bidder.","operationId":"offernet_close_offernet_close_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/canary/register":{"post":{"summary":"Canary Register","description":"CANARY EVERYWHERE: Uses existing graduation_autopublish.py canary system.\n\nAuto-promote only if CSAT≥4.4, Refund≤3%, ROI≥1.4 over 14 days.\nOtherwise auto-rollback.","operationId":"canary_register_canary_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/canary/record-outcome":{"post":{"summary":"Canary Record Outcome","description":"Record outcome for canary evaluation.","operationId":"canary_record_outcome_canary_record_outcome_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/canary/evaluate":{"post":{"summary":"Canary Evaluate","description":"Evaluate canary using existing graduation_autopublish.py and auto-promote or auto-rollback.","operationId":"canary_evaluate_canary_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/telemetry/ingest":{"post":{"summary":"Telemetry Ingest","description":"TELEMETRY GUARDRAIL: Only ingest BiaB outcomes if qa_passed AND dispute_rate_7d<2%.\n\nMaintain separate \"shadow\" bands for noisy channels.","operationId":"telemetry_ingest_telemetry_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocs/benefits/{username}":{"get":{"summary":"Ocs Get Benefits","description":"OCS PORTABILITY + BENEFITS via existing cross_pollination.py module.\n\nHigh OCS → lower elastic floors, higher ceilings, higher marketplace rank, Assured eligibility.","operationId":"ocs_get_benefits_ocs_benefits__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/graduation/auto-publish":{"post":{"summary":"Graduation Auto Publish","description":"AUTO-PUBLISH FROM GRADUATION via existing cross_pollination.py module.\n\nUses on_direct_graduation() which:\n- Publishes to marketplace\n- Creates canary listing with provenance ribbon\n- Shows \"N jobs, $X GMV\" on listing","operationId":"graduation_auto_publish_graduation_auto_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/dual-credit":{"post":{"summary":"Proof Dual Credit Create","description":"Create a dual-attribution proof card.","operationId":"proof_dual_credit_create_proof_dual_credit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscription/graduation-journey":{"post":{"summary":"Subscription Graduation Journey","description":"SUB→BIAB JOURNEY via existing conversion/subscription_graduation_journey.py module.\n\nWhen usage hits threshold, one-click \"Spin up your storefront.\"\nCarry 1 month of subscription balance as ad credits.","operationId":"subscription_graduation_journey_subscription_graduation_journey_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kpi/board":{"get":{"summary":"Kpi Board","description":"KPI BOARD: Real-time metrics for trillion-grade operation.\n\n- Time-to-cash (lead→payment)\n- AOV & attach rate (bundles, Assured)\n- Canary pass rate (SKUs, operators)\n- Overflow capture (OfferNet win rate, NPS parity)\n- Sub→BiaB conversion\n- OCS-weighted margin (elite vs baseline cohorts)","operationId":"kpi_board_kpi_board_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/find-clients/{username}":{"get":{"summary":"Ame Find Clients","description":"MEGA CLIENT DISCOVERY — searches EVERYWHERE for potential clients.\n\nSources:\n1. IFX Orderbook (on-platform buyer intents)\n2. IFX Listings (on-platform open intents)\n3. MetaBridge (complementary agents)\n4. Perplexity Web Search (real-time companies seeking services)\n5. Reddit (pain point discussions, help requests)\n6. Alpha Discovery (multi-source opportunities)\n\nCalled by GXA.findClients()","operationId":"ame_find_clients_ame_find_clients__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/browse/{username}":{"get":{"summary":"Browse Deals Endpoint","description":"Browse open buyer intents that the user can bid on.\nPulls from IFX listings + orderbook.\nCalled by GXA.browseDeals()","operationId":"browse_deals_endpoint_deals_browse__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intent/list":{"get":{"summary":"Intent List","description":"List all intents.","operationId":"intent_list_intent_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/opportunities/{opportunity_id}/reject":{"post":{"summary":"Reject Opportunity Endpoint","description":"Reject an opportunity\n\nBody: { \"username\": \"...\", \"reason\": \"...\" }","operationId":"reject_opportunity_endpoint_opportunities__opportunity_id__reject_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/csuite/command":{"post":{"summary":"Csuite Command","description":"CEO (user) commands their AI C-Suite agents\n\nThe user IS the CEO - they give commands to their AI executive team:\n- CMO: Handles marketing, discovery, outreach\n- CFO: Handles finances, revenue, AIGx\n- COO: Handles operations, deals, fulfillment\n- CTO: Handles systems, health, automation\n\nBody: {\n    \"username\": \"...\",\n    \"command\": \"find opportunities\" | \"show revenue\" | \"check deals\" | etc\n}","operationId":"csuite_command_csuite_command_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/csuite/agents":{"get":{"summary":"List Csuite Agents","description":"List the user's AI C-Suite team\nThe user is the CEO - these are their AI executives","operationId":"list_csuite_agents_csuite_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/{username}/refresh-opportunities":{"post":{"summary":"Dashboard Refresh Opportunities","description":"Dashboard button: Refresh/discover new opportunities\nTriggers discovery and saves to user record","operationId":"dashboard_refresh_opportunities_dashboard__username__refresh_opportunities_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/approve-all":{"post":{"summary":"Dashboard Approve All","description":"Dashboard button: Approve all pending opportunities\nOptional: min_win_probability filter","operationId":"dashboard_approve_all_dashboard__username__approve_all_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/execute-opportunity/{opportunity_id}":{"post":{"summary":"Dashboard Execute Opportunity","description":"Dashboard button: Execute a specific approved opportunity\nTriggers bidding/outreach for the opportunity","operationId":"dashboard_execute_opportunity_dashboard__username__execute_opportunity__opportunity_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/execute-all-approved":{"post":{"summary":"Dashboard Execute All Approved","description":"Dashboard button: Execute all approved opportunities","operationId":"dashboard_execute_all_approved_dashboard__username__execute_all_approved_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/quick-stats":{"get":{"summary":"Dashboard Quick Stats","description":"Dashboard widget: Quick stats for header/summary cards","operationId":"dashboard_quick_stats_dashboard__username__quick_stats_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/activity-feed":{"get":{"summary":"Dashboard Activity Feed","description":"Dashboard widget: Recent activity feed","operationId":"dashboard_activity_feed_dashboard__username__activity_feed_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/social/quick-post":{"post":{"summary":"Dashboard Quick Social Post","description":"Dashboard button: Quick social media post\n\nBody: {\n    \"content\": \"...\",\n    \"platforms\": [\"twitter\", \"linkedin\"],\n    \"schedule\": null  # or ISO timestamp\n}","operationId":"dashboard_quick_social_post_dashboard__username__social_quick_post_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/notifications":{"get":{"summary":"Dashboard Notifications","description":"Dashboard widget: Notifications/alerts","operationId":"dashboard_notifications_dashboard__username__notifications_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{username}/actions":{"get":{"summary":"Dashboard Available Actions","description":"Dashboard: List all available action buttons\nFrontend can use this to dynamically render action buttons","operationId":"dashboard_available_actions_dashboard__username__actions_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/propose_deal":{"post":{"summary":"Propose Deal","description":"Create a deal proposal\nCalled by submitProposal() in aigent0.html","operationId":"propose_deal_propose_deal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/get_proposals":{"post":{"summary":"Get Proposals","description":"Get proposals for a user\nCalled by openProposalInboxModal() in aigent0.html","operationId":"get_proposals_get_proposals_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/respond_proposal":{"post":{"summary":"Respond To Proposal","description":"Accept or decline a proposal","operationId":"respond_to_proposal_respond_proposal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/mega-discover":{"post":{"summary":"Mega Discover","description":"🚀 MEGA DISCOVERY - 100+ platform discovery with filtering\n\nDiscovers opportunities from 7 dimensions:\n- Explicit Marketplaces (30 sources)\n- Pain Point Detection (25 sources)\n- Flow Arbitrage (15 sources)\n- Predictive Intelligence (15 sources)\n- Network Amplification (10 sources)\n- Opportunity Creation (10 sources)\n- Emergent Patterns (10 sources)","operationId":"mega_discover_execution_mega_discover_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/execution/mega-discover/stats":{"get":{"summary":"Mega Discover Stats","description":"Get mega discovery engine statistics","operationId":"mega_discover_stats_execution_mega_discover_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fiverr/launch":{"post":{"summary":"Fiverr Launch","description":"Launch Fiverr automation business","operationId":"fiverr_launch_fiverr_launch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fiverr/process-orders":{"post":{"summary":"Fiverr Process Orders","description":"Process pending Fiverr orders","operationId":"fiverr_process_orders_fiverr_process_orders_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dribbble/start":{"post":{"summary":"Dribbble Start","description":"Start Dribbble portfolio automation","operationId":"dribbble_start_dribbble_start_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dribbble/post-daily":{"post":{"summary":"Dribbble Post Daily","description":"Post daily Dribbble shot","operationId":"dribbble_post_daily_dribbble_post_daily_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/99designs/scan-and-enter":{"post":{"summary":"Ninety Nine Scan And Enter","description":"Scan for contests and auto-enter profitable ones","operationId":"ninety_nine_scan_and_enter_99designs_scan_and_enter_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/aam/process-all":{"post":{"summary":"Aam Process All Manifests","description":"Process ALL AAM manifests for all users\n\nManifests processed:\n- shopify-abandon-v1 (cart recovery)\n- shopify-growth-v1 (growth automation)\n- amazon-cart-nudge-v1 (cart nudges)\n- growth-retarget-r3-v1 (retargeting)","operationId":"aam_process_all_manifests_aam_process_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r3/autopilot/execute-all":{"post":{"summary":"R3 Autopilot Execute All","description":"Execute R3 autopilot spend for ALL users with active strategies","operationId":"r3_autopilot_execute_all_r3_autopilot_execute_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r3/autopilot/rebalance-all":{"post":{"summary":"R3 Autopilot Rebalance All","description":"Rebalance R3 strategies for all users based on performance","operationId":"r3_autopilot_rebalance_all_r3_autopilot_rebalance_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/retarget/process-queue":{"post":{"summary":"Retarget Process Queue","description":"Process all pending retarget tasks","operationId":"retarget_process_queue_retarget_process_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proposals/auto-nudge":{"post":{"summary":"Proposals Auto Nudge","description":"Auto-nudge stale proposals (no response in 48 hours)","operationId":"proposals_auto_nudge_proposals_auto_nudge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proposals/autoclose":{"post":{"summary":"Proposals Autoclose","description":"Auto-close proposals that have been stale for 7+ days","operationId":"proposals_autoclose_proposals_autoclose_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bundles/process-sales":{"post":{"summary":"Bundles Process Sales","description":"Process pending bundle sales and distribute revenue","operationId":"bundles_process_sales_bundles_process_sales_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bundles/list":{"get":{"summary":"Bundles List","description":"List all bundles","operationId":"bundles_list_bundles_list_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Agent"},"name":"agent","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dealgraph/process-intros":{"post":{"summary":"Dealgraph Process Intros","description":"Process pending warm intro opportunities from deal graph","operationId":"dealgraph_process_intros_dealgraph_process_intros_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/jv/auto-propose":{"post":{"summary":"Jv Auto Propose","description":"Auto-propose JV partnerships based on complementary services","operationId":"jv_auto_propose_jv_auto_propose_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/resend/process-queue":{"post":{"summary":"Resend Process Queue","description":"Process pending email sequences","operationId":"resend_process_queue_resend_process_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/resend/setup":{"post":{"summary":"Resend Setup","description":"Setup email automation for a user","operationId":"resend_setup_resend_setup_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/v6/health":{"get":{"summary":"Autonomous V6 Health","description":"Check health of all v6 autonomous systems","operationId":"autonomous_v6_health_autonomous_v6_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/learning/process-outcomes":{"post":{"summary":"Learning Process Outcomes","description":"🧠 AUTONOMOUS LEARNING: Process all recent outcomes and learn from them\n\nThis endpoint should be called hourly to:\n1. Find all completed deals/bids with outcome data\n2. Store successful patterns in Yield Memory (per-user)\n3. Contribute winning patterns to MetaHive (global)\n4. Report pattern usage back to improve weights","operationId":"learning_process_outcomes_learning_process_outcomes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/learning/get-recommendations":{"post":{"summary":"Learning Get Recommendations","description":"🧠 BEFORE MAKING A DECISION: Query collective intelligence\n\nCall this before:\n- Bidding on opportunity\n- Setting price\n- Choosing platform\n- Crafting pitch\n\nReturns recommended action based on:\n1. User's own Yield Memory (what worked for them)\n2. MetaHive global patterns (what worked for everyone)","operationId":"learning_get_recommendations_learning_get_recommendations_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/learning/report-usage":{"post":{"summary":"Learning Report Usage","description":"🧠 AFTER USING A PATTERN: Report back the actual outcome\n\nThis closes the learning loop by:\n1. Updating pattern weight in MetaHive based on actual performance\n2. Adjusting future recommendations","operationId":"learning_report_usage_learning_report_usage_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/learning/stats":{"get":{"summary":"Learning Stats","description":"🧠 Get learning system statistics","operationId":"learning_stats_learning_stats_get","parameters":[{"required":false,"schema":{"type":"string","title":"Username"},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/learning/health":{"get":{"summary":"Learning Health","description":"🧠 Check health of all learning systems","operationId":"learning_health_learning_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/email/send-single":{"post":{"summary":"Email Send Single","description":"Send a single email using Resend API","operationId":"email_send_single_email_send_single_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/email/send-batch":{"post":{"summary":"Email Send Batch","description":"Send ALL pending emails in user queues using Resend API","operationId":"email_send_batch_email_send_batch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/email/welcome":{"post":{"summary":"Email Welcome","description":"Send welcome email to new user","operationId":"email_welcome_email_welcome_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/graphics/generate":{"post":{"summary":"Graphics Generate","description":"Generate image using Stability AI","operationId":"graphics_generate_graphics_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/graphics/batch-generate":{"post":{"summary":"Graphics Batch Generate","description":"Generate all pending graphics requests using Stability AI","operationId":"graphics_batch_generate_graphics_batch_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ai/chat":{"post":{"summary":"Ai Chat","description":"Chat with AI via OpenRouter","operationId":"ai_chat_ai_chat_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/research":{"post":{"summary":"Ai Research","description":"Deep research on a topic using OpenRouter","operationId":"ai_research_ai_research_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/orchestrate":{"post":{"summary":"Ai Orchestrate","description":"Process ALL pending AI tasks using OpenRouter","operationId":"ai_orchestrate_ai_orchestrate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/search/perplexity":{"post":{"summary":"Search Perplexity","description":"Search using Perplexity AI","operationId":"search_perplexity_search_perplexity_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/perplexity-opportunities":{"post":{"summary":"Discovery Perplexity Opportunities","description":"Search for real opportunities using Perplexity","operationId":"discovery_perplexity_opportunities_discovery_perplexity_opportunities_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/gemini":{"post":{"summary":"Ai Gemini","description":"Chat with Google Gemini","operationId":"ai_gemini_ai_gemini_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/video/generate":{"post":{"summary":"Video Generate","description":"Generate video using Runway","operationId":"video_generate_video_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/scrape-github":{"post":{"summary":"Discovery Scrape Github","description":"Scrape GitHub for opportunities (issues, discussions, job posts)","operationId":"discovery_scrape_github_discovery_scrape_github_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/scrape-reddit":{"post":{"summary":"Discovery Scrape Reddit","description":"Scrape Reddit for opportunities","operationId":"discovery_scrape_reddit_discovery_scrape_reddit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/scrape-hackernews":{"post":{"summary":"Discovery Scrape Hackernews","description":"Scrape HackerNews for opportunities (Who's Hiring threads)","operationId":"discovery_scrape_hackernews_discovery_scrape_hackernews_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/scrape-all":{"post":{"summary":"Discovery Scrape All","description":"Scrape ALL platforms for real opportunities","operationId":"discovery_scrape_all_discovery_scrape_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/github/bounties":{"post":{"summary":"Discovery Github Bounties","description":"GitHub bounties discovery - wires to existing scrape logic with value extraction","operationId":"discovery_github_bounties_discovery_github_bounties_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/github/analyze-issue":{"post":{"summary":"Github Analyze Issue","description":"Analyze a GitHub issue to understand requirements for automated execution.\n\nUses AI to parse:\n- Issue requirements and acceptance criteria\n- Technical complexity and estimated effort\n- Files likely to be modified\n- Suggested approach","operationId":"github_analyze_issue_github_analyze_issue_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/github/post-comment":{"post":{"summary":"Github Post Comment","description":"Post a comment on a GitHub issue.\n\nUsed for:\n- Expressing interest in bounties\n- Offering solutions\n- Asking clarifying questions","operationId":"github_post_comment_github_post_comment_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/github/create-branch":{"post":{"summary":"Github Create Branch","description":"Create a branch for PR submission.\n\nCreates: aigentsy/issue-{number} branch from default branch","operationId":"github_create_branch_github_create_branch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/github/submit-pr":{"post":{"summary":"Github Submit Pr","description":"Submit a pull request for a GitHub issue.\n\nThis is the final step in the immediate execution flow:\n1. Creates a branch (if not exists)\n2. Commits the solution\n3. Opens a PR linked to the issue","operationId":"github_submit_pr_github_submit_pr_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/github/pr-status":{"get":{"summary":"Github Pr Status","description":"Check the status of a pull request","operationId":"github_pr_status_github_pr_status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Owner"},"name":"owner","in":"query"},{"required":true,"schema":{"type":"string","title":"Repo"},"name":"repo","in":"query"},{"required":true,"schema":{"type":"integer","title":"Pr Number"},"name":"pr_number","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reddit/post-reply":{"post":{"summary":"Reddit Post Reply","description":"Post a helpful reply to a Reddit thread.\n\nUsed by polymorphic conversational flow for Reddit pain points.\nExtracts post_id from URL, generates AI response, posts reply.","operationId":"reddit_post_reply_reddit_post_reply_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/linkedin/send-message":{"post":{"summary":"Linkedin Send Message","description":"Send a message to a LinkedIn profile.\n\nUsed by polymorphic conversational flow for LinkedIn leads.\nRequires existing connection or InMail credits.","operationId":"linkedin_send_message_linkedin_send_message_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/linkedin/connect":{"post":{"summary":"Linkedin Connect","description":"Send a LinkedIn connection request with personalized note.\n\nUsed as first step in LinkedIn conversational flow.","operationId":"linkedin_connect_linkedin_connect_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twitter/post-reply":{"post":{"summary":"Twitter Post Reply","description":"Post a reply to a tweet.\n\nUsed by polymorphic conversational flow for Twitter opportunities.","operationId":"twitter_post_reply_twitter_post_reply_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twitter/send-dm":{"post":{"summary":"Twitter Send Dm","description":"Send a Twitter direct message.\n\nUsed for more private conversations after initial engagement.","operationId":"twitter_send_dm_twitter_send_dm_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/upwork/search":{"post":{"summary":"Discovery Upwork Search","description":"Upwork job discovery - placeholder until API connected","operationId":"discovery_upwork_search_discovery_upwork_search_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/fiverr/buyer-requests":{"post":{"summary":"Discovery Fiverr Buyer Requests","description":"Fiverr buyer requests - placeholder until API connected","operationId":"discovery_fiverr_buyer_requests_discovery_fiverr_buyer_requests_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/freelancer/search":{"post":{"summary":"Discovery Freelancer Search","description":"Freelancer projects - placeholder until API connected","operationId":"discovery_freelancer_search_discovery_freelancer_search_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/remoteok/jobs":{"get":{"summary":"Discovery Remoteok Jobs","description":"RemoteOK jobs - scrape public RSS/API","operationId":"discovery_remoteok_jobs_discovery_remoteok_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/weworkremotely/jobs":{"get":{"summary":"Discovery Weworkremotely Jobs","description":"WeWorkRemotely jobs - placeholder","operationId":"discovery_weworkremotely_jobs_discovery_weworkremotely_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/angellist/jobs":{"get":{"summary":"Discovery Angellist Jobs","description":"AngelList/Wellfound jobs - placeholder","operationId":"discovery_angellist_jobs_discovery_angellist_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/reddit/pain-points":{"post":{"summary":"Discovery Reddit Pain Points","description":"Reddit pain point detection - wires to existing scrape","operationId":"discovery_reddit_pain_points_discovery_reddit_pain_points_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/hackernews/who-is-hiring":{"get":{"summary":"Discovery Hackernews Hiring","description":"HackerNews Who's Hiring - wires to existing scrape","operationId":"discovery_hackernews_hiring_discovery_hackernews_who_is_hiring_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/twitter/pain-signals":{"post":{"summary":"Discovery Twitter Pain Signals","description":"Twitter pain signals - placeholder until API connected","operationId":"discovery_twitter_pain_signals_discovery_twitter_pain_signals_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/producthunt/launches":{"get":{"summary":"Discovery Producthunt Launches","description":"ProductHunt launches - placeholder","operationId":"discovery_producthunt_launches_discovery_producthunt_launches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/indiehackers/requests":{"get":{"summary":"Discovery Indiehackers Requests","description":"IndieHackers requests - placeholder","operationId":"discovery_indiehackers_requests_discovery_indiehackers_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/novel/broken-builds":{"post":{"summary":"Discovery Novel Broken Builds","description":"Broken Build Detector - Find repos with failing CI/CD for 7+ days.\nThese teams need help but haven't asked for it yet.","operationId":"discovery_novel_broken_builds_discovery_novel_broken_builds_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/novel/review-arbitrage":{"post":{"summary":"Discovery Novel Review Arbitrage","description":"1-Star Review Arbitrage - Mine frustrated users from app store reviews.\nFind people who hate a SaaS product and need an alternative.","operationId":"discovery_novel_review_arbitrage_discovery_novel_review_arbitrage_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/novel/changelog-collapse":{"post":{"summary":"Discovery Novel Changelog Collapse","description":"Changelog Velocity Collapse - Find SaaS products whose update frequency dropped 50%+.\nThese companies may be struggling and need help or their customers need alternatives.","operationId":"discovery_novel_changelog_collapse_discovery_novel_changelog_collapse_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/novel/producthunt-graveyard":{"post":{"summary":"Discovery Novel Producthunt Graveyard","description":"ProductHunt Graveyard - Find stalled launches (100-500 upvotes, 6-18 months old).\nThese founders got traction but stalled - perfect for consulting/dev help.","operationId":"discovery_novel_producthunt_graveyard_discovery_novel_producthunt_graveyard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/novel/solve-first":{"post":{"summary":"Discovery Novel Solve First","description":"Solve-First Outreach - Find GitHub issues to solve BEFORE reaching out.\nDeliver value first, then pitch services.","operationId":"discovery_novel_solve_first_discovery_novel_solve_first_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/novel/all":{"post":{"summary":"Discovery Novel All","description":"Run ALL novel discovery strategies in parallel.\nReturns combined opportunities from all behavioral signal sources.","operationId":"discovery_novel_all_discovery_novel_all_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/arbitrage/detect":{"get":{"summary":"Discovery Arbitrage Detect","description":"Arbitrage detection - wires to flow_arbitrage_detector","operationId":"discovery_arbitrage_detect_discovery_arbitrage_detect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/arbitrage/cross-platform":{"get":{"summary":"Discovery Arbitrage Cross Platform","description":"Cross-platform arbitrage","operationId":"discovery_arbitrage_cross_platform_discovery_arbitrage_cross_platform_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/arbitrage/underpriced":{"get":{"summary":"Discovery Arbitrage Underpriced","description":"Underpriced opportunities","operationId":"discovery_arbitrage_underpriced_discovery_arbitrage_underpriced_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/predictive/trends":{"get":{"summary":"Discovery Predictive Trends","description":"Trend analysis","operationId":"discovery_predictive_trends_discovery_predictive_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/predictive/demand-forecast":{"get":{"summary":"Discovery Predictive Demand Forecast","description":"Demand forecasting","operationId":"discovery_predictive_demand_forecast_discovery_predictive_demand_forecast_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/predictive/seasonal":{"get":{"summary":"Discovery Predictive Seasonal","description":"Seasonal pattern detection","operationId":"discovery_predictive_seasonal_discovery_predictive_seasonal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/network/referrals":{"get":{"summary":"Discovery Network Referrals","description":"Referral opportunities","operationId":"discovery_network_referrals_discovery_network_referrals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/network/viral-loops":{"get":{"summary":"Discovery Network Viral Loops","description":"Viral loop detection","operationId":"discovery_network_viral_loops_discovery_network_viral_loops_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/network/partnerships":{"get":{"summary":"Discovery Network Partnerships","description":"Partnership opportunities - legacy GET","operationId":"discovery_network_partnerships_discovery_network_partnerships_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/partners":{"post":{"summary":"Discovery Partners Post","description":"MEGA PARTNER DISCOVERY — searches EVERYWHERE for partnership opportunities.\n\nSources:\n1. Perplexity (real-time web search for brands/partners)\n2. Reddit (partnership discussions, collab requests)\n3. GitHub (open source collaborators, sponsors)\n4. IFX Orderbook (on-platform partners)\n5. User Network (active AiGentsy businesses)\n6. Alpha Discovery (multi-dimensional opportunities)","operationId":"discovery_partners_post_discovery_partners_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/outreach/targets":{"post":{"summary":"Discovery Outreach Targets","description":"Cold outreach targets","operationId":"discovery_outreach_targets_discovery_outreach_targets_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/linkedin/prospects":{"post":{"summary":"Discovery Linkedin Prospects","description":"LinkedIn prospects - placeholder","operationId":"discovery_linkedin_prospects_discovery_linkedin_prospects_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/discovery/email/opportunities":{"get":{"summary":"Discovery Email Opportunities","description":"Email-based opportunities","operationId":"discovery_email_opportunities_discovery_email_opportunities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/emergent/new-markets":{"get":{"summary":"Discovery Emergent New Markets","description":"New market detection","operationId":"discovery_emergent_new_markets_discovery_emergent_new_markets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/emergent/trend-surf":{"get":{"summary":"Discovery Emergent Trend Surf","description":"Trend surfing opportunities","operationId":"discovery_emergent_trend_surf_discovery_emergent_trend_surf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/emergent/tech-shifts":{"get":{"summary":"Discovery Emergent Tech Shifts","description":"Technology shift detection","operationId":"discovery_emergent_tech_shifts_discovery_emergent_tech_shifts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/live":{"get":{"summary":"Discovery Live Metrics","description":"Real-time discovery metrics for observatory dashboard","operationId":"discovery_live_metrics_discovery_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/latency":{"get":{"summary":"Discovery Latency Metrics","description":"Latency metrics for SLO monitoring","operationId":"discovery_latency_metrics_discovery_latency_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/errors":{"get":{"summary":"Discovery Errors","description":"Error tracking for discovery system","operationId":"discovery_errors_discovery_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/platforms":{"get":{"summary":"Discovery Platforms Status","description":"Platform health status","operationId":"discovery_platforms_status_discovery_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/slo":{"get":{"summary":"Discovery Slo Status","description":"SLO compliance status","operationId":"discovery_slo_status_discovery_slo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/shopify/products":{"get":{"summary":"Shopify Get Products","description":"Get products from Shopify store","operationId":"shopify_get_products_shopify_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/shopify/orders":{"get":{"summary":"Shopify Get Orders","description":"Get recent orders from Shopify","operationId":"shopify_get_orders_shopify_orders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Api Health","description":"Check health of ALL configured APIs","operationId":"api_health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/test-all":{"post":{"summary":"Api Test All","description":"Actually test ALL APIs with real calls","operationId":"api_test_all_api_test_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/intelligence/collect":{"post":{"summary":"Intelligence Collect","description":"Collect intelligence from ALL AI sources and feed into MetaHive\n\nThis is the CORE of AiGentsy's novel concept:\n- Claude (via OpenRouter) finds patterns\n- Perplexity provides real-time data\n- Gemini adds perspective\n- ALL learnings go to MetaHive\n- ALL AIs benefit from collective intelligence","operationId":"intelligence_collect_intelligence_collect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/audio/generate":{"post":{"summary":"Audio Generate","description":"Generate audio/voice using ElevenLabs","operationId":"audio_generate_audio_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audio/batch-generate":{"post":{"summary":"Audio Batch Generate","description":"Generate all pending audio requests using ElevenLabs","operationId":"audio_batch_generate_audio_batch_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/audio/voices":{"get":{"summary":"Audio Get Voices","description":"Get available ElevenLabs voices","operationId":"audio_get_voices_audio_voices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/video/batch-generate":{"post":{"summary":"Video Batch Generate","description":"Generate all pending video requests using Runway","operationId":"video_batch_generate_video_batch_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health/v2":{"get":{"summary":"Api Health V2","description":"Check health of ALL 10 configured APIs","operationId":"api_health_v2_api_health_v2_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pain-points/detect":{"post":{"summary":"Pain Points Detect","description":"Detect pain points from social media and forums","operationId":"pain_points_detect_pain_points_detect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/alpha":{"post":{"summary":"Discovery Alpha","description":"Run AlphaDiscoveryEngine - D1 only (real marketplace data)","operationId":"discovery_alpha_discovery_alpha_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/discovery/flow-arbitrage":{"post":{"summary":"Discovery Flow Arbitrage","description":"Detect cross-platform arbitrage opportunities","operationId":"discovery_flow_arbitrage_discovery_flow_arbitrage_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/reconcile":{"post":{"summary":"Revenue Reconcile","description":"Reconcile all revenue across systems","operationId":"revenue_reconcile_revenue_reconcile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pricing/optimize":{"post":{"summary":"Pricing Optimize","description":"Run intelligent pricing optimization across all users","operationId":"pricing_optimize_pricing_optimize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ocl/auto-repay":{"post":{"summary":"Ocl Auto Repay","description":"Auto-repay OCL loans from user earnings","operationId":"ocl_auto_repay_ocl_auto_repay_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/p2p/match-loans":{"post":{"summary":"P2P Match Loans","description":"Match P2P lending offers with requests","operationId":"p2p_match_loans_p2p_match_loans_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/escrow/auto-release":{"post":{"summary":"Escrow Auto Release","description":"Auto-release escrows that have matured","operationId":"escrow_auto_release_escrow_auto_release_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payments/batch-execute":{"post":{"summary":"Payments Batch Execute","description":"Execute all pending batch payments","operationId":"payments_batch_execute_payments_batch_execute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fulfillment/process-queue":{"post":{"summary":"Fulfillment Process Queue","description":"Process all pending fulfillments in the queue.\nCalled by autonomous-execution.yml Phase 19.","operationId":"fulfillment_process_queue_fulfillment_process_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fulfillment/code-generation":{"post":{"summary":"Fulfillment Code Generation","description":"Generate code solution for a GitHub issue using AI.\n\nUsed by polymorphic immediate execution flow for GitHub bounties.\nTakes analysis and opportunity, returns generated solution.","operationId":"fulfillment_code_generation_fulfillment_code_generation_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/auto-deliver":{"post":{"summary":"Fulfillment Auto Deliver","description":"Auto-deliver completed work to clients.\nCalled by autonomous-execution.yml Phase 19.","operationId":"fulfillment_auto_deliver_fulfillment_auto_deliver_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fulfillment/revision":{"post":{"summary":"Fulfillment Revision","description":"Record a client revision and learn from feedback.\n\nThis endpoint:\n1. Captures the original output, revision request, and final output\n2. Extracts patterns from what the client wanted changed\n3. Updates prompt modifiers for future generations\n4. Creates a feedback flywheel for continuous improvement\n\nBody:\n    opportunity_id: str - ID of the opportunity/project\n    project_type: str - Type of project (landing_page, api, content, etc.)\n    original_output: str - What we initially delivered\n    revision_request: str - What the client asked to change\n    final_output: str - The revised version they accepted\n    client_satisfied: bool - Whether client was satisfied (default True)","operationId":"fulfillment_revision_fulfillment_revision_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/learned-modifiers/{project_type}":{"get":{"summary":"Get Fulfillment Learned Modifiers","description":"Get learned prompt modifiers for a project type.\n\nThese modifiers are extracted from client revisions and can be\nused to enhance prompts for future generations.","operationId":"get_fulfillment_learned_modifiers_fulfillment_learned_modifiers__project_type__get","parameters":[{"required":true,"schema":{"type":"string","title":"Project Type"},"name":"project_type","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/batch-payouts":{"post":{"summary":"Stripe Batch Payouts","description":"Process batch payouts via Stripe.\nCalled by autonomous-execution.yml Phase 19e.","operationId":"stripe_batch_payouts_stripe_batch_payouts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/test/simulate-delivery":{"post":{"summary":"Test Simulate Delivery","description":"TEST ENDPOINT: Simulate workflow delivery for testing payment flow.\n\nBody: {\n    \"workflow_id\": \"...\",  # optional - uses first pending workflow if not provided\n    \"value\": 500,  # optional - simulated value\n    \"platform\": \"direct\",  # platform type: direct, github, upwork\n    \"force_success\": true  # bypass actual delivery - just test payment flow\n}\n\nThis advances a workflow to DELIVERED stage and triggers payment request creation.","operationId":"test_simulate_delivery_test_simulate_delivery_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/send-invoices":{"post":{"summary":"Stripe Send Invoices","description":"Send Stripe invoices for all delivered work awaiting payment.\nCalled by autonomous-execution.yml Phase 19f.\n\nCreates invoices/payment links for delivered workflows that:\n- Have no payment_request yet\n- Are from non-bounty platforms (bounties use platform payout)","operationId":"stripe_send_invoices_stripe_send_invoices_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payments/status":{"get":{"summary":"Payments Status","description":"Get comprehensive payment status across all 27+ platform workflows.\nTracks: bounties, escrow, job offers, design work, community contracts, invoices.","operationId":"payments_status_payments_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ipvault/royalty-sweep":{"post":{"summary":"Ipvault Royalty Sweep","description":"Collect all pending IP royalties","operationId":"ipvault_royalty_sweep_ipvault_royalty_sweep_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clients/predict-success":{"post":{"summary":"Clients Predict Success","description":"Predict client success and trigger interventions","operationId":"clients_predict_success_clients_predict_success_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/verification/batch":{"post":{"summary":"Verification Batch","description":"Verify all pending deliverables","operationId":"verification_batch_verification_batch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reputation/update-batch":{"post":{"summary":"Reputation Update Batch","description":"Update reputation scores for all users","operationId":"reputation_update_batch_reputation_update_batch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/franchise/process-royalties":{"post":{"summary":"Franchise Process Royalties","description":"Process franchise royalty payments","operationId":"franchise_process_royalties_franchise_process_royalties_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/process-renewals":{"post":{"summary":"Subscriptions Process Renewals","description":"Process subscription renewals","operationId":"subscriptions_process_renewals_subscriptions_process_renewals_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/slo/check-compliance":{"post":{"summary":"Slo Check Compliance","description":"Check SLO compliance for all active contracts","operationId":"slo_check_compliance_slo_check_compliance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/analytics/daily-snapshot":{"post":{"summary":"Analytics Daily Snapshot","description":"Generate daily analytics snapshot","operationId":"analytics_daily_snapshot_analytics_daily_snapshot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reports/revenue":{"post":{"summary":"Reports Revenue","description":"Generate revenue report","operationId":"reports_revenue_reports_revenue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/csuite/analyze-all":{"post":{"summary":"Csuite Analyze All","description":"Run C-Suite strategic analysis across all users","operationId":"csuite_analyze_all_csuite_analyze_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/week2/execute":{"post":{"summary":"Week2 Execute","description":"Execute Week2 master orchestrator plan","operationId":"week2_execute_week2_execute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conductor/run-cycle":{"post":{"summary":"Conductor Run Cycle","description":"Run AiGentsy conductor autonomous cycle","operationId":"conductor_run_cycle_conductor_run_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/generate-pitches":{"post":{"summary":"Ame Generate Pitches","description":"Generate pitches for opportunities","operationId":"ame_generate_pitches_ame_generate_pitches_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/syndication/process":{"post":{"summary":"Syndication Process","description":"Process content syndication across platforms","operationId":"syndication_process_syndication_process_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/darkpool/match":{"post":{"summary":"Darkpool Match","description":"Match dark pool orders","operationId":"darkpool_match_darkpool_match_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sponsors/distribute":{"post":{"summary":"Sponsors Distribute","description":"Distribute sponsor pool rewards","operationId":"sponsors_distribute_sponsors_distribute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autonomous/v90/health":{"get":{"summary":"Autonomous V90 Health","description":"Complete health check for v90 autonomous systems","operationId":"autonomous_v90_health_autonomous_v90_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/persist":{"post":{"summary":"Persist Reconciliation","description":"Save reconciliation state to JSONBin","operationId":"persist_reconciliation_reconciliation_persist_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/load":{"post":{"summary":"Load Reconciliation","description":"Load reconciliation state from JSONBin","operationId":"load_reconciliation_reconciliation_load_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/record-activity":{"post":{"summary":"Record Reconciliation Activity","description":"Record any autonomous activity for reconciliation","operationId":"record_reconciliation_activity_reconciliation_record_activity_post","parameters":[{"required":true,"schema":{"type":"string","title":"Activity Type"},"name":"activity_type","in":"query"},{"required":true,"schema":{"type":"string","title":"Endpoint"},"name":"endpoint","in":"query"},{"required":false,"schema":{"type":"string","title":"Owner","default":"user"},"name":"owner","in":"query"},{"required":false,"schema":{"type":"string","title":"Revenue Path","default":"path_a_user"},"name":"revenue_path","in":"query"},{"required":false,"schema":{"type":"number","title":"Amount","default":0.0},"name":"amount","in":"query"},{"required":false,"schema":{"type":"number","title":"Fee Collected","default":0.0},"name":"fee_collected","in":"query"},{"required":false,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Details"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/dashboard":{"get":{"summary":"Get Wade Dashboard","description":"Wade's approval dashboard - UNIFIED VERSION\nReturns opportunities in correct format for frontend","operationId":"get_wade_dashboard_wade_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/autonomous-execute":{"post":{"summary":"Wade Autonomous Execute","description":"FULLY AUTONOMOUS EXECUTION\n\nRuns the complete autonomous loop:\n1. Discovery → Find opportunities across 27+ platforms\n2. Auto-approve high-confidence opportunities\n3. Execute fulfillment (code gen, content, graphics)\n4. Deliver to platform (GitHub PR, Upwork submission, etc.)\n5. Create Stripe payment link\n6. Post payment dialogue to platform\n\nCalled by GitHub Actions autonomous-execution.yml\n\nBody params:\n- limit: Max opportunities to process (default 10)\n- min_confidence: Minimum confidence threshold (default 0.7)\n- auto_approve: Auto-approve all discovered (default True)\n- platforms: List of platforms to process (default: all)","operationId":"wade_autonomous_execute_wade_autonomous_execute_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/autonomous-discovery-to-payment":{"post":{"summary":"Wade Full Autonomous Loop","description":"COMPLETE AUTONOMOUS LOOP: Discovery → Payment Collection\n\nSingle endpoint that runs the entire pipeline:\n1. Discover opportunities (all 7 dimensions, 27+ platforms)\n2. Auto-approve high-value opportunities\n3. Execute work\n4. Deliver to platform\n5. Create payment link\n6. Post payment dialogue\n7. Return summary\n\nThis is the \"set it and forget it\" endpoint.","operationId":"wade_full_autonomous_loop_wade_autonomous_discovery_to_payment_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/full-cycle":{"post":{"summary":"Run Full Autonomous Cycle","description":"MASTER AUTONOMOUS CYCLE\n\nRuns the COMPLETE end-to-end autonomous revenue pipeline:\n\nPHASE 1: DISCOVERY (All 7 Dimensions)\n- Explicit Marketplaces: GitHub, Upwork, Fiverr, Freelancer, etc.\n- Pain Point Detection: Reddit, HackerNews, Twitter, ProductHunt\n- Flow Arbitrage: Pricing inefficiencies\n- Predictive Intelligence: Trend forecasting\n- Network Amplification: Referrals, viral loops\n- Opportunity Creation: Proactive outreach\n- Emergent Patterns: New market detection\n\nPHASE 2: COMMUNICATION (Multi-Channel)\n- Email: Postmark/SendGrid\n- DM: Twitter, LinkedIn, Platform\n- SMS: Twilio\n- Platform: GitHub comments, Reddit replies\n\nPHASE 3: CONTRACT & AGREEMENT\n- Contract generation\n- Digital signatures\n- Deposit collection\n- Milestone tracking\n\nPHASE 4: FULFILLMENT\n- Code generation (Claude, GPT-4)\n- Content creation\n- Graphics (Stable Diffusion, DALL-E)\n- Audio/Video generation\n- Deployment\n\nPHASE 5: PAYMENT COLLECTION\n- Stripe invoices & payment links\n- Escrow release requests\n- Bounty claims\n- Subscription renewals\n\nZero human intervention required.","operationId":"run_full_autonomous_cycle_autonomous_full_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/discovery-all-dimensions":{"post":{"summary":"Run Discovery All Dimensions","description":"Run discovery across ALL 7 dimensions.\n\nReturns opportunities from 27+ platforms.","operationId":"run_discovery_all_dimensions_autonomous_discovery_all_dimensions_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/communicate-all-channels":{"post":{"summary":"Run Communication All Channels","description":"Initiate communication across ALL channels.\n\nBody: {\"opportunities\": [...]}","operationId":"run_communication_all_channels_autonomous_communicate_all_channels_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/contract-flow":{"post":{"summary":"Run Contract Flow","description":"Handle contract and agreement flow.\n\nBody: {\"conversations\": [...]}","operationId":"run_contract_flow_autonomous_contract_flow_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/fulfillment":{"post":{"summary":"Run Autonomous Fulfillment","description":"Execute fulfillment for signed contracts.\n\nBody: {\"contracts\": [...]}","operationId":"run_autonomous_fulfillment_autonomous_fulfillment_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autonomous/payment-collection":{"post":{"summary":"Run Payment Collection","description":"Collect all pending payments across platforms.\n\n- Stripe invoices\n- Escrow releases\n- Bounty claims\n- Subscriptions","operationId":"run_payment_collection_autonomous_payment_collection_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/approve-all":{"post":{"summary":"Approve All Wade Workflows","description":"Approve ALL pending workflows in one click\nThis is what the dashboard's \"Approve All\" button calls","operationId":"approve_all_wade_workflows_wade_approve_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/workflow/{workflow_id}/approve":{"post":{"summary":"Approve Wade Workflow","description":"Wade approves a single workflow (individual checkmark button)","operationId":"approve_wade_workflow_wade_workflow__workflow_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/workflow/{workflow_id}/reject":{"post":{"summary":"Reject Wade Workflow","description":"Wade rejects a workflow (X button)","operationId":"reject_wade_workflow_wade_workflow__workflow_id__reject_post","parameters":[{"required":true,"schema":{"type":"string","title":"Workflow Id"},"name":"workflow_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Reason"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ame/process-queue":{"post":{"summary":"Ame Process Queue Live","description":"LIVE AME Queue Processing\n1. Get all approved pitches\n2. Send them via appropriate channel (email, DM, etc)\n3. Track results\n4. Feed back to Yield Memory","operationId":"ame_process_queue_live_ame_process_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ame/generate-batch":{"post":{"summary":"Ame Generate Batch","description":"Generate a batch of pitches from discovered opportunities","operationId":"ame_generate_batch_ame_generate_batch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/amg/run-cycle":{"post":{"summary":"Amg Run Full Cycle","description":"Run the FULL AMG cycle:\nSENSE → SCORE → PRICE → BUDGET → FINANCE → ROUTE → ASSURE → SETTLE → ATTRIBUTE → RE-ALLOCATE","operationId":"amg_run_full_cycle_amg_run_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/amg/optimize-pricing":{"post":{"summary":"Amg Optimize Pricing","description":"Use AMG to optimize pricing for an offer","operationId":"amg_optimize_pricing_amg_optimize_pricing_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monetization/third-party":{"post":{"summary":"Monetization Third Party Live","description":"LIVE Third-party monetization processing\nProcesses all active sessions and applies monetization tactics","operationId":"monetization_third_party_live_monetization_third_party_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/monetization/track-visitor":{"post":{"summary":"Monetization Track Visitor","description":"Track incoming visitor and set up monetization session","operationId":"monetization_track_visitor_monetization_track_visitor_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/monetization/convert":{"post":{"summary":"Monetization Record Conversion","description":"Record a conversion and attribute revenue","operationId":"monetization_record_conversion_monetization_convert_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/social/process-queue":{"post":{"summary":"Social Process Queue Live","description":"LIVE Social queue processing\nPosts scheduled content to all connected platforms","operationId":"social_process_queue_live_social_process_queue_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/social/auto-generate":{"post":{"summary":"Social Auto Generate","description":"Auto-generate content for social platforms using AI","operationId":"social_auto_generate_social_auto_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/yield/store-pattern":{"post":{"summary":"Yield Store Pattern","description":"Store a pattern (success or failure) for learning","operationId":"yield_store_pattern_yield_store_pattern_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/yield/best-action/{username}":{"get":{"summary":"Yield Get Best Action","description":"Get the best action based on learned patterns","operationId":"yield_get_best_action_yield_best_action__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"},{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"string","title":"Context","default":"{}"},"name":"context","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/yield/stats/{username}":{"get":{"summary":"Yield Get Stats","description":"Get Yield Memory statistics for a user","operationId":"yield_get_stats_yield_stats__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hive/stats":{"get":{"summary":"Hive Stats","description":"Get MetaHive statistics","operationId":"hive_stats_hive_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hive/top-patterns":{"get":{"summary":"Hive Top Patterns","description":"Get top performing patterns from the hive","operationId":"hive_top_patterns_hive_top_patterns_get","parameters":[{"required":false,"schema":{"type":"string","title":"Pattern Type"},"name":"pattern_type","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/process-discoveries":{"post":{"summary":"Wade Process Discoveries","description":"Process discovered opportunities and queue Wade-fulfillable ones","operationId":"wade_process_discoveries_wade_process_discoveries_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/execute-approved":{"post":{"summary":"Wade Execute Approved","description":"Execute all approved Wade workflows","operationId":"wade_execute_approved_wade_execute_approved_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/orchestrator/full-cycle":{"post":{"summary":"Orchestrator Full Cycle","description":"MASTER ORCHESTRATOR - Runs the complete AiGentsy autonomous cycle\n\nNow includes Universal Revenue Orchestrator for:\n- Spawn Engine (autonomous business creation)\n- Fiverr Orders (process & fulfill)\n- Cart Recovery (Shopify abandoned carts)\n- Subscriptions (MRR)\n- Social Posting (TikTok, Instagram, Twitter)\n\nFULL SEQUENCE:\n1. Discovery - Alpha Discovery (7 dimensions, multi-AI)\n2. Routing - Route to users or Wade\n3. AMG Cycle - Optimize monetization\n4. AME Processing - Send approved pitches\n5. Social Processing - Post scheduled content\n6. Third-party Monetization - Convert traffic\n7. Wade Execution - Fulfill Wade workflows\n8. Learning - Store patterns, contribute to hive\n9. Reconciliation - Track all revenue\n10. Universal Revenue Orchestrator (Spawn, Fiverr, Cart Recovery, etc.)","operationId":"orchestrator_full_cycle_orchestrator_full_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/balance":{"get":{"summary":"Admin Get Balance","description":"Get current Stripe balance for AiGentsy LLC\nShows available and pending funds","operationId":"admin_get_balance_admin_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/revenue":{"get":{"summary":"Admin Get Revenue","description":"Get revenue breakdown by path for the last N days\nPath A = Platform fees from user transactions\nPath B = Wade direct fulfillment","operationId":"admin_get_revenue_admin_revenue_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Days","default":30},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/payments":{"get":{"summary":"Admin Get Payments","description":"Get recent successful payments to AiGentsy","operationId":"admin_get_payments_admin_payments_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/payout":{"post":{"summary":"Admin Initiate Payout","description":"Initiate payout from Stripe to your bank account\nIf amount is None, pays out entire available balance\n\nBody: { amount?: float }  (omit for full balance)","operationId":"admin_initiate_payout_admin_payout_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/billing-dashboard":{"get":{"summary":"Admin Billing Dashboard","description":"Unified billing dashboard — aggregates revenue, fees, settlements,\nand forecasts across all monetization engines.","operationId":"admin_billing_dashboard_admin_billing_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wade/payment-link":{"post":{"summary":"Wade Create Payment Link","description":"Create a Stripe Payment Link for Wade fulfillment\nPayment goes directly to AiGentsy LLC\n\nBody: {\n    amount: float,\n    description: str,\n    workflow_id: str,\n    client_email?: str\n}","operationId":"wade_create_payment_link_wade_payment_link_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wade/invoice":{"post":{"summary":"Wade Create Invoice","description":"Create a Stripe Invoice for Wade fulfillment\nMore formal than payment link - good for larger amounts\n\nBody: {\n    amount: float,\n    client_email: str,\n    description: str,\n    workflow_id: str,\n    due_days?: int (default 7)\n}","operationId":"wade_create_invoice_wade_invoice_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/services/catalog":{"get":{"summary":"Services Catalog","description":"Get full service catalog with AI pricing","operationId":"services_catalog_services_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/services/{service_type}/pricing":{"get":{"summary":"Service Pricing","description":"Get detailed pricing for a service","operationId":"service_pricing_services__service_type__pricing_get","parameters":[{"required":true,"schema":{"type":"string","title":"Service Type"},"name":"service_type","in":"path"},{"required":false,"schema":{"type":"string","title":"Tier","default":"standard"},"name":"tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/create":{"post":{"summary":"Create Deal Endpoint","description":"Create a new deal with accept link\n\nBody: {\n    workflow_id: str,\n    service_type: str,\n    tier?: \"express\" | \"standard\" | \"budget\",\n    client_email?: str,\n    custom_price?: float,\n    custom_description?: str\n}","operationId":"create_deal_endpoint_deals_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}":{"get":{"summary":"Get Deal Details","description":"Get deal details","operationId":"get_deal_details_deals__deal_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Token"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/accept":{"post":{"summary":"Accept Deal Endpoint","description":"Client accepts deal - authorizes payment\n\nBody: {\n    token: str,\n    client_name: str,\n    client_email: str,\n    disclosures_accepted: bool,\n    terms_accepted: bool,\n    payment_method_id?: str\n}","operationId":"accept_deal_endpoint_deals__deal_id__accept_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/start":{"post":{"summary":"Start Deal","description":"Wade marks deal as in progress","operationId":"start_deal_deals__deal_id__start_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/deliver":{"post":{"summary":"Deliver Deal","description":"Submit delivery for client review\n\nBody: {\n    deliverables: [{type, name, url/content}],\n    quality_scores?: {check_name: score}\n}","operationId":"deliver_deal_deals__deal_id__deliver_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/approve":{"post":{"summary":"Approve Deal Endpoint","description":"Client approves delivery - triggers payment capture\n\nBody: {token: str, rating?: int}","operationId":"approve_deal_endpoint_deals__deal_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/revision":{"post":{"summary":"Request Revision","description":"Client requests revisions\n\nBody: {token: str, revision_notes: str}","operationId":"request_revision_deals__deal_id__revision_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/{deal_id}/dispute":{"post":{"summary":"Dispute Deal","description":"Client disputes delivery\n\nBody: {token: str, reason: str}","operationId":"dispute_deal_deals__deal_id__dispute_post","parameters":[{"required":true,"schema":{"type":"string","title":"Deal Id"},"name":"deal_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deals/stats":{"get":{"summary":"Deals Stats","description":"Get deal statistics","operationId":"deals_stats_deals_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/pending":{"get":{"summary":"Pending Deals Endpoint","description":"Get deals awaiting client acceptance","operationId":"pending_deals_endpoint_deals_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/in-progress":{"get":{"summary":"In Progress Deals Endpoint","description":"Get deals being worked on","operationId":"in_progress_deals_endpoint_deals_in_progress_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deals/awaiting-approval":{"get":{"summary":"Awaiting Approval Deals Endpoint","description":"Get delivered deals awaiting client approval","operationId":"awaiting_approval_deals_endpoint_deals_awaiting_approval_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/cycle":{"post":{"summary":"Runtime Full Cycle","description":"🚀 THE BIG ONE - Run complete 15-phase autonomous cycle\n\nPhases:\n1. Discovery (27 platforms, 7 dimensions)\n2. Execution (smart filtering, prioritization)\n3. Social (content posting)\n4. AMG (10-stage revenue optimization)\n5. R3 (revenue reinvestment)\n6. Learning (MetaHive pattern sync)\n7. JV Matching (partner discovery)\n8. Value Chain (multi-device chains)\n9. Reconciliation (cross-platform tracking)\n10. Arbitrage (cross-platform opportunities)\n11. Success Prediction (churn prevention)\n12. Boosters (referral, streak, milestone)\n13. Proof Verification (POS, bookings, invoices)\n14. Team Formation (MetaBridge)\n15. Syndication (partner network routing)","operationId":"runtime_full_cycle_runtime_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/status":{"get":{"summary":"Runtime Status","description":"Get status of all 85 wired systems","operationId":"runtime_status_runtime_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/discovery":{"post":{"summary":"Runtime Discovery","description":"Run discovery phase only (27 platforms, 7 dimensions)","operationId":"runtime_discovery_runtime_discovery_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/execution":{"post":{"summary":"Runtime Execution","description":"Run execution phase only (smart filtering, auto-execute high confidence)","operationId":"runtime_execution_runtime_execution_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/social":{"post":{"summary":"Runtime Social","description":"Run social posting phase only","operationId":"runtime_social_runtime_social_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/amg":{"post":{"summary":"Runtime Amg","description":"Run AMG 10-stage revenue optimization cycle","operationId":"runtime_amg_runtime_amg_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/arbitrage":{"post":{"summary":"Runtime Arbitrage","description":"Run cross-platform arbitrage scan","operationId":"runtime_arbitrage_runtime_arbitrage_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/proofs":{"post":{"summary":"Runtime Proofs","description":"Run proof verification (POS receipts, bookings, invoices)","operationId":"runtime_proofs_runtime_proofs_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/teams":{"post":{"summary":"Runtime Teams","description":"Run MetaBridge team formation for complex jobs","operationId":"runtime_teams_runtime_teams_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/runtime/syndication":{"post":{"summary":"Runtime Syndication","description":"Run cross-network syndication (overflow to partner networks)","operationId":"runtime_syndication_runtime_syndication_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents/deploy":{"post":{"summary":"Deploy Agents Endpoint","description":"Deploy 4 AI agents for user's business\n\nAgents deployed based on template_type:\n- saas: Sales Agent, Developer Support, Developer Relations, Finance\n- marketing: Lead Qualification, Campaign Manager, Content Marketing, Finance\n- social: Content Strategist, Engagement Manager, Growth Specialist, Finance\n\nBody: {\n    \"username\": \"wade4802\",\n    \"template_type\": \"saas\",  # or \"marketing\" or \"social\"\n    \"website_url\": \"https://wade4802.aigentsy.com\",\n    \"config\": {},  # optional\n    \"database_credentials\": {},  # optional\n    \"user_data\": {}  # optional\n}","operationId":"deploy_agents_endpoint_agents_deploy_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agents/configs":{"get":{"summary":"Get Agent Configs","description":"Get available agent configurations by template type","operationId":"get_agent_configs_agents_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/run-cycle":{"post":{"summary":"Run Spawn Cycle","description":"Run a full auto-spawn cycle: detect → spawn → manage → report","operationId":"run_spawn_cycle_spawn_run_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/dashboard":{"get":{"summary":"Spawn Dashboard","description":"Get auto-spawn dashboard data","operationId":"spawn_dashboard_spawn_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/businesses":{"get":{"summary":"List Spawned Businesses","description":"List all spawned businesses with optional filters","operationId":"list_spawned_businesses_spawn_businesses_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/businesses/{spawn_id}":{"get":{"summary":"Get Spawned Business","description":"Get detailed info about a spawned business","operationId":"get_spawned_business_spawn_businesses__spawn_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/detect-trends":{"post":{"summary":"Detect Trends","description":"Scan for new trend signals across all sources","operationId":"detect_trends_spawn_detect_trends_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/force-spawn":{"post":{"summary":"Force Spawn","description":"Force spawn a business from a specific category/niche","operationId":"force_spawn_spawn_force_spawn_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/adoptable":{"get":{"summary":"Get Adoptable Spawns","description":"Get businesses available for user adoption","operationId":"get_adoptable_spawns_spawn_adoptable_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/adopt/{spawn_id}":{"post":{"summary":"Adopt Spawn","description":"Adopt a spawned business (user takes ownership)","operationId":"adopt_spawn_spawn_adopt__spawn_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/lifecycle-check":{"post":{"summary":"Spawn Lifecycle Check","description":"Run lifecycle checks on all spawned businesses","operationId":"spawn_lifecycle_check_spawn_lifecycle_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/templates":{"get":{"summary":"List Spawn Templates","description":"List all available business templates (built-in + custom)","operationId":"list_spawn_templates_spawn_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/templates/register":{"post":{"summary":"Register Spawn Template","description":"Register a custom business template.\n\nExample body:\n{\n    \"category\": \"consulting\",\n    \"name_patterns\": [\"{Niche} Consulting\", \"{Niche} Advisors\"],\n    \"services\": [\n        {\"name\": \"Strategy Call\", \"price\": 199, \"delivery_hours\": 1, \"features\": [\"1 hour call\", \"Recording\", \"Action plan\"]}\n    ],\n    \"hooks\": [\"🎯 {Niche} expertise on demand\"],\n    \"platforms\": [\"linkedin\", \"twitter\"],\n    \"fulfillment\": \"human_ai_hybrid\",\n    \"landing_template\": \"professional_service\"\n}","operationId":"register_spawn_template_spawn_templates_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/templates/{template_name}":{"get":{"summary":"Get Actionized Template","description":"Get details of an Actionized landing page template","operationId":"get_actionized_template_spawn_templates__template_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Template Name"},"name":"template_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/network/stats":{"get":{"summary":"Spawn Network Stats","description":"Get network-wide stats for cross-promotion","operationId":"spawn_network_stats_spawn_network_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/network/promos/{spawn_id}":{"get":{"summary":"Get Spawn Promos","description":"Get all cross-promotion opportunities for a specific spawn","operationId":"get_spawn_promos_spawn_network_promos__spawn_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/network/generate-promos":{"post":{"summary":"Generate Network Promos","description":"Generate cross-promotions for all active spawns","operationId":"generate_network_promos_spawn_network_generate_promos_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/network/checkout-upsells/{spawn_id}":{"get":{"summary":"Get Checkout Upsells","description":"Get 'You might also like' suggestions for checkout page","operationId":"get_checkout_upsells_spawn_network_checkout_upsells__spawn_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/network/email-crosssell/{spawn_id}":{"get":{"summary":"Get Email Crosssell","description":"Get cross-sell email content for a spawn's customers","operationId":"get_email_crosssell_spawn_network_email_crosssell__spawn_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Spawn Id"},"name":"spawn_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/network/create-bundle":{"post":{"summary":"Create Bundle","description":"Create a bundle deal across multiple spawns","operationId":"create_bundle_spawn_network_create_bundle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/network/audience-pool":{"get":{"summary":"Get Audience Pool","description":"Get shared audience pool across all spawns for retargeting","operationId":"get_audience_pool_spawn_network_audience_pool_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/network/recommendations":{"get":{"summary":"Get Network Recommendations","description":"Get personalized spawn recommendations based on purchase history","operationId":"get_network_recommendations_spawn_network_recommendations_get","parameters":[{"required":false,"schema":{"type":"string","title":"Customer Email"},"name":"customer_email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue-orchestrator/run-cycle":{"post":{"summary":"Revenue Orchestrator Run Cycle","description":"UNIVERSAL REVENUE ORCHESTRATOR - Complete money-making cycle\n\nPHASE 1: DISCOVERY & SPAWN - Scan 27+ platforms + AI\nPHASE 2: SOCIAL PROMOTION - Auto-post to TikTok, Instagram, Twitter\nPHASE 3: FIVERR ORDERS - Process and fulfill via AI\nPHASE 4: CART RECOVERY - Shopify abandoned carts\nPHASE 5: SUBSCRIPTIONS - Process MRR renewals\nPHASE 6: ARBITRAGE - Cross-platform profit opportunities\nPHASE 7: REVENUE TRACKING - Unified reconciliation","operationId":"revenue_orchestrator_run_cycle_revenue_orchestrator_run_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/dashboard":{"get":{"summary":"Revenue Orchestrator Dashboard","description":"Get unified dashboard across ALL monetization systems","operationId":"revenue_orchestrator_dashboard_revenue_orchestrator_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/revenue-summary":{"get":{"summary":"Revenue Orchestrator Revenue Summary","description":"Get revenue summary across all channels","operationId":"revenue_orchestrator_revenue_summary_revenue_orchestrator_revenue_summary_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Hours","default":24},"name":"hours","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue-orchestrator/systems":{"get":{"summary":"Revenue Orchestrator Systems","description":"Get status of all integrated systems","operationId":"revenue_orchestrator_systems_revenue_orchestrator_systems_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/fiverr/process-orders":{"post":{"summary":"Revenue Orchestrator Fiverr Process","description":"Process Fiverr orders via orchestrator","operationId":"revenue_orchestrator_fiverr_process_revenue_orchestrator_fiverr_process_orders_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/cart-recovery":{"post":{"summary":"Revenue Orchestrator Cart Recovery","description":"Run cart recovery cycle","operationId":"revenue_orchestrator_cart_recovery_revenue_orchestrator_cart_recovery_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/social/post-spawns":{"post":{"summary":"Revenue Orchestrator Post Spawns","description":"Post all pending spawn announcements to social media","operationId":"revenue_orchestrator_post_spawns_revenue_orchestrator_social_post_spawns_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/arbitrage/find":{"post":{"summary":"Revenue Orchestrator Arbitrage Find","description":"Find arbitrage opportunities","operationId":"revenue_orchestrator_arbitrage_find_revenue_orchestrator_arbitrage_find_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/subscriptions/mrr":{"get":{"summary":"Revenue Orchestrator Mrr","description":"Get MRR stats","operationId":"revenue_orchestrator_mrr_revenue_orchestrator_subscriptions_mrr_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue-orchestrator/fulfill":{"post":{"summary":"Revenue Orchestrator Fulfill","description":"Fulfill work via AI (video, audio, graphics, content)\n\nBody: {\"work_type\": \"video\"|\"audio\"|\"graphics\"|\"content\", \"spec\": {...}}","operationId":"revenue_orchestrator_fulfill_revenue_orchestrator_fulfill_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/test/everything":{"get":{"summary":"Test Everything","description":"🧪 TEST EVERYTHING - Quick system health check\nFor full endpoint test, use /test/full","operationId":"test_everything_test_everything_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Test Everything","description":"🧪 TEST EVERYTHING - Quick system health check\nFor full endpoint test, use /test/full","operationId":"test_everything_test_everything_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/test/full":{"get":{"summary":"Test Full","description":"🧪 TEST FULL - Verifies ALL 821 endpoints are registered\n\nUsage: curl https://your-url.com/test/full | jq","operationId":"test_full_test_full_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Test Full","description":"🧪 TEST FULL - Verifies ALL 821 endpoints are registered\n\nUsage: curl https://your-url.com/test/full | jq","operationId":"test_full_test_full_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/domination/scan-all":{"post":{"tags":["Internet Domination"],"summary":"Domination Scan All","description":"REAL Internet Domination Scan\n\nPhase 1: Free sources (GitHub, Reddit, HN) - WORKS NOW\nPhase 2: Paid sources (SerpAPI) - WORKS WHEN API KEY SET\n\nReturns REAL opportunities, not empty arrays!","operationId":"domination_scan_all_domination_scan_all_post","requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/DominationConfig"}],"title":"Config","default":{"use_free":true,"use_paid":true,"max_opportunities":500}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/domination/opportunities":{"get":{"tags":["Internet Domination"],"summary":"Get Domination Opportunities","description":"Get cached opportunities from last scan","operationId":"get_domination_opportunities_domination_opportunities_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sniper/fresh-opportunities":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Sniper Fresh Opportunities","description":"Find opportunities posted in last N minutes","operationId":"sniper_fresh_opportunities_sniper_fresh_opportunities_post","requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SniperConfig"}],"title":"Config","default":{"max_age_minutes":60,"min_ev":50.0,"max_bids":20}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sniper/auto-bid":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Sniper Auto Bid","description":"Auto-bid on high-EV fresh opportunities","operationId":"sniper_auto_bid_sniper_auto_bid_post","parameters":[{"required":false,"schema":{"type":"number","title":"Min Ev","default":50},"name":"min_ev","in":"query"},{"required":false,"schema":{"type":"integer","title":"Max Bids","default":20},"name":"max_bids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sniper/first-mover-stats":{"get":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Sniper First Mover Stats","description":"Get first-mover advantage statistics","operationId":"sniper_first_mover_stats_sniper_first_mover_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/swarm/compete":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Swarm Compete","description":"Run AI competition - best output wins","operationId":"swarm_compete_swarm_compete_post","requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SwarmConfig"}],"title":"Config","default":{"task_type":"all","workers":["claude","gpt4","perplexity"]}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/swarm/cross-learn":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Swarm Cross Learn","description":"Cross-learning: losers learn from winners","operationId":"swarm_cross_learn_swarm_cross_learn_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/kelly/calculate":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Kelly Calculate","description":"Calculate optimal bet sizes using Kelly Criterion","operationId":"kelly_calculate_kelly_calculate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/kelly/apply":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Kelly Apply","description":"Apply Kelly allocations to portfolio","operationId":"kelly_apply_kelly_apply_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/kelly/rebalance":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Kelly Rebalance","description":"Rebalance portfolio according to Kelly","operationId":"kelly_rebalance_kelly_rebalance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fx/scan-spreads":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Fx Scan Spreads","description":"Scan FX spreads for arbitrage opportunities","operationId":"fx_scan_spreads_fx_scan_spreads_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fx/geo-price":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Fx Geo Price","description":"Set geo-aware pricing","operationId":"fx_geo_price_fx_geo_price_post","parameters":[{"required":false,"schema":{"type":"string","title":"Optimize","default":"revenue"},"name":"optimize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fx/auto-convert":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Fx Auto Convert","description":"Auto-convert earnings to strongest currency","operationId":"fx_auto_convert_fx_auto_convert_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/perpetual/process-completions":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Perpetual Process Completions","description":"Process completed deals and trigger follow-up actions","operationId":"perpetual_process_completions_perpetual_process_completions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/perpetual/auto-upsell":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Perpetual Auto Upsell","description":"Auto-send upsell offers to recent completions","operationId":"perpetual_auto_upsell_perpetual_auto_upsell_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/perpetual/request-referrals":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Perpetual Request Referrals","description":"Request referrals from satisfied customers","operationId":"perpetual_request_referrals_perpetual_request_referrals_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/perpetual/case-study-pipeline":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Perpetual Case Study Pipeline","description":"Generate case studies -> content -> leads pipeline","operationId":"perpetual_case_study_pipeline_perpetual_case_study_pipeline_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/waves/predict":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Waves Predict","description":"Predict demand spikes 24-72h ahead","operationId":"waves_predict_waves_predict_post","parameters":[{"required":false,"schema":{"type":"integer","title":"Horizon Hours","default":72},"name":"horizon_hours","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/waves/pre-position":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Waves Pre Position","description":"Pre-position capacity for predicted waves","operationId":"waves_pre_position_waves_pre_position_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/waves/premium-pricing":{"post":{"tags":["Apex Dominator v97","Apex Dominator v97"],"summary":"Waves Premium Pricing","description":"Apply premium pricing during demand waves","operationId":"waves_premium_pricing_waves_premium_pricing_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/ai-family":{"get":{"summary":"Get Reconciliation Ai Family","description":"Get AI Family stats from reconciliation","operationId":"get_reconciliation_ai_family_reconciliation_ai_family_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reconciliation/record-ai-task":{"post":{"summary":"Record Ai Task","description":"Record an AI task for tracking","operationId":"record_ai_task_reconciliation_record_ai_task_post","parameters":[{"required":true,"schema":{"type":"string","title":"Task Id"},"name":"task_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":true,"schema":{"type":"string","title":"Task Type"},"name":"task_type","in":"query"},{"required":true,"schema":{"type":"string","title":"Ai Model"},"name":"ai_model","in":"query"},{"required":false,"schema":{"title":"Result"},"name":"result","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reconciliation/record-ai-outcome":{"post":{"summary":"Record Ai Outcome","description":"Record outcome of an AI-assisted operation","operationId":"record_ai_outcome_reconciliation_record_ai_outcome_post","parameters":[{"required":true,"schema":{"type":"string","title":"Task Id"},"name":"task_id","in":"query"},{"required":true,"schema":{"type":"boolean","title":"Success"},"name":"success","in":"query"},{"required":false,"schema":{"type":"number","title":"Revenue","default":0.0},"name":"revenue","in":"query"},{"required":false,"schema":{"type":"string","title":"Notes"},"name":"notes","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/types":{"get":{"summary":"Get Upgrade Types","description":"Get available upgrade types","operationId":"get_upgrade_types_upgrades_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/tests/active":{"get":{"summary":"Get Active Upgrade Tests","description":"Get all active A/B tests","operationId":"get_active_upgrade_tests_upgrades_tests_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/tests/analyze-completed":{"post":{"summary":"Analyze Completed Tests","description":"Analyze all completed tests","operationId":"analyze_completed_tests_upgrades_tests_analyze_completed_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/upgrades/auto-deploy-winners":{"post":{"summary":"Auto Deploy Winners","description":"Auto-deploy winning logic if confidence high enough","operationId":"auto_deploy_winners_upgrades_auto_deploy_winners_post","parameters":[{"required":false,"schema":{"type":"number","title":"Min Confidence","default":0.8},"name":"min_confidence","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upgrades/suggest-next":{"get":{"summary":"Suggest Next Logic Upgrade","description":"AI-powered suggestion for next logic upgrade to test","operationId":"suggest_next_logic_upgrade_upgrades_suggest_next_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ai-family/stats":{"get":{"summary":"Get Ai Family Stats Endpoint","description":"Get AI Family Brain statistics","operationId":"get_ai_family_stats_endpoint_ai_family_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ai-family/record-cycle-outcomes":{"post":{"summary":"Record Cycle Outcomes","description":"Record outcomes from entire autonomous cycle for AI Family learning","operationId":"record_cycle_outcomes_ai_family_record_cycle_outcomes_post","parameters":[{"required":true,"schema":{"type":"string","title":"Run Id"},"name":"run_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Mode","default":"domination"},"name":"mode","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v105/status":{"get":{"summary":"Get V105 Status","description":"Get v105 system status - AI Family Brain integration","operationId":"get_v105_status_v105_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v106/integrated-execute":{"post":{"summary":"V106 Integrated Execute Endpoint","description":"Complete v106 integrated execution\n\nThis is the SINGLE ENDPOINT for the full vision:\n- Guardrails check\n- Market-maker quote\n- Risk-tranching\n- Close-loop execution\n- Learning feedback","operationId":"v106_integrated_execute_endpoint_v106_integrated_execute_post","parameters":[{"required":false,"schema":{"type":"boolean","title":"Auto Execute","default":true},"name":"auto_execute","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/close-loop":{"post":{"summary":"Close Loop Endpoint","description":"Discovery → Contract → Revenue close-loop","operationId":"close_loop_endpoint_v106_close_loop_post","parameters":[{"required":false,"schema":{"type":"string","title":"Discovery Source","default":"manual"},"name":"discovery_source","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/market-maker-quote":{"post":{"summary":"Market Maker Quote Endpoint","description":"Auto-generate OAA quote with Kelly sizing","operationId":"market_maker_quote_endpoint_v106_market_maker_quote_post","parameters":[{"required":false,"schema":{"type":"number","title":"Capacity Budget","default":10000.0},"name":"capacity_budget","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/risk-tranche":{"post":{"summary":"Risk Tranche Endpoint","description":"Create bond + insurance for execution","operationId":"risk_tranche_endpoint_v106_risk_tranche_post","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"query"},{"required":false,"schema":{"type":"number","title":"Relationship Strength","default":0.5},"name":"relationship_strength","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/warm-intro-to-discovery":{"post":{"summary":"Warm Intro Endpoint","description":"Push DealGraph intro to discovery","operationId":"warm_intro_endpoint_v106_warm_intro_to_discovery_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Intro Opportunity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/check-guardrails":{"get":{"summary":"Check Guardrails Endpoint","description":"Check if autonomous operations should proceed","operationId":"check_guardrails_endpoint_v106_check_guardrails_get","parameters":[{"required":false,"schema":{"type":"number","title":"Min Cash Floor","default":0.0},"name":"min_cash_floor","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v106/status":{"get":{"summary":"V106 Status","description":"Get v106 integration status","operationId":"v106_status_v106_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/uacr/ingest-signals":{"post":{"summary":"Uacr Ingest Endpoint","description":"H1: Ingest purchase intent signals","operationId":"uacr_ingest_endpoint_uacr_ingest_signals_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uacr/quote":{"post":{"summary":"Uacr Quote Endpoint","description":"H1: Generate OAA quote with escrow","operationId":"uacr_quote_endpoint_uacr_quote_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uacr/fulfill":{"post":{"summary":"Uacr Fulfill Endpoint","description":"H1: Fulfill quote via MetaBridge","operationId":"uacr_fulfill_endpoint_uacr_fulfill_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/uacr/settle":{"post":{"summary":"Uacr Settle Endpoint","description":"H1: Settle fulfillment and release bonds","operationId":"uacr_settle_endpoint_uacr_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/receivables/ingest":{"post":{"summary":"Receivables Ingest Endpoint","description":"H2: Ingest unpaid invoices","operationId":"receivables_ingest_endpoint_receivables_ingest_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/receivables/advance":{"post":{"summary":"Receivables Advance Endpoint","description":"H2: Kelly-sized advance on receivable","operationId":"receivables_advance_endpoint_receivables_advance_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/receivables/recover":{"post":{"summary":"Receivables Recover Endpoint","description":"H2: Recover payment via platform webhook","operationId":"receivables_recover_endpoint_receivables_recover_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/onboard":{"post":{"summary":"Payments Onboard Endpoint","description":"H3: Onboard merchant for payment routing","operationId":"payments_onboard_endpoint_payments_onboard_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/score":{"post":{"summary":"Payments Score Endpoint","description":"H3: Score transaction for optimal PSP","operationId":"payments_score_endpoint_payments_score_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/route":{"post":{"summary":"Payments Route Endpoint","description":"H3: Route transaction to optimal PSP","operationId":"payments_route_endpoint_payments_route_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/settle-savings":{"post":{"summary":"Payments Settle Endpoint","description":"H3: Settle merchant savings and revenue share","operationId":"payments_settle_endpoint_payments_settle_savings_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gapharvester-ii/canary-metrics":{"get":{"summary":"Canary Metrics Endpoint","description":"Get canary metrics with kill-switch status","operationId":"canary_metrics_endpoint_gapharvester_ii_canary_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gapharvester-ii/status":{"get":{"summary":"Gapharvester Ii Status","description":"Master status for GapHarvester II","operationId":"gapharvester_ii_status_gapharvester_ii_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/shopify/orders-create":{"post":{"summary":"Shopify Orders Webhook","description":"Handle Shopify order creation webhooks","operationId":"shopify_orders_webhook_webhooks_shopify_orders_create_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Shopify-Hmac-Sha256"},"name":"x-shopify-hmac-sha256","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/twitter/sync-signals":{"post":{"summary":"Manual Twitter Sync","description":"Manually trigger Twitter signal scrape","operationId":"manual_twitter_sync_integrations_twitter_sync_signals_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/instagram/sync-signals":{"post":{"summary":"Manual Instagram Sync","description":"Manually trigger Instagram signal scrape","operationId":"manual_instagram_sync_integrations_instagram_sync_signals_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/perplexity/sync-signals":{"post":{"summary":"Manual Perplexity Sync","description":"Manually trigger Perplexity high-quality signal detection.\n\nBody params:\n- categories: List of categories to search (default: all)\n  Options: electronics, sneakers, gaming, watches, collectibles\n- max_signals: Maximum signals to return (default: 20)","operationId":"manual_perplexity_sync_integrations_perplexity_sync_signals_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/stripe/sync-invoices":{"post":{"summary":"Manual Stripe Sync","description":"Manually trigger Stripe invoice sync","operationId":"manual_stripe_sync_integrations_stripe_sync_invoices_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/status":{"get":{"summary":"Integrations Status","description":"Get status of all integrations","operationId":"integrations_status_integrations_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/signals/live":{"get":{"summary":"Get Live Signals","description":"View all captured signals in memory (debug endpoint)","operationId":"get_live_signals_integrations_signals_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mm/auto-quote-intents":{"post":{"summary":"Mm Auto Quote Endpoint","description":"M1: Auto-quote discovered intents with market-making spread","operationId":"mm_auto_quote_endpoint_mm_auto_quote_intents_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mm/hedge":{"post":{"summary":"Mm Hedge Endpoint","description":"M1: Hedge market maker exposure","operationId":"mm_hedge_endpoint_mm_hedge_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mm/exposure":{"get":{"summary":"Mm Exposure Endpoint","description":"M1: Get market maker exposure and Greeks","operationId":"mm_exposure_endpoint_mm_exposure_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tranches/create":{"post":{"summary":"Tranches Create Endpoint","description":"M2: Create risk tranches from deal flows","operationId":"tranches_create_endpoint_tranches_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tranches/settle":{"post":{"summary":"Tranches Settle Endpoint","description":"M2: Settle tranche based on performance","operationId":"tranches_settle_endpoint_tranches_settle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tranches/yield":{"get":{"summary":"Tranches Yield Endpoint","description":"M2: Get yield metrics across tranches","operationId":"tranches_yield_endpoint_tranches_yield_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/offernet/publish":{"post":{"summary":"Offernet Publish Endpoint","description":"M3: Publish artifact to OfferNet","operationId":"offernet_publish_endpoint_offernet_publish_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offernet/syndicate":{"post":{"summary":"Offernet Syndicate Endpoint","description":"M3: Syndicate artifact across channels","operationId":"offernet_syndicate_endpoint_offernet_syndicate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/offernet/stats":{"get":{"summary":"Offernet Stats Endpoint","description":"M3: Get OfferNet performance stats","operationId":"offernet_stats_endpoint_offernet_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/market-maker/status":{"get":{"summary":"Market Maker Status","description":"Master status for Market Maker Extensions","operationId":"market_maker_status_market_maker_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/fabric/status":{"get":{"summary":"Fabric Status","description":"Get complete V115 fabric status","operationId":"fabric_status_v115_fabric_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/fabric/apis":{"get":{"summary":"Api Validation","description":"Get API validation status","operationId":"api_validation_v115_fabric_apis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/fabric/engines":{"get":{"summary":"Engine Readiness","description":"Get engine readiness status","operationId":"engine_readiness_v115_fabric_engines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/fabric/run-cycle":{"post":{"summary":"Run Cycle","description":"Run one complete monetization cycle","operationId":"run_cycle_v115_fabric_run_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/test/status":{"get":{"summary":"Test Status","description":"Check all API connectivity and return status","operationId":"test_status_v115_test_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/test/receivables":{"get":{"summary":"Test Receivables","description":"Get real receivables data","operationId":"test_receivables_v115_test_receivables_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/test/payments":{"get":{"summary":"Test Payments","description":"Get real payments analysis","operationId":"test_payments_v115_test_payments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/test/run-cycle":{"post":{"summary":"Test Run Cycle","description":"Run full monetization cycle","operationId":"test_run_cycle_v115_test_run_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v115/test/execute":{"post":{"summary":"Test Execute","description":"Execute autonomous action","operationId":"test_execute_v115_test_execute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/affiliate/status":{"get":{"summary":"Affiliate Status","description":"Get affiliate matching engine status","operationId":"affiliate_status_affiliate_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/affiliate/match-signal":{"post":{"summary":"Match Single Signal","description":"Match a single signal to affiliate offers","operationId":"match_single_signal_affiliate_match_signal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Signal"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/match-batch":{"post":{"summary":"Match Batch","description":"Match batch of signals to affiliate offers.\n\nBody:\n    signals: List of signals\n    min_commission: Minimum expected commission (default 0.10)","operationId":"match_batch_affiliate_match_batch_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/process-live-signals":{"post":{"summary":"Process Live Signals","description":"Process all live U-ACR signals through affiliate matching.\nReturns matched signals with affiliate links ready for outreach.","operationId":"process_live_signals_affiliate_process_live_signals_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliate/conversions":{"get":{"summary":"Get Conversions","description":"Get conversion tracking stats","operationId":"get_conversions_affiliate_conversions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payment-pack/status":{"get":{"summary":"Payment Pack Status","description":"Get payment pack generator status","operationId":"payment_pack_status_payment_pack_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payment-pack/generate":{"post":{"summary":"Generate Pack","description":"Generate a multi-rail payment pack.\n\nBody:\n    deal_id: str\n    amount: float\n    currency: str (default USD)\n    customer_country: str (default US)\n    optimize_for: str (conversion|fees|speed)","operationId":"generate_pack_payment_pack_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payment-pack/ab-results":{"get":{"summary":"Ab Results","description":"Get A/B test results for payment rails","operationId":"ab_results_payment_pack_ab_results_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payment-pack/rail-performance":{"get":{"summary":"Rail Performance","description":"Get performance stats by payment rail","operationId":"rail_performance_payment_pack_rail_performance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-mesh/status":{"get":{"summary":"Partner Mesh Status","description":"Get partner mesh status","operationId":"partner_mesh_status_partner_mesh_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-mesh/register":{"post":{"summary":"Register New Partner","description":"Register a new partner","operationId":"register_new_partner_partner_mesh_register_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner-mesh/generate-widget":{"post":{"summary":"Generate Widget","description":"Generate a widget config for a partner","operationId":"generate_widget_partner_mesh_generate_widget_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner-mesh/export/{config_id}":{"get":{"summary":"Export Config","description":"Export widget config as JSON file","operationId":"export_config_partner_mesh_export__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner-mesh/partner/{partner_id}/stats":{"get":{"summary":"Partner Stats","description":"Get partner stats","operationId":"partner_stats_partner_mesh_partner__partner_id__stats_get","parameters":[{"required":true,"schema":{"type":"string","title":"Partner Id"},"name":"partner_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner-mesh/verify":{"post":{"summary":"Verify Request","description":"Verify a widget request","operationId":"verify_request_partner_mesh_verify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/savings/status":{"get":{"summary":"Savings Status","description":"Get savings counter status","operationId":"savings_status_savings_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/savings/global":{"get":{"summary":"Global Savings","description":"Get global savings counter","operationId":"global_savings_savings_global_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/savings/user/{user_id}":{"get":{"summary":"User Savings","description":"Get user savings","operationId":"user_savings_savings_user__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/savings/record":{"post":{"summary":"Record","description":"Record a savings event","operationId":"record_savings_record_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/savings/merkle-root":{"get":{"summary":"Merkle Root","description":"Get Merkle root for proof verification","operationId":"merkle_root_savings_merkle_root_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/savings/verify/{transaction_id}":{"get":{"summary":"Verify","description":"Verify a transaction proof","operationId":"verify_savings_verify__transaction_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Transaction Id"},"name":"transaction_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/savings/leaderboard":{"get":{"summary":"Leaderboard","description":"Get savings leaderboard","operationId":"leaderboard_savings_leaderboard_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":10},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/savings/widget":{"get":{"summary":"Widget","description":"Get embeddable savings widget","operationId":"widget_savings_widget_get","parameters":[{"required":false,"schema":{"type":"string","title":"Style","default":"badge"},"name":"style","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gameday/status":{"get":{"summary":"Gameday Status","description":"Get GameDay status","operationId":"gameday_status_gameday_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gameday/chaos-flags":{"get":{"summary":"Chaos Flags","description":"Get current chaos injection flags","operationId":"chaos_flags_gameday_chaos_flags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gameday/run":{"post":{"summary":"Run Exercise","description":"Run a GameDay exercise.\n\nBody:\n    scenario: str (payment_rail_failure, fulfillment_timeout, etc.)\n    duration_seconds: int (default 60)\n    dry_run: bool (default False)","operationId":"run_exercise_gameday_run_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gameday/exercise/{exercise_id}":{"get":{"summary":"Get Exercise","description":"Get exercise results","operationId":"get_exercise_gameday_exercise__exercise_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Exercise Id"},"name":"exercise_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gameday/history":{"get":{"summary":"Exercise History","description":"Get exercise history","operationId":"exercise_history_gameday_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gameday/clear-chaos":{"post":{"summary":"Clear All Chaos","description":"Emergency clear all chaos - restore normal operation","operationId":"clear_all_chaos_gameday_clear_chaos_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gameday/scenarios":{"get":{"summary":"List Scenarios","description":"List available chaos scenarios","operationId":"list_scenarios_gameday_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/price-oracle/status":{"get":{"summary":"Oracle Status","description":"Get oracle status","operationId":"oracle_status_price_oracle_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/price-oracle/floors":{"get":{"summary":"All Floors","description":"Get all price floors","operationId":"all_floors_price_oracle_floors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/price-oracle/floor/{category}":{"get":{"summary":"Get Floor","description":"Get price floor for a category","operationId":"get_floor_price_oracle_floor__category__get","parameters":[{"required":true,"schema":{"type":"string","title":"Category"},"name":"category","in":"path"},{"required":false,"schema":{"type":"string","title":"Quality","default":"standard"},"name":"quality","in":"query"},{"required":false,"schema":{"type":"string","title":"Model","default":"quality_adjusted"},"name":"model","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/price-oracle/validate":{"post":{"summary":"Validate","description":"Validate a proposed price","operationId":"validate_price_oracle_validate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/price-oracle/market-update":{"post":{"summary":"Market Update","description":"Update market data","operationId":"market_update_price_oracle_market_update_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accretion/status":{"get":{"summary":"Accretion Status","description":"Get Ultimate Accretion Pack status","operationId":"accretion_status_accretion_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/accretion/evaluate":{"post":{"summary":"Accretion Evaluate","description":"Evaluate opportunity with all 12 intelligence layers","operationId":"accretion_evaluate_accretion_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accretion/record-outcome":{"post":{"summary":"Accretion Record Outcome","description":"Record execution outcome to all learning systems","operationId":"accretion_record_outcome_accretion_record_outcome_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accretion/train":{"post":{"summary":"Accretion Train","description":"Trigger training cycle","operationId":"accretion_train_accretion_train_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accretion/kpis":{"get":{"summary":"Accretion Kpis","description":"Get comprehensive KPIs from all systems","operationId":"accretion_kpis_accretion_kpis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/accretion/engine-rankings":{"get":{"summary":"Accretion Engine Rankings","description":"Get current engine rankings from training","operationId":"accretion_engine_rankings_accretion_engine_rankings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/accretion/budget-weights":{"post":{"summary":"Accretion Budget Weights","description":"Get optimal budget allocation weights","operationId":"accretion_budget_weights_accretion_budget_weights_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orchestrator/kpis":{"get":{"summary":"Orchestrator Kpis","description":"Get comprehensive KPIs (alias for /accretion/kpis)","operationId":"orchestrator_kpis_orchestrator_kpis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/playbook/status":{"get":{"summary":"Unified Playbook Status","description":"Get master playbook and brain trainer status","operationId":"unified_playbook_status_unified_playbook_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brain/training/status":{"get":{"summary":"Brain Training Status","description":"Get brain policy trainer status","operationId":"brain_training_status_brain_training_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brain/training/trigger":{"post":{"summary":"Brain Training Trigger","description":"Manually trigger a training cycle","operationId":"brain_training_trigger_brain_training_trigger_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unified/fabric/status":{"get":{"summary":"Unified Fabric Status","description":"Check if Universal Fabric (browser automation) is operational","operationId":"unified_fabric_status_unified_fabric_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/execution/debug":{"get":{"summary":"Unified Execution Debug","description":"Get detailed execution debug information","operationId":"unified_execution_debug_unified_execution_debug_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unified/execution/errors":{"get":{"summary":"Unified Execution Errors","description":"Get recent execution errors","operationId":"unified_execution_errors_unified_execution_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/platform_apis/status":{"get":{"summary":"Platform Apis Status","description":"Check which platform APIs are authenticated","operationId":"platform_apis_status_platform_apis_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/login":{"post":{"summary":"Auth Login","description":"Authenticate user, return signed token.","operationId":"auth_login_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify":{"post":{"summary":"Auth Verify","description":"Verify a token is valid.","operationId":"auth_verify_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/consent-check":{"get":{"summary":"Api Consent Check","description":"Check if user has agreed to protocol terms — no client-side key needed.","operationId":"api_consent_check_api_consent_check_get","parameters":[{"required":false,"schema":{"type":"string","title":"Username","default":""},"name":"username","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/propagation/{username}":{"get":{"summary":"Api Propagation","description":"Server-side propagation analysis — no client-side JSONBin key needed.","operationId":"api_propagation_api_propagation__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/update":{"post":{"summary":"User Update","description":"Update user profile fields (business_name, pricing_tier, email).","operationId":"user_update_user_update_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/leads":{"post":{"summary":"Api Leads","description":"Accept leads from marketing template contact forms. Maps to intake pipeline.","operationId":"api_leads_api_leads_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intake/submit":{"post":{"summary":"Intake Submit","description":"Accept client intake form submission, create opportunity, notify owner, send client email.","operationId":"intake_submit_intake_submit_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/free-audit/generate":{"post":{"summary":"Free Audit Generate","description":"Generate a free AI business audit as a lead magnet.","operationId":"free_audit_generate_free_audit_generate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/project/complete":{"post":{"summary":"Project Complete","description":"Post-completion flywheel: chains together all existing engines.\n1. Create verified proof record\n2. Generate success stories for social platforms\n3. Detect upsell/cross-sell opportunities\n4. Record in Deal Graph for warm intros\n5. Send referral request to client (delayed)\n6. Generate shareable proof card URL","operationId":"project_complete_project_complete_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/marketplace/agents":{"get":{"summary":"Marketplace Agents","description":"Return agents with services rendered, sorted by activity, for marketplace discovery.","operationId":"marketplace_agents_marketplace_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/u/{username}":{"get":{"summary":"Agent Profile","description":"Public agent profile — linked from marketplace, proof cards, and referral URLs.","operationId":"agent_profile_u__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{opp_id}/message":{"post":{"summary":"Client Room Message","description":"Client sends a message to their AI project team.\nRoutes to Claude with full industry intelligence, service catalog awareness,\ntemplate recommendations, and strategy engine. The AI C-suite knows the client's\nbusiness type and proactively recommends services, templates, and strategies.","operationId":"client_room_message_client_room__opp_id__message_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{opp_id}/messages":{"get":{"summary":"Client Room Messages","description":"Get conversation history for a client project room.","operationId":"client_room_messages_client_room__opp_id__messages_get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{opp_id}/recommendations":{"get":{"summary":"Client Room Recommendations","description":"Get proactive strategy recommendations for a client project.\nReturns industry-specific services, templates, strategies, and seasonal opportunities.","operationId":"client_room_recommendations_client_room__opp_id__recommendations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversion/offer/{opp_id}":{"get":{"summary":"Conversion Offer","description":"Get current preview offer tier for an opportunity.","operationId":"conversion_offer_conversion_offer__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversion/nudge/{opp_id}":{"post":{"summary":"Conversion Nudge","description":"Send the next appropriate nudge email for a preview.","operationId":"conversion_nudge_conversion_nudge__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recommendations/addons/{sku_id}":{"get":{"summary":"Recommendations Addons","description":"Get contextual add-on suggestions for a service SKU.","operationId":"recommendations_addons_recommendations_addons__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recommendations/bundle-price":{"post":{"summary":"Recommendations Bundle Price","description":"Calculate bundle pricing with discount.","operationId":"recommendations_bundle_price_recommendations_bundle_price_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/{proof_id}/syndicate":{"post":{"summary":"Proof Syndicate","description":"Auto-post a proof card to social platforms as ad-format content.","operationId":"proof_syndicate_proof__proof_id__syndicate_post","parameters":[{"required":true,"schema":{"type":"string","title":"Proof Id"},"name":"proof_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing/elastic/{sku_id}":{"get":{"summary":"Pricing Elastic","description":"Get elastic pricing band stats and recommendation for a SKU.","operationId":"pricing_elastic_pricing_elastic__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/observability/metrics":{"get":{"summary":"Observability Metrics","description":"Return OTEL-compatible metrics summary.","operationId":"observability_metrics_observability_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/observability/metrics/prometheus":{"get":{"summary":"Observability Prometheus","description":"Prometheus-compatible metrics export.","operationId":"observability_prometheus_observability_metrics_prometheus_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/observability/audit":{"get":{"summary":"Observability Audit","description":"Query audit log events with optional filters.","operationId":"observability_audit_observability_audit_get","parameters":[{"required":false,"schema":{"type":"string","title":"Opportunity Id"},"name":"opportunity_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Event Type"},"name":"event_type","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":100},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/observability/funnel":{"get":{"summary":"Observability Funnel","description":"Get opportunity funnel conversion stats.","operationId":"observability_funnel_observability_funnel_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/stats":{"get":{"summary":"Cross Pollination Stats","description":"Get aggregate stats across all 6 cross-pollination loops.","operationId":"cross_pollination_stats_cross_pollination_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/biab-fulfillment":{"post":{"summary":"Cross Pollination Biab Fulfillment","description":"Loop 2: Record a BiaB operator's fulfillment → feed telemetry + syndicate proof.","operationId":"cross_pollination_biab_fulfillment_cross_pollination_biab_fulfillment_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/creator-referral":{"post":{"summary":"Cross Pollination Creator Referral","description":"Loop 3: Record a creator referral that bridges both revenue paths.","operationId":"cross_pollination_creator_referral_cross_pollination_creator_referral_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/offernet-route":{"post":{"summary":"Cross Pollination Offernet Route","description":"Loop 4: Route an opportunity to OfferNet when direct can't fulfill.","operationId":"cross_pollination_offernet_route_cross_pollination_offernet_route_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/offernet-reverse":{"post":{"summary":"Cross Pollination Offernet Reverse","description":"Loop 4 reverse: Route an OfferNet listing back to AiGentsy Direct.","operationId":"cross_pollination_offernet_reverse_cross_pollination_offernet_reverse_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/biab-eligibility/{buyer_id}":{"get":{"summary":"Cross Pollination Biab Eligibility","description":"Loop 5: Check if a subscription user should convert to BiaB operator.","operationId":"cross_pollination_biab_eligibility_cross_pollination_biab_eligibility__buyer_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Id"},"name":"buyer_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/biab-convert":{"post":{"summary":"Cross Pollination Biab Convert","description":"Loop 5: Convert a subscription user into a BiaB operator.","operationId":"cross_pollination_biab_convert_cross_pollination_biab_convert_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/ocs/{user_id}":{"get":{"summary":"Cross Pollination Ocs","description":"Loop 6: Get portable OCS with cross-path benefits.","operationId":"cross_pollination_ocs_cross_pollination_ocs__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Score","default":50},"name":"score","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/ocs-pricing":{"post":{"summary":"Cross Pollination Ocs Pricing","description":"Loop 6: Apply OCS-based pricing for a BiaB operator.","operationId":"cross_pollination_ocs_pricing_cross_pollination_ocs_pricing_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/canary-publish":{"post":{"summary":"Xpoll Canary Publish","description":"Create a canary publish for a graduated SKU (max 10 operators).","operationId":"xpoll_canary_publish_cross_pollination_canary_publish_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/canary-slot":{"post":{"summary":"Xpoll Canary Slot","description":"Reserve a canary deployment slot.","operationId":"xpoll_canary_slot_cross_pollination_canary_slot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/canary-status/{canary_id}":{"get":{"summary":"Xpoll Canary Status","description":"Check canary KPIs and promotion status.","operationId":"xpoll_canary_status_cross_pollination_canary_status__canary_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Canary Id"},"name":"canary_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/canary-promote/{canary_id}":{"post":{"summary":"Xpoll Canary Promote","description":"Promote a canary to full marketplace visibility.","operationId":"xpoll_canary_promote_cross_pollination_canary_promote__canary_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Canary Id"},"name":"canary_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/canaries":{"get":{"summary":"Xpoll List Canaries","description":"List canary publishes, optionally by status.","operationId":"xpoll_list_canaries_cross_pollination_canaries_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provenance/badge/{sku_id}":{"get":{"summary":"Provenance Badge","description":"Generate a provenance badge for a graduated SKU.","operationId":"provenance_badge_provenance_badge__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provenance/verify/{badge_id}":{"get":{"summary":"Provenance Verify","description":"Verify a provenance badge.","operationId":"provenance_verify_provenance_verify__badge_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Badge Id"},"name":"badge_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provenance/profile/{user_id}":{"get":{"summary":"Provenance Profile","description":"Get all provenance badges for a user's profile.","operationId":"provenance_profile_provenance_profile__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/dual-credit/{proof_id}":{"get":{"summary":"Proof Dual Credit Get","description":"Get credits for a dual-attribution proof.","operationId":"proof_dual_credit_get_proof_dual_credit__proof_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Proof Id"},"name":"proof_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/dual-credit/operator/{operator_id}":{"get":{"summary":"Proof Dual Credit By Operator","description":"List proofs by operator.","operationId":"proof_dual_credit_by_operator_proof_dual_credit_operator__operator_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Operator Id"},"name":"operator_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/dual-credit/sku/{sku_id}":{"get":{"summary":"Proof Dual Credit By Sku","description":"List proofs by SKU.","operationId":"proof_dual_credit_by_sku_proof_dual_credit_sku__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof/dual-credit/{proof_id}/card":{"get":{"summary":"Proof Dual Credit Card","description":"Get formatted proof card with platform-specific versions.","operationId":"proof_dual_credit_card_proof_dual_credit__proof_id__card_get","parameters":[{"required":true,"schema":{"type":"string","title":"Proof Id"},"name":"proof_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/telemetry/validate":{"post":{"summary":"Telemetry Validate","description":"Validate BiaB telemetry before ingestion.","operationId":"telemetry_validate_telemetry_validate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/telemetry/dispute":{"post":{"summary":"Telemetry Dispute","description":"Record a telemetry dispute.","operationId":"telemetry_dispute_telemetry_dispute_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/telemetry/guardrail-stats":{"get":{"summary":"Telemetry Guardrail Stats","description":"Get telemetry guardrail statistics.","operationId":"telemetry_guardrail_stats_telemetry_guardrail_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/creator-ledger/{kit_id}":{"get":{"summary":"Revenue Creator Ledger","description":"Get full two-rail revenue ledger for a creator kit.","operationId":"revenue_creator_ledger_revenue_creator_ledger__kit_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Kit Id"},"name":"kit_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/creator-ledger-summary":{"get":{"summary":"Revenue Creator Ledger Summary","description":"Get aggregate creator kit ledger stats.","operationId":"revenue_creator_ledger_summary_revenue_creator_ledger_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/offernet/v2/route":{"post":{"summary":"Offernet V2 Route","description":"SLA-priced routing with risk tranches.","operationId":"offernet_v2_route_offernet_v2_route_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/offernet/v2/score":{"post":{"summary":"Offernet V2 Score","description":"Score a single bid with SLA pricing.","operationId":"offernet_v2_score_offernet_v2_score_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/offernet/v2/stats":{"get":{"summary":"Offernet V2 Stats","description":"Get OfferNet V2 routing stats.","operationId":"offernet_v2_stats_offernet_v2_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conversion/graduation-journey":{"post":{"summary":"Conversion Graduation Journey","description":"Start a subscription-to-BiaB graduation journey.","operationId":"conversion_graduation_journey_conversion_graduation_journey_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/conversion/graduation-perks/{journey_id}":{"get":{"summary":"Conversion Graduation Perks","description":"Get onboarding perks for a graduation journey.","operationId":"conversion_graduation_perks_conversion_graduation_perks__journey_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Journey Id"},"name":"journey_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversion/graduation-complete/{journey_id}":{"post":{"summary":"Conversion Graduation Complete","description":"Complete a graduation journey.","operationId":"conversion_graduation_complete_conversion_graduation_complete__journey_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Journey Id"},"name":"journey_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocs/portable/{user_id}":{"get":{"summary":"Ocs Portable","description":"Get portable OCS with fraud-guarded score and audit trail.","operationId":"ocs_portable_ocs_portable__user_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"User Id"},"name":"user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ocs/record-outcome":{"post":{"summary":"Ocs Record Outcome","description":"Record an OCS outcome with sybil/velocity guards.","operationId":"ocs_record_outcome_ocs_record_outcome_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ocs/cross-path-check":{"post":{"summary":"Ocs Cross Path","description":"Check for cross-path OCS discrepancy (fraud detection).","operationId":"ocs_cross_path_ocs_cross_path_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/preview-recycle":{"post":{"summary":"Xpoll Preview Recycle","description":"Recycle a declined preview into showcase + mini-template.","operationId":"xpoll_preview_recycle_cross_pollination_preview_recycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/showcase":{"get":{"summary":"Xpoll Showcase","description":"List anonymized showcase items.","operationId":"xpoll_showcase_cross_pollination_showcase_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Limit","default":20},"name":"limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/showcase/{showcase_id}":{"get":{"summary":"Xpoll Showcase Item","description":"Get a specific showcase item.","operationId":"xpoll_showcase_item_cross_pollination_showcase__showcase_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Showcase Id"},"name":"showcase_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/mini-templates":{"get":{"summary":"Xpoll Mini Templates","description":"List available mini-templates.","operationId":"xpoll_mini_templates_cross_pollination_mini_templates_get","parameters":[{"required":false,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/mini-template/deploy":{"post":{"summary":"Xpoll Mini Template Deploy","description":"Deploy a mini-template.","operationId":"xpoll_mini_template_deploy_cross_pollination_mini_template_deploy_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/recycle-stats":{"get":{"summary":"Xpoll Recycle Stats","description":"Get preview recycling stats.","operationId":"xpoll_recycle_stats_cross_pollination_recycle_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/oem-eligibility/{sku_id}":{"get":{"summary":"Xpoll Oem Eligibility","description":"Check if a SKU qualifies for OEM white-label licensing.","operationId":"xpoll_oem_eligibility_cross_pollination_oem_eligibility__sku_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/oem-license":{"post":{"summary":"Xpoll Oem License Create","description":"Create a white-label OEM license.","operationId":"xpoll_oem_license_create_cross_pollination_oem_license_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/oem-fulfillment":{"post":{"summary":"Xpoll Oem Fulfillment","description":"Record a fulfillment under an OEM license.","operationId":"xpoll_oem_fulfillment_cross_pollination_oem_fulfillment_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/oem-billing/{license_id}":{"get":{"summary":"Xpoll Oem Billing","description":"Get OEM billing summary.","operationId":"xpoll_oem_billing_cross_pollination_oem_billing__license_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"License Id"},"name":"license_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Month"},"name":"month","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/oem-quality/{license_id}":{"get":{"summary":"Xpoll Oem Quality","description":"Check OEM partner quality compliance.","operationId":"xpoll_oem_quality_cross_pollination_oem_quality__license_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"License Id"},"name":"license_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cross-pollination/oem-partners":{"get":{"summary":"Xpoll Oem Partners","description":"List active OEM partners.","operationId":"xpoll_oem_partners_cross_pollination_oem_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/oem-stats":{"get":{"summary":"Xpoll Oem Stats","description":"Get aggregate OEM stats.","operationId":"xpoll_oem_stats_cross_pollination_oem_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/collab-kit":{"post":{"summary":"Revenue Collab Kit Create","description":"Create a creator collab kit with rev-share terms.","operationId":"revenue_collab_kit_create_revenue_collab_kit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/collab-kit/{kit_id}":{"get":{"summary":"Revenue Collab Kit Get","description":"Get collab kit details.","operationId":"revenue_collab_kit_get_revenue_collab_kit__kit_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Kit Id"},"name":"kit_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/collab-kit/{kit_id}/referral":{"post":{"summary":"Revenue Collab Kit Referral","description":"Record a referral conversion from a creator's link.","operationId":"revenue_collab_kit_referral_revenue_collab_kit__kit_id__referral_post","parameters":[{"required":true,"schema":{"type":"string","title":"Kit Id"},"name":"kit_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/collab-kits":{"get":{"summary":"Revenue Collab Kits List","description":"List all collab kits.","operationId":"revenue_collab_kits_list_revenue_collab_kits_get","parameters":[{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/financing/offer":{"post":{"summary":"Revenue Financing Offer","description":"Create a financing offer for a deal.","operationId":"revenue_financing_offer_revenue_financing_offer_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/financing/accept":{"post":{"summary":"Revenue Financing Accept","description":"Accept a financing offer.","operationId":"revenue_financing_accept_revenue_financing_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/financing/payment":{"post":{"summary":"Revenue Financing Payment","description":"Record an installment payment.","operationId":"revenue_financing_payment_revenue_financing_payment_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/financing/{offer_id}":{"get":{"summary":"Revenue Financing Get","description":"Get financing offer details.","operationId":"revenue_financing_get_revenue_financing__offer_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Offer Id"},"name":"offer_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/financing/buyer/{buyer_id}":{"get":{"summary":"Revenue Financing Buyer","description":"Get buyer financing summary.","operationId":"revenue_financing_buyer_revenue_financing_buyer__buyer_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Buyer Id"},"name":"buyer_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/warranty/price":{"get":{"summary":"Revenue Warranty Price","description":"Get warranty pricing for a deal value.","operationId":"revenue_warranty_price_revenue_warranty_price_get","parameters":[{"required":false,"schema":{"type":"number","title":"Deal Value","default":0},"name":"deal_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/warranty/purchase":{"post":{"summary":"Revenue Warranty Purchase","description":"Purchase an outcome warranty.","operationId":"revenue_warranty_purchase_revenue_warranty_purchase_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/warranty/{opp_id}/claim":{"post":{"summary":"Revenue Warranty Claim","description":"File a warranty claim.","operationId":"revenue_warranty_claim_revenue_warranty__opp_id__claim_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/warranty/{opp_id}":{"get":{"summary":"Revenue Warranty Get","description":"Get warranty details.","operationId":"revenue_warranty_get_revenue_warranty__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscription/create":{"post":{"summary":"Revenue Subscription Create","description":"Create a micro-subscription.","operationId":"revenue_subscription_create_revenue_subscription_create_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revenue/subscription/{sub_id}/use":{"post":{"summary":"Revenue Subscription Use","description":"Consume one deliverable from subscription allocation.","operationId":"revenue_subscription_use_revenue_subscription__sub_id__use_post","parameters":[{"required":true,"schema":{"type":"string","title":"Sub Id"},"name":"sub_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscription/{sub_id}/renew":{"post":{"summary":"Revenue Subscription Renew","description":"Renew subscription for next period.","operationId":"revenue_subscription_renew_revenue_subscription__sub_id__renew_post","parameters":[{"required":true,"schema":{"type":"string","title":"Sub Id"},"name":"sub_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscription/{sub_id}/cancel":{"post":{"summary":"Revenue Subscription Cancel","description":"Cancel subscription at end of current period.","operationId":"revenue_subscription_cancel_revenue_subscription__sub_id__cancel_post","parameters":[{"required":true,"schema":{"type":"string","title":"Sub Id"},"name":"sub_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscription/{sub_id}":{"get":{"summary":"Revenue Subscription Get","description":"Get subscription details.","operationId":"revenue_subscription_get_revenue_subscription__sub_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Sub Id"},"name":"sub_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscriptions":{"get":{"summary":"Revenue Subscriptions List","description":"List subscriptions.","operationId":"revenue_subscriptions_list_revenue_subscriptions_get","parameters":[{"required":false,"schema":{"type":"string","title":"Buyer Id"},"name":"buyer_id","in":"query"},{"required":false,"schema":{"type":"string","title":"Status"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/revenue/subscription/plans":{"get":{"summary":"Revenue Subscription Plans","description":"Get available subscription plans.","operationId":"revenue_subscription_plans_revenue_subscription_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/marketplace/templates":{"get":{"summary":"Marketplace Templates List","description":"List available marketplace templates.","operationId":"marketplace_templates_list_marketplace_templates_get","parameters":[{"required":false,"schema":{"type":"string","title":"Tier"},"name":"tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/marketplace/publish":{"post":{"summary":"Marketplace Publish","description":"Publish a graduated SKU as a marketplace template.","operationId":"marketplace_publish_marketplace_publish_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/marketplace/deploy/{template_id}":{"post":{"summary":"Marketplace Deploy","description":"Deploy a marketplace template as your own SKU.","operationId":"marketplace_deploy_marketplace_deploy__template_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Template Id"},"name":"template_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/marketplace/stats/{template_id}":{"get":{"summary":"Marketplace Stats","description":"Get marketplace template stats.","operationId":"marketplace_stats_marketplace_stats__template_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Template Id"},"name":"template_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/mini-preview/{opp_id}":{"post":{"summary":"Outreach Mini Preview","description":"Generate a watermarked mini-preview for a lead using AI.","operationId":"outreach_mini_preview_outreach_mini_preview__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/mini-preview/{preview_id}/unlock":{"post":{"summary":"Outreach Mini Preview Unlock","description":"Unlock a mini-preview after deposit.","operationId":"outreach_mini_preview_unlock_outreach_mini_preview__preview_id__unlock_post","parameters":[{"required":true,"schema":{"type":"string","title":"Preview Id"},"name":"preview_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/mini-preview/{preview_id}":{"get":{"summary":"Outreach Mini Preview Get","description":"Get mini-preview details.","operationId":"outreach_mini_preview_get_outreach_mini_preview__preview_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Preview Id"},"name":"preview_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/github-pr-growth/{sku_id}":{"post":{"summary":"Outreach Github Pr Growth","description":"Find candidate repos and create a growth campaign.","operationId":"outreach_github_pr_growth_outreach_github_pr_growth__sku_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/github-pr-growth/{campaign_id}/pr":{"post":{"summary":"Outreach Github Pr Create","description":"Record a growth PR creation.","operationId":"outreach_github_pr_create_outreach_github_pr_growth__campaign_id__pr_post","parameters":[{"required":true,"schema":{"type":"string","title":"Campaign Id"},"name":"campaign_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/github-pr-growth/campaigns":{"get":{"summary":"Outreach Github Campaigns","description":"List growth campaigns.","operationId":"outreach_github_campaigns_outreach_github_pr_growth_campaigns_get","parameters":[{"required":false,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/linkedin-pods/schedule":{"post":{"summary":"Outreach Linkedin Pods Schedule","description":"Schedule a wave of proof-forward LinkedIn comments.","operationId":"outreach_linkedin_pods_schedule_outreach_linkedin_pods_schedule_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/linkedin-pods/active":{"get":{"summary":"Outreach Linkedin Pods Active","description":"List active pod waves.","operationId":"outreach_linkedin_pods_active_outreach_linkedin_pods_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/linkedin-pods/{pod_id}":{"get":{"summary":"Outreach Linkedin Pod Get","description":"Get pod wave details.","operationId":"outreach_linkedin_pod_get_outreach_linkedin_pods__pod_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Pod Id"},"name":"pod_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/reddit-packets/{sku_id}":{"post":{"summary":"Outreach Reddit Packet","description":"Create and queue a Reddit answer packet.","operationId":"outreach_reddit_packet_outreach_reddit_packets__sku_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/reddit-packets/queue":{"get":{"summary":"Outreach Reddit Queue","description":"Get queued Reddit answer packets.","operationId":"outreach_reddit_queue_outreach_reddit_packets_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/offernet/list":{"post":{"summary":"Outreach Offernet List","description":"List an unconverted quote on the OfferNet.","operationId":"outreach_offernet_list_outreach_offernet_list_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/offernet/bid":{"post":{"summary":"Outreach Offernet Bid","description":"Place a bid on an OfferNet listing.","operationId":"outreach_offernet_bid_outreach_offernet_bid_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/offernet/accept":{"post":{"summary":"Outreach Offernet Accept","description":"Accept a bid on an OfferNet listing.","operationId":"outreach_offernet_accept_outreach_offernet_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/offernet/available":{"get":{"summary":"Outreach Offernet Available","description":"List available OfferNet listings.","operationId":"outreach_offernet_available_outreach_offernet_available_get","parameters":[{"required":false,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/offernet/stats":{"get":{"summary":"Outreach Offernet Stats","description":"Get OfferNet network statistics.","operationId":"outreach_offernet_stats_outreach_offernet_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/nurture/auto":{"post":{"summary":"Outreach Nurture Auto","description":"One-click email sequence activation. If email provided, creates one sequence.\nIf no email, pulls from user's AME leads and activates for up to 5 leads.","operationId":"outreach_nurture_auto_outreach_nurture_auto_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/nurture/{opp_id}":{"post":{"summary":"Outreach Nurture Create","description":"Build a personalized nurture sequence.","operationId":"outreach_nurture_create_outreach_nurture__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/nurture/{opp_id}/send":{"post":{"summary":"Outreach Nurture Send","description":"Send the next nurture email in the sequence.","operationId":"outreach_nurture_send_outreach_nurture__opp_id__send_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/nurture/{opp_id}/engage":{"post":{"summary":"Outreach Nurture Engage","description":"Record a nurture engagement event (open, click, convert).","operationId":"outreach_nurture_engage_outreach_nurture__opp_id__engage_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/nurture/{opp_id}/status":{"get":{"summary":"Outreach Nurture Status","description":"Get nurture sequence status.","operationId":"outreach_nurture_status_outreach_nurture__opp_id__status_get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/preflight/{opp_id}":{"get":{"summary":"Fulfillment Preflight Get","description":"Get pre-flight gate status for an opportunity.","operationId":"fulfillment_preflight_get_fulfillment_preflight__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Fulfillment Preflight Build","description":"Build a pre-flight checklist for an opportunity.","operationId":"fulfillment_preflight_build_fulfillment_preflight__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/preflight/{opp_id}/check":{"post":{"summary":"Fulfillment Preflight Check","description":"Validate submitted data against the pre-flight checklist.","operationId":"fulfillment_preflight_check_fulfillment_preflight__opp_id__check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/artifact-lint/{opp_id}":{"post":{"summary":"Fulfillment Artifact Lint","description":"Run quality lint checks on a deliverable.","operationId":"fulfillment_artifact_lint_fulfillment_artifact_lint__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/artifact-diff/{opp_id}":{"post":{"summary":"Fulfillment Artifact Diff","description":"Diff deliverable against original brief.","operationId":"fulfillment_artifact_diff_fulfillment_artifact_diff__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/artifact-lint/{opp_id}/report":{"get":{"summary":"Fulfillment Artifact Report","description":"Get quality report for an opportunity.","operationId":"fulfillment_artifact_report_fulfillment_artifact_lint__opp_id__report_get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/ab-frames/{opp_id}":{"get":{"summary":"Fulfillment Ab Frames Get","description":"Get A/B frame details.","operationId":"fulfillment_ab_frames_get_fulfillment_ab_frames__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Fulfillment Ab Frames Create","description":"Create A/B deliverable variants for an opportunity.","operationId":"fulfillment_ab_frames_create_fulfillment_ab_frames__opp_id__post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/ab-frames/{opp_id}/deliver":{"post":{"summary":"Fulfillment Ab Frames Deliver","description":"Mark a variant as delivered.","operationId":"fulfillment_ab_frames_deliver_fulfillment_ab_frames__opp_id__deliver_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/ab-frames/{opp_id}/select":{"post":{"summary":"Fulfillment Ab Frames Select","description":"Record client's variant selection.","operationId":"fulfillment_ab_frames_select_fulfillment_ab_frames__opp_id__select_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/ab-frames/stats":{"get":{"summary":"Fulfillment Ab Stats","description":"Get aggregated A/B preference statistics.","operationId":"fulfillment_ab_stats_fulfillment_ab_frames_stats_get","parameters":[{"required":false,"schema":{"type":"string","title":"Sku Id"},"name":"sku_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/lockstep/{opp_id}/start":{"post":{"summary":"Fulfillment Lockstep Start","description":"Start a dual-track lock-step review schedule.","operationId":"fulfillment_lockstep_start_fulfillment_lockstep__opp_id__start_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/lockstep/{opp_id}/check":{"post":{"summary":"Fulfillment Lockstep Check","description":"Check off a milestone on Track A or Track B.","operationId":"fulfillment_lockstep_check_fulfillment_lockstep__opp_id__check_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/lockstep/{opp_id}/nudge":{"post":{"summary":"Fulfillment Lockstep Nudge","description":"Send a client check-in nudge.","operationId":"fulfillment_lockstep_nudge_fulfillment_lockstep__opp_id__nudge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fulfillment/lockstep/{opp_id}":{"get":{"summary":"Fulfillment Lockstep Get","description":"Get lock-step review status.","operationId":"fulfillment_lockstep_get_fulfillment_lockstep__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/{username}/services":{"get":{"summary":"User Services Get","description":"Get a user's service offerings for their storefront.","operationId":"user_services_get_user__username__services_get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"User Services Update","description":"Add or update custom services on a user's storefront.","operationId":"user_services_update_user__username__services_post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client-room/{opp_id}":{"get":{"summary":"Client Room Get Api","description":"Get project details as JSON. Reads from users/opportunities, NOT escrow.\nFor HTML client room, use GET /client-room/{contract_id} instead.","operationId":"client_room_get_api_api_client_room__opp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{opp_id}/approve":{"post":{"summary":"Client Room Approve","description":"Client approves a deliverable.","operationId":"client_room_approve_client_room__opp_id__approve_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/client-room/{opp_id}/pay":{"post":{"summary":"Client Room Pay","description":"Create Stripe Checkout session for client payment using owner's Connect account.","operationId":"client_room_pay_client_room__opp_id__pay_post","parameters":[{"required":true,"schema":{"type":"string","title":"Opp Id"},"name":"opp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/connect":{"get":{"summary":"Stripe Connect Start","description":"Create Stripe Express Connect account and redirect to hosted onboarding.","operationId":"stripe_connect_start_stripe_connect_get","parameters":[{"required":false,"schema":{"type":"string","title":"User","default":""},"name":"user","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/connect/callback":{"get":{"summary":"Stripe Connect Callback","description":"Store Connect account ID and redirect back to dashboard.","operationId":"stripe_connect_callback_stripe_connect_callback_get","parameters":[{"required":false,"schema":{"type":"string","title":"User","default":""},"name":"user","in":"query"},{"required":false,"schema":{"type":"string","title":"Account","default":""},"name":"account","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/connect/status/{username}":{"get":{"summary":"Stripe Connect Status","description":"Check if user has connected Stripe.","operationId":"stripe_connect_status_stripe_connect_status__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portfolio/generate/{username}":{"post":{"summary":"Portfolio Generate","description":"Generate 3 sample portfolio pieces based on user's kit type.","operationId":"portfolio_generate_portfolio_generate__username__post","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/send-all":{"post":{"summary":"Digest Send All","description":"Send weekly digest to all users with email addresses.","operationId":"digest_send_all_digest_send_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/tier/{tier_name}":{"get":{"summary":"Subscriptions Get Tier","description":"Get details for a specific subscription tier.","operationId":"subscriptions_get_tier_subscriptions_tier__tier_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Tier Name"},"name":"tier_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/subscribe":{"post":{"summary":"Subscriptions Subscribe User","description":"Subscribe a user to a tier.","operationId":"subscriptions_subscribe_user_subscriptions_subscribe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/user/{username}":{"get":{"summary":"Subscriptions Get User Sub","description":"Get user's current subscription and quota status.","operationId":"subscriptions_get_user_sub_subscriptions_user__username__get","parameters":[{"required":true,"schema":{"type":"string","title":"Username"},"name":"username","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subscriptions/check-quota":{"post":{"summary":"Subscriptions Check Quota","description":"Check if user has API quota available before making a call.","operationId":"subscriptions_check_quota_subscriptions_check_quota_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/record-usage":{"post":{"summary":"Subscriptions Record Usage","description":"Record API usage for a user.","operationId":"subscriptions_record_usage_subscriptions_record_usage_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/stats":{"get":{"summary":"Subscriptions Platform Stats","description":"Get platform-wide subscription statistics (MRR, ARR, counts).","operationId":"subscriptions_platform_stats_subscriptions_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/subscriptions/upgrade-prompt":{"post":{"summary":"Subscriptions Upgrade Prompt","description":"Generate an upgrade prompt for a user who hit limits.","operationId":"subscriptions_upgrade_prompt_subscriptions_upgrade_prompt_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/on-job-complete":{"post":{"summary":"Cross Pollination On Job Complete","description":"Trigger cross-pollination when a job completes.\nAuto-generates proof, triggers affiliate credit, and checks for BiaB conversion eligibility.\nUses EXISTING modules: monetization/proof_ledger.py, cross_pollination.py","operationId":"cross_pollination_on_job_complete_cross_pollination_on_job_complete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/on-proof-generated":{"post":{"summary":"Cross Pollination On Proof Generated","description":"Trigger cross-sell opportunities when a proof is generated.\nSuggests complementary SKUs and creates upsell offers.","operationId":"cross_pollination_on_proof_generated_cross_pollination_on_proof_generated_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cross-pollination/check-graduation":{"post":{"summary":"Cross Pollination Check Graduation","description":"Check if a subscriber is ready for BiaB graduation.\nTriggers when subscription user hits conversion threshold.\nUses EXISTING JSONBin user lookup and conversion/subscription_graduation_journey.py","operationId":"cross_pollination_check_graduation_cross_pollination_check_graduation_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/flywheel/hourly-cycle":{"post":{"summary":"Flywheel Hourly Cycle","description":"Run hourly flywheel cycle using EXISTING modules:\n1. Process auto-approvals via ame_pitches.py (bounded risk)\n2. Process settlements via monetization/settlements.py\n3. Run discovery → pitch for active users\n4. Update elastic pricing via pricing/elastic.py","operationId":"flywheel_hourly_cycle_flywheel_hourly_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/flywheel/daily-cycle":{"post":{"summary":"Flywheel Daily Cycle","description":"Run daily flywheel cycle using EXISTING modules:\n1. Run spawn detection via auto_spawn_engine.py\n2. Process affiliate payouts via monetization/ledger.py\n3. Evaluate canary SKUs via revenue/graduation_autopublish.py\n4. Generate real KPI report from JSONBin data","operationId":"flywheel_daily_cycle_flywheel_daily_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/flywheel/run-full":{"post":{"summary":"Flywheel Run Full","description":"Run complete flywheel iteration using EXISTING modules:\nDiscovery → Pitch → Approve → Fulfill → Proof → Cross-sell → Expand\n\nThis is the master loop that connects all systems with REAL data.","operationId":"flywheel_run_full_flywheel_run_full_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/intent/{intent_id}/bid":{"post":{"summary":"Intent Bid","description":"Submit a bid on an intent.","operationId":"intent_bid_intent__intent_id__bid_post","parameters":[{"required":true,"schema":{"type":"string","title":"Intent Id"},"name":"intent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evolve/analyze-performance":{"post":{"summary":"Evolve Analyze Performance","description":"Analyze flywheel performance and identify optimization opportunities.\nUses REAL data from all systems to generate actionable insights.","operationId":"evolve_analyze_performance_evolve_analyze_performance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/evolve/auto-optimize":{"post":{"summary":"Evolve Auto Optimize","description":"Automatically apply safe optimizations based on performance analysis.\nRuns discovery, generates pitches, spawns businesses, and processes queues.","operationId":"evolve_auto_optimize_evolve_auto_optimize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/evolve/status":{"get":{"summary":"Evolve Status","description":"Get current protocol evolution status and health metrics.","operationId":"evolve_status_evolve_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/expansion/spawn-referral-funnel":{"post":{"summary":"Expansion Spawn Referral Funnel","description":"Extract customer emails from spawned businesses and convert to AiGentsy users.\nUses existing spawn data + email systems.","operationId":"expansion_spawn_referral_funnel_expansion_spawn_referral_funnel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/expansion/lox-activate":{"post":{"summary":"Expansion Lox Activate","description":"Activate Lead Overflow Exchange — post overflow leads and notify takers.\nWires existing LOX system to fulfillment overflow detection.","operationId":"expansion_lox_activate_expansion_lox_activate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/expansion/discovery-outreach-loop":{"post":{"summary":"Expansion Discovery Outreach Loop","description":"Full discovery → pitch → outreach loop.\nConnects existing discovery engines to existing outreach systems.","operationId":"expansion_discovery_outreach_loop_expansion_discovery_outreach_loop_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/expansion/run-all":{"post":{"summary":"Expansion Run All","description":"Run all expansion systems in sequence.\nMaster endpoint for full client acquisition expansion.","operationId":"expansion_run_all_expansion_run_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/expansion/status":{"get":{"summary":"Expansion Status","description":"Get status of all expansion systems.","operationId":"expansion_status_expansion_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pitches/generate-for-opportunities":{"post":{"summary":"Pitches Generate For Opportunities","description":"Generate AI-powered pitches for fulfillable opportunities only.\n\nFilters:\n- Only opportunities we can fulfill (can_fulfill=True)\n- Win probability >= 20%\n- Value >= $200\n- Respects platform TOS (rate limits, no spam)\n\nAI messaging emphasizes:\n- Minutes, not hours/days\n- 50% cheaper than market\n- AI learns and improves\n- Pay only if satisfied","operationId":"pitches_generate_for_opportunities_pitches_generate_for_opportunities_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pitches/send-approved":{"post":{"summary":"Pitches Send Approved","description":"Send all approved pitches via appropriate channels.\nRespects platform rate limits and TOS.","operationId":"pitches_send_approved_pitches_send_approved_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/outreach/cascade":{"post":{"summary":"Outreach Cascade","description":"MULTI-CHANNEL CASCADE - If channel fails, auto-try next.\nUses existing connectors: resend_connector, sms_connector, direct_outreach_engine","operationId":"outreach_cascade_outreach_cascade_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/instant-callback":{"post":{"summary":"Outreach Instant Callback","description":"INSTANT CALLBACK for high-value leads ($5k+). Uses existing resend_connector.","operationId":"outreach_instant_callback_outreach_instant_callback_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/auto-respond":{"post":{"summary":"Conversation Auto Respond","description":"24/7 AUTO-RESPONDER using existing conversation_engine.py","operationId":"conversation_auto_respond_conversation_auto_respond_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation/revenue-optimizer":{"post":{"summary":"Conversation Revenue Optimizer","description":"DYNAMIC PRICING based on intent signals. Integrates with existing pricing endpoints.","operationId":"conversation_revenue_optimizer_conversation_revenue_optimizer_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/smart-followup":{"post":{"summary":"Outreach Smart Followup","description":"SMART FOLLOW-UP timing based on engagement. Uses existing email_nurture.py patterns.","operationId":"outreach_smart_followup_outreach_smart_followup_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outreach/batch-cascade":{"post":{"summary":"Outreach Batch Cascade","description":"BATCH CASCADE using existing direct_outreach_engine.py","operationId":"outreach_batch_cascade_outreach_batch_cascade_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/execute-outreach":{"post":{"summary":"Spawn Execute Outreach","description":"EXECUTE AUTONOMOUS OUTREACH FOR SPAWNED BUSINESSES\n\nUses the EXISTING /integration/discover-and-execute production pipeline which:\n1. Uses hybrid discovery (Perplexity + direct APIs for Reddit, Twitter, GitHub)\n2. Multi-channel presentation (email, Twitter DM, SMS, WhatsApp, LinkedIn)\n3. Runs every 15 minutes via GitHub Actions\n\nThis leverages existing infrastructure instead of rebuilding.","operationId":"spawn_execute_outreach_spawn_execute_outreach_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/run-autonomous-cycle":{"post":{"summary":"Spawn Run Autonomous Cycle","description":"FULL AUTONOMOUS SPAWN CYCLE\n\n1. Detect trends → Spawn new businesses\n2. Execute outreach for all spawns\n3. Check lifecycle (scale/hibernate/kill)\n4. Report results","operationId":"spawn_run_autonomous_cycle_spawn_run_autonomous_cycle_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/outreach-status":{"get":{"summary":"Spawn Outreach Status","description":"Check autonomous outreach status for all spawned businesses","operationId":"spawn_outreach_status_spawn_outreach_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/auto-engage":{"post":{"summary":"Spawn Auto Engage","description":"AUTO-ENGAGE: Process incoming replies and generate responses.\n\nThis endpoint:\n1. Detects intent from prospect replies (INTERESTED, OBJECTION, READY_TO_BUY, etc.)\n2. Generates AI-powered contextual responses\n3. Advances conversation through stages (QUALIFYING → PROPOSING → CLOSING)\n4. Handles objections automatically\n5. Moves qualified leads to closing","operationId":"spawn_auto_engage_spawn_auto_engage_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/close-deal":{"post":{"summary":"Spawn Close Deal","description":"CLOSE DEAL: Move conversation to closed won.\n\nThis endpoint:\n1. Marks conversation as closed won\n2. Creates invoice/contract\n3. Updates spawn revenue metrics\n4. Triggers fulfillment flow","operationId":"spawn_close_deal_spawn_close_deal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/send-proposal":{"post":{"summary":"Spawn Send Proposal","description":"SEND PROPOSAL: Generate and send formal proposal to qualified lead.\n\nThis endpoint:\n1. Generates proposal based on conversation context\n2. Sends via appropriate channel\n3. Advances conversation to negotiating stage","operationId":"spawn_send_proposal_spawn_send_proposal_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spawn/conversations":{"get":{"summary":"Spawn Get Conversations","description":"Get all active conversations from spawned businesses","operationId":"spawn_get_conversations_spawn_conversations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/spawn/full-sales-cycle":{"post":{"summary":"Spawn Full Sales Cycle","description":"FULL SALES CYCLE: End-to-end autonomous sales for spawned businesses.\n\nThis combines:\n1. Execute outreach (find opps, generate pitches)\n2. Auto-engage (process replies, advance stages)\n3. Close deals (send proposals, collect payments)\n\nRun this periodically for fully autonomous revenue generation.","operationId":"spawn_full_sales_cycle_spawn_full_sales_cycle_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preview/{preview_id}":{"get":{"summary":"Get Preview By Id","description":"Get preview by ID. Checks multiple preview sources.","operationId":"get_preview_by_id_preview__preview_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Preview Id"},"name":"preview_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/checkout-link/{contract_id}":{"get":{"summary":"Get Stripe Checkout Link","description":"Generate a Stripe checkout link for a contract.","operationId":"get_stripe_checkout_link_stripe_checkout_link__contract_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Contract Id"},"name":"contract_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/watchlist":{"get":{"summary":"Get Clients Watchlist","description":"Get the client watchlist for monitoring.","operationId":"get_clients_watchlist_clients_watchlist_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/nurture/stats":{"get":{"summary":"Get Nurture Statistics","description":"Get nurture sequence statistics.","operationId":"get_nurture_statistics_nurture_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/referral/stats":{"get":{"summary":"Get Referral Statistics","description":"Get referral program statistics.","operationId":"get_referral_statistics_referral_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AcceptHandshakeRequest":{"properties":{"accepted":{"type":"boolean","title":"Accepted","default":true}},"type":"object","title":"AcceptHandshakeRequest","description":"Request to accept handshake terms"},"ActionizeRequest":{"properties":{"username":{"type":"string","title":"Username"},"template_type":{"type":"string","title":"Template Type"},"force_redeploy":{"type":"boolean","title":"Force Redeploy","default":false}},"type":"object","required":["username"],"title":"ActionizeRequest"},"ActionizeResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"message":{"type":"string","title":"Message"},"username":{"type":"string","title":"Username"},"template_type":{"type":"string","title":"Template Type"},"urls":{"additionalProperties":{"type":"string"},"type":"object","title":"Urls"},"deployment_time":{"type":"string","title":"Deployment Time"},"error":{"type":"string","title":"Error"}},"type":"object","required":["ok","message","username"],"title":"ActionizeResponse"},"ActivateReq":{"properties":{"user_id":{"type":"string","title":"User Id"},"graph_id":{"type":"string","title":"Graph Id"}},"type":"object","required":["user_id","graph_id"],"title":"ActivateReq"},"AdminIn":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"AdminIn"},"AggressionConfig":{"properties":{"level":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Level","default":5},"mode":{"type":"string","title":"Mode","default":"AUTO"}},"type":"object","title":"AggressionConfig"},"AllocateReq":{"properties":{"user_id":{"type":"string","title":"User Id"},"budget_usd":{"type":"number","title":"Budget Usd"}},"type":"object","required":["user_id","budget_usd"],"title":"AllocateReq"},"ApexOptions":{"properties":{"fa30_enabled":{"type":"boolean","title":"Fa30 Enabled","default":false},"dual_track_enabled":{"type":"boolean","title":"Dual Track Enabled","default":false},"use_hot_start_kits":{"type":"boolean","title":"Use Hot Start Kits","default":false},"use_execution_similarity":{"type":"boolean","title":"Use Execution Similarity","default":false},"multilingual_outreach":{"type":"boolean","title":"Multilingual Outreach","default":false}},"type":"object","title":"ApexOptions"},"ApprovePreviewRequest":{"properties":{"approved":{"type":"boolean","title":"Approved","default":true}},"type":"object","title":"ApprovePreviewRequest","description":"Request to approve preview and create deposit"},"AutoGoIntentRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID"},"quote_id":{"type":"string","title":"Quote Id","description":"Quote ID"},"scope_lock_hash":{"type":"string","title":"Scope Lock Hash","description":"Scope lock hash"},"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer ID"},"mandate_id":{"type":"string","title":"Mandate Id","description":"Mandate ID"}},"type":"object","required":["deal_id","quote_id","scope_lock_hash","buyer_id","mandate_id"],"title":"AutoGoIntentRequest"},"AutoGoRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID from proof-pack"},"quote_id":{"type":"string","title":"Quote Id","description":"Quote ID from proof-pack"},"scope_lock_hash":{"type":"string","title":"Scope Lock Hash","description":"Scope lock hash from proof-pack"},"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer identifier"},"mandate_id":{"type":"string","title":"Mandate Id","description":"BuyerMandate ID"}},"type":"object","required":["deal_id","quote_id","scope_lock_hash","buyer_id","mandate_id"],"title":"AutoGoRequest"},"AwardSubcontract":{"properties":{"bid_id":{"type":"string","title":"Bid Id","description":"Bid ID to award"}},"type":"object","required":["bid_id"],"title":"AwardSubcontract"},"BadgeAttestationRequest":{"properties":{"outcome_id":{"type":"string","title":"Outcome Id"},"outcome_type":{"type":"string","title":"Outcome Type"},"outcome_hash":{"type":"string","title":"Outcome Hash"},"sla_verdict":{"type":"string","title":"Sla Verdict","default":"pass"},"proofs":{"items":{"type":"object"},"type":"array","title":"Proofs","default":[]},"entity":{"type":"string","title":"Entity"}},"type":"object","required":["outcome_id","outcome_type","outcome_hash","entity"],"title":"BadgeAttestationRequest"},"Bid":{"properties":{"intent_id":{"type":"string","title":"Intent Id"},"agent":{"type":"string","title":"Agent"},"price_usd":{"type":"number","title":"Price Usd"},"delivery_hours":{"type":"integer","title":"Delivery Hours"},"message":{"type":"string","title":"Message","default":""}},"type":"object","required":["intent_id","agent","price_usd","delivery_hours"],"title":"Bid"},"BidOnSubcontract":{"properties":{"bid_price":{"type":"number","exclusiveMinimum":0.0,"title":"Bid Price","description":"Bid price in USD"},"estimated_hours":{"type":"integer","title":"Estimated Hours","description":"Estimated delivery time in hours","default":24},"message":{"type":"string","title":"Message","description":"Message to parent agent","default":""}},"type":"object","required":["bid_price"],"title":"BidOnSubcontract"},"BidOutcomeRequest":{"properties":{"bid_id":{"type":"string","title":"Bid Id"},"won":{"type":"boolean","title":"Won"},"winning_price":{"type":"number","title":"Winning Price"}},"type":"object","required":["bid_id","won"],"title":"BidOutcomeRequest"},"BindRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"binding_type":{"type":"string","title":"Binding Type"},"binding_value":{"type":"string","title":"Binding Value"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["agent_id","binding_type","binding_value"],"title":"BindRequest"},"BirthRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Agent display name"},"agent_type":{"type":"string","title":"Agent Type","description":"Agent type","default":"ai_agent"},"capabilities":{"items":{},"type":"array","title":"Capabilities","description":"Initial capabilities"},"description":{"type":"string","title":"Description","description":"Agent description","default":""},"api_endpoint":{"type":"string","title":"Api Endpoint","description":"Callback URL"},"owner_email":{"type":"string","title":"Owner Email","description":"Owner email"},"initial_slo_tier":{"type":"string","title":"Initial Slo Tier","description":"Initial SLO tier","default":"standard"}},"type":"object","required":["name"],"title":"BirthRequest"},"Body_allocate_referral_revenue_money_referral_allocate_post":{"properties":{"gross":{"type":"number","title":"Gross"},"chain":{"items":{"type":"string"},"type":"array","title":"Chain"}},"type":"object","required":["gross","chain"],"title":"Body_allocate_referral_revenue_money_referral_allocate_post"},"Body_attribute_revenue_money_referral_attribute_post":{"properties":{"user":{"type":"string","title":"User"},"gross":{"type":"number","title":"Gross"},"source":{"type":"string","title":"Source","default":"purchase"}},"type":"object","required":["user","gross"],"title":"Body_attribute_revenue_money_referral_attribute_post"},"Body_bundle_create_bundles_create_post":{"properties":{"agents":{"items":{"type":"string"},"type":"array","title":"Agents"},"services":{"items":{"type":"object"},"type":"array","title":"Services"},"pricing":{"type":"object","title":"Pricing"}},"type":"object","required":["agents","services","pricing"],"title":"Body_bundle_create_bundles_create_post"},"Body_conductor_register_conductor_register_post":{"properties":{"connected_apps":{"items":{"type":"object"},"type":"array","title":"Connected Apps"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"}},"type":"object","required":["connected_apps","capabilities"],"title":"Body_conductor_register_conductor_register_post"},"Body_create_license_money_license_issue_post":{"properties":{"license_type":{"type":"string","title":"License Type"},"licensee":{"type":"string","title":"Licensee"},"config":{"type":"object","title":"Config","default":{}},"billing_period":{"type":"string","title":"Billing Period","default":"monthly"}},"type":"object","required":["license_type","licensee"],"title":"Body_create_license_money_license_issue_post"},"Body_dark_pool_bid_submit_post_dark_pool_bid_submit_post":{"properties":{"auction":{"type":"object","title":"Auction"},"agent_user":{"type":"object","title":"Agent User"}},"type":"object","required":["auction","agent_user"],"title":"Body_dark_pool_bid_submit_post_dark_pool_bid_submit_post"},"Body_detect_spread_money_arbitrage_detect_spread_post":{"properties":{"bids":{"items":{"type":"object"},"type":"array","title":"Bids"},"asks":{"items":{"type":"object"},"type":"array","title":"Asks"},"min_pct":{"type":"number","title":"Min Pct","default":0.12}},"type":"object","required":["bids","asks"],"title":"Body_detect_spread_money_arbitrage_detect_spread_post"},"Body_franchise_template_create_post_franchise_template_create_post":{"properties":{"available_licenses":{"items":{"type":"string"},"type":"array","title":"Available Licenses","default":["basic","professional"]},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"Body_franchise_template_create_post_franchise_template_create_post"},"Body_hive_contribute_hive_contribute_post":{"properties":{"context":{"type":"object","title":"Context"},"action":{"type":"object","title":"Action"},"outcome":{"type":"object","title":"Outcome"}},"type":"object","required":["context","action","outcome"],"title":"Body_hive_contribute_hive_contribute_post"},"Body_learn_from_outcome_wade_revenue_mesh_learn_post":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"},"actual_outcome":{"type":"object","title":"Actual Outcome"}},"type":"object","required":["opportunity_id","actual_outcome"],"title":"Body_learn_from_outcome_wade_revenue_mesh_learn_post"},"Body_memory_store_memory_store_post":{"properties":{"context":{"type":"object","title":"Context"},"action":{"type":"object","title":"Action"},"outcome":{"type":"object","title":"Outcome"}},"type":"object","required":["context","action","outcome"],"title":"Body_memory_store_memory_store_post"},"Body_poo_issue_poo_issue_post":{"properties":{"metrics":{"type":"object","title":"Metrics"},"evidence_urls":{"items":{"type":"string"},"type":"array","title":"Evidence Urls"}},"type":"object","title":"Body_poo_issue_poo_issue_post"},"Body_poo_submit_poo_submit_post":{"properties":{"evidence_urls":{"items":{"type":"string"},"type":"array","title":"Evidence Urls"},"metrics":{"type":"object","title":"Metrics"}},"type":"object","title":"Body_poo_submit_poo_submit_post"},"Body_set_fee_money_fees__key__post":{"properties":{"value":{"type":"number","title":"Value"}},"type":"object","required":["value"],"title":"Body_set_fee_money_fees__key__post"},"Body_team_create_team_create_post":{"properties":{"members":{"items":{"type":"string"},"type":"array","title":"Members"},"split":{"items":{"type":"number"},"type":"array","title":"Split"}},"type":"object","required":["members","split"],"title":"Body_team_create_team_create_post"},"CACPriceIn":{"properties":{"base_price":{"type":"number","title":"Base Price"},"llm_tokens":{"type":"integer","title":"Llm Tokens","default":0},"image_jobs":{"type":"integer","title":"Image Jobs","default":0},"video_seconds":{"type":"integer","title":"Video Seconds","default":0},"voice_chars":{"type":"integer","title":"Voice Chars","default":0},"margin_target":{"type":"number","title":"Margin Target","default":0.55}},"type":"object","required":["base_price"],"title":"CACPriceIn"},"CampaignUpdate":{"properties":{"campaign_id":{"type":"string","title":"Campaign Id"},"actual_revenue":{"type":"number","title":"Actual Revenue"},"actual_cost":{"type":"number","title":"Actual Cost"}},"type":"object","required":["campaign_id","actual_revenue","actual_cost"],"title":"CampaignUpdate"},"ChannelPacingReq":{"properties":{"user_id":{"type":"string","title":"User Id"},"channel":{"type":"string","title":"Channel"},"performance":{"additionalProperties":{"type":"number"},"type":"object","title":"Performance"}},"type":"object","required":["user_id","channel","performance"],"title":"ChannelPacingReq"},"CircuitIn":{"properties":{"name":{"type":"string","title":"Name"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["name"],"title":"CircuitIn"},"CommitRequest":{"properties":{"offer_id":{"type":"string","title":"Offer Id","description":"OfferNet offer ID to commit to"},"bid_price":{"type":"number","title":"Bid Price","description":"Bid price in USD"},"estimated_hours":{"type":"integer","title":"Estimated Hours","description":"Estimated delivery time in hours","default":24},"message":{"type":"string","title":"Message","description":"Message to offer creator","default":""},"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID for universal tracking"}},"type":"object","required":["offer_id","bid_price"],"title":"CommitRequest"},"CompileNLRequest":{"properties":{"text":{"type":"string","minLength":10,"title":"Text"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["text"],"title":"CompileNLRequest"},"CompileStructuredRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"stages":{"items":{"type":"object"},"type":"array","title":"Stages"},"total_budget_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Total Budget Usd"},"vertical":{"type":"string","title":"Vertical","default":"marketing"},"unlock_rules":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"Unlock Rules"},"allow_partial_failure":{"type":"boolean","title":"Allow Partial Failure","default":false},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["client_id","stages","total_budget_usd"],"title":"CompileStructuredRequest"},"ContractRequest":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"}},"type":"object","required":["opportunity_id"],"title":"ContractRequest"},"CreateDestinationRequest":{"properties":{"owner_id":{"type":"string","title":"Owner Id","description":"Seller/provider agent_id"},"rail":{"type":"string","title":"Rail","description":"STRIPE_CONNECT | ACH | PAYPAL | CRYPTO_USDT | CRYPTO_USDC"},"address":{"type":"string","title":"Address","description":"Payout address (email, account_id, token, wallet)"},"status":{"type":"string","title":"Status","description":"Initial status: ACTIVE or VERIFIED","default":"ACTIVE"},"metadata":{"type":"object","title":"Metadata","description":"Provider-specific fields"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["owner_id","rail","address"],"title":"CreateDestinationRequest"},"CreateGraphRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","description":"Client / buyer ID"},"stages":{"items":{"$ref":"#/components/schemas/StageDefinition"},"type":"array","title":"Stages"},"total_amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Total Amount Usd"},"vertical":{"type":"string","title":"Vertical","default":"marketing"},"unlock_rules":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"Unlock Rules","description":"stage_id -> [{depends_on_stage, requires: [event_types]}]"},"allow_partial_failure":{"type":"boolean","title":"Allow Partial Failure","description":"If true, downstream stages lock on failure instead of blocking graph","default":false},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["client_id","stages","total_amount_usd"],"title":"CreateGraphRequest"},"CreateLinkRequest":{"properties":{"source_graph_id":{"type":"string","title":"Source Graph Id"},"source_stage_id":{"type":"string","title":"Source Stage Id"},"target_graph_id":{"type":"string","title":"Target Graph Id"},"target_stage_id":{"type":"string","title":"Target Stage Id"},"condition":{"type":"object","title":"Condition"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["source_graph_id","source_stage_id","target_graph_id","target_stage_id","condition"],"title":"CreateLinkRequest"},"CreateMandateRequest":{"properties":{"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer identifier"},"stripe_customer_id":{"type":"string","title":"Stripe Customer Id","description":"Stripe customer ID (for off-session charges)","default":""},"stripe_payment_method_id":{"type":"string","title":"Stripe Payment Method Id","description":"Stripe payment method ID","default":""},"max_amount_per_deal_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Max Amount Per Deal Usd","description":"Max per-deal auto-approve","default":500.0},"max_amount_per_day_usd":{"type":"number","minimum":0.0,"title":"Max Amount Per Day Usd","description":"Max daily auto-approve (0=unlimited)","default":0.0},"allowed_verticals":{"items":{"type":"string"},"type":"array","title":"Allowed Verticals","description":"Verticals allowed for auto-go","default":["marketing","saas","ecommerce"]},"confidence_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence Threshold","description":"Min confidence for auto-go","default":0.85},"allow_new_agent":{"type":"boolean","title":"Allow New Agent","description":"Allow auto-go with unseen agents","default":false},"allow_new_sku":{"type":"boolean","title":"Allow New Sku","description":"Allow auto-go with unseen SKUs","default":false},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["buyer_id"],"title":"CreateMandateRequest"},"CreateOutcomeRequest":{"properties":{"intent_id":{"type":"string","title":"Intent Id","default":""},"agent_id":{"type":"string","title":"Agent Id"},"client_id":{"type":"string","title":"Client Id"},"metric":{"type":"string","title":"Metric"},"base_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Base Usd"},"bonus_usd":{"type":"number","minimum":0.0,"title":"Bonus Usd","default":0},"measurement_window_hours":{"type":"integer","exclusiveMinimum":0.0,"title":"Measurement Window Hours","default":168},"verifier":{"type":"string","title":"Verifier","default":"ci_cd"},"threshold":{"type":"number","minimum":0.0,"title":"Threshold","default":0.0},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["agent_id","client_id","metric","base_usd"],"title":"CreateOutcomeRequest"},"CreateProgrammableMandateRequest":{"properties":{"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer identifier"},"rules":{"items":{"type":"object"},"type":"array","title":"Rules","description":"Ordered list of rules (first match wins)"},"default_action":{"type":"string","title":"Default Action","description":"Action if no rule matches","default":"reject"},"max_amount_per_deal_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Max Amount Per Deal Usd","default":500.0},"max_amount_per_day_usd":{"type":"number","minimum":0.0,"title":"Max Amount Per Day Usd","default":0.0}},"type":"object","required":["buyer_id","rules"],"title":"CreateProgrammableMandateRequest"},"CreateReq":{"properties":{"user_id":{"type":"string","title":"User Id"},"opportunity":{"type":"object","title":"Opportunity"},"roles_needed":{"items":{"type":"string"},"type":"array","title":"Roles Needed"},"rev_split":{"items":{"type":"object"},"type":"array","title":"Rev Split"}},"type":"object","required":["user_id","opportunity","roles_needed","rev_split"],"title":"CreateReq"},"CreateStakeRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal to stake against"},"amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Usd","description":"Amount to stake in USD"},"commitment":{"type":"string","title":"Commitment","description":"What the agent commits to (e.g. 'deliver_within_24h')","default":""}},"type":"object","required":["deal_id","amount_usd"],"title":"CreateStakeRequest"},"DarkpoolClaimIn":{"properties":{"lead_id":{"type":"string","title":"Lead Id"},"revshare_bps":{"type":"integer","title":"Revshare Bps","default":1500}},"type":"object","required":["lead_id"],"title":"DarkpoolClaimIn"},"DarkpoolListIn":{"properties":{"lead_id":{"type":"string","title":"Lead Id"},"niche":{"type":"string","title":"Niche"},"reserve_usd":{"type":"number","title":"Reserve Usd"},"description":{"type":"string","title":"Description"}},"type":"object","required":["lead_id"],"title":"DarkpoolListIn"},"DarkpoolSettleIn":{"properties":{"lead_id":{"type":"string","title":"Lead Id"},"gross_usd":{"type":"number","title":"Gross Usd"},"revshare_bps":{"type":"integer","title":"Revshare Bps"}},"type":"object","required":["lead_id","gross_usd","revshare_bps"],"title":"DarkpoolSettleIn"},"DataProductRequest":{"properties":{"buyer":{"type":"string","title":"Buyer"},"product_type":{"type":"string","title":"Product Type"},"config":{"type":"object","title":"Config","default":{}}},"type":"object","required":["buyer","product_type"],"title":"DataProductRequest"},"DeliverRequest":{"properties":{"job_id":{"type":"string","title":"Job Id","description":"Job/offer ID"},"proof_type":{"type":"string","title":"Proof Type","description":"Proof type: completion, pos_receipt, invoice_paid","default":"completion"},"proof_data":{"type":"object","title":"Proof Data","description":"Proof payload"},"attachment_url":{"type":"string","title":"Attachment Url","description":"URL to deliverable artifact"},"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID for universal tracking"}},"type":"object","required":["job_id"],"title":"DeliverRequest"},"DiscoverRequest":{"properties":{"platforms":{"items":{"type":"string"},"type":"array","title":"Platforms"},"max_results":{"type":"integer","title":"Max Results","default":100},"enrich":{"type":"boolean","title":"Enrich","default":true},"route":{"type":"boolean","title":"Route","default":true},"strategy":{"type":"string","title":"Strategy","default":"perplexity_first"}},"type":"object","title":"DiscoverRequest"},"DiscoverResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"opportunities":{"items":{"type":"object"},"type":"array","title":"Opportunities"},"stats":{"type":"object","title":"Stats"},"timing_ms":{"type":"number","title":"Timing Ms"}},"type":"object","required":["ok","opportunities","stats","timing_ms"],"title":"DiscoverResponse"},"DominationConfig":{"properties":{"use_free":{"type":"boolean","title":"Use Free","default":true},"use_paid":{"type":"boolean","title":"Use Paid","default":true},"search_queries":{"items":{"type":"string"},"type":"array","title":"Search Queries"},"max_opportunities":{"type":"integer","title":"Max Opportunities","default":500}},"type":"object","title":"DominationConfig","description":"Configuration for internet domination scan"},"EnrichRequest":{"properties":{"opportunities":{"items":{"type":"object"},"type":"array","title":"Opportunities"}},"type":"object","required":["opportunities"],"title":"EnrichRequest"},"EraseRequest":{"properties":{"subject_id":{"type":"string","title":"Subject Id"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"type":"object","required":["subject_id"],"title":"EraseRequest"},"EvaluateMandateRequest":{"properties":{"mandate_id":{"type":"string","title":"Mandate Id","description":"Mandate ID (or use buyer_id)"},"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer ID (looks up active mandate)"},"context":{"type":"object","title":"Context","description":"Context to evaluate against rules"}},"type":"object","required":["context"],"title":"EvaluateMandateRequest"},"EvaluatePolicyRequest":{"properties":{"predicates":{"items":{"type":"object"},"type":"array","title":"Predicates"},"context":{"type":"object","title":"Context"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["predicates","context"],"title":"EvaluatePolicyRequest"},"ExecuteRequest":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["opportunity_id"],"title":"ExecuteRequest"},"ExperimentConfig":{"properties":{"segment":{"type":"string","title":"Segment"},"hypothesis":{"type":"string","title":"Hypothesis"},"metric":{"type":"string","title":"Metric","default":"conversion_rate"},"budget":{"type":"number","title":"Budget","default":100},"duration_days":{"type":"integer","title":"Duration Days","default":7}},"type":"object","required":["segment","hypothesis"],"title":"ExperimentConfig"},"FactorRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["agent_id"],"title":"FactorRequest"},"FullStackRequest":{"properties":{"max_opportunities":{"type":"integer","title":"Max Opportunities","default":10},"auto_contract":{"type":"boolean","title":"Auto Contract","default":true},"auto_execute":{"type":"boolean","title":"Auto Execute","default":true},"dry_run":{"type":"boolean","title":"Dry Run","default":false},"apex_options":{"$ref":"#/components/schemas/ApexOptions"},"trigger":{"type":"string","title":"Trigger"},"cycle_number":{"type":"integer","title":"Cycle Number"},"run_id":{"type":"string","title":"Run Id"},"run_number":{"type":"integer","title":"Run Number"}},"type":"object","title":"FullStackRequest"},"GoRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID from proof-pack"},"scope_lock_hash":{"type":"string","title":"Scope Lock Hash","description":"Scope lock hash from proof-pack (prevents scope drift)"},"quote_id":{"type":"string","title":"Quote Id","description":"Quote ID from proof-pack (server derives amount)"},"amount":{"type":"number","title":"Amount","description":"Optional override — validated against stored quote + floor"},"currency":{"type":"string","title":"Currency","description":"Currency","default":"USD"},"vertical":{"type":"string","title":"Vertical","description":"Vertical for pricing guardrails","default":"marketing"},"scope_summary":{"type":"string","title":"Scope Summary","description":"Locked scope description","default":""},"buyer_email":{"type":"string","title":"Buyer Email","description":"Buyer email for Stripe"},"actor_id":{"type":"string","title":"Actor Id","description":"Who is approving","default":"buyer"}},"type":"object","required":["deal_id","scope_lock_hash","quote_id"],"title":"GoRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InstructionRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID (universal invariant)"},"gross_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Gross Amount","description":"Gross settlement amount"},"net_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Net Amount","description":"Net amount after fees"},"currency":{"type":"string","title":"Currency","default":"USD"},"recipient_id":{"type":"string","title":"Recipient Id","description":"Recipient agent_id"},"destination_type":{"type":"string","title":"Destination Type","description":"Capability-based destination type","default":""},"destination_identifier":{"type":"string","title":"Destination Identifier","description":"Opaque recipient address","default":""},"proof_hash":{"type":"string","title":"Proof Hash","description":"Proof hash from proof pipeline","default":""},"policy_hash":{"type":"string","title":"Policy Hash","description":"Frozen policy hash","default":""},"source_event_id":{"type":"string","title":"Source Event Id","default":""},"preferred_provider":{"type":"string","title":"Preferred Provider","default":""},"fees":{"type":"object","title":"Fees","description":"Fee breakdown by rail"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["deal_id","gross_amount","net_amount","recipient_id"],"title":"InstructionRequest"},"Intent":{"properties":{"user_id":{"type":"string","title":"User Id"},"intent":{"type":"object","title":"Intent"},"escrow_usd":{"type":"number","title":"Escrow Usd","default":0.0},"auction_duration":{"type":"integer","title":"Auction Duration","default":90}},"type":"object","required":["user_id","intent"],"title":"Intent"},"IntentSignal":{"properties":{"budget":{"type":"number","title":"Budget"},"deadline_days":{"type":"integer","title":"Deadline Days"},"niche":{"type":"string","title":"Niche"},"channel":{"type":"string","title":"Channel"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"}},"type":"object","title":"IntentSignal"},"LTVIn":{"properties":{"client_id":{"type":"string","title":"Client Id"},"order_history":{"items":{"type":"object"},"type":"array","title":"Order History"},"niche":{"type":"string","title":"Niche"}},"type":"object","required":["client_id"],"title":"LTVIn"},"LedgerEntryRequest":{"properties":{"entry_type":{"type":"string","title":"Entry Type"},"ref":{"type":"string","title":"Ref"},"debit":{"type":"number","title":"Debit","default":0},"credit":{"type":"number","title":"Credit","default":0},"meta":{"type":"object","title":"Meta","default":{}}},"type":"object","required":["entry_type","ref"],"title":"LedgerEntryRequest"},"LicenseQuoteRequest":{"properties":{"license_type":{"type":"string","title":"License Type"},"seats":{"type":"integer","title":"Seats","default":10},"connectors":{"type":"integer","title":"Connectors","default":5},"region":{"type":"string","title":"Region","default":"us"},"custom_domain":{"type":"boolean","title":"Custom Domain","default":false},"custom_branding":{"type":"boolean","title":"Custom Branding","default":false},"nodes":{"type":"integer","title":"Nodes","default":10},"expected_monthly_revenue":{"type":"number","title":"Expected Monthly Revenue","default":50000}},"type":"object","required":["license_type"],"title":"LicenseQuoteRequest"},"MandateSetupIntentRequest":{"properties":{"buyer_id":{"type":"string","title":"Buyer Id","description":"Buyer ID"},"stripe_customer_id":{"type":"string","title":"Stripe Customer Id","description":"Stripe customer ID","default":""},"max_amount_per_deal_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Max Amount Per Deal Usd","default":500.0},"allowed_verticals":{"items":{"type":"string"},"type":"array","title":"Allowed Verticals","default":["marketing","saas","ecommerce"]},"confidence_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence Threshold","default":0.85}},"type":"object","required":["buyer_id"],"title":"MandateSetupIntentRequest"},"MeasureRequest":{"properties":{"measured_value":{"type":"number","title":"Measured Value"},"actor_id":{"type":"string","title":"Actor Id","default":"verifier"},"receipt_hash":{"type":"string","title":"Receipt Hash","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["measured_value"],"title":"MeasureRequest"},"MetricEvent":{"properties":{"event":{"type":"string","maxLength":100,"title":"Event"},"agent_id":{"type":"string","title":"Agent Id"},"session_id":{"type":"string","title":"Session Id"},"page":{"type":"string","title":"Page"},"ts":{"type":"string","title":"Ts"},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["event"],"title":"MetricEvent"},"MigrateRequest":{"properties":{"target_capabilities":{"items":{},"type":"array","title":"Target Capabilities","description":"New capability set"},"reason":{"type":"string","title":"Reason","description":"Migration reason","default":""}},"type":"object","required":["target_capabilities"],"title":"MigrateRequest"},"MilestoneReleaseRequest":{"properties":{"contract_id":{"type":"string","title":"Contract Id"},"milestone_id":{"type":"string","title":"Milestone Id"}},"type":"object","required":["contract_id","milestone_id"],"title":"MilestoneReleaseRequest"},"MultiPartyRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID (universal invariant)"},"total_amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Total Amount Usd","description":"Total settlement amount in USD"},"splits":{"items":{"$ref":"#/components/schemas/SplitEntry"},"type":"array","title":"Splits","description":"Settlement splits (min 2 parties)"},"provider":{"type":"string","title":"Provider","description":"Settlement provider for payouts","default":"balance"},"currency":{"type":"string","title":"Currency","description":"Settlement currency","default":"USD"},"proof_hash":{"type":"string","title":"Proof Hash","description":"Proof hash for verification"},"metadata":{"type":"object","title":"Metadata","description":"Additional metadata"}},"type":"object","required":["deal_id","total_amount_usd","splits"],"title":"MultiPartyRequest"},"PartnerIngestIn":{"properties":{"skus":{"items":{"$ref":"#/components/schemas/PartnerSKU"},"type":"array","title":"Skus"}},"type":"object","required":["skus"],"title":"PartnerIngestIn"},"PartnerRouteOrderIn":{"properties":{"sku":{"type":"string","title":"Sku"},"order_id":{"type":"string","title":"Order Id"},"order_value":{"type":"number","title":"Order Value"}},"type":"object","required":["sku","order_id","order_value"],"title":"PartnerRouteOrderIn"},"PartnerSKU":{"properties":{"sku":{"type":"string","title":"Sku"},"title":{"type":"string","title":"Title"},"price":{"type":"number","title":"Price"},"partner_id":{"type":"string","title":"Partner Id"},"take_rate":{"type":"number","title":"Take Rate","default":0.15},"category":{"type":"string","title":"Category"}},"type":"object","required":["sku","title","price","partner_id"],"title":"PartnerSKU"},"PayoutDestIntentRequest":{"properties":{"owner_id":{"type":"string","title":"Owner Id","description":"Seller agent_id"},"rail":{"type":"string","title":"Rail","description":"STRIPE_CONNECT | ACH | PAYPAL"},"address":{"type":"string","title":"Address","description":"Payout address"},"action":{"type":"string","title":"Action","description":"create | verify | pause","default":"create"},"destination_id":{"type":"string","title":"Destination Id","description":"Required for verify/pause","default":""}},"type":"object","required":["owner_id","rail","address"],"title":"PayoutDestIntentRequest"},"PayoutIntentRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID"},"to_agent":{"type":"string","title":"To Agent","description":"Recipient agent_id"},"gross_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Gross Amount","description":"Gross amount"},"platform_fee":{"type":"number","minimum":0.0,"title":"Platform Fee","description":"Platform fee","default":0},"settlement_fee":{"type":"number","minimum":0.0,"title":"Settlement Fee","description":"Settlement fee","default":0},"source_event_id":{"type":"string","title":"Source Event Id","description":"Source event for audit","default":""}},"type":"object","required":["deal_id","to_agent","gross_amount"],"title":"PayoutIntentRequest"},"PredictSuccessRequest":{"properties":{"user_data":{"type":"object","title":"User Data"}},"type":"object","required":["user_data"],"title":"PredictSuccessRequest"},"PreflightRequest":{"properties":{"sku_id":{"type":"string","title":"Sku Id","description":"SKU to check readiness for"},"agent_id":{"type":"string","title":"Agent Id","description":"Agent requesting preflight","default":""},"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID for tracking"},"existing_data":{"type":"object","title":"Existing Data","description":"Data already collected"}},"type":"object","required":["sku_id"],"title":"PreflightRequest"},"PriceQuoteRequest":{"properties":{"base_price":{"type":"number","title":"Base Price"},"fx_rate":{"type":"number","title":"Fx Rate","default":1.0},"load_pct":{"type":"number","title":"Load Pct","default":0.3},"wave_score":{"type":"number","title":"Wave Score","default":0.2},"cogs":{"type":"number","title":"Cogs","default":0.0},"min_margin":{"type":"number","title":"Min Margin","default":0.25}},"type":"object","required":["base_price"],"title":"PriceQuoteRequest"},"PriceRecommendationRequest":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"},"category":{"type":"string","title":"Category"},"estimated_hours":{"type":"number","title":"Estimated Hours"},"platform":{"type":"string","title":"Platform"},"buyer_budget":{"type":"number","title":"Buyer Budget"},"competitor_count":{"type":"integer","title":"Competitor Count","default":0},"agent_reputation":{"type":"number","title":"Agent Reputation","default":0.5},"urgency":{"type":"string","title":"Urgency","default":"normal"}},"type":"object","required":["opportunity_id","category","estimated_hours","platform"],"title":"PriceRecommendationRequest"},"ProofPackIntentRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID"},"proof_type":{"type":"string","title":"Proof Type","description":"Proof type","default":"preview"},"source":{"type":"string","title":"Source","description":"Proof source","default":"auto"},"agent_username":{"type":"string","title":"Agent Username","description":"Agent username","default":""},"vertical":{"type":"string","title":"Vertical","description":"Vertical","default":"marketing"},"sku_id":{"type":"string","title":"Sku Id","description":"SKU ID","default":""},"scope_summary":{"type":"string","title":"Scope Summary","description":"Scope description","default":""},"proof_data":{"type":"object","title":"Proof Data"},"attachment_url":{"type":"string","title":"Attachment Url","description":"Proof attachment URL","default":""}},"type":"object","required":["deal_id"],"title":"ProofPackIntentRequest"},"ProofPackRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID (auto-generated if missing)"},"proof_type":{"type":"string","title":"Proof Type","description":"Proof type","default":"completion_photo"},"source":{"type":"string","title":"Source","description":"Proof source","default":"manual"},"agent_username":{"type":"string","title":"Agent Username","description":"Agent creating proof"},"vertical":{"type":"string","title":"Vertical","description":"Vertical for policy","default":"marketing"},"sku_id":{"type":"string","title":"Sku Id","description":"SKU identifier","default":""},"scope_summary":{"type":"string","title":"Scope Summary","description":"Short summary of deliverable","default":""},"proof_data":{"type":"object","title":"Proof Data"},"attachment_url":{"type":"string","title":"Attachment Url","description":"Preview asset URL"},"parent_proof_ids":{"items":{"type":"string"},"type":"array","title":"Parent Proof Ids","description":"Parent proof deal_ids for proof chains (provenance linking)"}},"type":"object","required":["agent_username"],"title":"ProofPackRequest"},"ProviderSelectRequest":{"properties":{"destination_type":{"type":"string","title":"Destination Type","description":"bank_payout, email_payout, marketplace_disbursement, wallet_payout, balance_transfer","default":""},"currency":{"type":"string","title":"Currency","description":"ISO 4217 currency code","default":"USD"},"region":{"type":"string","title":"Region","description":"ISO 3166-1 alpha-2 country code","default":"US"},"preferred_provider":{"type":"string","title":"Preferred Provider","description":"Operator preference (non-binding)","default":""},"amount":{"type":"number","title":"Amount","description":"Settlement amount for range check","default":0.0},"require_refund":{"type":"boolean","title":"Require Refund","description":"Require refund support","default":false},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"ProviderSelectRequest"},"PublishCredentialRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID of the verified proof"},"capability_tags":{"items":{"type":"string"},"type":"array","title":"Capability Tags","description":"Searchable capability tags (e.g. ['logo_design', 'brand_identity'])"}},"type":"object","required":["deal_id"],"title":"PublishCredentialRequest"},"PublishIntentRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","description":"Client publishing the intent"},"capability":{"type":"string","title":"Capability","description":"What capability is needed (e.g. 'marketing', 'web_dev')"},"budget_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Budget Usd"},"deadline_hours":{"type":"integer","exclusiveMinimum":0.0,"title":"Deadline Hours","default":24},"requirements":{"type":"object","title":"Requirements"},"verification_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Verification Threshold","default":0.7},"sla_hours":{"type":"integer","minimum":0.0,"title":"Sla Hours","default":0},"allow_graph":{"type":"boolean","title":"Allow Graph","description":"Allow winner to create a Settlement Graph","default":false},"outcome_spec":{"type":"object","title":"Outcome Spec","description":"Outcome-contingent pricing spec"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["client_id","capability","budget_usd"],"title":"PublishIntentRequest"},"PublishRootRequest":{"properties":{"date":{"type":"string","title":"Date","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"PublishRootRequest"},"RebalanceIn":{"properties":{"raise_offers":{"items":{"type":"string"},"type":"array","title":"Raise Offers"},"lower_offers":{"items":{"type":"string"},"type":"array","title":"Lower Offers"},"auto":{"type":"boolean","title":"Auto","default":false}},"type":"object","title":"RebalanceIn"},"RecordObligationRequest":{"properties":{"from_agent":{"type":"string","title":"From Agent","description":"Debtor agent_id"},"to_agent":{"type":"string","title":"To Agent","description":"Creditor agent_id"},"amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Usd"},"deal_id":{"type":"string","title":"Deal Id","description":"Associated deal_id","default":""}},"type":"object","required":["from_agent","to_agent","amount_usd"],"title":"RecordObligationRequest"},"RecordPayoutRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"platform":{"type":"string","title":"Platform"},"amount":{"type":"number","title":"Amount"},"reference_id":{"type":"string","title":"Reference Id"},"description":{"type":"string","title":"Description","default":"Platform payout"}},"type":"object","required":["user_id","platform","amount","reference_id"],"title":"RecordPayoutRequest"},"RecordRevenueRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"platform":{"type":"string","title":"Platform"},"amount":{"type":"number","title":"Amount"},"reference_id":{"type":"string","title":"Reference Id"},"description":{"type":"string","title":"Description","default":"Platform revenue"}},"type":"object","required":["user_id","platform","amount","reference_id"],"title":"RecordRevenueRequest"},"RecoveryComposeIn":{"properties":{"order_ref":{"type":"string","title":"Order Ref"},"cart_value":{"type":"number","title":"Cart Value"},"email":{"type":"string","title":"Email"},"channel":{"type":"string","title":"Channel","default":"email"}},"type":"object","required":["order_ref"],"title":"RecoveryComposeIn"},"RecoveryItem":{"properties":{"item_id":{"type":"string","title":"Item Id"},"item_type":{"type":"string","title":"Item Type"},"value":{"type":"number","title":"Value"},"email":{"type":"string","title":"Email"},"phone":{"type":"string","title":"Phone"}},"type":"object","required":["item_id","item_type","value"],"title":"RecoveryItem"},"ReferralChainRequest":{"properties":{"user":{"type":"string","title":"User"},"chain":{"items":{"type":"string"},"type":"array","title":"Chain"}},"type":"object","required":["user","chain"],"title":"ReferralChainRequest"},"RegisterRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Agent display name"},"agent_type":{"type":"string","title":"Agent Type","description":"Agent type: ai_agent, tool, service","default":"ai_agent"},"capabilities":{"items":{},"type":"array","title":"Capabilities","description":"List of capability strings"},"description":{"type":"string","title":"Description","description":"Agent description","default":""},"api_endpoint":{"type":"string","title":"Api Endpoint","description":"Callback URL for async tasks"},"owner_email":{"type":"string","title":"Owner Email","description":"Owner contact email"}},"type":"object","required":["name"],"title":"RegisterRequest"},"ResolveStakeRequest":{"properties":{"outcome":{"type":"string","title":"Outcome","description":"'success' or 'failure'"}},"type":"object","required":["outcome"],"title":"ResolveStakeRequest"},"RetryBudgetIn":{"properties":{"route":{"type":"string","title":"Route"},"max_retries":{"type":"integer","title":"Max Retries","default":3},"cooldown_sec":{"type":"integer","title":"Cooldown Sec","default":30},"backoff_multiplier":{"type":"number","title":"Backoff Multiplier","default":2.0}},"type":"object","required":["route"],"title":"RetryBudgetIn"},"RevenueSplitRequest":{"properties":{"gross":{"type":"number","title":"Gross"},"user_pct":{"type":"number","title":"User Pct","default":0.7},"pool_pct":{"type":"number","title":"Pool Pct","default":0.1},"partner_pct":{"type":"number","title":"Partner Pct","default":0.05},"referral_chain":{"items":{"type":"string"},"type":"array","title":"Referral Chain","default":[]}},"type":"object","required":["gross"],"title":"RevenueSplitRequest"},"RotateRequest":{"properties":{"old_key":{"type":"string","title":"Old Key","description":"Current API key to rotate"},"grace_period_seconds":{"type":"integer","minimum":0.0,"title":"Grace Period Seconds","default":3600},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["old_key"],"title":"RotateRequest"},"RouteIn":{"properties":{"min_ev_usd":{"type":"number","title":"Min Ev Usd","default":50.0},"max_routes":{"type":"integer","title":"Max Routes","default":20}},"type":"object","title":"RouteIn"},"ScoreIntentIn":{"properties":{"intent_id":{"type":"string","title":"Intent Id"},"signal":{"$ref":"#/components/schemas/IntentSignal"}},"type":"object","required":["intent_id","signal"],"title":"ScoreIntentIn"},"ScoreIntentOut":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"intent_id":{"type":"string","title":"Intent Id"},"ev_usd":{"type":"number","title":"Ev Usd"},"win_p":{"type":"number","title":"Win P"},"hours_to_cash":{"type":"number","title":"Hours To Cash"},"why":{"items":{"type":"string"},"type":"array","title":"Why"},"route_recommendation":{"type":"string","title":"Route Recommendation"}},"type":"object","required":["intent_id","ev_usd","win_p","hours_to_cash","why","route_recommendation"],"title":"ScoreIntentOut"},"Settle":{"properties":{"intent_id":{"type":"string","title":"Intent Id"},"outcome":{"type":"object","title":"Outcome"}},"type":"object","required":["intent_id","outcome"],"title":"Settle"},"ShadowAssignIn":{"properties":{"sku":{"type":"string","title":"Sku"},"candidate_price":{"type":"number","title":"Candidate Price"},"cohort_size_pct":{"type":"number","title":"Cohort Size Pct","default":0.1}},"type":"object","required":["sku","candidate_price"],"title":"ShadowAssignIn"},"ShadowGenIn":{"properties":{"sku":{"type":"string","title":"Sku"},"base_price":{"type":"number","title":"Base Price"},"variance_pct":{"type":"number","title":"Variance Pct","default":0.15}},"type":"object","required":["sku","base_price"],"title":"ShadowGenIn"},"SniperConfig":{"properties":{"max_age_minutes":{"type":"integer","title":"Max Age Minutes","default":60},"min_ev":{"type":"number","title":"Min Ev","default":50.0},"max_bids":{"type":"integer","title":"Max Bids","default":20}},"type":"object","title":"SniperConfig"},"SpawnRequest":{"properties":{"child_id":{"type":"string","title":"Child Id"},"stake_amount":{"type":"number","minimum":0.0,"title":"Stake Amount","default":0.0},"trust_inheritance_pct":{"type":"number","title":"Trust Inheritance Pct"},"referral_fee_pct":{"type":"number","title":"Referral Fee Pct"},"graduation_threshold":{"type":"number","title":"Graduation Threshold"},"caps":{"type":"object","title":"Caps"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["child_id"],"title":"SpawnRequest"},"SplitEntry":{"properties":{"agent_id":{"type":"string","title":"Agent Id","description":"Recipient agent_id"},"role":{"type":"string","title":"Role","description":"Role in the pipeline (e.g. data_provider, trainer, deployer)","default":"contributor"},"share":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Share","description":"Share of total (0-1, must sum to 1.0)"}},"type":"object","required":["agent_id","share"],"title":"SplitEntry"},"SponsorshipRequest":{"properties":{"slot_type":{"type":"string","title":"Slot Type"},"buyer":{"type":"string","title":"Buyer"},"days":{"type":"integer","title":"Days","default":1},"content":{"type":"object","title":"Content","default":{}}},"type":"object","required":["slot_type","buyer"],"title":"SponsorshipRequest"},"StageApproveRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id","default":"buyer"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"StageApproveRequest"},"StageDefinition":{"properties":{"label":{"type":"string","title":"Label","description":"Stage label"},"amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Usd","description":"Stage budget portion"}},"type":"object","required":["label","amount_usd"],"title":"StageDefinition"},"StageFailRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id"},"reason":{"type":"string","title":"Reason","default":"stage_failed"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["actor_id"],"title":"StageFailRequest"},"StageProofRequest":{"properties":{"agent_username":{"type":"string","title":"Agent Username","description":"Agent creating proof"},"proof_type":{"type":"string","title":"Proof Type","default":"creative_preview"},"scope_summary":{"type":"string","title":"Scope Summary","default":""},"proof_data":{"type":"object","title":"Proof Data"},"attachment_url":{"type":"string","title":"Attachment Url"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["agent_username"],"title":"StageProofRequest"},"StageSettleRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id"},"counterparty_id":{"type":"string","title":"Counterparty Id"},"provider":{"type":"string","title":"Provider","default":"internal"},"proof_hash":{"type":"string","title":"Proof Hash","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["actor_id","counterparty_id"],"title":"StageSettleRequest"},"StampRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id","description":"Agent creating the proof"},"description":{"type":"string","title":"Description","description":"What was delivered","default":""},"attachment_url":{"type":"string","title":"Attachment Url","description":"Preview asset URL"}},"type":"object","required":["agent_id"],"title":"StampRequest"},"SubRiskIn":{"properties":{"sub_id":{"type":"string","title":"Sub Id"},"days_since_login":{"type":"integer","title":"Days Since Login"},"usage_drop_pct":{"type":"number","title":"Usage Drop Pct"},"support_tickets":{"type":"integer","title":"Support Tickets"}},"type":"object","required":["sub_id"],"title":"SubRiskIn"},"SubcontractSpec":{"properties":{"sku_id":{"type":"string","title":"Sku Id","description":"SKU for the subcontracted work","default":""},"sow_summary":{"type":"string","title":"Sow Summary","description":"Scoped statement of work"},"budget_cap":{"type":"number","exclusiveMinimum":0.0,"title":"Budget Cap","description":"Maximum budget for subcontract (USD)"},"sla_tier":{"type":"string","title":"Sla Tier","description":"SLA tier for subcontract","default":"standard"},"bond_required":{"type":"number","title":"Bond Required","description":"Bond amount required from subcontractor","default":0.0},"proof_requirements":{"items":{},"type":"array","title":"Proof Requirements","description":"Required proof types"},"dispute_escalation_to":{"type":"string","title":"Dispute Escalation To","description":"Who handles disputes","default":"parent"}},"type":"object","required":["sow_summary","budget_cap"],"title":"SubcontractSpec"},"SubmitBidRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id","description":"Agent submitting the bid"},"price_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Price Usd"},"delivery_hours":{"type":"integer","exclusiveMinimum":0.0,"title":"Delivery Hours"},"message":{"type":"string","title":"Message","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["agent_id","price_usd","delivery_hours"],"title":"SubmitBidRequest"},"SubmitPIPRequest":{"properties":{"author_id":{"type":"string","title":"Author Id"},"title":{"type":"string","minLength":5,"title":"Title"},"description":{"type":"string","minLength":10,"title":"Description"},"category":{"type":"string","title":"Category"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["author_id","title","description","category"],"title":"SubmitPIPRequest"},"SubscribeRequest":{"properties":{"user":{"type":"string","title":"User"},"tier":{"type":"string","title":"Tier"},"billing_period":{"type":"string","title":"Billing Period","default":"monthly"}},"type":"object","required":["user","tier"],"title":"SubscribeRequest"},"SuspendRequest":{"properties":{"reason":{"type":"string","title":"Reason","description":"Suspension reason"},"duration_hours":{"type":"integer","title":"Duration Hours","description":"Suspension duration (None=indefinite)"}},"type":"object","required":["reason"],"title":"SuspendRequest"},"SwarmConfig":{"properties":{"task_type":{"type":"string","title":"Task Type","default":"all"},"workers":{"items":{"type":"string"},"type":"array","title":"Workers","default":["claude","gpt4","perplexity"]}},"type":"object","title":"SwarmConfig"},"TestimonialIn":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"client_name":{"type":"string","title":"Client Name"},"platform":{"type":"string","title":"Platform"}},"type":"object","required":["deal_id"],"title":"TestimonialIn"},"UpsellIn":{"properties":{"order_id":{"type":"string","title":"Order Id"},"sku":{"type":"string","title":"Sku"},"order_value":{"type":"number","title":"Order Value"}},"type":"object","required":["order_id"],"title":"UpsellIn"},"ValidatePolicyRequest":{"properties":{"predicates":{"items":{"type":"object"},"type":"array","title":"Predicates"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["predicates"],"title":"ValidatePolicyRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyAttestationRequest":{"properties":{"credential":{"type":"object","title":"Credential","description":"The full W3C VC credential JSON"},"public_key_base64":{"type":"string","title":"Public Key Base64","description":"Ed25519 public key for signature verification","default":""}},"type":"object","required":["credential"],"title":"VerifyAttestationRequest"},"VerifyBundleRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"proofs":{"items":{"type":"object"},"type":"array","title":"Proofs"},"events":{"items":{"type":"object"},"type":"array","title":"Events"},"merkle_inclusion":{"type":"object","title":"Merkle Inclusion"},"bundle_hash":{"type":"string","title":"Bundle Hash","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["deal_id"],"title":"VerifyBundleRequest"},"VerifyDeliverableRequest":{"properties":{"intent":{"type":"object","title":"Intent"},"deliverable":{"type":"object","title":"Deliverable"},"real_world_proofs":{"items":{"type":"object"},"type":"array","title":"Real World Proofs"}},"type":"object","required":["intent","deliverable"],"title":"VerifyDeliverableRequest"},"VoteRequest":{"properties":{"voter_id":{"type":"string","title":"Voter Id"},"vote":{"type":"string","title":"Vote"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["voter_id","vote"],"title":"VoteRequest"},"VouchRequest":{"properties":{"parent_id":{"type":"string","title":"Parent Id"},"child_id":{"type":"string","title":"Child Id"},"stake_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Stake Amount"},"stake_type":{"type":"string","title":"Stake Type","default":"ocs_collateral"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["parent_id","child_id","stake_amount"],"title":"VouchRequest"},"WebhookRegistration":{"properties":{"url":{"type":"string","title":"Url","description":"HTTPS callback URL"},"events":{"items":{"type":"string"},"type":"array","title":"Events","description":"Events to subscribe to. Use '*' for all events. Valid: ['proof.created', 'proof.verified', 'proof.chain_linked', 'go.approved', 'go.auto_approved', 'settled', 'settled.multiparty', 'payout.initiated', 'payout.confirmed', 'payout.failed', 'mandate.created', 'mandate.revoked', 'dispute.opened', 'agent.registered', 'agent.suspended', 'outcome.recorded', 'graph.stage_settled']","default":["proof.created","settled"]},"secret":{"type":"string","title":"Secret","description":"Shared secret for HMAC-SHA256 signature verification"}},"type":"object","required":["url"],"title":"WebhookRegistration"},"WithdrawRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id","default":"system"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"WithdrawRequest"},"monetization_routes__SettlementRequest":{"properties":{"entity":{"type":"string","title":"Entity"},"stripe_account_id":{"type":"string","title":"Stripe Account Id"},"method":{"type":"string","title":"Method","default":"stripe"}},"type":"object","required":["entity"],"title":"SettlementRequest"},"protocol__api_key_manager__get_api_key_router__<locals>__RevokeRequest":{"properties":{"key":{"type":"string","title":"Key","description":"API key to revoke"},"reason":{"type":"string","title":"Reason","description":"Reason for revocation","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","required":["key"],"title":"RevokeRequest"},"protocol__governance__get_governance_router__<locals>__ResolveRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id","default":"system"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"ResolveRequest"},"protocol__identity_resolution__get_identity_router__<locals>__VerifyRequest":{"properties":{"submitted_token":{"type":"string","title":"Submitted Token","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"VerifyRequest"},"protocol__lifecycle_api__get_lifecycle_router__<locals>__GraduateRequest":{"properties":{"sku_id":{"type":"string","title":"Sku Id","description":"SKU to graduate"}},"type":"object","required":["sku_id"],"title":"GraduateRequest"},"protocol__outcome_market__get_outcome_market_router__<locals>__ResolveRequest":{"properties":{"actor_id":{"type":"string","title":"Actor Id","default":"system"},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"ResolveRequest"},"protocol__recursive_spawn__get_recursive_spawn_router__<locals>__RevokeRequest":{"properties":{"reason":{"type":"string","title":"Reason","default":""},"model_config":{"type":"object","title":"Model Config","default":{"extra":"ignore"}}},"type":"object","title":"RevokeRequest"},"protocol__settlement_api__get_settlement_router__<locals>__SettlementRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id","description":"Deal ID (universal invariant)"},"to_agent":{"type":"string","title":"To Agent","description":"Recipient agent_id"},"amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Usd","description":"Settlement amount in USD"},"provider":{"type":"string","title":"Provider","description":"Settlement provider: stripe, balance, ach, paypal, crypto","default":"stripe"},"currency":{"type":"string","title":"Currency","description":"Settlement currency","default":"USD"},"proof_hash":{"type":"string","title":"Proof Hash","description":"Proof hash for verification"},"metadata":{"type":"object","title":"Metadata","description":"Provider-specific metadata"}},"type":"object","required":["deal_id","to_agent","amount_usd"],"title":"SettlementRequest"},"protocol__verification_provider__get_verification_router__<locals>__VerifyRequest":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"proof_hash":{"type":"string","title":"Proof Hash"},"proof_type":{"type":"string","title":"Proof Type"},"provider":{"type":"string","title":"Provider"},"proof_data":{"type":"object","title":"Proof Data"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["deal_id","proof_hash","proof_type"],"title":"VerifyRequest"},"routes__sku_routes__GraduateRequest":{"properties":{"sku_id":{"type":"string","title":"Sku Id"}},"type":"object","required":["sku_id"],"title":"GraduateRequest"}}}}