{"openapi":"3.1.0","info":{"title":"iTechSmart API","description":"\n## Unified Autonomous IT Operations API\n\nProofLink receipts, OctoAI RAG classification, NeMo Guardrails validation,\nand compliance scores — all in one API.\n\n### Authentication\nPass your API key via the `x-api-key` header. Free tier works without a key.\n\n### ProofLink Receipts\nEvery `/v1/classify` call generates a SHA-256 ProofLink receipt. Receipts\nare hash-chained immediately, and OTS attestation is reported only when the\nreceipt metadata proves it.\n\n### Rate Limits\n| Tier | Requests/day | Classify/day |\n|------|-------------|-------------|\n| Free | 100 | 10 |\n| Partner | 1,000 | 100 |\n| Enterprise | 10,000 | 1,000 |\n\niTechSmart Inc. · SDVOSB · CAGE 172W2 · [itechsmart.dev](https://itechsmart.dev)\n","version":"1.0.0"},"paths":{"/":{"get":{"tags":["Info"],"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/social/content":{"post":{"tags":["Automation"],"summary":"Social Content","description":"Generate approved social post text and an image URL via djuane-ai.\n\nMake.com calls this endpoint so FAL credentials stay on OVH.","operationId":"social_content_api_social_content_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/leads/capture":{"post":{"tags":["Automation"],"summary":"Lead Capture","description":"Capture website leads through the central djuane-ai CRM flow.","operationId":"lead_capture_api_leads_capture_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/seo/articles":{"get":{"tags":["Mission"],"summary":"Seo Articles","operationId":"seo_articles_api_seo_articles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/seo/transcripts":{"get":{"tags":["Mission"],"summary":"Seo Transcripts","operationId":"seo_transcripts_api_seo_transcripts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/seo/generate":{"post":{"tags":["Mission"],"summary":"Seo Generate","operationId":"seo_generate_api_seo_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/seo/status/{session_id}":{"get":{"tags":["Mission"],"summary":"Seo Status","operationId":"seo_status_api_seo_status__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/seo/deploy":{"post":{"tags":["Mission"],"summary":"Seo Deploy","operationId":"seo_deploy_api_seo_deploy_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/video/projects":{"get":{"tags":["Mission"],"summary":"Video Projects","operationId":"video_projects_api_video_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/video/hyperframes/render":{"post":{"tags":["Mission"],"summary":"Video Render","operationId":"video_render_api_video_hyperframes_render_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/video/status/{project_id}":{"get":{"tags":["Mission"],"summary":"Video Status","operationId":"video_status_api_video_status__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/video/avatar":{"post":{"tags":["Mission"],"summary":"Video Avatar","operationId":"video_avatar_api_video_avatar_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/pipeline/board":{"get":{"tags":["Mission"],"summary":"Pipeline Board","operationId":"pipeline_board_api_pipeline_board_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/pipeline/items":{"get":{"tags":["Mission"],"summary":"Pipeline Items","operationId":"pipeline_items_api_pipeline_items_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/pipeline/capture":{"post":{"tags":["Mission"],"summary":"Pipeline Capture","operationId":"pipeline_capture_api_pipeline_capture_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/pipeline/approve/{item_id}":{"post":{"tags":["Mission"],"summary":"Pipeline Approve","operationId":"pipeline_approve_api_pipeline_approve__item_id__post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stats":{"get":{"tags":["Mission"],"summary":"Mission Stats","description":"Bridge health + counts across SEO / Video / Pipeline.","operationId":"mission_stats_api_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/health":{"get":{"tags":["Platform"],"summary":"Health","description":"Public health probe — intentionally minimal (no internal counts).","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ledger":{"get":{"tags":["ProofLink"],"summary":"Get Ledger","description":"Get ProofLink ledger entries. Every entry is SHA-256 hashed.","operationId":"get_ledger_v1_ledger_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}":{"get":{"tags":["ProofLink"],"summary":"Get Receipt","description":"Get a single ProofLink receipt by ID or hash prefix (case-insensitive).\n\nSearches /opt/itechsmart/audit_ledger/ledger.json line by line.\nMatches if receipt_id is a prefix of the entry id, hash_sha256, or receipt_id field.\nNo authentication required.","operationId":"get_receipt_v1_receipt__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/classify":{"post":{"tags":["OctoAI"],"summary":"Classify Incident","description":"RAG-enhanced incident classification via OctoAI + Nemotron-3-Nano-30B.\n\nReturns classification with category, severity, confidence, and recommended action.\nEvery call generates a SHA-256 ProofLink receipt. OTS attestation is\nreported only when proof metadata is present.","operationId":"classify_incident_v1_classify_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/validate":{"post":{"tags":["Guardrails"],"summary":"Validate Action","description":"NeMo Guardrails validation — 4 independent rail types.\n\nChecks: input safety, execution bounds (confidence + blast radius),\noutput fact-check, and retrieval integrity.","operationId":"validate_action_v1_validate_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/compliance":{"get":{"tags":["Compliance"],"summary":"Compliance Scores","description":"Live compliance assessment scores.\n\nThese are internal assessment scores, not third-party certifications.\nSOC 2 Type II audit is in progress. FedRAMP pathway is active.","operationId":"compliance_scores_v1_compliance_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/compliance/summary":{"get":{"tags":["Compliance"],"summary":"Compliance Summary","description":"Public compliance summary — no auth required.","operationId":"compliance_summary_v1_compliance_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ports":{"get":{"tags":["Platform"],"summary":"Get Port Registry","description":"Port conflict registry — all assigned service ports with conflict detection.","operationId":"get_port_registry_v1_ports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ports/check":{"get":{"tags":["Platform"],"summary":"Check Port Availability","description":"Check if a port is available for assignment.","operationId":"check_port_availability_v1_ports_check_get","parameters":[{"name":"port","in":"query","required":true,"schema":{"type":"integer","maximum":65535,"minimum":1024,"title":"Port"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/generate":{"post":{"tags":["Admin"],"summary":"Generate Key","description":"Generate a new API key. Requires admin tier.","operationId":"generate_key_v1_keys_generate_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/cmdb/status":{"get":{"tags":["Knowledge Graph"],"summary":"Cmdb Graph Status","description":"Live graph summary built from the production CMDB relationship table.","operationId":"cmdb_graph_status_v1_knowledge_graph_cmdb_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/knowledge-graph/cmdb/query":{"get":{"tags":["Knowledge Graph"],"summary":"Cmdb Graph Query","description":"Search live CMDB nodes and include directly connected relationships.","operationId":"cmdb_graph_query_v1_knowledge_graph_cmdb_query_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Case-insensitive service/name/host search","title":"Q"},"description":"Case-insensitive service/name/host search"},{"name":"service_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/cmdb/impact/{service}":{"get":{"tags":["Knowledge Graph"],"summary":"Cmdb Graph Impact","description":"Show upstream/downstream blast-radius from live CMDB relationships.","operationId":"cmdb_graph_impact_v1_knowledge_graph_cmdb_impact__service__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","maximum":4,"minimum":1,"default":2,"title":"Depth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/cmdb/path":{"get":{"tags":["Knowledge Graph"],"summary":"Cmdb Graph Path","description":"Find a short relationship path between two live CMDB services.","operationId":"cmdb_graph_path_v1_knowledge_graph_cmdb_path_get","parameters":[{"name":"source","in":"query","required":true,"schema":{"type":"string","title":"Source"}},{"name":"target","in":"query","required":true,"schema":{"type":"string","title":"Target"}},{"name":"max_depth","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":1,"default":4,"title":"Max Depth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/status":{"get":{"tags":["Platform"],"summary":"Platform Status","description":"Canonical live platform metrics — single source of truth for marketing,\npitch deck, and external agents. Each probe is wrapped in try/except so a\nsingle backend hiccup never 500s this endpoint.","operationId":"platform_status_v1_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/status/live":{"get":{"tags":["Platform"],"summary":"Platform Status","description":"Canonical live platform metrics — single source of truth for marketing,\npitch deck, and external agents. Each probe is wrapped in try/except so a\nsingle backend hiccup never 500s this endpoint.","operationId":"platform_status_v1_status_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/status/fresh":{"get":{"tags":["Platform"],"summary":"Platform Status","description":"Canonical live platform metrics — single source of truth for marketing,\npitch deck, and external agents. Each probe is wrapped in try/except so a\nsingle backend hiccup never 500s this endpoint.","operationId":"platform_status_v1_status_fresh_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/langfuse/summary":{"get":{"tags":["Integrations"],"summary":"Langfuse Summary","operationId":"langfuse_summary_v1_integrations_langfuse_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/alertchain/decisions":{"get":{"tags":["Integrations"],"summary":"Alertchain Decisions","operationId":"alertchain_decisions_v1_integrations_alertchain_decisions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/probo/compliance":{"get":{"tags":["Integrations"],"summary":"Probo Compliance","operationId":"probo_compliance_v1_integrations_probo_compliance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/tactical/agents":{"get":{"tags":["Integrations"],"summary":"Tactical Agents","operationId":"tactical_agents_v1_integrations_tactical_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/weaviate/stats":{"get":{"tags":["Integrations"],"summary":"Weaviate Stats","operationId":"weaviate_stats_v1_integrations_weaviate_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/shuffle/workflows":{"get":{"tags":["Integrations"],"summary":"Shuffle Workflows","operationId":"shuffle_workflows_v1_integrations_shuffle_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/ragflow/collections":{"get":{"tags":["Integrations"],"summary":"Ragflow Collections","operationId":"ragflow_collections_v1_integrations_ragflow_collections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/gryph/trails":{"get":{"tags":["Integrations"],"summary":"Gryph Trails","operationId":"gryph_trails_v1_integrations_gryph_trails_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/all":{"get":{"tags":["Integrations"],"summary":"All Integrations","operationId":"all_integrations_v1_integrations_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/shuffle":{"get":{"tags":["Integrations"],"summary":"Shuffle Workflows Alias","operationId":"shuffle_workflows_alias_v1_integrations_shuffle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/alertchain":{"get":{"tags":["Integrations"],"summary":"Alertchain Decisions Alias","operationId":"alertchain_decisions_alias_v1_integrations_alertchain_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/security/cbom":{"get":{"tags":["Security"],"summary":"Security Cbom","description":"Cryptography Bill of Materials - read-only crypto algorithm inventory.","operationId":"security_cbom_api_v1_security_cbom_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/security/cbom":{"get":{"tags":["Security"],"summary":"Security Cbom","description":"Cryptography Bill of Materials - read-only crypto algorithm inventory.","operationId":"security_cbom_v1_security_cbom_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/contacts":{"get":{"tags":["Market HubSpot"],"summary":"Market Contacts","operationId":"market_contacts_api_contacts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Market HubSpot"],"summary":"Market Create Contact","operationId":"market_create_contact_api_contacts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketContactCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deals":{"get":{"tags":["Market HubSpot"],"summary":"Market Deals","operationId":"market_deals_api_deals_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Market HubSpot"],"summary":"Market Create Deal","operationId":"market_create_deal_api_deals_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDealCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deals/{deal_id}":{"patch":{"tags":["Market HubSpot"],"summary":"Market Update Deal","operationId":"market_update_deal_api_deals__deal_id__patch","parameters":[{"name":"deal_id","in":"path","required":true,"schema":{"type":"string","title":"Deal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDealUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pipeline/stats":{"get":{"tags":["Market HubSpot"],"summary":"Market Pipeline Stats","operationId":"market_pipeline_stats_api_pipeline_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/activities":{"get":{"tags":["Market HubSpot"],"summary":"Market Activities","operationId":"market_activities_api_activities_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/digest":{"get":{"tags":["Market HubSpot"],"summary":"Market Crm Digest","operationId":"market_crm_digest_api_crm_digest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/a2a/health":{"get":{"tags":["A2A"],"summary":"A2A Health","operationId":"a2a_health_api_v1_a2a_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/a2a/receive":{"post":{"tags":["A2A"],"summary":"A2A Receive","operationId":"a2a_receive_api_v1_a2a_receive_post","parameters":[{"name":"x-a2a-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-A2A-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/A2AMessage"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/a2a/dispatch":{"post":{"tags":["A2A"],"summary":"A2A Dispatch","operationId":"a2a_dispatch_api_v1_a2a_dispatch_post","parameters":[{"name":"x-a2a-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-A2A-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/A2AMessage"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/website/partner-applications":{"post":{"tags":["Partner Applications"],"summary":"Create Partner Application","operationId":"create_partner_application_api_v1_website_partner_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerApplicationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/partner-applications":{"get":{"tags":["Partner Applications"],"summary":"List Partner Applications","operationId":"list_partner_applications_api_v1_admin_partner_applications_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(new|reviewing|approved|rejected)$"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/partner-applications/{application_id}":{"patch":{"tags":["Partner Applications"],"summary":"Update Partner Application","operationId":"update_partner_application_api_v1_admin_partner_applications__application_id__patch","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"integer","title":"Application Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerApplicationStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/receipts/seal":{"post":{"summary":"Seal a ProofLink receipt","tags":["ProofLink"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["service","event","status"],"properties":{"service":{"type":"string"},"event":{"type":"string"},"status":{"type":"string","enum":["pending","complete","failed","blocked"]},"severity":{"type":"string","enum":["INFO","WARN","ERROR","CRITICAL"]},"details":{"type":"object"}}}}}},"responses":{"200":{"description":"Receipt sealed.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"receipt_id":{"type":"string"},"sha256":{"type":"string"}}}}}}}}},"/v1/shield/stats":{"get":{"tags":["Shield"],"summary":"Shield Stats","operationId":"shield_stats_v1_shield_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/shield/compliance":{"get":{"tags":["Shield"],"summary":"Shield Compliance","operationId":"shield_compliance_v1_shield_compliance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/shield/policies":{"get":{"tags":["Shield"],"summary":"Shield Policies","operationId":"shield_policies_v1_shield_policies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/shield/firewall/rules":{"get":{"tags":["Shield"],"summary":"Shield Firewall Rules","operationId":"shield_firewall_rules_v1_shield_firewall_rules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/shield/devices":{"get":{"tags":["Shield"],"summary":"Shield Devices List","operationId":"shield_devices_list_v1_shield_devices_get","parameters":[{"name":"internal","in":"query","required":false,"schema":{"type":"boolean","title":"Internal"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","title":"Tenant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shield/devices/heartbeat":{"post":{"tags":["Shield"],"summary":"Shield Heartbeat","operationId":"shield_heartbeat_v1_shield_devices_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShieldHeartbeatReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shield/devices/{device_id}/seal":{"post":{"tags":["Shield"],"summary":"Shield Agent Seal","description":"Tenant-attributed ProofLink receipt for an agent action (command exec /\ndata egress). Authenticated via the agent's Shield credential; the receipt is\nbound to the device's tenant, not to client-supplied identity. Per MASTER §5b\nthis makes 'what left the box' independently verifiable.","operationId":"shield_agent_seal_v1_shield_devices__device_id__seal_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSealReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/email-replies":{"get":{"tags":["Email"],"summary":"Email Replies","operationId":"email_replies_v1_email_replies_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agents/list":{"get":{"tags":["Agents"],"summary":"Agents List","operationId":"agents_list_v1_agents_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/agents/{agent_id}/conversation":{"get":{"tags":["Agents"],"summary":"Agent Conversation","operationId":"agent_conversation_v1_agents__agent_id__conversation_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agents/{agent_id}/message":{"post":{"tags":["Agents"],"summary":"Agent Message","operationId":"agent_message_v1_agents__agent_id__message_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agents/{agent_id}/notes":{"get":{"tags":["Agents"],"summary":"Agent Notes","operationId":"agent_notes_v1_agents__agent_id__notes_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Agents"],"summary":"Agent Add Note","operationId":"agent_add_note_v1_agents__agent_id__notes_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tasks":{"get":{"tags":["Tasks"],"summary":"Tasks List","operationId":"tasks_list_v1_tasks_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"agent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Tasks"],"summary":"Tasks Create","operationId":"tasks_create_v1_tasks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tasks/{task_id}":{"patch":{"tags":["Tasks"],"summary":"Tasks Update","operationId":"tasks_update_v1_tasks__task_id__patch","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Tasks"],"summary":"Tasks Delete","operationId":"tasks_delete_v1_tasks__task_id__delete","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/approvals":{"get":{"tags":["Approvals"],"summary":"Approvals List","operationId":"approvals_list_v1_approvals_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Approvals"],"summary":"Approvals Create","operationId":"approvals_create_v1_approvals_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/approvals/{approval_id}/approve":{"post":{"tags":["Approvals"],"summary":"Approvals Approve","operationId":"approvals_approve_v1_approvals__approval_id__approve_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/approvals/{approval_id}/deny":{"post":{"tags":["Approvals"],"summary":"Approvals Deny","operationId":"approvals_deny_v1_approvals__approval_id__deny_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/approvals/{approval_id}/reopen":{"post":{"tags":["Approvals"],"summary":"Approvals Reopen","operationId":"approvals_reopen_v1_approvals__approval_id__reopen_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/approvals/{approval_id}/info":{"get":{"tags":["Approvals"],"summary":"Approvals Info","operationId":"approvals_info_v1_approvals__approval_id__info_get","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/comms":{"get":{"tags":["Comms"],"summary":"Comms List","operationId":"comms_list_v1_comms_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/comms/stream":{"get":{"tags":["Comms"],"summary":"Comms Stream","operationId":"comms_stream_v1_comms_stream_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/comms/send":{"post":{"tags":["Comms"],"summary":"Comms Send","operationId":"comms_send_v1_comms_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommsSendReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/claude":{"post":{"tags":["AI Studio"],"summary":"Ai Claude","operationId":"ai_claude_v1_ai_claude_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/nemotron":{"post":{"tags":["AI Studio"],"summary":"Ai Nemotron","operationId":"ai_nemotron_v1_ai_nemotron_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/hermes":{"post":{"tags":["AI Studio"],"summary":"Ai Hermes","operationId":"ai_hermes_v1_ai_hermes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calendar/events":{"get":{"tags":["Calendar"],"summary":"Calendar Events","operationId":"calendar_events_v1_calendar_events_get","parameters":[{"name":"from_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Date"}},{"name":"to_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Calendar"],"summary":"Calendar Create","operationId":"calendar_create_v1_calendar_events_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calendar/today":{"get":{"tags":["Calendar"],"summary":"Calendar Today","operationId":"calendar_today_v1_calendar_today_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/calendar/events/{event_id}":{"delete":{"tags":["Calendar"],"summary":"Calendar Delete","operationId":"calendar_delete_v1_calendar_events__event_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/integrations":{"get":{"tags":["Admin"],"summary":"Admin Integrations","operationId":"admin_integrations_v1_admin_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/flags":{"get":{"tags":["Admin"],"summary":"Admin Flags","operationId":"admin_flags_v1_admin_flags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"patch":{"tags":["Admin"],"summary":"Admin Flags Update","operationId":"admin_flags_update_v1_admin_flags_patch","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/flags/{key}":{"post":{"tags":["Admin"],"summary":"Admin Flag Set","operationId":"admin_flag_set_v1_admin_flags__key__post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/services":{"get":{"tags":["Admin"],"summary":"Admin Services","operationId":"admin_services_v1_admin_services_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/devices/agent/download":{"get":{"tags":["Devices"],"summary":"Download Agent","operationId":"download_agent_v1_devices_agent_download_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"x-tenant-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Tenant-Token"}},{"name":"x-agent-name","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Agent-Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/agent/install/{tenant_token}":{"get":{"tags":["Devices"],"summary":"Agent Install Script","operationId":"agent_install_script_v1_devices_agent_install__tenant_token__get","parameters":[{"name":"tenant_token","in":"path","required":true,"schema":{"type":"string","title":"Tenant Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tenants":{"get":{"tags":["Tenants"],"summary":"List Tenants","operationId":"list_tenants_v1_tenants_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Tenants"],"summary":"Create Tenant","description":"Create a new organization in Clerk.","operationId":"create_tenant_v1_tenants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTenantReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tenants/sync":{"post":{"tags":["Tenants"],"summary":"Sync Tenants","operationId":"sync_tenants_v1_tenants_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/tenants/{org_id}/devices":{"get":{"tags":["Tenants"],"summary":"Tenant Devices","operationId":"tenant_devices_v1_tenants__org_id__devices_get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/enroll":{"post":{"tags":["Tenants"],"summary":"Enroll Device","operationId":"enroll_device_v1_devices_enroll_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/{device_id}/resources":{"get":{"tags":["Tenants"],"summary":"Device Resources","operationId":"device_resources_v1_devices__device_id__resources_get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/{device_id}/command":{"post":{"tags":["Tenants"],"summary":"Push Command","operationId":"push_command_v1_devices__device_id__command_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Tenants"],"summary":"Get Commands","operationId":"get_commands_v1_devices__device_id__command_get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/discover":{"post":{"tags":["Tenants"],"summary":"Discover Devices","operationId":"discover_devices_v1_devices_discover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/report-discovered":{"post":{"tags":["Tenants"],"summary":"Report Discovered","description":"Receive discovered hosts from a desktop agent running --discover.\nStores the scan results keyed by reporting device + subnet.","operationId":"report_discovered_v1_devices_report_discovered_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportDiscoveredRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/{device_id}/scans":{"get":{"tags":["Tenants"],"summary":"Get Device Scans","description":"Return recent discovery scans reported by a device.","operationId":"get_device_scans_v1_devices__device_id__scans_get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/{device_id}/scan-report":{"post":{"tags":["Tenants"],"summary":"Post Scan Report","description":"Store a scan result from a device agent.","operationId":"post_scan_report_v1_devices__device_id__scan_report_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanReportReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/devices/{device_id}/assign-tenant":{"post":{"tags":["Tenants"],"summary":"Assign Device Tenant","description":"Assign or reassign a device to a tenant.","operationId":"assign_device_tenant_v1_devices__device_id__assign_tenant_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignTenantReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["Shield Auth"],"summary":"Shield Login","operationId":"shield_login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ShieldLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me":{"get":{"tags":["Shield Auth"],"summary":"Shield Me","operationId":"shield_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/logout":{"post":{"tags":["Shield Auth"],"summary":"Shield Logout","operationId":"shield_logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/graphify/graph":{"get":{"tags":["Knowledge Graph"],"summary":"Graphify Graph","operationId":"graphify_graph_api_v1_graphify_graph_get","parameters":[{"name":"limit_nodes","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit Nodes"}},{"name":"limit_edges","in":"query","required":false,"schema":{"type":"integer","default":800,"title":"Limit Edges"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/blog/posts":{"get":{"tags":["Blog"],"summary":"Blog Posts","description":"Public endpoint — serves Nemotron-generated blog manifest.","operationId":"blog_posts_v1_blog_posts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deepgram/tts":{"post":{"tags":["Deepgram"],"summary":"Deepgram Tts","operationId":"deepgram_tts_deepgram_tts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_DGTTSReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deepgram/transcribe":{"post":{"tags":["Deepgram"],"summary":"Deepgram Transcribe","operationId":"deepgram_transcribe_deepgram_transcribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_DGTranscribeReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deepgram/blog-audio":{"post":{"tags":["Deepgram"],"summary":"Deepgram Blog Audio","operationId":"deepgram_blog_audio_deepgram_blog_audio_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_DGBlogAudioReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ghl/create-contact":{"post":{"summary":"Ghl Create Contact","operationId":"ghl_create_contact_ghl_create_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GHLCreateContactReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ghl/send-email":{"post":{"summary":"Ghl Send Email","operationId":"ghl_send_email_ghl_send_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GHLSendEmailReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ghl/workflows":{"get":{"summary":"Ghl List Workflows","operationId":"ghl_list_workflows_ghl_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ghl/pipelines":{"get":{"summary":"Ghl List Pipelines","operationId":"ghl_list_pipelines_ghl_pipelines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/website/chat":{"post":{"tags":["Website"],"summary":"Website Chat","operationId":"website_chat_v1_website_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteChatReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/website/tts":{"post":{"tags":["Website"],"summary":"Website Tts","operationId":"website_tts_v1_website_tts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteTTSReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notify":{"post":{"summary":"Send a notification","tags":["Notify"],"responses":{"200":{"description":"Notification queued"}}}},"/api/v1/arbiter/queue":{"get":{"summary":"List pending HumanArbiter approvals","tags":["Arbiter"],"responses":{"200":{"description":"Pending approval queue"}}}},"/api/v1/arbiter/approve/{action_id}":{"post":{"summary":"Approve a queued arbiter action","tags":["Arbiter"],"responses":{"200":{"description":"Action approved"}}}},"/api/v1/generative-workflow/generate":{"post":{"summary":"Generate a workflow from a prompt","tags":["GenerativeWorkflow"],"responses":{"200":{"description":"Generated workflow"}}}},"/api/v1/verify/auditor-report.pdf":{"get":{"summary":"Download ProofLink Auditor Report PDF","tags":["ProofLink"],"responses":{"200":{"description":"Evidence-first PDF report with live ledger status, latest receipts, compliance posture, and report hash.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}}}}},"/api/v1/uaio-certification/status":{"get":{"summary":"Get UAIO certification readiness status","tags":["UAIO Certification"],"responses":{"200":{"description":"Certification progress and evidence requirements.","content":{"application/json":{"schema":{"type":"object","properties":{"eligible":{"type":"boolean"},"days_observed":{"type":"integer"},"autonomous_operations":{"type":"integer"},"chain_intact":{"type":"boolean"}}}}}}}}},"/api/v1/uaio-certification/certificate.pdf":{"get":{"summary":"Download UAIO certification certificate PDF","tags":["UAIO Certification"],"parameters":[{"name":"tenant_id","in":"query","schema":{"type":"string"},"required":false}],"responses":{"200":{"description":"Certificate PDF generated from verified autonomous operations evidence.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}}}}},"/api/v1/digital-twin/status":{"get":{"summary":"Get Digital Twin service status","tags":["Digital Twin"],"responses":{"200":{"description":"Digital Twin topology and simulation readiness.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/digital-twin/what-if":{"post":{"summary":"Run a Digital Twin what-if simulation","tags":["Digital Twin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scenario"],"properties":{"scenario":{"type":"string"},"target":{"type":"string"},"changes":{"type":"array","items":{"type":"object"}}}}}}},"responses":{"200":{"description":"Blast-radius, dependency, and rollback recommendation.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/rollback/health":{"get":{"summary":"Check rollback engine health","tags":["Rollback"],"responses":{"200":{"description":"Rollback readiness.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/disaster-recovery/playbook":{"get":{"summary":"Get disaster recovery playbook status","tags":["Rollback"],"responses":{"200":{"description":"DR playbook steps and automation readiness.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/roi":{"get":{"summary":"Get ROI summary","tags":["Business Value"],"responses":{"200":{"description":"Live ROI estimate from incidents prevented and hours saved.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/roi/dashboard":{"get":{"summary":"Get ROI dashboard data","tags":["Business Value"],"responses":{"200":{"description":"Time-series ROI and business impact metrics.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/billing/tenant/create":{"post":{"summary":"Create a billing tenant","tags":["Billing"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tenant_name","plan"],"properties":{"tenant_name":{"type":"string"},"plan":{"type":"string","enum":["msp_699","enterprise","pilot"]},"billing_email":{"type":"string","format":"email"}}}}}},"responses":{"200":{"description":"Tenant billing record created.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/onboarding/pilot-pipeline":{"post":{"summary":"Create a pilot onboarding pipeline record","tags":["Onboarding"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company_name","contact_email"],"properties":{"company_name":{"type":"string"},"contact_email":{"type":"string","format":"email"},"vertical":{"type":"string"},"source":{"type":"string"}}}}}},"responses":{"200":{"description":"Pilot onboarding record accepted.","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"A2AMessage":{"properties":{"source":{"type":"string","maxLength":120,"minLength":1,"title":"Source"},"target":{"type":"string","pattern":"^(pulse|shield|hermes|agent|local)$","title":"Target"},"intent":{"type":"string","maxLength":120,"minLength":1,"title":"Intent"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"correlation_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Correlation Id"}},"type":"object","required":["source","target","intent"],"title":"A2AMessage"},"AgentSealReq":{"properties":{"event":{"type":"string","title":"Event"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","default":"agent_action"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":"success"},"anonymized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Anonymized","default":false},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details","default":{}}},"type":"object","required":["event"],"title":"AgentSealReq"},"AiReq":{"properties":{"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Messages"},"system":{"type":"string","title":"System","default":"You are a helpful AI assistant at iTechSmart."},"max_tokens":{"type":"integer","title":"Max Tokens","default":1024},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"}},"type":"object","required":["messages"],"title":"AiReq"},"ApprovalReq":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"action":{"type":"string","title":"Action","default":""},"risk":{"type":"string","title":"Risk","default":"low"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["title"],"title":"ApprovalReq"},"AssignTenantReq":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id"}},"type":"object","required":["tenant_id"],"title":"AssignTenantReq"},"CommandRequest":{"properties":{"command":{"type":"string","title":"Command"},"args":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Args"}},"type":"object","required":["command"],"title":"CommandRequest"},"CommsSendReq":{"properties":{"to":{"type":"string","title":"To"},"content":{"type":"string","title":"Content"},"type":{"type":"string","title":"Type","default":"message"}},"type":"object","required":["to","content"],"title":"CommsSendReq"},"CreateTenantReq":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug","default":""}},"type":"object","required":["name"],"title":"CreateTenantReq"},"DiscoverRequest":{"properties":{"subnet":{"type":"string","title":"Subnet","default":"192.168.1.0/24"},"scan_ports":{"type":"boolean","title":"Scan Ports","default":true}},"type":"object","title":"DiscoverRequest"},"EnrollRequest":{"properties":{"hostname":{"type":"string","title":"Hostname"},"type":{"type":"string","title":"Type","default":"desktop"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"mac_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mac Address"}},"type":"object","required":["hostname"],"title":"EnrollRequest"},"EventReq":{"properties":{"title":{"type":"string","title":"Title"},"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"},"description":{"type":"string","title":"Description","default":""},"attendees":{"items":{"type":"string"},"type":"array","title":"Attendees","default":[]},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}},"type":"object","required":["title","start","end"],"title":"EventReq"},"GHLCreateContactReq":{"properties":{"first":{"type":"string","title":"First","default":""},"last":{"type":"string","title":"Last","default":""},"email":{"type":"string","title":"Email","default":""},"phone":{"type":"string","title":"Phone","default":""},"company":{"type":"string","title":"Company","default":""},"tags":{"items":{},"type":"array","title":"Tags","default":[]},"fields":{"additionalProperties":true,"type":"object","title":"Fields","default":{}}},"type":"object","title":"GHLCreateContactReq"},"GHLSendEmailReq":{"properties":{"contact_id":{"type":"string","title":"Contact Id"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"from_name":{"type":"string","title":"From Name","default":"DJuane Jackson — iTechSmart"},"from_email":{"type":"string","title":"From Email","default":"djuane@itechsmart.dev"}},"type":"object","required":["contact_id","subject","body"],"title":"GHLSendEmailReq"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IncidentRequest":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":10,"title":"Description","description":"Incident description to classify"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Source system (e.g., servicenow, datadog, pagerduty)","default":"api"}},"type":"object","required":["description"],"title":"IncidentRequest"},"KeyRequest":{"properties":{"tenant":{"type":"string","title":"Tenant","description":"Tenant/organization name"},"tier":{"type":"string","title":"Tier","description":"Tier: free, partner, or enterprise","default":"partner"}},"type":"object","required":["tenant"],"title":"KeyRequest"},"MarketContactCreate":{"properties":{"first_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"company":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Company"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"phone":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Phone"},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Linkedin Url"},"icp_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Icp Score"}},"type":"object","title":"MarketContactCreate"},"MarketDealCreate":{"properties":{"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"company":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Company"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"stage":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Stage","default":"awareness"},"probability":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Probability"},"close_date":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Close Date"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["title"],"title":"MarketDealCreate"},"MarketDealUpdate":{"properties":{"stage":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Stage"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"title":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Title"}},"type":"object","title":"MarketDealUpdate"},"MessageReq":{"properties":{"message":{"type":"string","title":"Message"},"role":{"type":"string","title":"Role","default":"user"}},"type":"object","required":["message"],"title":"MessageReq"},"NoteReq":{"properties":{"note":{"type":"string","title":"Note"}},"type":"object","required":["note"],"title":"NoteReq"},"PartnerApplicationCreate":{"properties":{"company_name":{"type":"string","maxLength":200,"minLength":1,"title":"Company Name"},"contact_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Contact Name"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Phone"},"website":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Website"},"partner_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Partner Type"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source","default":"website"}},"type":"object","required":["company_name"],"title":"PartnerApplicationCreate"},"PartnerApplicationStatusUpdate":{"properties":{"status":{"type":"string","pattern":"^(new|reviewing|approved|rejected)$","title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["status"],"title":"PartnerApplicationStatusUpdate"},"ReportDiscoveredRequest":{"properties":{"device_id":{"type":"string","title":"Device Id"},"subnet":{"type":"string","title":"Subnet"},"discovered":{"items":{},"type":"array","title":"Discovered"},"total":{"type":"integer","title":"Total"},"scanner":{"type":"string","title":"Scanner","default":"nmap"},"scan_ports":{"type":"boolean","title":"Scan Ports","default":true}},"type":"object","required":["device_id","subnet","discovered","total"],"title":"ReportDiscoveredRequest"},"ScanReportReq":{"properties":{"scan_type":{"type":"string","title":"Scan Type","default":"pulse-scan"},"summary":{"additionalProperties":true,"type":"object","title":"Summary","default":{}},"hosts":{"items":{},"type":"array","title":"Hosts","default":[]},"raw":{"additionalProperties":true,"type":"object","title":"Raw","default":{}}},"type":"object","title":"ScanReportReq"},"SealRequest":{"properties":{"service":{"type":"string","title":"Service"},"event":{"type":"string","title":"Event"},"status":{"type":"string","title":"Status","default":"complete"},"severity":{"type":"string","title":"Severity","default":"INFO"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"receipt_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Type"},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id"}},"type":"object","required":["service","event"],"title":"SealRequest"},"ShieldHeartbeatReq":{"properties":{"device_id":{"type":"string","title":"Device Id"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":"browser-extension"},"shield_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shield Version","default":"1.0"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"browser":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser"},"threats_blocked":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Threats Blocked","default":0},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","default":{}},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"mac_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mac Address"}},"type":"object","required":["device_id"],"title":"ShieldHeartbeatReq"},"TaskReq":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"priority":{"type":"string","title":"Priority","default":"medium"},"due":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due"}},"type":"object","required":["title"],"title":"TaskReq"},"ValidateRequest":{"properties":{"incident":{"type":"string","title":"Incident","description":"Incident description to validate"},"action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Action","description":"Proposed action with confidence, blast_radius, touches_secrets"}},"type":"object","required":["incident"],"title":"ValidateRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebsiteChatMsg":{"properties":{"role":{"type":"string","title":"Role","default":"user"},"content":{"type":"string","title":"Content","default":""}},"type":"object","title":"WebsiteChatMsg"},"WebsiteChatReq":{"properties":{"message":{"type":"string","title":"Message"},"system":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System"},"history":{"items":{"$ref":"#/components/schemas/WebsiteChatMsg"},"type":"array","title":"History","default":[]}},"type":"object","required":["message"],"title":"WebsiteChatReq"},"WebsiteTTSReq":{"properties":{"text":{"type":"string","title":"Text"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"}},"type":"object","required":["text"],"title":"WebsiteTTSReq"},"_DGBlogAudioReq":{"properties":{"title":{"type":"string","title":"Title"},"content":{"type":"string","title":"Content"}},"type":"object","required":["title","content"],"title":"_DGBlogAudioReq"},"_DGTTSReq":{"properties":{"text":{"type":"string","title":"Text"},"voice":{"type":"string","title":"Voice","default":"aura-asteria-en"},"output_filename":{"type":"string","title":"Output Filename","default":""}},"type":"object","required":["text"],"title":"_DGTTSReq"},"_DGTranscribeReq":{"properties":{"audio_url":{"type":"string","title":"Audio Url","default":""},"audio_file_path":{"type":"string","title":"Audio File Path","default":""}},"type":"object","title":"_DGTranscribeReq"},"_ShieldLogin":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"_ShieldLogin"}}}}