{"openapi":"3.1.0","info":{"title":"Artificial Works API","description":"AntOps provides operational intelligence and evidence infrastructure for Company & Supplier Watch, MSP Infrastructure Monitoring, Tender Intelligence, DevOps Change Risk and Private Document Intelligence. The five original checker APIs remain available. Authenticate direct workspace requests with `X-API-Key`; call `GET /v1/workspace` after owner-key issuance and `GET /v1/catalog` for the product map. Results are automated signals, not legal, security-certification, deliverability, compliance, credit or investment decisions.","version":"0.1.0"},"servers":[{"url":"https://api.antops.dev","description":"Production"}],"paths":{"/health":{"get":{"tags":["Health"],"summary":"Health Check","description":"Returns service status. This endpoint does not require an API key.","operationId":"health_check","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/ready":{"get":{"tags":["Health"],"summary":"Readiness Check","description":"Checks whether the API, PostgreSQL, and Redis dependencies are ready.","operationId":"readiness_check","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessResponse"}}}}}}},"/v1/documents":{"post":{"tags":["Private Document Intelligence"],"summary":"Upload a Private Document","operationId":"upload_document","security":[{"CustomerApiKey":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_document"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Private Document Intelligence"],"summary":"List Private Documents","operationId":"list_documents","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"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":{"$ref":"#/components/schemas/DocumentListResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/retention/preview":{"get":{"tags":["Private Document Intelligence"],"summary":"Preview Document Retention Cleanup","operationId":"preview_document_retention","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentRetentionPreviewResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/document-webhooks":{"post":{"tags":["Private Document Intelligence"],"summary":"Create a Private Document Event Webhook","operationId":"create_document_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentWebhookCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentWebhookResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/documents/{document_id}":{"get":{"tags":["Private Document Intelligence"],"summary":"Get Private Document Metadata","operationId":"get_document","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Private Document Intelligence"],"summary":"Delete Private Document and Derivatives","operationId":"delete_document","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/status":{"get":{"tags":["Private Document Intelligence"],"summary":"Get Document Processing Status","operationId":"get_document_status","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentStatusResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/extraction":{"get":{"tags":["Private Document Intelligence"],"summary":"Get Normalized Document Extraction","operationId":"get_document_extraction","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractionResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/fields":{"get":{"tags":["Private Document Intelligence"],"summary":"Get Extracted Document Fields","operationId":"list_document_fields","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentFieldResponse"},"title":"Response List Document Fields"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/findings":{"get":{"tags":["Private Document Intelligence"],"summary":"Get Sensitive Data Findings","operationId":"list_document_findings","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentFindingResponse"},"title":"Response List Document Findings"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/sanitize":{"post":{"tags":["Private Document Intelligence"],"summary":"Create Verified Sanitized Text Derivative","operationId":"sanitize_document","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanitizationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanitizedArtifactResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/artifacts/{version_id}":{"get":{"tags":["Private Document Intelligence"],"summary":"Download Sanitized Text Artifact","operationId":"download_sanitized_document_artifact","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/change-risk/analyses":{"get":{"tags":["DevOps Change Risk"],"summary":"List Change Risk Analysis History","operationId":"list_change_risk_analyses","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssessmentResponse"},"type":"array","title":"Response List Change Risk Analyses"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["DevOps Change Risk"],"summary":"Analyze Proposed Engineering Change","operationId":"analyze_change_risk","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeChangeRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/change-risk/analyses/{assessment_id}":{"get":{"tags":["DevOps Change Risk"],"summary":"Get Change Risk Assessment","operationId":"get_change_risk_assessment","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"assessment_id","in":"path","required":true,"schema":{"type":"string","title":"Assessment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/change-risk/analyses/{assessment_id}/findings":{"get":{"tags":["DevOps Change Risk"],"summary":"Get Change Risk Findings","operationId":"get_change_risk_findings","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"assessment_id","in":"path","required":true,"schema":{"type":"string","title":"Assessment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FindingResponse"},"title":"Response Get Change Risk Findings"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/change-risk/sbom/import":{"post":{"tags":["DevOps Change Risk"],"summary":"Safely Parse Submitted SPDX or CycloneDX SBOM","operationId":"import_change_risk_sbom","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SbomImportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SbomResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/change-risk/repositories/{repository_id}/baseline":{"post":{"tags":["DevOps Change Risk"],"summary":"Capture Repository Security Baseline from Latest Assessment","operationId":"create_change_risk_baseline","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"repository_id","in":"path","required":true,"schema":{"type":"string","title":"Repository Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaselineResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["DevOps Change Risk"],"summary":"Get Repository Security Baseline","operationId":"get_change_risk_baseline","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"repository_id","in":"path","required":true,"schema":{"type":"string","title":"Repository Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaselineResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/change-risk/policies":{"get":{"tags":["DevOps Change Risk"],"summary":"List Change Risk Policies","operationId":"list_change_risk_policies","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PolicyResponse"},"type":"array","title":"Response List Change Risk Policies"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["DevOps Change Risk"],"summary":"Create Change Risk Policy","operationId":"create_change_risk_policy","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/change-risk/waivers":{"post":{"tags":["DevOps Change Risk"],"summary":"Create Finding Waiver","operationId":"create_change_risk_waiver","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaiverRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Create Change Risk Waiver"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/tenders":{"get":{"tags":["Tender Intelligence"],"summary":"Search Public Procurement Opportunities","operationId":"search_tenders","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Page Size"}},{"name":"keywords","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Keywords"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Categories"}},{"name":"naics","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Naics"}},{"name":"psc","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Psc"}},{"name":"set_asides","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Set Asides"}},{"name":"agencies","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Agencies"}},{"name":"locations","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Locations"}},{"name":"buyer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer"}},{"name":"min_value","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"}},{"name":"max_value","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"}},{"name":"currency","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"}},{"name":"deadline_days","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deadline Days"}},{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},{"name":"jurisdiction","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tenders/{opportunity_id}":{"get":{"tags":["Tender Intelligence"],"summary":"Get Tender Details","operationId":"get_tender","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tender-buyers":{"get":{"tags":["Tender Intelligence"],"summary":"List Tender Buyers","operationId":"list_tender_buyers","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"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":{"type":"array","items":{"type":"string"},"title":"Response List Tender Buyers"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tender-capability-profile":{"get":{"tags":["Tender Intelligence"],"summary":"Get Tender Capability Profile","operationId":"get_tender_capability_profile","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityProfileResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"put":{"tags":["Tender Intelligence"],"summary":"Create or Update Tender Capability Profile","operationId":"upsert_tender_capability_profile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityProfileRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityProfileResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/tender-saved-searches":{"get":{"tags":["Tender Intelligence"],"summary":"List Tender Saved Searches","operationId":"list_tender_saved_searches","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SavedSearchResponse"},"type":"array","title":"Response List Tender Saved Searches"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Tender Intelligence"],"summary":"Create Tender Saved Search","operationId":"create_tender_saved_search","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderSavedSearchRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedSearchResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/tender-saved-searches/{search_id}":{"patch":{"tags":["Tender Intelligence"],"summary":"Update Tender Saved Search","operationId":"update_tender_saved_search","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","title":"Search Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderSavedSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedSearchResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Tender Intelligence"],"summary":"Delete Tender Saved Search","operationId":"delete_tender_saved_search","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","title":"Search Id"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tender-saved-searches/{search_id}/matches":{"get":{"tags":["Tender Intelligence"],"summary":"List Tender Saved Search Matches","operationId":"list_tender_matches","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MatchResponse"},"title":"Response List Tender Matches"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tender-webhooks":{"post":{"tags":["Tender Intelligence"],"summary":"Create Saved Search Webhook","operationId":"create_tender_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderWebhookRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderWebhookResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/tender-events":{"get":{"tags":["Tender Intelligence"],"summary":"List Tender Events","operationId":"list_tender_events","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Tender Events"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tender-refresh":{"post":{"tags":["Tender Intelligence"],"summary":"Request Official Tender Refresh","operationId":"request_tender_refresh","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"type":"object","title":"Response Request Tender Refresh"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/companies/{jurisdiction}/search":{"get":{"tags":["Company & Supplier Watch"],"summary":"Search Official Companies","operationId":"search_companies","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"name","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"description":"Official-provider legal-name query.","title":"Name"},"description":"Official-provider legal-name query."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":10,"title":"Limit"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySearchResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{jurisdiction}/{registration_number}":{"get":{"tags":["Company & Supplier Watch"],"summary":"Look Up a Company","description":"Returns a normalized company profile from the jurisdiction default official provider, or an optional supported provider override. The response is an operational information signal, not a credit, KYC, investment, or legal decision.","operationId":"lookup_company","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"registration_number","in":"path","required":true,"schema":{"type":"string","title":"Registration Number"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional registered provider override, for example eu_vies or sec_edgar.","title":"Provider"},"description":"Optional registered provider override, for example eu_vies or sec_edgar."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyLookupResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies":{"post":{"tags":["Company & Supplier Watch"],"summary":"Add a Company to Monitoring","operationId":"create_monitored_company","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResource"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/company-watchlists":{"get":{"tags":["Company & Supplier Watch"],"summary":"List Company Watchlists","operationId":"list_company_watchlists","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyWatchlistResponse"},"type":"array","title":"Response List Company Watchlists"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Company & Supplier Watch"],"summary":"Create a Company Watchlist","operationId":"create_company_watchlist","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWatchlistCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWatchlistResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/company-watchlists/{watchlist_id}/companies":{"post":{"tags":["Company & Supplier Watch"],"summary":"Add a Company to a Watchlist","operationId":"add_company_to_watchlist","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"string","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResource"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Company & Supplier Watch"],"summary":"List Companies in a Watchlist","operationId":"list_watchlist_companies","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"string","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompanyResource"},"title":"Response List Watchlist Companies"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/company-watchlists/{watchlist_id}/companies/bulk":{"post":{"tags":["Company & Supplier Watch"],"summary":"Bulk Add Companies to a Watchlist","operationId":"bulk_add_companies_to_watchlist","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"string","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyBulkAddRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyBulkAddResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/company-watchlists/{watchlist_id}/companies/{company_id}":{"delete":{"tags":["Company & Supplier Watch"],"summary":"Remove a Company from a Watchlist","operationId":"remove_company_from_watchlist","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"string","title":"Watchlist Id"}},{"name":"company_id","in":"path","required":true,"schema":{"type":"string","title":"Company Id"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{jurisdiction}/{registration_number}/observations":{"get":{"tags":["Company & Supplier Watch"],"summary":"Get Company Observation History","operationId":"list_company_observations","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"registration_number","in":"path","required":true,"schema":{"type":"string","title":"Registration Number"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Limit"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompanyObservationResponse"},"title":"Response List Company Observations"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{jurisdiction}/{registration_number}/events":{"get":{"tags":["Company & Supplier Watch"],"summary":"Get Company Change History","operationId":"list_company_events","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"registration_number","in":"path","required":true,"schema":{"type":"string","title":"Registration Number"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Limit"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompanyEventResponse"},"title":"Response List Company Events"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{jurisdiction}/{registration_number}/supplier-intelligence/enable":{"post":{"tags":["Company & Supplier Watch"],"summary":"Enable Supplier Intelligence Monitoring","operationId":"enable_supplier_intelligence_monitoring","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"registration_number","in":"path","required":true,"schema":{"type":"string","title":"Registration Number"}},{"name":"interval_seconds","in":"query","required":false,"schema":{"type":"integer","maximum":2592000,"minimum":300,"default":86400,"title":"Interval Seconds"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierIntelligenceResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{jurisdiction}/{registration_number}/supplier-intelligence":{"get":{"tags":["Company & Supplier Watch"],"summary":"Get Supplier Intelligence","operationId":"get_supplier_intelligence","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"jurisdiction","in":"path","required":true,"schema":{"type":"string","title":"Jurisdiction"}},{"name":"registration_number","in":"path","required":true,"schema":{"type":"string","title":"Registration Number"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierIntelligenceResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/company-webhooks":{"get":{"tags":["Company & Supplier Watch"],"summary":"List Company Watch Webhooks","operationId":"list_company_watch_webhooks","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyWebhookResponse"},"type":"array","title":"Response List Company Watch Webhooks"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Company & Supplier Watch"],"summary":"Create a Company Watch Webhook","operationId":"create_company_watch_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhookCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhookResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/company-email-alerts":{"get":{"tags":["Company & Supplier Watch"],"summary":"List Company Watch Email Alerts","operationId":"list_company_email_alerts","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyEmailAlertResponse"},"type":"array","title":"Response List Company Email Alerts"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Company & Supplier Watch"],"summary":"Create a Company Watch Email Alert","operationId":"create_company_email_alert","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEmailAlertCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEmailAlertResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/domain-assets":{"post":{"tags":["Digital Infrastructure Monitoring"],"summary":"Create a Domain Asset","operationId":"create_domain_asset","security":[{"CustomerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAssetCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"List Domain Assets","operationId":"list_domain_assets","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"customer_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Label"}},{"name":"monitor_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Status"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}},{"name":"issue_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainAssetResponse"},"title":"Response List Domain Assets"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}":{"patch":{"tags":["Digital Infrastructure Monitoring"],"summary":"Update a Domain Asset","operationId":"update_domain_asset","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAssetUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/status":{"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"Get Current Domain Status","operationId":"get_domain_asset_status","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainStatusResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/preflight":{"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"Get Email Migration Preflight","operationId":"get_domain_preflight","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainPreflightResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/observations":{"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"Get Domain Observation History","operationId":"list_domain_observations","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainObservationResponse"},"title":"Response List Domain Observations"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/events":{"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"Get Domain Events","operationId":"list_domain_events","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainEventResponse"},"title":"Response List Domain Events"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/dmarc-reports":{"post":{"tags":["Digital Infrastructure Monitoring"],"summary":"Ingest a DMARC Aggregate Report","operationId":"ingest_dmarc_aggregate_report","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DmarcAggregateIngestRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DmarcAggregateReportResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Digital Infrastructure Monitoring"],"summary":"List DMARC Aggregate Reports","operationId":"list_dmarc_aggregate_reports","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DmarcAggregateReportResponse"},"title":"Response List Dmarc Aggregate Reports"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-assets/{asset_id}/checks":{"post":{"tags":["Digital Infrastructure Monitoring"],"summary":"Request an On-demand Domain Check","operationId":"request_domain_check","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain-webhooks":{"post":{"tags":["Digital Infrastructure Monitoring"],"summary":"Create a Domain Monitoring Webhook","operationId":"create_domain_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainWebhookCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainWebhookResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/reliability-assets":{"post":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Create a Website or API Reliability Asset","operationId":"create_reliability_asset","security":[{"CustomerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityAssetCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"List Website and API Reliability Assets","operationId":"list_reliability_assets","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"customer_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Label"}},{"name":"asset_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["website","api_endpoint"],"type":"string"},{"type":"null"}],"title":"Asset Type"}},{"name":"monitor_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Status"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"incident_status","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","resolved"],"type":"string"},{"type":"null"}],"title":"Incident Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReliabilityAssetResponse"},"title":"Response List Reliability Assets"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reliability-assets/{asset_id}":{"patch":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Update a Reliability Asset","operationId":"update_reliability_asset","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityAssetUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reliability-assets/{asset_id}/status":{"get":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Get Website or API Reliability Status","operationId":"get_reliability_asset_status","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityStatusResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reliability-assets/{asset_id}/observations":{"get":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Get Reliability Observation History","operationId":"list_reliability_observations","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReliabilityObservationResponse"},"title":"Response List Reliability Observations"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reliability-assets/{asset_id}/incidents":{"get":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Get Reliability Incident History","operationId":"list_reliability_incidents","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReliabilityIncidentResponse"},"title":"Response List Reliability Incidents"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reliability-assets/{asset_id}/checks":{"post":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Request an On-demand Reliability Check","operationId":"request_reliability_check","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReliabilityAssetResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/maintenance-windows":{"post":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"Create a Reliability Maintenance Window","operationId":"create_maintenance_window","security":[{"CustomerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceWindowCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceWindowResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Digital Infrastructure Monitoring","Digital Infrastructure Monitoring"],"summary":"List Reliability Maintenance Windows","operationId":"list_maintenance_windows","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"asset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceWindowResponse"},"title":"Response List Maintenance Windows"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domain/check":{"post":{"tags":["Domain Health"],"summary":"Check Domain Health","description":"Checks DNS A/AAAA/NS records, MX, SPF, DMARC, and TLS certificate signals for one public domain. Use this as a technical signal, not a deliverability guarantee.","operationId":"check_domain_health","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainCheckResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/domain/bulk-check":{"post":{"tags":["Domain Health"],"summary":"Bulk Check Domains","description":"Checks up to 10 public domains in one request. Each domain consumes one request from the monthly quota.","operationId":"bulk_check_domain_health","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDomainCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDomainCheckResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/docker-scanner/scan":{"post":{"tags":["Docker Scanner"],"summary":"Scan Docker Configuration","description":"Analyzes Dockerfile or Docker Compose source for common configuration and security risks before deployment. Source is analyzed in the request; it is not executed.","operationId":"scan_docker_configuration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DockerScanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DockerScanResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/terraform-risk/analyze":{"post":{"tags":["Terraform Risk Analyzer"],"summary":"Analyze Terraform Risk","description":"Analyzes Terraform source or plan JSON for common infrastructure risk signals. Source is analyzed in the request; it is not applied or executed.","operationId":"analyze_terraform_risk","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerraformAnalyzeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerraformAnalyzeResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/website-snapshot/check":{"post":{"tags":["Website Snapshot"],"summary":"Check Website Security","description":"Fetches a public website safely and returns technical security, configuration, and public compliance-page indicators. Results are automated signals, not legal advice or a formal security assessment.","operationId":"check_website_security","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteSnapshotRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteSnapshotResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/uk-company-intelligence/analyze":{"post":{"tags":["UK Company Intelligence"],"summary":"Analyze UK Company","description":"Builds an automated onboarding risk snapshot from supplied Companies House-style public company data. It does not fetch private data or make a credit decision.","operationId":"analyze_uk_company","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UKCompanyAnalyzeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UKCompanyAnalyzeResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/usage":{"get":{"tags":["Usage"],"summary":"Get Usage","description":"Returns the current API key's monthly quota, usage, remaining requests, and endpoint counts.","operationId":"get_usage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/catalog":{"get":{"tags":["Customer Onboarding"],"summary":"List AntOps Product Catalog","description":"Public catalog of the recurring operational-intelligence products.","operationId":"product_catalog_v1_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProductCatalogEntry"},"type":"array","title":"Response Product Catalog V1 Catalog Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/workspace":{"get":{"tags":["Customer Onboarding"],"summary":"Get Workspace and Plan","operationId":"get_workspace_v1_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/workspace/overview":{"get":{"tags":["Customer Onboarding"],"summary":"Get Customer Overview","operationId":"workspace_overview_v1_workspace_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOverviewResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/access/api-keys":{"get":{"tags":["Customer Onboarding"],"summary":"List Workspace API Keys","operationId":"list_workspace_keys_v1_access_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CustomerAPIKeyResponse"},"type":"array","title":"Response List Workspace Keys V1 Access Api Keys Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Customer Onboarding"],"summary":"Create Workspace API Key","operationId":"create_workspace_key_v1_access_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAPIKeyCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAPIKeySecretResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/access/api-keys/{api_key_id}/revoke":{"post":{"tags":["Customer Onboarding"],"summary":"Revoke Workspace API Key","operationId":"revoke_workspace_key_v1_access_api_keys__api_key_id__revoke_post","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAPIKeyResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/api-keys/{api_key_id}/rotate":{"post":{"tags":["Customer Onboarding"],"summary":"Rotate Workspace API Key","operationId":"rotate_workspace_key_v1_access_api_keys__api_key_id__rotate_post","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAPIKeySecretResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations":{"get":{"tags":["Integrations"],"summary":"List Workspace Integrations","operationId":"list_integrations_v1_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/IntegrationResponse"},"type":"array","title":"Response List Integrations V1 Integrations Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Integrations"],"summary":"Configure Slack or Teams Integration","operationId":"configure_integration_v1_integrations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/integrations/{integration_id}":{"patch":{"tags":["Integrations"],"summary":"Enable, Disable, or Re-route Integration","operationId":"update_integration_v1_integrations__integration_id__patch","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{integration_id}/deliveries":{"get":{"tags":["Integrations"],"summary":"Inspect Integration Delivery History","operationId":"integration_deliveries_v1_integrations__integration_id__deliveries_get","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationDeliveryResponse"},"title":"Response Integration Deliveries V1 Integrations  Integration Id  Deliveries Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{integration_id}/test":{"post":{"tags":["Integrations"],"summary":"Send a Safe Integration Test Notification","operationId":"test_integration_v1_integrations__integration_id__test_post","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationDeliveryResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/github/installations":{"get":{"tags":["Integrations"],"summary":"List GitHub App Installations","operationId":"list_github_installations_v1_integrations_github_installations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitHubInstallationResponse"},"type":"array","title":"Response List Github Installations V1 Integrations Github Installations Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"CustomerApiKey":[]}]},"post":{"tags":["Integrations"],"summary":"Map Installed GitHub App to Workspace","operationId":"create_github_installation_v1_integrations_github_installations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubInstallationCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubInstallationResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/integrations/github/installations/{installation_id}/repositories":{"get":{"tags":["Integrations"],"summary":"List Enabled GitHub Repositories","operationId":"list_github_repositories_v1_integrations_github_installations__installation_id__repositories_get","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GitHubRepositoryResponse"},"title":"Response List Github Repositories V1 Integrations Github Installations  Installation Id  Repositories Get"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Integrations"],"summary":"Enable GitHub Repository Change Risk Checks","operationId":"enable_github_repository_v1_integrations_github_installations__installation_id__repositories_post","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubRepositoryCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubRepositoryResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/github/repositories/{repository_id}":{"patch":{"tags":["Integrations"],"summary":"Enable or Disable GitHub Repository","operationId":"update_github_repository_v1_integrations_github_repositories__repository_id__patch","security":[{"CustomerApiKey":[]}],"parameters":[{"name":"repository_id","in":"path","required":true,"schema":{"type":"string","title":"Repository Id"}},{"name":"enabled","in":"query","required":true,"schema":{"type":"boolean","title":"Enabled"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubRepositoryResponse"}}}},"401":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the size limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or monthly quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A required dependency is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/plans":{"get":{"tags":["Plans"],"summary":"List Plans","description":"Lists the available application billing-plan metadata.","operationId":"list_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BillingPlanResponse"},"type":"array","title":"Response List Plans"}}}}}}},"/v1/billing/checkout-session":{"post":{"tags":["Plans"],"summary":"Create Stripe Checkout Session","description":"Create hosted Checkout only for the caller's workspace and approved paid tiers.","operationId":"create_checkout_session_v1_billing_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"CustomerApiKey":[]}]}},"/v1/billing/portal-session":{"post":{"tags":["Plans"],"summary":"Create Stripe Customer Portal Session","operationId":"create_customer_portal_session_v1_billing_portal_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPortalResponse"}}}}},"security":[{"CustomerApiKey":[]}]}}},"components":{"schemas":{"AnalyzeChangeRequest":{"properties":{"repository_name":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Repository Name"},"repository_provider":{"type":"string","maxLength":64,"title":"Repository Provider","default":"manual"},"repository_external_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Repository External Id"},"revision":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Revision"},"pull_request_number":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Pull Request Number"},"files":{"items":{"$ref":"#/components/schemas/ChangeFile"},"type":"array","maxItems":30,"minItems":1,"title":"Files"}},"type":"object","required":["files"],"title":"AnalyzeChangeRequest"},"AssessmentResponse":{"properties":{"id":{"type":"string","title":"Id"},"repository_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Id"},"risk_level":{"type":"string","title":"Risk Level"},"risk_score":{"type":"integer","title":"Risk Score"},"decision":{"type":"string","title":"Decision"},"decision_reasons":{"items":{"type":"string"},"type":"array","title":"Decision Reasons"},"summary":{"additionalProperties":true,"type":"object","title":"Summary"},"findings":{"items":{"$ref":"#/components/schemas/FindingResponse"},"type":"array","title":"Findings","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","risk_level","risk_score","decision","decision_reasons","summary","created_at"],"title":"AssessmentResponse"},"BaselineResponse":{"properties":{"id":{"type":"string","title":"Id"},"repository_id":{"type":"string","title":"Repository Id"},"assessment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assessment Id"},"inventory":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Inventory"},"state":{"additionalProperties":true,"type":"object","title":"State"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","repository_id","assessment_id","inventory","state","created_at","updated_at"],"title":"BaselineResponse"},"BillingPlanResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"display_name":{"type":"string","title":"Display Name"},"monthly_quota":{"type":"integer","title":"Monthly Quota"},"requests_per_minute":{"type":"integer","title":"Requests Per Minute"},"rapidapi_plan":{"type":"string","title":"Rapidapi Plan"},"stripe_lookup_key":{"type":"string","title":"Stripe Lookup Key"},"intended_customers":{"type":"string","title":"Intended Customers"},"capabilities":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Capabilities"}},"type":"object","required":["tier","display_name","monthly_quota","requests_per_minute","rapidapi_plan","stripe_lookup_key","intended_customers","capabilities"],"title":"BillingPlanResponse"},"Body_upload_document":{"properties":{"document":{"type":"string","contentMediaType":"application/octet-stream","title":"Document","description":"Extractable PDF or UTF-8 plain text only."}},"type":"object","required":["document"],"title":"Body_upload_document"},"BulkDomainCheckRequest":{"properties":{"domains":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Domains","examples":[["example.com"]]}},"type":"object","required":["domains"],"title":"BulkDomainCheckRequest"},"BulkDomainCheckResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/DomainCheckResponse"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"BulkDomainCheckResponse"},"CapabilityProfileRequest":{"properties":{"services":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Services"},"industries":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Industries"},"technologies":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Technologies"},"certifications":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Certifications"},"preferred_contract_values":{"additionalProperties":{"type":"number"},"type":"object","title":"Preferred Contract Values"},"preferred_geographies":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Preferred Geographies"},"keywords":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Keywords"},"exclusions":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Exclusions"}},"type":"object","title":"CapabilityProfileRequest"},"CapabilityProfileResponse":{"properties":{"profile":{"additionalProperties":true,"type":"object","title":"Profile"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["profile","updated_at"],"title":"CapabilityProfileResponse"},"CapabilityResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"monitored_companies":{"type":"integer","title":"Monitored Companies"},"monitored_domains":{"type":"integer","title":"Monitored Domains"},"monitored_endpoints":{"type":"integer","title":"Monitored Endpoints"},"tender_saved_searches":{"type":"integer","title":"Tender Saved Searches"},"change_risk_analyses":{"type":"integer","title":"Change Risk Analyses"},"webhook_access":{"type":"boolean","title":"Webhook Access"},"retention_days":{"type":"integer","title":"Retention Days"},"minimum_monitor_interval_seconds":{"type":"integer","title":"Minimum Monitor Interval Seconds"},"workspace_api_keys":{"type":"integer","title":"Workspace Api Keys"},"document_monthly_limit":{"type":"integer","title":"Document Monthly Limit"},"document_max_bytes":{"type":"integer","title":"Document Max Bytes"},"document_sanitization_access":{"type":"boolean","title":"Document Sanitization Access"}},"type":"object","required":["tier","monitored_companies","monitored_domains","monitored_endpoints","tender_saved_searches","change_risk_analyses","webhook_access","retention_days","minimum_monitor_interval_seconds","workspace_api_keys","document_monthly_limit","document_max_bytes","document_sanitization_access"],"title":"CapabilityResponse"},"ChangeFile":{"properties":{"path":{"type":"string","maxLength":1024,"minLength":1,"title":"Path"},"content":{"type":"string","maxLength":200000,"title":"Content"},"previous_content":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Previous Content"}},"type":"object","required":["path","content"],"title":"ChangeFile"},"CheckoutSessionRequest":{"properties":{"tier":{"type":"string","maxLength":32,"minLength":1,"title":"Tier"}},"type":"object","required":["tier"],"title":"CheckoutSessionRequest"},"CheckoutSessionResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"}},"type":"object","required":["checkout_url"],"title":"CheckoutSessionResponse"},"CompanyBulkAddItem":{"properties":{"index":{"type":"integer","minimum":0.0,"title":"Index"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"status":{"type":"string","enum":["added","existing","invalid"],"title":"Status"},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["index","status"],"title":"CompanyBulkAddItem"},"CompanyBulkAddRequest":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/CompanyBulkInput"},"type":"array","maxItems":100,"minItems":1,"title":"Companies"},"monitor_interval_seconds":{"type":"integer","maximum":2592000.0,"minimum":300.0,"title":"Monitor Interval Seconds","default":86400}},"type":"object","required":["companies"],"title":"CompanyBulkAddRequest"},"CompanyBulkAddResponse":{"properties":{"created":{"type":"integer","minimum":0.0,"title":"Created"},"existing":{"type":"integer","minimum":0.0,"title":"Existing"},"invalid":{"type":"integer","minimum":0.0,"title":"Invalid"},"items":{"items":{"$ref":"#/components/schemas/CompanyBulkAddItem"},"type":"array","title":"Items"}},"type":"object","required":["created","existing","invalid","items"],"title":"CompanyBulkAddResponse"},"CompanyBulkInput":{"properties":{"jurisdiction":{"type":"string","maxLength":16,"minLength":1,"title":"Jurisdiction"},"registration_number":{"type":"string","maxLength":64,"minLength":1,"title":"Registration Number"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["jurisdiction","registration_number"],"title":"CompanyBulkInput","description":"Deliberately loose at the request edge so bulk imports can report row-level failures."},"CompanyCreateRequest":{"properties":{"jurisdiction":{"type":"string","maxLength":3,"minLength":2,"title":"Jurisdiction","examples":["GB"]},"registration_number":{"type":"string","maxLength":32,"minLength":2,"title":"Registration Number","examples":["12345678"]},"display_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Display Name"},"provider":{"anyOf":[{"type":"string","maxLength":64,"minLength":2},{"type":"null"}],"title":"Provider","description":"Optional provider override. Omit to use the jurisdiction default."},"identifiers":{"additionalProperties":{"type":"string"},"type":"object","title":"Identifiers","description":"Optional normalized identifiers such as VAT, CIK, or UEI."},"monitor_interval_seconds":{"type":"integer","maximum":2592000.0,"minimum":300.0,"title":"Monitor Interval Seconds","default":86400}},"type":"object","required":["jurisdiction","registration_number"],"title":"CompanyCreateRequest"},"CompanyEmailAlertCreateRequest":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"CompanyEmailAlertCreateRequest"},"CompanyEmailAlertResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"enabled":{"type":"boolean","title":"Enabled"},"delivery_configured":{"type":"boolean","title":"Delivery Configured"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","enabled","delivery_configured","created_at"],"title":"CompanyEmailAlertResponse"},"CompanyEventResponse":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Severity"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"previous_observation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Observation Id"},"current_observation_id":{"type":"string","title":"Current Observation Id"},"source_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Timestamp"},"change":{"additionalProperties":true,"type":"object","title":"Change"},"company":{"additionalProperties":{"type":"string"},"type":"object","title":"Company"},"evidence_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Id"},"details":{"additionalProperties":true,"type":"object","title":"Details","description":"Bounded source-backed event details. Provider credentials and raw payloads are excluded."}},"type":"object","required":["id","type","severity","detected_at","previous_observation_id","current_observation_id","source_timestamp","change","company","evidence_id"],"title":"CompanyEventResponse"},"CompanyLookupResponse":{"properties":{"company":{"$ref":"#/components/schemas/CompanyProfile"},"provider":{"type":"string","title":"Provider"},"provider_company_id":{"type":"string","title":"Provider Company Id"},"provider_entity_id":{"type":"string","title":"Provider Entity Id"},"source_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Updated At"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"},"data_status":{"type":"string","enum":["available","unfetched","partial"],"title":"Data Status"}},"type":"object","required":["company","provider","provider_company_id","provider_entity_id","source_updated_at","fetched_at","data_status"],"title":"CompanyLookupResponse","example":{"company":{"accounts":{},"charges_summary":{"count":0,"status":"available"},"company_status":"active","company_type":"plc","confirmation_statement":{},"incorporation_date":"1922-03-09","insolvency_summary":{"present":false,"status":"not_present"},"jurisdiction":"GB","legal_name":"J Sainsbury plc","officers_summary":{"count":8,"status":"available"},"psc_summary":{"count":0,"status":"available"},"registered_office":{"locality":"London"},"registration_number":"00000006","sic_codes":["47110"]},"data_status":"available","fetched_at":"2026-09-12T12:00:00+00:00","provider":"companies_house","provider_company_id":"00000006"}},"CompanyObservationResponse":{"properties":{"id":{"type":"string","title":"Id"},"monitor_id":{"type":"string","title":"Monitor Id"},"status":{"type":"string","title":"Status"},"company":{"anyOf":[{"$ref":"#/components/schemas/CompanyProfile"},{"type":"null"}]},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"source_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Updated At"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"evidence_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Id"}},"type":"object","required":["id","monitor_id","status","company","provider","source_updated_at","fetched_at","observed_at","evidence_id"],"title":"CompanyObservationResponse"},"CompanyProfile":{"properties":{"jurisdiction":{"type":"string","title":"Jurisdiction"},"registration_number":{"type":"string","title":"Registration Number"},"legal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Name"},"company_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Status"},"incorporation_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incorporation Date"},"registered_office":{"additionalProperties":{"type":"string"},"type":"object","title":"Registered Office"},"company_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Type"},"sic_codes":{"items":{"type":"string"},"type":"array","title":"Sic Codes"},"accounts":{"additionalProperties":true,"type":"object","title":"Accounts"},"confirmation_statement":{"additionalProperties":true,"type":"object","title":"Confirmation Statement"},"officers_summary":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"}]},"type":"object","title":"Officers Summary"},"psc_summary":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"}]},"type":"object","title":"Psc Summary"},"charges_summary":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"}]},"type":"object","title":"Charges Summary"},"insolvency_summary":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"}]},"type":"object","title":"Insolvency Summary"},"identifiers":{"additionalProperties":{"type":"string"},"type":"object","title":"Identifiers"},"supplier_registration":{"additionalProperties":true,"type":"object","title":"Supplier Registration"}},"type":"object","required":["jurisdiction","registration_number","legal_name","company_status","incorporation_date","registered_office","company_type","sic_codes","accounts","confirmation_statement","officers_summary","psc_summary","charges_summary","insolvency_summary"],"title":"CompanyProfile"},"CompanyResource":{"properties":{"id":{"type":"string","title":"Id"},"jurisdiction":{"type":"string","title":"Jurisdiction"},"registration_number":{"type":"string","title":"Registration Number"},"provider":{"type":"string","title":"Provider"},"provider_company_id":{"type":"string","title":"Provider Company Id"},"provider_entity_id":{"type":"string","title":"Provider Entity Id"},"identifiers":{"additionalProperties":{"type":"string"},"type":"object","title":"Identifiers"},"display_name":{"type":"string","title":"Display Name"},"data_status":{"type":"string","enum":["available","unfetched","partial"],"title":"Data Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"monitor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Id"}},"type":"object","required":["id","jurisdiction","registration_number","provider","provider_company_id","provider_entity_id","display_name","data_status","created_at","updated_at"],"title":"CompanyResource"},"CompanyRiskIssue":{"properties":{"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"}},"type":"object","required":["severity","category","message","recommendation"],"title":"CompanyRiskIssue"},"CompanySearchResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CompanySearchResult"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"CompanySearchResponse"},"CompanySearchResult":{"properties":{"jurisdiction":{"type":"string","title":"Jurisdiction"},"registration_number":{"type":"string","title":"Registration Number"},"legal_name":{"type":"string","title":"Legal Name"},"provider":{"type":"string","title":"Provider"},"provider_company_id":{"type":"string","title":"Provider Company Id"},"identifiers":{"additionalProperties":{"type":"string"},"type":"object","title":"Identifiers"}},"type":"object","required":["jurisdiction","registration_number","legal_name","provider","provider_company_id"],"title":"CompanySearchResult"},"CompanyWatchlistCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"CompanyWatchlistCreateRequest"},"CompanyWatchlistResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"company_count":{"type":"integer","minimum":0.0,"title":"Company Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","description","company_count","created_at"],"title":"CompanyWatchlistResponse"},"CompanyWebhookCreateRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"}},"type":"object","required":["url"],"title":"CompanyWebhookCreateRequest"},"CompanyWebhookResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret","description":"Returned only on endpoint creation. Store it securely for HMAC verification."}},"type":"object","required":["id","url","enabled","created_at"],"title":"CompanyWebhookResponse"},"CustomerAPIKeyCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Scopes"}},"type":"object","required":["name"],"title":"CustomerAPIKeyCreateRequest"},"CustomerAPIKeyResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"tier":{"type":"string","title":"Tier"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["id","name","tier","scopes","is_active","created_at","last_used_at"],"title":"CustomerAPIKeyResponse"},"CustomerAPIKeySecretResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"tier":{"type":"string","title":"Tier"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["id","name","tier","scopes","is_active","created_at","last_used_at","api_key"],"title":"CustomerAPIKeySecretResponse"},"CustomerPortalResponse":{"properties":{"portal_url":{"type":"string","title":"Portal Url"}},"type":"object","required":["portal_url"],"title":"CustomerPortalResponse"},"DependencyStatus":{"properties":{"status":{"type":"string","title":"Status"},"required":{"type":"boolean","title":"Required"}},"type":"object","required":["status","required"],"title":"DependencyStatus"},"DmarcAggregateIngestRequest":{"properties":{"xml":{"type":"string","maxLength":1000000,"minLength":40,"title":"Xml"}},"type":"object","required":["xml"],"title":"DmarcAggregateIngestRequest"},"DmarcAggregateReportResponse":{"properties":{"id":{"type":"string","title":"Id"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"report_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Id"},"period_begin":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period Begin"},"period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period End"},"message_count":{"type":"integer","title":"Message Count"},"records":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Records"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","organization_name","report_id","period_begin","period_end","message_count","records","created_at"],"title":"DmarcAggregateReportResponse"},"DockerScanIssue":{"properties":{"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},"type":"object","required":["severity","category","message","recommendation"],"title":"DockerScanIssue"},"DockerScanRequest":{"properties":{"scan_type":{"type":"string","enum":["dockerfile","compose"],"title":"Scan Type","examples":["dockerfile"]},"content":{"type":"string","maxLength":30000,"minLength":1,"title":"Content","examples":["FROM python:3.12-slim\nUSER app\nHEALTHCHECK CMD python -V"]}},"type":"object","required":["scan_type","content"],"title":"DockerScanRequest"},"DockerScanResponse":{"properties":{"scan_type":{"type":"string","enum":["dockerfile","compose"],"title":"Scan Type"},"score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score"},"status":{"type":"string","enum":["excellent","good","fair","poor"],"title":"Status"},"summary":{"additionalProperties":{"type":"integer"},"type":"object","title":"Summary"},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks"},"issues":{"items":{"$ref":"#/components/schemas/DockerScanIssue"},"type":"array","title":"Issues"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations"},"scanned_at":{"type":"string","format":"date-time","title":"Scanned At"}},"type":"object","required":["scan_type","score","status","summary","checks","issues","recommendations","scanned_at"],"title":"DockerScanResponse","example":{"checks":{"base_images":{"latest_tag_count":0,"unpinned_count":1},"healthcheck":{"present":true},"runtime_user":{"non_root_user_declared":true}},"issues":[{"category":"secrets","location":"line 4","message":"Potential secret-like ENV or ARG key found.","recommendation":"Use runtime secrets or a secret manager instead.","severity":"high"}],"recommendations":["Pin image tags to immutable versions or digests."],"scan_type":"dockerfile","scanned_at":"2026-07-07T10:00:00Z","score":78,"status":"good","summary":{"critical":0,"high":1,"issue_count":2,"low":0,"medium":1}}},"DocumentFieldResponse":{"properties":{"id":{"type":"string","title":"Id"},"field_type":{"type":"string","title":"Field Type"},"value":{"type":"string","title":"Value"},"normalized_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Normalized Value"},"confidence":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Confidence"},"evidence":{"$ref":"#/components/schemas/EvidenceLocationResponse"}},"type":"object","required":["id","field_type","value","normalized_value","confidence","evidence"],"title":"DocumentFieldResponse"},"DocumentFindingResponse":{"properties":{"id":{"type":"string","title":"Id"},"finding_type":{"type":"string","title":"Finding Type"},"sensitivity":{"type":"string","enum":["low","medium","high","critical"],"title":"Sensitivity"},"confidence":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Confidence"},"masked_preview":{"type":"string","title":"Masked Preview"},"evidence":{"$ref":"#/components/schemas/EvidenceLocationResponse"},"remediation":{"type":"string","title":"Remediation"}},"type":"object","required":["id","finding_type","sensitivity","confidence","masked_preview","evidence","remediation"],"title":"DocumentFindingResponse"},"DocumentListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DocumentResponse"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items","next_cursor"],"title":"DocumentListResponse"},"DocumentResponse":{"properties":{"id":{"type":"string","title":"Id"},"filename":{"type":"string","title":"Filename"},"mime_type":{"type":"string","title":"Mime Type"},"byte_size":{"type":"integer","title":"Byte Size"},"content_hash":{"type":"string","title":"Content Hash"},"status":{"type":"string","enum":["queued","running","retry","completed","failed","deleted"],"title":"Status"},"classification":{"type":"string","enum":["contract_agreement","invoice","purchase_order","tender_procurement","company_corporate","policy_procedure","cv_resume","general_business_document","unknown"],"title":"Classification"},"classification_confidence":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Classification Confidence"},"classification_reasons":{"items":{"type":"string"},"type":"array","title":"Classification Reasons"},"retention_days":{"type":"integer","title":"Retention Days"},"source":{"type":"string","title":"Source"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"processing_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Job Id"}},"type":"object","required":["id","filename","mime_type","byte_size","content_hash","status","classification","classification_confidence","classification_reasons","retention_days","source","uploaded_at","deleted_at"],"title":"DocumentResponse"},"DocumentRetentionPreviewResponse":{"properties":{"retention_days":{"type":"integer","title":"Retention Days"},"eligible_documents":{"type":"integer","title":"Eligible Documents"},"deleted_documents":{"type":"integer","title":"Deleted Documents"},"candidate_document_ids":{"items":{"type":"string"},"type":"array","title":"Candidate Document Ids"}},"type":"object","required":["retention_days","eligible_documents","deleted_documents","candidate_document_ids"],"title":"DocumentRetentionPreviewResponse"},"DocumentStatusResponse":{"properties":{"document":{"$ref":"#/components/schemas/DocumentResponse"},"job_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Status"},"attempt_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempt Count"},"last_error_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Class"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["document","job_status","attempt_count","last_error_class","finished_at"],"title":"DocumentStatusResponse"},"DocumentWebhookCreateRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id"}},"type":"object","required":["url"],"title":"DocumentWebhookCreateRequest"},"DocumentWebhookResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","url","document_id","enabled","created_at"],"title":"DocumentWebhookResponse"},"DomainAssetCreateRequest":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":3,"title":"Domain"},"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"},"environment":{"type":"string","maxLength":64,"minLength":1,"title":"Environment","default":"production"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"policy":{"$ref":"#/components/schemas/MonitoringPolicy"}},"type":"object","required":["domain"],"title":"DomainAssetCreateRequest"},"DomainAssetResponse":{"properties":{"id":{"type":"string","title":"Id"},"domain":{"type":"string","title":"Domain"},"display_name":{"type":"string","title":"Display Name"},"customer_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Label"},"environment":{"type":"string","title":"Environment"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"policy":{"$ref":"#/components/schemas/MonitoringPolicy"},"monitor_id":{"type":"string","title":"Monitor Id"},"monitor_status":{"type":"string","title":"Monitor Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","domain","display_name","customer_label","environment","tags","policy","monitor_id","monitor_status","created_at","updated_at"],"title":"DomainAssetResponse"},"DomainAssetUpdateRequest":{"properties":{"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"},"environment":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Environment"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Tags"},"display_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Display Name"},"policy":{"anyOf":[{"$ref":"#/components/schemas/MonitoringPolicy"},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"DomainAssetUpdateRequest"},"DomainCheckRequest":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":4,"title":"Domain","examples":["example.com"]}},"type":"object","required":["domain"],"title":"DomainCheckRequest"},"DomainCheckResponse":{"properties":{"domain":{"type":"string","title":"Domain"},"score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score"},"status":{"type":"string","enum":["excellent","good","fair","poor"],"title":"Status"},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks"},"issues":{"items":{"$ref":"#/components/schemas/Issue"},"type":"array","title":"Issues"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"}},"type":"object","required":["domain","score","status","checks","issues","recommendations","checked_at"],"title":"DomainCheckResponse","example":{"checked_at":"2026-07-07T10:00:00Z","checks":{"dmarc":{"ok":true,"policy":"reject","record":"v=DMARC1; p=reject"},"dns":{"a":["93.184.216.34"],"aaaa":[],"ns":["a.iana-servers.net"],"ok":true},"mx":{"null_mx":false,"ok":false,"records":[]},"spf":{"ok":true,"policy":"-all","records":["v=spf1 -all"]},"ssl":{"days_remaining":90,"ok":true}},"domain":"example.com","issues":[{"category":"mx","message":"No MX records were found.","recommendation":"Add MX records if this domain sends or receives email.","severity":"medium"}],"recommendations":["Add MX records if this domain sends or receives email."],"score":82,"status":"good"}},"DomainEventResponse":{"properties":{"id":{"type":"string","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Severity"},"previous":{"title":"Previous"},"current":{"title":"Current"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["id","event_type","severity","previous","current","evidence","observed_at"],"title":"DomainEventResponse"},"DomainObservationResponse":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"checks":{"additionalProperties":true,"type":"object","title":"Checks"},"evidence_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Id"}},"type":"object","required":["id","status","observed_at","checks","evidence_id"],"title":"DomainObservationResponse"},"DomainPreflightResponse":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"domain":{"type":"string","title":"Domain"},"status":{"type":"string","title":"Status"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"ready":{"type":"boolean","title":"Ready"},"findings":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Findings"},"checks":{"additionalProperties":true,"type":"object","title":"Checks"}},"type":"object","required":["asset_id","domain","status","provider","ready","findings","checks"],"title":"DomainPreflightResponse"},"DomainStatusResponse":{"properties":{"asset":{"$ref":"#/components/schemas/DomainAssetResponse"},"latest_observation_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Observation At"},"status":{"type":"string","title":"Status"},"checks":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Checks"}},"type":"object","required":["asset","latest_observation_at","status","checks"],"title":"DomainStatusResponse"},"DomainWebhookCreateRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"},"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"}},"type":"object","required":["url"],"title":"DomainWebhookCreateRequest"},"DomainWebhookResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"customer_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Label"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","url","customer_label","enabled","created_at"],"title":"DomainWebhookResponse"},"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},"type":"object","required":["detail"],"title":"ErrorResponse"},"EvidenceLocationResponse":{"properties":{"page_number":{"type":"integer","title":"Page Number"},"block_index":{"type":"integer","title":"Block Index"},"character_start":{"type":"integer","title":"Character Start"},"character_end":{"type":"integer","title":"Character End"}},"type":"object","required":["page_number","block_index","character_start","character_end"],"title":"EvidenceLocationResponse"},"ExtractionResponse":{"properties":{"document_id":{"type":"string","title":"Document Id"},"version_id":{"type":"string","title":"Version Id"},"text":{"type":"string","title":"Text"},"page_count":{"type":"integer","title":"Page Count"},"character_count":{"type":"integer","title":"Character Count"},"extraction_version":{"type":"string","title":"Extraction Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["document_id","version_id","text","page_count","character_count","extraction_version","created_at"],"title":"ExtractionResponse"},"FindingResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"finding_type":{"type":"string","title":"Finding Type"},"analyzer":{"type":"string","title":"Analyzer"},"severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Severity"},"confidence":{"type":"string","title":"Confidence"},"path":{"type":"string","title":"Path"},"line_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Line Start"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"message":{"type":"string","title":"Message"},"remediation":{"type":"string","title":"Remediation"},"previous_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Previous State"},"current_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Current State"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"references":{"items":{"type":"string"},"type":"array","title":"References"},"fingerprint":{"type":"string","title":"Fingerprint"}},"type":"object","required":["finding_type","analyzer","severity","confidence","path","line_start","resource","message","remediation","previous_state","current_state","evidence","references","fingerprint"],"title":"FindingResponse"},"GitHubInstallationCreateRequest":{"properties":{"installation_id":{"type":"string","maxLength":32,"minLength":1,"title":"Installation Id"},"account_login":{"type":"string","maxLength":120,"minLength":1,"title":"Account Login"}},"type":"object","required":["installation_id","account_login"],"title":"GitHubInstallationCreateRequest"},"GitHubInstallationResponse":{"properties":{"id":{"type":"string","title":"Id"},"installation_id":{"type":"string","title":"Installation Id"},"account_login":{"type":"string","title":"Account Login"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","installation_id","account_login","enabled","created_at"],"title":"GitHubInstallationResponse"},"GitHubRepositoryCreateRequest":{"properties":{"github_repository_id":{"type":"string","maxLength":32,"minLength":1,"title":"Github Repository Id"},"full_name":{"type":"string","maxLength":300,"pattern":"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$","title":"Full Name"}},"type":"object","required":["github_repository_id","full_name"],"title":"GitHubRepositoryCreateRequest"},"GitHubRepositoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"github_repository_id":{"type":"string","title":"Github Repository Id"},"full_name":{"type":"string","title":"Full Name"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","github_repository_id","full_name","enabled","created_at"],"title":"GitHubRepositoryResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"service":{"type":"string","title":"Service"},"version":{"type":"string","title":"Version"},"environment":{"type":"string","title":"Environment"}},"type":"object","required":["status","service","version","environment"],"title":"HealthResponse"},"IntegrationCreateRequest":{"properties":{"provider":{"type":"string","enum":["slack","teams"],"title":"Provider"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"webhook_url":{"type":"string","maxLength":2048,"minLength":8,"title":"Webhook Url"},"routing":{"$ref":"#/components/schemas/IntegrationRouting"}},"type":"object","required":["provider","name","webhook_url"],"title":"IntegrationCreateRequest"},"IntegrationDeliveryResponse":{"properties":{"id":{"type":"string","title":"Id"},"integration_id":{"type":"string","title":"Integration Id"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"status":{"type":"string","title":"Status"},"attempt_count":{"type":"integer","title":"Attempt Count"},"max_attempts":{"type":"integer","title":"Max Attempts"},"last_error_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Class"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","integration_id","event_id","status","attempt_count","max_attempts","last_error_class","created_at","completed_at"],"title":"IntegrationDeliveryResponse"},"IntegrationResponse":{"properties":{"id":{"type":"string","title":"Id"},"provider":{"type":"string","enum":["slack","teams"],"title":"Provider"},"name":{"type":"string","title":"Name"},"routing":{"$ref":"#/components/schemas/IntegrationRouting"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","provider","name","routing","enabled","created_at","updated_at"],"title":"IntegrationResponse"},"IntegrationRouting":{"properties":{"products":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Products"},"severities":{"items":{"type":"string","enum":["info","low","medium","high","critical"]},"type":"array","maxItems":5,"title":"Severities"},"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"},"saved_search_id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Saved Search Id"},"repository_id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Repository Id"}},"type":"object","title":"IntegrationRouting"},"IntegrationUpdateRequest":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"routing":{"anyOf":[{"$ref":"#/components/schemas/IntegrationRouting"},{"type":"null"}]}},"type":"object","title":"IntegrationUpdateRequest"},"Issue":{"properties":{"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"}},"type":"object","required":["severity","category","message","recommendation"],"title":"Issue"},"MaintenanceWindowCreateRequest":{"properties":{"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"type":"object","required":["starts_at","ends_at","reason"],"title":"MaintenanceWindowCreateRequest"},"MaintenanceWindowResponse":{"properties":{"id":{"type":"string","title":"Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"reason":{"type":"string","title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","asset_id","starts_at","ends_at","reason","created_at"],"title":"MaintenanceWindowResponse"},"MatchResponse":{"properties":{"opportunity":{"$ref":"#/components/schemas/OpportunityResponse"},"match_score":{"type":"integer","title":"Match Score"},"match_reasons":{"items":{"type":"string"},"type":"array","title":"Match Reasons"},"exclusion_reasons":{"items":{"type":"string"},"type":"array","title":"Exclusion Reasons"},"first_seen_at":{"type":"string","format":"date-time","title":"First Seen At"},"last_seen_at":{"type":"string","format":"date-time","title":"Last Seen At"}},"type":"object","required":["opportunity","match_score","match_reasons","exclusion_reasons","first_seen_at","last_seen_at"],"title":"MatchResponse"},"MonitoringPolicy":{"properties":{"interval_seconds":{"type":"integer","maximum":604800.0,"minimum":300.0,"title":"Interval Seconds","default":3600},"tls_warning_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Tls Warning Days","default":30},"domain_expiry_warning_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Domain Expiry Warning Days","default":45},"enabled_checks":{"items":{"type":"string","enum":["dns","email","tls","lifecycle"]},"type":"array","uniqueItems":true,"title":"Enabled Checks"},"dkim_selectors":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Dkim Selectors"},"alert_severity_threshold":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Alert Severity Threshold","default":"medium"}},"type":"object","title":"MonitoringPolicy"},"NormalizedCompany":{"properties":{"company_number":{"type":"string","title":"Company Number"},"company_name":{"type":"string","title":"Company Name"},"company_status":{"type":"string","title":"Company Status"},"is_active":{"type":"boolean","title":"Is Active"},"incorporation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Incorporation Date"},"company_age_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Company Age Years"},"sic_codes":{"items":{"type":"string"},"type":"array","title":"Sic Codes"},"accounts_next_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Accounts Next Due"},"confirmation_statement_next_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Confirmation Statement Next Due"},"accounts_overdue":{"type":"boolean","title":"Accounts Overdue"},"confirmation_statement_overdue":{"type":"boolean","title":"Confirmation Statement Overdue"},"officer_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Officer Count"},"has_insolvency_history":{"type":"boolean","title":"Has Insolvency History"},"has_charges":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Charges"},"source":{"type":"string","title":"Source"}},"type":"object","required":["company_number","company_name","company_status","is_active","incorporation_date","company_age_years","sic_codes","accounts_next_due","confirmation_statement_next_due","accounts_overdue","confirmation_statement_overdue","officer_count","has_insolvency_history","has_charges","source"],"title":"NormalizedCompany"},"OpportunityResponse":{"properties":{"id":{"type":"string","title":"Id"},"jurisdiction":{"type":"string","title":"Jurisdiction"},"provider":{"type":"string","title":"Provider"},"provider_notice_id":{"type":"string","title":"Provider Notice Id"},"ocid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"procedure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Procedure"},"categories":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Categories"},"locations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Locations"},"lots":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Lots"},"awards":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Awards"},"value_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"tender_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Tender Deadline"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"source_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Updated At"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"provider_metadata":{"additionalProperties":true,"type":"object","title":"Provider Metadata"}},"type":"object","required":["id","jurisdiction","provider","provider_notice_id","ocid","title","description","buyer_name","stage","status","procedure","categories","locations","lots","awards","value_amount","currency","tender_deadline","published_at","source_updated_at","source_url"],"title":"OpportunityResponse"},"Page":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OpportunityResponse"},"type":"array","title":"Items"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","page","page_size","total"],"title":"Page"},"PolicyRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"repository_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Id"},"block_severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Block Severity","default":"critical"},"block_finding_types":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Block Finding Types"},"enabled_analyzers":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Enabled Analyzers"},"block_vulnerability_severity":{"anyOf":[{"type":"string","enum":["info","low","medium","high","critical"]},{"type":"null"}],"title":"Block Vulnerability Severity"},"prohibited_packages":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Prohibited Packages"},"prohibited_licenses":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Prohibited Licenses"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["name"],"title":"PolicyRequest"},"PolicyResponse":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"repository_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Id"},"block_severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Block Severity","default":"critical"},"block_finding_types":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Block Finding Types"},"enabled_analyzers":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Enabled Analyzers"},"block_vulnerability_severity":{"anyOf":[{"type":"string","enum":["info","low","medium","high","critical"]},{"type":"null"}],"title":"Block Vulnerability Severity"},"prohibited_packages":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Prohibited Packages"},"prohibited_licenses":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Prohibited Licenses"},"enabled":{"type":"boolean","title":"Enabled","default":true},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","id","created_at","updated_at"],"title":"PolicyResponse"},"ProductCatalogEntry":{"properties":{"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"problem":{"type":"string","title":"Problem"},"target_user":{"type":"string","title":"Target User"},"workflow":{"type":"string","title":"Workflow"},"behavior":{"type":"string","title":"Behavior"},"endpoints":{"items":{"type":"string"},"type":"array","title":"Endpoints"},"example_output":{"additionalProperties":{"type":"string"},"type":"object","title":"Example Output"}},"type":"object","required":["slug","name","problem","target_user","workflow","behavior","endpoints","example_output"],"title":"ProductCatalogEntry"},"ReadinessResponse":{"properties":{"status":{"type":"string","title":"Status"},"service":{"type":"string","title":"Service"},"version":{"type":"string","title":"Version"},"environment":{"type":"string","title":"Environment"},"dependencies":{"additionalProperties":{"$ref":"#/components/schemas/DependencyStatus"},"type":"object","title":"Dependencies"}},"type":"object","required":["status","service","version","environment","dependencies"],"title":"ReadinessResponse"},"ReliabilityAssetCreateRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"},"asset_type":{"type":"string","enum":["website","api_endpoint"],"title":"Asset Type"},"method":{"type":"string","enum":["GET","HEAD"],"title":"Method","default":"GET"},"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"},"environment":{"type":"string","maxLength":64,"minLength":1,"title":"Environment","default":"production"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags"},"display_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Display Name"},"policy":{"$ref":"#/components/schemas/ReliabilityPolicy"}},"type":"object","required":["url","asset_type"],"title":"ReliabilityAssetCreateRequest"},"ReliabilityAssetResponse":{"properties":{"id":{"type":"string","title":"Id"},"asset_type":{"type":"string","enum":["website","api_endpoint"],"title":"Asset Type"},"url":{"type":"string","title":"Url"},"method":{"type":"string","enum":["GET","HEAD"],"title":"Method"},"display_name":{"type":"string","title":"Display Name"},"customer_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Label"},"environment":{"type":"string","title":"Environment"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"policy":{"$ref":"#/components/schemas/ReliabilityPolicy"},"monitor_id":{"type":"string","title":"Monitor Id"},"monitor_status":{"type":"string","title":"Monitor Status"},"current_incident_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Incident Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","asset_type","url","method","display_name","customer_label","environment","tags","policy","monitor_id","monitor_status","current_incident_status","created_at","updated_at"],"title":"ReliabilityAssetResponse"},"ReliabilityAssetUpdateRequest":{"properties":{"customer_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Label"},"environment":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Environment"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Tags"},"display_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Display Name"},"policy":{"anyOf":[{"$ref":"#/components/schemas/ReliabilityPolicy"},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"ReliabilityAssetUpdateRequest"},"ReliabilityIncidentResponse":{"properties":{"id":{"type":"string","title":"Id"},"asset_id":{"type":"string","title":"Asset Id"},"status":{"type":"string","title":"Status"},"severity":{"type":"string","enum":["info","low","medium","high","critical"],"title":"Severity"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"failure_count":{"type":"integer","title":"Failure Count"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"}},"type":"object","required":["id","asset_id","status","severity","opened_at","resolved_at","failure_count","evidence"],"title":"ReliabilityIncidentResponse"},"ReliabilityObservationResponse":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"http":{"additionalProperties":true,"type":"object","title":"Http"},"assertions":{"additionalProperties":true,"type":"object","title":"Assertions"},"evidence_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Id"}},"type":"object","required":["id","status","observed_at","http","assertions","evidence_id"],"title":"ReliabilityObservationResponse"},"ReliabilityPolicy":{"properties":{"interval_seconds":{"type":"integer","maximum":604800.0,"minimum":300.0,"title":"Interval Seconds","default":300},"timeout_seconds":{"type":"number","maximum":30.0,"minimum":1.0,"title":"Timeout Seconds","default":10.0},"expected_status_min":{"type":"integer","maximum":599.0,"minimum":100.0,"title":"Expected Status Min","default":200},"expected_status_max":{"type":"integer","maximum":599.0,"minimum":100.0,"title":"Expected Status Max","default":399},"max_response_time_ms":{"anyOf":[{"type":"integer","maximum":30000.0,"minimum":1.0},{"type":"null"}],"title":"Max Response Time Ms"},"expected_redirect_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Expected Redirect Url"},"expected_text":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Expected Text"},"required_json_fields":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Required Json Fields"},"json_field_equals":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object","maxProperties":20,"title":"Json Field Equals"},"expected_content_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Expected Content Type"},"consecutive_failure_threshold":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Consecutive Failure Threshold","default":3},"recovery_success_threshold":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Recovery Success Threshold","default":2},"redirect_limit":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Redirect Limit","default":5},"enabled_checks":{"items":{"type":"string","enum":["content","security_headers","json"]},"type":"array","uniqueItems":true,"title":"Enabled Checks"}},"type":"object","title":"ReliabilityPolicy"},"ReliabilityStatusResponse":{"properties":{"asset":{"$ref":"#/components/schemas/ReliabilityAssetResponse"},"status":{"type":"string","title":"Status"},"latest_observation_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Observation At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"last_failure_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Failure At"},"availability_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Availability Percent"},"checks":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Checks"}},"type":"object","required":["asset","status","latest_observation_at","last_success_at","last_failure_at","availability_percent","checks"],"title":"ReliabilityStatusResponse"},"SanitizationRequest":{"properties":{"finding_types":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Finding Types"},"replacement":{"type":"string","maxLength":80,"minLength":3,"title":"Replacement","default":"[REDACTED]"}},"type":"object","required":["finding_types"],"title":"SanitizationRequest"},"SanitizedArtifactResponse":{"properties":{"redaction_id":{"type":"string","title":"Redaction Id"},"document_id":{"type":"string","title":"Document Id"},"version_id":{"type":"string","title":"Version Id"},"mime_type":{"type":"string","title":"Mime Type"},"byte_size":{"type":"integer","title":"Byte Size"},"finding_types":{"items":{"type":"string"},"type":"array","title":"Finding Types"},"verification":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Verification"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["redaction_id","document_id","version_id","mime_type","byte_size","finding_types","verification","created_at"],"title":"SanitizedArtifactResponse"},"SavedSearchResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"filters":{"$ref":"#/components/schemas/TenderFilters"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","filters","enabled","created_at","updated_at"],"title":"SavedSearchResponse"},"SbomImportRequest":{"properties":{"content":{"type":"string","maxLength":200000,"minLength":2,"title":"Content"},"source_manifest":{"type":"string","maxLength":200,"minLength":1,"title":"Source Manifest","default":"submitted-sbom"}},"type":"object","required":["content"],"title":"SbomImportRequest"},"SbomResponse":{"properties":{"packages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Packages"}},"type":"object","required":["packages"],"title":"SbomResponse"},"SupplierIntelligenceResponse":{"properties":{"status":{"type":"string","enum":["available","unfetched"],"title":"Status"},"monitor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Id"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"supplier":{"additionalProperties":true,"type":"object","title":"Supplier"},"posture":{"additionalProperties":{"type":"string"},"type":"object","title":"Posture"},"sanctions":{"additionalProperties":true,"type":"object","title":"Sanctions"},"award_intelligence":{"additionalProperties":true,"type":"object","title":"Award Intelligence"},"sources":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Sources"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"}},"type":"object","required":["status"],"title":"SupplierIntelligenceResponse"},"TenderFilters":{"properties":{"keywords":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Keywords"},"categories":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Categories"},"naics":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Naics"},"psc":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Psc"},"set_asides":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Set Asides"},"agencies":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Agencies"},"locations":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Locations"},"buyer":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Buyer"},"min_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Value"},"currency":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Currency"},"deadline_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":0.0},{"type":"null"}],"title":"Deadline Days"},"stage":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Stage"},"jurisdiction":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Jurisdiction"},"provider":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Provider"}},"type":"object","title":"TenderFilters"},"TenderSavedSearchRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"filters":{"$ref":"#/components/schemas/TenderFilters"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["name"],"title":"TenderSavedSearchRequest"},"TenderWebhookRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"},"saved_search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saved Search Id"}},"type":"object","required":["url"],"title":"TenderWebhookRequest"},"TenderWebhookResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"saved_search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saved Search Id"},"enabled":{"type":"boolean","title":"Enabled"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","url","saved_search_id","enabled"],"title":"TenderWebhookResponse"},"TerraformAnalyzeRequest":{"properties":{"analysis_type":{"type":"string","enum":["terraform","plan_json"],"title":"Analysis Type","examples":["terraform"]},"content":{"type":"string","maxLength":80000,"minLength":1,"title":"Content","examples":["resource \"aws_security_group\" \"web\" {\n  ingress { cidr_blocks = [\"0.0.0.0/0\"] from_port = 22 to_port = 22 }\n}"]}},"type":"object","required":["analysis_type","content"],"title":"TerraformAnalyzeRequest"},"TerraformAnalyzeResponse":{"properties":{"analysis_type":{"type":"string","enum":["terraform","plan_json"],"title":"Analysis Type"},"score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score"},"status":{"type":"string","enum":["excellent","good","fair","poor"],"title":"Status"},"summary":{"additionalProperties":{"type":"integer"},"type":"object","title":"Summary"},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks"},"issues":{"items":{"$ref":"#/components/schemas/TerraformRiskIssue"},"type":"array","title":"Issues"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations"},"analyzed_at":{"type":"string","format":"date-time","title":"Analyzed At"}},"type":"object","required":["analysis_type","score","status","summary","checks","issues","recommendations","analyzed_at"],"title":"TerraformAnalyzeResponse","example":{"analysis_type":"terraform","analyzed_at":"2026-07-07T10:00:00Z","checks":{"cost":{"expensive_instance_count":0},"network":{"public_ingress_count":1},"resources":{"count":4,"types":["aws_security_group","aws_s3_bucket"]},"storage":{"public_bucket_signal_count":1}},"issues":[{"category":"network","message":"Security group allows public SSH ingress.","recommendation":"Restrict SSH ingress to trusted IP ranges or VPN access.","resource":"aws_security_group.web","severity":"high"}],"recommendations":["Restrict SSH ingress to trusted IP ranges or VPN access."],"score":62,"status":"fair","summary":{"critical":0,"high":2,"issue_count":3,"low":0,"medium":1}}},"TerraformRiskIssue":{"properties":{"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},"type":"object","required":["severity","category","message","recommendation"],"title":"TerraformRiskIssue"},"UKCompanyAnalyzeRequest":{"properties":{"company_number":{"type":"string","maxLength":12,"minLength":2,"title":"Company Number","examples":["12345678"]},"company_name":{"type":"string","maxLength":200,"minLength":1,"title":"Company Name","examples":["Example Ltd"]},"company_status":{"type":"string","maxLength":80,"minLength":2,"title":"Company Status","examples":["active"]},"incorporation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Incorporation Date","examples":["2020-01-15"]},"sic_codes":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Sic Codes","examples":[["62012"]]},"accounts_next_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Accounts Next Due","examples":["2026-09-30"]},"confirmation_statement_next_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Confirmation Statement Next Due","examples":["2026-02-10"]},"accounts_overdue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accounts Overdue"},"confirmation_statement_overdue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Confirmation Statement Overdue"},"officer_count":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Officer Count"},"has_insolvency_history":{"type":"boolean","title":"Has Insolvency History","default":false},"has_charges":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Charges"},"source":{"type":"string","maxLength":120,"title":"Source","default":"public_companies_house_style_data","examples":["companies_house_api"]}},"type":"object","required":["company_number","company_name","company_status"],"title":"UKCompanyAnalyzeRequest"},"UKCompanyAnalyzeResponse":{"properties":{"company":{"$ref":"#/components/schemas/NormalizedCompany"},"risk_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Risk Score"},"risk_level":{"type":"string","enum":["low","medium","high","critical"],"title":"Risk Level"},"issues":{"items":{"$ref":"#/components/schemas/CompanyRiskIssue"},"type":"array","title":"Issues"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations"},"analyzed_at":{"type":"string","format":"date-time","title":"Analyzed At"},"disclaimer":{"type":"string","title":"Disclaimer"}},"type":"object","required":["company","risk_score","risk_level","issues","recommendations","analyzed_at","disclaimer"],"title":"UKCompanyAnalyzeResponse","example":{"analyzed_at":"2026-07-07T10:00:00Z","company":{"accounts_next_due":"2026-09-30","accounts_overdue":false,"company_age_years":6.5,"company_name":"Example Ltd","company_number":"12345678","company_status":"active","confirmation_statement_next_due":"2026-02-10","confirmation_statement_overdue":false,"has_charges":false,"has_insolvency_history":false,"incorporation_date":"2020-01-15","is_active":true,"officer_count":2,"sic_codes":["62012"],"source":"companies_house_api"},"disclaimer":"Automated business risk snapshot using supplied public data only.","issues":[],"recommendations":[],"risk_level":"low","risk_score":18}},"UsageByProduct":{"properties":{"product":{"type":"string","title":"Product"},"quantity":{"type":"integer","title":"Quantity"}},"type":"object","required":["product","quantity"],"title":"UsageByProduct"},"UsageEndpointBreakdown":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["endpoint","count"],"title":"UsageEndpointBreakdown"},"UsageResponse":{"properties":{"api_key_id":{"type":"string","title":"Api Key Id"},"tier":{"type":"string","title":"Tier"},"period":{"type":"string","title":"Period"},"monthly_quota":{"type":"integer","title":"Monthly Quota"},"used":{"type":"integer","title":"Used"},"remaining":{"type":"integer","title":"Remaining"},"endpoints":{"items":{"$ref":"#/components/schemas/UsageEndpointBreakdown"},"type":"array","title":"Endpoints"}},"type":"object","required":["api_key_id","tier","period","monthly_quota","used","remaining","endpoints"],"title":"UsageResponse"},"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"},"WaiverRequest":{"properties":{"fingerprint":{"type":"string","maxLength":64,"minLength":64,"title":"Fingerprint"},"reason":{"type":"string","maxLength":2000,"minLength":3,"title":"Reason"},"repository_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["fingerprint","reason"],"title":"WaiverRequest"},"WebsiteSnapshotIssue":{"properties":{"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"}},"type":"object","required":["severity","category","message","recommendation"],"title":"WebsiteSnapshotIssue"},"WebsiteSnapshotRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url","examples":["https://example.com"]}},"type":"object","required":["url"],"title":"WebsiteSnapshotRequest"},"WebsiteSnapshotResponse":{"properties":{"url":{"type":"string","title":"Url"},"final_url":{"type":"string","title":"Final Url"},"score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score"},"status":{"type":"string","enum":["excellent","good","fair","poor"],"title":"Status"},"disclaimer":{"type":"string","title":"Disclaimer"},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks"},"issues":{"items":{"$ref":"#/components/schemas/WebsiteSnapshotIssue"},"type":"array","title":"Issues"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"}},"type":"object","required":["url","final_url","score","status","disclaimer","checks","issues","recommendations","checked_at"],"title":"WebsiteSnapshotResponse","example":{"checked_at":"2026-07-07T10:00:00Z","checks":{"accessibility":{"html_lang":true,"title":true},"compliance_pages":{"privacy_policy":true,"terms":false},"mixed_content":{"found":false},"security_headers":{"missing":["content-security-policy"]},"ssl":{"https":true}},"disclaimer":"Automated technical snapshot only. Not legal advice.","final_url":"https://example.com/","issues":[{"category":"security_headers","message":"Content-Security-Policy header is missing.","recommendation":"Add a restrictive CSP appropriate for the site.","severity":"medium"}],"recommendations":["Add a restrictive CSP appropriate for the site."],"score":76,"status":"good","url":"https://example.com"}},"WorkspaceOverviewResponse":{"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceResponse"},"api_keys":{"items":{"$ref":"#/components/schemas/CustomerAPIKeyResponse"},"type":"array","title":"Api Keys"},"resources":{"additionalProperties":{"type":"integer"},"type":"object","title":"Resources"},"recent_events":{"type":"integer","title":"Recent Events"},"usage_by_product":{"items":{"$ref":"#/components/schemas/UsageByProduct"},"type":"array","title":"Usage By Product"}},"type":"object","required":["workspace","api_keys","resources","recent_events","usage_by_product"],"title":"WorkspaceOverviewResponse"},"WorkspaceResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"plan_tier":{"type":"string","title":"Plan Tier"},"capabilities":{"$ref":"#/components/schemas/CapabilityResponse"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","plan_tier","capabilities","created_at"],"title":"WorkspaceResponse"}},"securitySchemes":{"CustomerApiKey":{"type":"apiKey","description":"Artificial Works customer key. RapidAPI injects this as a secret header.","in":"header","name":"X-API-Key"}}},"tags":[{"name":"Customer Onboarding","description":"Workspace metadata, self-service derived keys and customer overview. Initial owner-key issuance remains a controlled sales/operator step."},{"name":"Company & Supplier Watch","description":"Official lookup, recurring history, events and signed webhooks."},{"name":"Digital Infrastructure Monitoring","description":"Recurring DNS, mail-routing and TLS state with history and events."},{"name":"Tender Intelligence","description":"Official UK Find a Tender, EU TED and configured US SAM.gov procurement search, saved-search matching and source evidence."},{"name":"DevOps Change Risk","description":"Bounded Docker, Terraform, OpenAPI, dependency, workflow and secret change analysis for deterministic CI decisions."},{"name":"Private Document Intelligence","description":"Private extractable PDF and UTF-8 text processing with deterministic classification, sensitive-data findings and verified sanitized text derivatives."},{"name":"Usage","description":"Key quota and endpoint usage. Workspace overview has product usage."},{"name":"Plans","description":"Configuration-driven Free, Starter, Pro and Business commercial capabilities."}]}