{"components":{"schemas":{"AccessChainStep":{"properties":{"detail":{"default":"","title":"Detail","type":"string"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"status":{"enum":["ok","broken","unknown","skipped"],"title":"Status","type":"string"},"step":{"title":"Step","type":"string"},"title":{"title":"Title","type":"string"}},"required":["step","status","title"],"title":"AccessChainStep","type":"object"},"AccessDiagnosisBundle":{"properties":{"chain":{"items":{"$ref":"#/components/schemas/AccessChainStep"},"title":"Chain","type":"array"},"connector":{"additionalProperties":true,"title":"Connector","type":"object"},"effective_grants":{"items":{"additionalProperties":true,"type":"object"},"title":"Effective Grants","type":"array"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"matched_groups":{"items":{"additionalProperties":true,"type":"object"},"title":"Matched Groups","type":"array"},"root_cause":{"anyOf":[{"$ref":"#/components/schemas/AccessRootCause"},{"type":"null"}]},"subject":{"additionalProperties":true,"title":"Subject","type":"object"}},"title":"AccessDiagnosisBundle","type":"object"},"AccessRequestAttentionItem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"access_request","default":"access_request","title":"Kind","type":"string"},"requester":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requester"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"AccessRequestAttentionItem","type":"object"},"AccessRootCause":{"properties":{"code":{"title":"Code","type":"string"},"message":{"default":"","title":"Message","type":"string"},"step":{"title":"Step","type":"string"}},"required":["step","code"],"title":"AccessRootCause","type":"object"},"ActivityDayCount":{"description":"One calendar day of activity in the viewer's time zone, quiet days included.","properties":{"date":{"title":"Date","type":"string"},"failed":{"title":"Failed","type":"integer"},"total":{"title":"Total","type":"integer"}},"required":["date","total","failed"],"title":"ActivityDayCount","type":"object"},"AgentArtifact":{"properties":{"content":{"title":"Content","type":"string"},"created_at":{"title":"Created At","type":"string"},"execution_log":{"items":{"additionalProperties":true,"type":"object"},"title":"Execution Log","type":"array"},"id":{"title":"Id","type":"string"},"kind":{"enum":["dbt_model","dbt_test","dbt_source_yml","dbt_project_file","sql","note","pipeline_review_evidence","pipeline_intent_evidence","pipeline_optimization_evidence","pipeline_cleanup_evidence","spark_job","spark_test","spark_notebook"],"title":"Kind","type":"string"},"language":{"default":"sql","title":"Language","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"parent_artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Artifact Id"},"path":{"title":"Path","type":"string"},"preview_columns":{"items":{"type":"string"},"title":"Preview Columns","type":"array"},"preview_rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Preview Rows","type":"array"},"status":{"default":"accepted","enum":["proposed","accepted","rejected","superseded"],"title":"Status","type":"string"},"step_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Id"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"version":{"default":1,"title":"Version","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","tool_run_id","workspace_id","kind","path","content","created_at","updated_at"],"title":"AgentArtifact","type":"object"},"AgentAuthorizationRequest":{"properties":{"client_id":{"anyOf":[{"maxLength":512,"minLength":8,"type":"string"},{"type":"null"}],"title":"Client Id"},"client_name":{"default":"cli","maxLength":512,"minLength":1,"title":"Client Name","type":"string"},"client_version":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Client Version"},"code_challenge":{"maxLength":128,"minLength":43,"title":"Code Challenge","type":"string"},"code_challenge_method":{"const":"S256","default":"S256","title":"Code Challenge Method","type":"string"},"device_id":{"maxLength":200,"minLength":8,"title":"Device Id","type":"string"},"device_name":{"maxLength":200,"minLength":1,"title":"Device Name","type":"string"},"platform":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Platform"},"redirect_uri":{"maxLength":512,"minLength":1,"title":"Redirect Uri","type":"string"},"resource":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Resource"},"scope":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Scope"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","code_challenge","redirect_uri","device_id","device_name"],"title":"AgentAuthorizationRequest","type":"object"},"AgentAuthorizationResponse":{"properties":{"code":{"title":"Code","type":"string"},"expires_in":{"title":"Expires In","type":"integer"}},"required":["code","expires_in"],"title":"AgentAuthorizationResponse","type":"object"},"AgentCheckCreateRequest":{"properties":{"enabled":{"default":true,"title":"Enabled","type":"boolean"},"expectation":{"maxLength":2000,"minLength":1,"title":"Expectation","type":"string"},"name":{"maxLength":100,"minLength":1,"title":"Name","type":"string"},"scope":{"$ref":"#/components/schemas/AgentCheckScope"},"severity":{"default":"warning","enum":["info","warning","critical"],"title":"Severity","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name","expectation"],"title":"AgentCheckCreateRequest","type":"object"},"AgentCheckListResponse":{"properties":{"agent_checks":{"items":{"$ref":"#/components/schemas/AgentCheckResponse"},"title":"Agent Checks","type":"array"},"max_enabled":{"default":10,"title":"Max Enabled","type":"integer"}},"required":["agent_checks"],"title":"AgentCheckListResponse","type":"object"},"AgentCheckPatchRequest":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"expectation":{"anyOf":[{"maxLength":2000,"minLength":1,"type":"string"},{"type":"null"}],"title":"Expectation"},"name":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"scope":{"anyOf":[{"$ref":"#/components/schemas/AgentCheckScope"},{"type":"null"}]},"severity":{"anyOf":[{"enum":["info","warning","critical"],"type":"string"},{"type":"null"}],"title":"Severity"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentCheckPatchRequest","type":"object"},"AgentCheckResponse":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"definition_version":{"title":"Definition Version","type":"integer"},"enabled":{"title":"Enabled","type":"boolean"},"expectation":{"title":"Expectation","type":"string"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"scope":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"title":"Scope","type":"object"},"severity":{"enum":["info","warning","critical"],"title":"Severity","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","expectation","enabled","severity","scope","definition_version"],"title":"AgentCheckResponse","type":"object"},"AgentCheckScope":{"properties":{"exclude":{"items":{"type":"string"},"maxItems":20,"title":"Exclude","type":"array"},"include":{"items":{"type":"string"},"maxItems":20,"title":"Include","type":"array"}},"title":"AgentCheckScope","type":"object"},"AgentConnectorContext":{"properties":{"id":{"title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync At"},"name":{"title":"Name","type":"string"},"sample_tables":{"items":{"type":"string"},"title":"Sample Tables","type":"array"},"schema_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schema Age Seconds"},"status":{"title":"Status","type":"string"},"table_count":{"default":0,"title":"Table Count","type":"integer"}},"required":["id","name","kind","status"],"title":"AgentConnectorContext","type":"object"},"AgentContextResponse":{"properties":{"default_workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Workspace Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_id":{"title":"User Id","type":"string"},"workspaces":{"items":{"$ref":"#/components/schemas/AgentWorkspaceContext"},"title":"Workspaces","type":"array"}},"required":["user_id"],"title":"AgentContextResponse","type":"object"},"AgentGithubAppConfigListResponse":{"properties":{"configs":{"items":{"$ref":"#/components/schemas/AgentGithubAppConfigResponse"},"title":"Configs","type":"array"},"configured":{"default":false,"title":"Configured","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentGithubAppConfigListResponse","type":"object"},"AgentGithubAppConfigRequest":{"properties":{"api_base_url":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Api Base Url"},"app_id":{"maxLength":80,"minLength":1,"title":"App Id","type":"string"},"app_slug":{"maxLength":200,"minLength":1,"title":"App Slug","type":"string"},"client_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Client Secret"},"config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Id"},"github_base_url":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Github Base Url"},"private_key":{"maxLength":20000,"minLength":1,"title":"Private Key","type":"string"},"webhook_secret":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Webhook Secret"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","app_id","app_slug","private_key"],"title":"AgentGithubAppConfigRequest","type":"object"},"AgentGithubAppConfigResponse":{"properties":{"api_base_url":{"title":"Api Base Url","type":"string"},"app_id":{"title":"App Id","type":"string"},"app_slug":{"title":"App Slug","type":"string"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"github_base_url":{"title":"Github Base Url","type":"string"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_validated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Validated At"},"mode":{"enum":["embrasure","customer_owned"],"title":"Mode","type":"string"},"status":{"title":"Status","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"webhook_configured":{"default":false,"title":"Webhook Configured","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","mode","app_id","app_slug","github_base_url","api_base_url","status"],"title":"AgentGithubAppConfigResponse","type":"object"},"AgentGithubAppConfigValidationResponse":{"properties":{"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"app_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Slug"},"config":{"anyOf":[{"$ref":"#/components/schemas/AgentGithubAppConfigResponse"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"valid":{"title":"Valid","type":"boolean"}},"required":["valid"],"title":"AgentGithubAppConfigValidationResponse","type":"object"},"AgentGithubAppInstallationCallbackRequest":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"installation_id":{"minLength":1,"title":"Installation Id","type":"string"},"setup_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Action"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","installation_id"],"title":"AgentGithubAppInstallationCallbackRequest","type":"object"},"AgentGithubAppInstallationLinkRequest":{"properties":{"code":{"maxLength":300,"minLength":1,"title":"Code","type":"string"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","code"],"title":"AgentGithubAppInstallationLinkRequest","type":"object"},"AgentGithubAppInstallationLinkResponse":{"properties":{"installations":{"items":{"$ref":"#/components/schemas/AgentGithubAppInstallationResponse"},"title":"Installations","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentGithubAppInstallationLinkResponse","type":"object"},"AgentGithubAppInstallationListResponse":{"properties":{"app_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Slug"},"configs":{"items":{"$ref":"#/components/schemas/AgentGithubAppConfigResponse"},"title":"Configs","type":"array"},"configured":{"default":false,"title":"Configured","type":"boolean"},"installations":{"items":{"$ref":"#/components/schemas/AgentGithubAppInstallationResponse"},"title":"Installations","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentGithubAppInstallationListResponse","type":"object"},"AgentGithubAppInstallationRequest":{"properties":{"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"installation_id":{"minLength":1,"title":"Installation Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","installation_id"],"title":"AgentGithubAppInstallationRequest","type":"object"},"AgentGithubAppInstallationResponse":{"properties":{"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"account_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type"},"api_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Base Url"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"app_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Slug"},"created_at":{"title":"Created At","type":"string"},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deleted At"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"github_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Base Url"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"id":{"title":"Id","type":"string"},"installation_id":{"title":"Installation Id","type":"string"},"installed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installed By"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"permissions":{"additionalProperties":true,"title":"Permissions","type":"object"},"repository_selection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Selection"},"status":{"title":"Status","type":"string"},"suspended_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suspended At"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"target_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","installation_id","status","created_at","updated_at"],"title":"AgentGithubAppInstallationResponse","type":"object"},"AgentGithubAppInstallationStartRequest":{"properties":{"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"state":{"maxLength":300,"minLength":12,"title":"State","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","state"],"title":"AgentGithubAppInstallationStartRequest","type":"object"},"AgentGithubAppInstallationStartResponse":{"properties":{"app_slug":{"title":"App Slug","type":"string"},"authorize_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorize Url"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"install_url":{"title":"Install Url","type":"string"},"mode":{"enum":["embrasure","customer_owned"],"title":"Mode","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","mode","app_slug","install_url"],"title":"AgentGithubAppInstallationStartResponse","type":"object"},"AgentMemoryCandidateApproveRequest":{"properties":{"content":{"anyOf":[{"maxLength":2000,"minLength":1,"type":"string"},{"type":"null"}],"title":"Content"},"memory_type":{"anyOf":[{"enum":["correction","definition","preference","caveat","semantic_correction"],"type":"string"},{"type":"null"}],"title":"Memory Type"},"scope":{"anyOf":[{"enum":["personal","team","workspace"],"type":"string"},{"type":"null"}],"title":"Scope"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"target_key":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"title":"Target Key"},"target_type":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Target Type"},"title":{"anyOf":[{"maxLength":160,"minLength":1,"type":"string"},{"type":"null"}],"title":"Title"}},"title":"AgentMemoryCandidateApproveRequest","type":"object"},"AgentMemoryCandidateGenerateRequest":{"properties":{"correction_text":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Correction Text"},"limit":{"default":3,"maximum":5,"minimum":1,"title":"Limit","type":"integer"},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Request Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentMemoryCandidateGenerateRequest","type":"object"},"AgentMemoryCandidateResponse":{"properties":{"approved_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved Memory Id"},"confidence":{"title":"Confidence","type":"number"},"content":{"title":"Content","type":"string"},"created_at":{"title":"Created At","type":"string"},"dedupe_key":{"title":"Dedupe Key","type":"string"},"evidence_count":{"default":1,"title":"Evidence Count","type":"integer"},"evidence_refs":{"additionalProperties":true,"title":"Evidence Refs","type":"object"},"id":{"title":"Id","type":"string"},"memory_type":{"enum":["correction","definition","preference","caveat","semantic_correction"],"title":"Memory Type","type":"string"},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Request Id"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"review_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review After"},"reviewed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed At"},"reviewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed By"},"scope":{"enum":["personal","team","workspace"],"title":"Scope","type":"string"},"source":{"enum":["user_feedback","query_success","query_repair","insight_feedback","dreaming","consolidation","profile_draft"],"title":"Source","type":"string"},"status":{"enum":["pending","approved","rejected","dismissed","superseded"],"title":"Status","type":"string"},"supersedes_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supersedes Memory Id"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"target_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Key"},"target_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","scope","memory_type","title","content","source","confidence","dedupe_key","status","created_at","updated_at"],"title":"AgentMemoryCandidateResponse","type":"object"},"AgentMemoryCreateRequest":{"properties":{"content":{"maxLength":2000,"minLength":1,"title":"Content","type":"string"},"memory_type":{"default":"preference","enum":["correction","definition","preference","caveat","semantic_correction"],"title":"Memory Type","type":"string"},"scope":{"default":"team","enum":["personal","team","workspace"],"title":"Scope","type":"string"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"target_key":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"title":"Target Key"},"target_type":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Target Type"},"title":{"maxLength":160,"minLength":1,"title":"Title","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","title","content"],"title":"AgentMemoryCreateRequest","type":"object"},"AgentMemoryEmbeddingReindexRequest":{"properties":{"limit":{"default":100,"maximum":100,"minimum":1,"title":"Limit","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentMemoryEmbeddingReindexRequest","type":"object"},"AgentMemoryEmbeddingReindexResponse":{"properties":{"embedding_model":{"title":"Embedding Model","type":"string"},"indexed_count":{"title":"Indexed Count","type":"integer"},"memory_count":{"title":"Memory Count","type":"integer"}},"required":["memory_count","indexed_count","embedding_model"],"title":"AgentMemoryEmbeddingReindexResponse","type":"object"},"AgentMemoryResponse":{"properties":{"confidence":{"default":1,"title":"Confidence","type":"number"},"content":{"title":"Content","type":"string"},"created_at":{"title":"Created At","type":"string"},"dream_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dream Item Id"},"id":{"title":"Id","type":"string"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"},"memory_type":{"enum":["correction","definition","preference","caveat","semantic_correction"],"title":"Memory Type","type":"string"},"review_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review After"},"scope":{"enum":["personal","team","workspace"],"title":"Scope","type":"string"},"source_kind":{"default":"manual","title":"Source Kind","type":"string"},"source_refs":{"additionalProperties":true,"title":"Source Refs","type":"object"},"status":{"title":"Status","type":"string"},"superseded_by_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By Memory Id"},"supersedes_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supersedes Memory Id"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"target_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Key"},"target_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid To"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","scope","memory_type","title","content","status","created_at","updated_at"],"title":"AgentMemoryResponse","type":"object"},"AgentMemoryUpdateRequest":{"properties":{"content":{"maxLength":2000,"minLength":1,"title":"Content","type":"string"},"title":{"maxLength":160,"minLength":1,"title":"Title","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","title","content"],"title":"AgentMemoryUpdateRequest","type":"object"},"AgentProjectConnectorListResponse":{"properties":{"connectors":{"items":{"$ref":"#/components/schemas/AgentProjectConnectorResponse"},"title":"Connectors","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentProjectConnectorListResponse","type":"object"},"AgentProjectConnectorRequest":{"properties":{"auth_mode":{"default":"oauth","enum":["oauth","pat"],"title":"Auth Mode","type":"string"},"provider":{"enum":["github","gitlab"],"title":"Provider","type":"string"},"scopes":{"items":{"type":"string"},"title":"Scopes","type":"array"},"token":{"maxLength":10000,"minLength":1,"title":"Token","type":"string"},"token_label":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Token Label"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","provider","token"],"title":"AgentProjectConnectorRequest","type":"object"},"AgentProjectConnectorResponse":{"properties":{"auth_mode":{"default":"oauth","title":"Auth Mode","type":"string"},"created_at":{"title":"Created At","type":"string"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Verified At"},"provider":{"title":"Provider","type":"string"},"scopes":{"items":{"type":"string"},"title":"Scopes","type":"array"},"status":{"default":"connected","title":"Status","type":"string"},"token_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Label"},"updated_at":{"title":"Updated At","type":"string"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","provider","created_at","updated_at"],"title":"AgentProjectConnectorResponse","type":"object"},"AgentProjectEnvVarRequest":{"properties":{"description":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Description"},"key":{"maxLength":160,"minLength":1,"title":"Key","type":"string"},"secret":{"default":true,"title":"Secret","type":"boolean"},"value":{"default":"","maxLength":10000,"title":"Value","type":"string"}},"required":["key"],"title":"AgentProjectEnvVarRequest","type":"object"},"AgentProjectEnvVarResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"title":"Id","type":"string"},"key":{"title":"Key","type":"string"},"key_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Version"},"project_source_id":{"title":"Project Source Id","type":"string"},"secret":{"default":true,"title":"Secret","type":"boolean"},"updated_at":{"title":"Updated At","type":"string"},"value_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Preview"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","project_source_id","key","created_at","updated_at"],"title":"AgentProjectEnvVarResponse","type":"object"},"AgentProjectEnvVarsResponse":{"properties":{"project_id":{"title":"Project Id","type":"string"},"variables":{"items":{"$ref":"#/components/schemas/AgentProjectEnvVarResponse"},"title":"Variables","type":"array"}},"required":["project_id"],"title":"AgentProjectEnvVarsResponse","type":"object"},"AgentProjectEnvVarsUpsertRequest":{"properties":{"variables":{"items":{"$ref":"#/components/schemas/AgentProjectEnvVarRequest"},"title":"Variables","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentProjectEnvVarsUpsertRequest","type":"object"},"AgentProjectGitCredentialRequest":{"properties":{"scopes":{"items":{"type":"string"},"title":"Scopes","type":"array"},"token":{"maxLength":10000,"minLength":1,"title":"Token","type":"string"},"token_label":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Token Label"},"username":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Username"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","token"],"title":"AgentProjectGitCredentialRequest","type":"object"},"AgentProjectGitCredentialResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Verified At"},"project_source_id":{"title":"Project Source Id","type":"string"},"provider":{"title":"Provider","type":"string"},"scopes":{"items":{"type":"string"},"title":"Scopes","type":"array"},"token_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Label"},"updated_at":{"title":"Updated At","type":"string"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","project_source_id","provider","created_at","updated_at"],"title":"AgentProjectGitCredentialResponse","type":"object"},"AgentProjectListResponse":{"properties":{"projects":{"items":{"$ref":"#/components/schemas/AgentProjectSourceResponse"},"title":"Projects","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentProjectListResponse","type":"object"},"AgentProjectPullRequestResponse":{"properties":{"base_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Branch"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"branch_name":{"title":"Branch Name","type":"string"},"changed_paths":{"items":{"type":"string"},"title":"Changed Paths","type":"array"},"commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Sha"},"created_at":{"title":"Created At","type":"string"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"project_source_id":{"title":"Project Source Id","type":"string"},"provider":{"title":"Provider","type":"string"},"pull_request_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pull Request Url"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","project_source_id","provider","status","title","branch_name","created_at","updated_at"],"title":"AgentProjectPullRequestResponse","type":"object"},"AgentProjectRepositoryListResponse":{"properties":{"provider":{"title":"Provider","type":"string"},"repositories":{"items":{"$ref":"#/components/schemas/AgentProjectRepositoryResponse"},"title":"Repositories","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","provider"],"title":"AgentProjectRepositoryListResponse","type":"object"},"AgentProjectRepositoryResponse":{"properties":{"default_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Branch"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"full_name":{"title":"Full Name","type":"string"},"last_activity_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Activity At"},"private":{"default":false,"title":"Private","type":"boolean"},"provider":{"title":"Provider","type":"string"},"repository_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Name"},"repository_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Owner"},"repository_url":{"title":"Repository Url","type":"string"}},"required":["provider","repository_url","full_name"],"title":"AgentProjectRepositoryResponse","type":"object"},"AgentProjectSettingsRequest":{"properties":{"settings":{"additionalProperties":true,"title":"Settings","type":"object"},"subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdirectory"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentProjectSettingsRequest","type":"object"},"AgentProjectSourceResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"default_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Branch"},"id":{"title":"Id","type":"string"},"last_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Commit Sha"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_manifest_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Manifest Hash"},"last_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync At"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"project_type":{"default":"dbt","title":"Project Type","type":"string"},"provider":{"title":"Provider","type":"string"},"repository_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Name"},"repository_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Owner"},"repository_url":{"title":"Repository Url","type":"string"},"settings":{"additionalProperties":true,"title":"Settings","type":"object"},"status":{"title":"Status","type":"string"},"subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdirectory"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","provider","repository_url","status","created_at","updated_at"],"title":"AgentProjectSourceResponse","type":"object"},"AgentProjectSyncRequest":{"properties":{"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"},"context_repository_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Repository Source Id"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"github_installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Installation Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"project_type":{"default":"dbt","enum":["dbt","application"],"title":"Project Type","type":"string"},"provider":{"default":"github","enum":["github","gitlab","managed"],"title":"Provider","type":"string"},"repository_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Url"},"subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdirectory"},"use_connector":{"default":false,"title":"Use Connector","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentProjectSyncRequest","type":"object"},"AgentRunBranchResponse":{"properties":{"branch":{"anyOf":[{"$ref":"#/components/schemas/BranchInstanceResponse"},{"type":"null"}]},"jobs":{"items":{"$ref":"#/components/schemas/BranchExecutionJobResponse"},"title":"Jobs","type":"array"},"validation_report":{"anyOf":[{"$ref":"#/components/schemas/BranchValidationReportResponse"},{"type":"null"}]}},"title":"AgentRunBranchResponse","type":"object"},"AgentRunContextItem":{"properties":{"context_kind":{"enum":["table","jira"],"title":"Context Kind","type":"string"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"label":{"title":"Label","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"ref_id":{"title":"Ref Id","type":"string"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","tool_run_id","workspace_id","context_kind","ref_id","label","created_at"],"title":"AgentRunContextItem","type":"object"},"AgentRunDetailResponse":{"properties":{"artifacts":{"items":{"$ref":"#/components/schemas/AgentArtifact"},"title":"Artifacts","type":"array"},"context_items":{"items":{"$ref":"#/components/schemas/AgentRunContextItem"},"title":"Context Items","type":"array"},"run":{"$ref":"#/components/schemas/ToolRunResponse"},"steps":{"items":{"$ref":"#/components/schemas/ToolRunStepResponse"},"title":"Steps","type":"array"}},"required":["run"],"title":"AgentRunDetailResponse","type":"object"},"AgentRunTickResponse":{"properties":{"blocked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked"},"noop":{"default":false,"title":"Noop","type":"boolean"},"status":{"title":"Status","type":"string"},"step_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Id"},"step_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Label"},"step_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"}},"required":["status"],"title":"AgentRunTickResponse","type":"object"},"AgentSessionRefreshRequest":{"properties":{"client_id":{"anyOf":[{"maxLength":512,"minLength":8,"type":"string"},{"type":"null"}],"title":"Client Id"},"grant_type":{"const":"refresh_token","default":"refresh_token","title":"Grant Type","type":"string"},"refresh_token":{"maxLength":512,"minLength":20,"title":"Refresh Token","type":"string"},"resource":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Resource"}},"required":["refresh_token"],"title":"AgentSessionRefreshRequest","type":"object"},"AgentSessionResponse":{"properties":{"access_expires_at":{"title":"Access Expires At","type":"string"},"auth_methods":{"items":{"type":"string"},"title":"Auth Methods","type":"array"},"client_name":{"title":"Client Name","type":"string"},"client_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Version"},"created_at":{"title":"Created At","type":"string"},"device_id":{"title":"Device Id","type":"string"},"device_name":{"title":"Device Name","type":"string"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"id":{"title":"Id","type":"string"},"last_refreshed_at":{"title":"Last Refreshed At","type":"string"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"oauth_client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth Client Id"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"refresh_count":{"default":0,"title":"Refresh Count","type":"integer"},"refresh_expires_at":{"title":"Refresh Expires At","type":"string"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"revoke_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Reason"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"revoked_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked By"},"scopes":{"items":{"type":"string"},"title":"Scopes","type":"array"},"sso_provider_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sso Provider Id"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","user_id","workspace_id","client_name","device_id","device_name","created_at","last_refreshed_at","access_expires_at","refresh_expires_at"],"title":"AgentSessionResponse","type":"object"},"AgentSessionRevokeRequest":{"properties":{"refresh_token":{"maxLength":512,"minLength":20,"title":"Refresh Token","type":"string"}},"required":["refresh_token"],"title":"AgentSessionRevokeRequest","type":"object"},"AgentSessionTokenResponse":{"properties":{"access_token":{"title":"Access Token","type":"string"},"expires_at":{"title":"Expires At","type":"string"},"expires_in":{"title":"Expires In","type":"integer"},"refresh_expires_at":{"title":"Refresh Expires At","type":"string"},"refresh_token":{"title":"Refresh Token","type":"string"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"scope":{"title":"Scope","type":"string"},"session_id":{"title":"Session Id","type":"string"},"token_type":{"const":"Bearer","default":"Bearer","title":"Token Type","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["access_token","refresh_token","expires_in","expires_at","refresh_expires_at","session_id","workspace_id","scope"],"title":"AgentSessionTokenResponse","type":"object"},"AgentStepResponse":{"properties":{"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"evidence_used":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Used"},"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"status":{"enum":["queued","running","completed","failed","skipped"],"title":"Status","type":"string"},"tool_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Call Id"},"tool_input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Input"},"tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Name"},"tool_output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Output"},"what_happened":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"What Happened"},"why_this_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why This Step"}},"required":["key","label","status"],"title":"AgentStepResponse","type":"object"},"AgentTablePickerColumn":{"properties":{"data_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Type"},"name":{"title":"Name","type":"string"}},"required":["name"],"title":"AgentTablePickerColumn","type":"object"},"AgentTablePickerResponse":{"properties":{"tables":{"items":{"$ref":"#/components/schemas/AgentTablePickerRow"},"title":"Tables","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AgentTablePickerResponse","type":"object"},"AgentTablePickerRow":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"columns":{"items":{"$ref":"#/components/schemas/AgentTablePickerColumn"},"title":"Columns","type":"array"},"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"title":"Connector Kind","type":"string"},"connector_name":{"title":"Connector Name","type":"string"},"primary_key_columns":{"items":{"type":"string"},"title":"Primary Key Columns","type":"array"},"qualified_table_name":{"title":"Qualified Table Name","type":"string"},"ref_id":{"title":"Ref Id","type":"string"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"table_name":{"title":"Table Name","type":"string"}},"required":["connector_id","connector_name","connector_kind","table_name","qualified_table_name","ref_id"],"title":"AgentTablePickerRow","type":"object"},"AgentTimelineStepResponse":{"properties":{"action_kind":{"anyOf":[{"enum":["clarification","catalog_inspection","context_retrieval","evidence_inspection","query_execution","result_inspection","schema_inspection","verified_plan_lookup","answer_finalization","other"],"type":"string"},{"type":"null"}],"title":"Action Kind"},"action_sequence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Sequence"},"action_tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Tool Name"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"evidence_used":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Used"},"id":{"title":"Id","type":"string"},"idempotency_reused":{"default":false,"title":"Idempotency Reused","type":"boolean"},"input_summary":{"anyOf":[{},{"type":"null"}],"title":"Input Summary"},"label":{"title":"Label","type":"string"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"output_summary":{"anyOf":[{},{"type":"null"}],"title":"Output Summary"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"retry_count":{"default":0,"title":"Retry Count","type":"integer"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"sequence":{"default":0,"title":"Sequence","type":"integer"},"source":{"title":"Source","type":"string"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"step_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Key"},"step_type":{"title":"Step Type","type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"timing_envelope":{"anyOf":[{"enum":["reasoner","executor"],"type":"string"},{"type":"null"}],"title":"Timing Envelope"},"timing_phase_kind":{"anyOf":[{"enum":["load_state","prepare_reasoning","build_context","prepare_request","model_decision","validate_action","persist_action","prepare_action","reserve_capacity","execute_tool","persist_result","other"],"type":"string"},{"type":"null"}],"title":"Timing Phase Kind"},"tool_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Call Id"},"tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Name"},"what_happened":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"What Happened"},"why_this_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why This Step"}},"required":["id","source","step_type","status","label"],"title":"AgentTimelineStepResponse","type":"object"},"AgentTokenCreateResponse":{"properties":{"token":{"title":"Token","type":"string"},"token_metadata":{"$ref":"#/components/schemas/AgentTokenResponse"}},"required":["token","token_metadata"],"title":"AgentTokenCreateResponse","type":"object"},"AgentTokenExchangeRequest":{"properties":{"client_id":{"anyOf":[{"maxLength":512,"minLength":8,"type":"string"},{"type":"null"}],"title":"Client Id"},"code":{"maxLength":256,"minLength":20,"title":"Code","type":"string"},"code_verifier":{"maxLength":128,"minLength":43,"title":"Code Verifier","type":"string"},"grant_type":{"const":"authorization_code","default":"authorization_code","title":"Grant Type","type":"string"},"redirect_uri":{"maxLength":512,"minLength":1,"title":"Redirect Uri","type":"string"},"resource":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Resource"}},"required":["code","code_verifier","redirect_uri"],"title":"AgentTokenExchangeRequest","type":"object"},"AgentTokenResponse":{"properties":{"client_kind":{"default":"api_token","enum":["api_token","mcp","cli","automation"],"title":"Client Kind","type":"string"},"created_at":{"title":"Created At","type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"id":{"title":"Id","type":"string"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"name":{"title":"Name","type":"string"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"scopes":{"items":{"enum":["read","write","admin"],"type":"string"},"title":"Scopes","type":"array"},"token_prefix":{"title":"Token Prefix","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"title":"User Id","type":"string"},"warehouse_write_databases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Warehouse Write Databases"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","name","token_prefix","created_at","updated_at"],"title":"AgentTokenResponse","type":"object"},"AgentWorkspaceContext":{"properties":{"connectors":{"items":{"$ref":"#/components/schemas/AgentConnectorContext"},"title":"Connectors","type":"array"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"role":{"title":"Role","type":"string"}},"required":["id","name","role"],"title":"AgentWorkspaceContext","type":"object"},"AirflowConnectionCreateRequest":{"properties":{"airflow_url":{"anyOf":[{"format":"uri","maxLength":2083,"minLength":1,"type":"string"},{"type":"null"}],"title":"Airflow Url"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"AirflowConnectionCreateRequest","type":"object"},"AirflowConnectionCreateResponse":{"properties":{"connection":{"$ref":"#/components/schemas/AirflowConnectionResponse"},"token":{"title":"Token","type":"string"},"transport":{"additionalProperties":true,"title":"Transport","type":"object"}},"required":["connection","token","transport"],"title":"AirflowConnectionCreateResponse","type":"object"},"AirflowConnectionResponse":{"properties":{"airflow_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Airflow Url"},"created_at":{"title":"Created At","type":"string"},"dag_count":{"default":0,"title":"Dag Count","type":"integer"},"id":{"title":"Id","type":"string"},"last_event_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Event At"},"name":{"title":"Name","type":"string"},"namespace":{"title":"Namespace","type":"string"},"provider_instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Instance Id"},"status":{"title":"Status","type":"string"},"task_count":{"default":0,"title":"Task Count","type":"integer"},"token_prefix":{"title":"Token Prefix","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","namespace","token_prefix","status","created_at","updated_at"],"title":"AirflowConnectionResponse","type":"object"},"AirflowDagResponse":{"properties":{"connection_id":{"title":"Connection Id","type":"string"},"context_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Object Id"},"dag_id":{"title":"Dag Id","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"title":"Id","type":"string"},"last_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Observed At"},"latest_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest State"},"openlineage_name":{"title":"Openlineage Name","type":"string"},"openlineage_namespace":{"title":"Openlineage Namespace","type":"string"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"schedule_interval":{"title":"Schedule Interval"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"task_count":{"default":0,"title":"Task Count","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","connection_id","dag_id","openlineage_namespace","openlineage_name"],"title":"AirflowDagResponse","type":"object"},"AirflowDefinitionsResponse":{"properties":{"dag_offset":{"title":"Dag Offset","type":"integer"},"dag_total":{"title":"Dag Total","type":"integer"},"dags":{"items":{"$ref":"#/components/schemas/AirflowDagResponse"},"title":"Dags","type":"array"},"task_offset":{"title":"Task Offset","type":"integer"},"task_total":{"title":"Task Total","type":"integer"},"tasks":{"items":{"$ref":"#/components/schemas/AirflowTaskResponse"},"title":"Tasks","type":"array"}},"required":["dags","tasks","dag_total","task_total","dag_offset","task_offset"],"title":"AirflowDefinitionsResponse","type":"object"},"AirflowTaskResponse":{"properties":{"connection_id":{"title":"Connection Id","type":"string"},"context_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Object Id"},"dag_id":{"title":"Dag Id","type":"string"},"dag_record_id":{"title":"Dag Record Id","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"title":"Id","type":"string"},"last_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Observed At"},"latest_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest State"},"openlineage_name":{"title":"Openlineage Name","type":"string"},"openlineage_namespace":{"title":"Openlineage Namespace","type":"string"},"operator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator"},"task_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Group"},"task_id":{"title":"Task Id","type":"string"},"upstream_task_ids":{"items":{"type":"string"},"title":"Upstream Task Ids","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","connection_id","dag_record_id","dag_id","task_id","openlineage_namespace","openlineage_name"],"title":"AirflowTaskResponse","type":"object"},"AlertChannel":{"properties":{"id":{"description":"Slack channel id.","pattern":"^[CG][A-Z0-9]{2,30}$","title":"Id","type":"string"},"name":{"default":"","maxLength":80,"title":"Name","type":"string"}},"required":["id"],"title":"AlertChannel","type":"object"},"AlertDestinationTestRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AlertDestinationTestRequest","type":"object"},"AlertDestinationUpdateRequest":{"properties":{"channel":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Channel"},"component":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Component"},"enabled":{"default":false,"title":"Enabled","type":"boolean"},"min_severity":{"default":"critical","enum":["info","warning","critical"],"title":"Min Severity","type":"string"},"routing_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Routing Key"},"secret":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Secret"},"source":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Source"},"webhook_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Webhook Url"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AlertDestinationUpdateRequest","type":"object"},"AlertRecipient":{"properties":{"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"title":"User Id","type":"string"}},"required":["user_id"],"title":"AlertRecipient","type":"object"},"AlertRecipientList":{"properties":{"members":{"items":{"$ref":"#/components/schemas/AlertRecipient"},"title":"Members","type":"array"}},"required":["members"],"title":"AlertRecipientList","type":"object"},"AlertTestResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AlertTestResult"},"title":"Results","type":"array"}},"required":["results"],"title":"AlertTestResponse","type":"object"},"AlertTestResult":{"properties":{"delivered":{"title":"Delivered","type":"boolean"},"destination":{"enum":["email","slack_channel","slack_webhook","webhook"],"title":"Destination","type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"required":["destination","delivered"],"title":"AlertTestResult","type":"object"},"AlertWebhook":{"properties":{"host":{"description":"The endpoint's host. The URL itself is stored encrypted and never returned.","title":"Host","type":"string"},"kind":{"description":"Slack and Teams incoming webhooks get a message formatted for them; others get the Contrast JSON payload.","enum":["slack","teams","webhook"],"title":"Kind","type":"string"}},"required":["kind","host"],"title":"AlertWebhook","type":"object"},"AlertsRequest":{"additionalProperties":false,"description":"A pipeline's alert settings. They belong to the pipeline, not its owner or the workspace.","properties":{"email_user_ids":{"items":{"format":"uuid","type":"string"},"maxItems":25,"title":"Email User Ids","type":"array"},"long_run_minutes":{"anyOf":[{"maximum":1440,"minimum":5,"type":"integer"},{"type":"null"}],"title":"Long Run Minutes"},"on_failure":{"default":true,"title":"On Failure","type":"boolean"},"on_late":{"default":false,"title":"On Late","type":"boolean"},"on_recovery":{"default":false,"title":"On Recovery","type":"boolean"},"on_success":{"default":false,"title":"On Success","type":"boolean"},"remove_slack_webhook":{"default":false,"title":"Remove Slack Webhook","type":"boolean"},"remove_webhook":{"default":false,"title":"Remove Webhook","type":"boolean"},"slack_channel":{"anyOf":[{"$ref":"#/components/schemas/AlertChannel"},{"type":"null"}]},"slack_webhook_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"description":"A new Slack incoming webhook URL. Omit it to keep the saved one.","title":"Slack Webhook Url"},"webhook_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"description":"A new webhook URL. Omit it to keep the saved one.","title":"Webhook Url"}},"title":"AlertsRequest","type":"object"},"AmbientInsightSweepRequest":{"properties":{"user_id":{"minLength":1,"title":"User Id","type":"string"},"workspace_ids":{"items":{"type":"string"},"minItems":1,"title":"Workspace Ids","type":"array"}},"required":["workspace_ids","user_id"],"title":"AmbientInsightSweepRequest","type":"object"},"AnalyticsEnvironmentResponse":{"properties":{"allowed_origins":{"items":{"type":"string"},"title":"Allowed Origins","type":"array"},"first_received_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"First Received At"},"id":{"title":"Id","type":"string"},"keys":{"items":{"$ref":"#/components/schemas/AnalyticsKeyResponse"},"title":"Keys","type":"array"},"last_received_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Received At"},"last_rejected_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Rejected At"},"last_rejected_origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Rejected Origin"},"name":{"enum":["production","development"],"title":"Name","type":"string"}},"required":["id","name","allowed_origins","keys"],"title":"AnalyticsEnvironmentResponse","type":"object"},"AnalyticsHub":{"properties":{"areas":{"items":{"$ref":"#/components/schemas/HubArea"},"title":"Areas","type":"array"},"available":{"description":"Whether product area models can be switched on for this workspace.","title":"Available","type":"boolean"},"database":{"title":"Database","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"last_build":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Last Build"},"latest_proposal":{"anyOf":[{"$ref":"#/components/schemas/HubProposal"},{"type":"null"}]},"repositories":{"items":{"$ref":"#/components/schemas/HubRepository"},"title":"Repositories","type":"array"},"repository":{"anyOf":[{"$ref":"#/components/schemas/HubRepository"},{"type":"null"}]}},"required":["available","enabled","database","areas","repositories"],"title":"AnalyticsHub","type":"object"},"AnalyticsHubRunStarted":{"properties":{"workflow_id":{"title":"Workflow Id","type":"string"}},"required":["workflow_id"],"title":"AnalyticsHubRunStarted","type":"object"},"AnalyticsHubSettings":{"properties":{"database":{"anyOf":[{"maxLength":63,"type":"string"},{"type":"null"}],"title":"Database"},"enabled":{"title":"Enabled","type":"boolean"},"repository_id":{"minLength":1,"title":"Repository Id","type":"string"}},"required":["repository_id","enabled"],"title":"AnalyticsHubSettings","type":"object"},"AnalyticsKeyCreateRequest":{"additionalProperties":false,"properties":{"kind":{"enum":["browser","server"],"title":"Kind","type":"string"}},"required":["kind"],"title":"AnalyticsKeyCreateRequest","type":"object"},"AnalyticsKeyCreatedResponse":{"properties":{"key":{"$ref":"#/components/schemas/AnalyticsKeyResponse"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"required":["key"],"title":"AnalyticsKeyCreatedResponse","type":"object"},"AnalyticsKeyResponse":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"enum":["browser","server"],"title":"Kind","type":"string"},"prefix":{"title":"Prefix","type":"string"},"public_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["id","kind","prefix","created_at"],"title":"AnalyticsKeyResponse","type":"object"},"AnalyticsKeyRevokedResponse":{"properties":{"revoked":{"title":"Revoked","type":"boolean"}},"required":["revoked"],"title":"AnalyticsKeyRevokedResponse","type":"object"},"AnalyticsOriginsRequest":{"additionalProperties":false,"properties":{"allowed_origins":{"items":{"type":"string"},"maxItems":30,"title":"Allowed Origins","type":"array"}},"required":["allowed_origins"],"title":"AnalyticsOriginsRequest","type":"object"},"AnalyticsProjectCreateRequest":{"additionalProperties":false,"properties":{"allowed_origins":{"items":{"type":"string"},"maxItems":30,"title":"Allowed Origins","type":"array"},"name":{"maxLength":100,"minLength":1,"title":"Name","type":"string"}},"required":["allowed_origins","name"],"title":"AnalyticsProjectCreateRequest","type":"object"},"AnalyticsProjectListResponse":{"properties":{"can_manage":{"title":"Can Manage","type":"boolean"},"projects":{"items":{"$ref":"#/components/schemas/AnalyticsProjectResponse"},"title":"Projects","type":"array"},"setup_enabled":{"title":"Setup Enabled","type":"boolean"}},"required":["projects","can_manage","setup_enabled"],"title":"AnalyticsProjectListResponse","type":"object"},"AnalyticsProjectResponse":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"environments":{"items":{"$ref":"#/components/schemas/AnalyticsEnvironmentResponse"},"title":"Environments","type":"array"},"id":{"title":"Id","type":"string"},"internal_email_domains":{"items":{"type":"string"},"title":"Internal Email Domains","type":"array"},"name":{"title":"Name","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","created_at","environments"],"title":"AnalyticsProjectResponse","type":"object"},"AnalyticsProjectUpdateRequest":{"additionalProperties":false,"properties":{"internal_email_domains":{"items":{"type":"string"},"maxItems":10,"title":"Internal Email Domains","type":"array"}},"required":["internal_email_domains"],"title":"AnalyticsProjectUpdateRequest","type":"object"},"AnalyticsSeries":{"additionalProperties":false,"properties":{"event":{"maxLength":512,"minLength":1,"title":"Event","type":"string"},"math":{"default":"total","enum":["total","dau","sum","avg"],"title":"Math","type":"string"},"math_property":{"anyOf":[{"$ref":"#/components/schemas/PropertyRef"},{"type":"null"}]},"properties":{"items":{"$ref":"#/components/schemas/PropertyFilter"},"maxItems":30,"title":"Properties","type":"array"}},"required":["event"],"title":"AnalyticsSeries","type":"object"},"AnalyticsWorkspaceSettings":{"properties":{"setup_enabled":{"title":"Setup Enabled","type":"boolean"}},"required":["setup_enabled"],"title":"AnalyticsWorkspaceSettings","type":"object"},"ApplySuggestionsRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"suggestion_ids":{"items":{"type":"string"},"title":"Suggestion Ids","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"ApplySuggestionsRequest","type":"object"},"ArtifactReferenceResponse":{"properties":{"ref":{"title":"Ref","type":"string"},"type":{"title":"Type","type":"string"}},"required":["ref","type"],"title":"ArtifactReferenceResponse","type":"object"},"AssessmentCheck":{"additionalProperties":false,"properties":{"detail":{"maxLength":4000,"minLength":1,"title":"Detail","type":"string"},"evidence_refs":{"items":{"type":"string"},"maxItems":20,"title":"Evidence Refs","type":"array"},"requirement_id":{"maxLength":100,"minLength":1,"title":"Requirement Id","type":"string"},"status":{"enum":["passed","failed","unknown"],"title":"Status","type":"string"}},"required":["requirement_id","status","detail"],"title":"AssessmentCheck","type":"object"},"AuthWhoAmIResponse":{"properties":{"auth_method":{"enum":["supabase_jwt","agent_session","agent_pat","scim_token","local_session"],"title":"Auth Method","type":"string"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"profile":{"anyOf":[{"$ref":"#/components/schemas/UserProfileSummary"},{"type":"null"}]},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"source_metadata":{"additionalProperties":true,"title":"Source Metadata","type":"object"},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Name"},"source_type":{"default":"web","enum":["web","mcp","cli","api_token","slack","discord","teams","twilio_sms","scim","system"],"title":"Source Type","type":"string"},"token_scopes":{"items":{"enum":["read","write","admin"],"type":"string"},"title":"Token Scopes","type":"array"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}},"required":["user_id","auth_method"],"title":"AuthWhoAmIResponse","type":"object"},"AutonomyPoliciesResponse":{"properties":{"policies":{"items":{"$ref":"#/components/schemas/AutonomyPolicyResponse"},"title":"Policies","type":"array"}},"title":"AutonomyPoliciesResponse","type":"object"},"AutonomyPolicyBudget":{"properties":{"max_missions_per_day":{"default":2,"maximum":12,"minimum":1,"title":"Max Missions Per Day","type":"integer"},"max_probes":{"default":3,"maximum":5,"minimum":1,"title":"Max Probes","type":"integer"},"max_research_cost_usd":{"default":25,"exclusiveMinimum":0,"maximum":100,"title":"Max Research Cost Usd","type":"number"},"max_research_seconds":{"default":2400,"maximum":2400,"minimum":60,"title":"Max Research Seconds","type":"integer"},"max_worker_tool_calls":{"default":128,"maximum":128,"minimum":1,"title":"Max Worker Tool Calls","type":"integer"}},"title":"AutonomyPolicyBudget","type":"object"},"AutonomyPolicyCreateRequest":{"properties":{"action_class":{"default":"analyze","enum":["observe","analyze","draft"],"title":"Action Class","type":"string"},"budget":{"$ref":"#/components/schemas/AutonomyPolicyBudget"},"cadence_hours":{"default":20,"maximum":720,"minimum":1,"title":"Cadence Hours","type":"integer"},"data_scopes":{"additionalProperties":true,"title":"Data Scopes","type":"object"},"enabled":{"default":true,"title":"Enabled","type":"boolean"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"notification_target":{"additionalProperties":true,"title":"Notification Target","type":"object"},"require_review":{"default":true,"title":"Require Review","type":"boolean"},"trigger_type":{"enum":["scheduled","context_delta","connector_health","metric_definition_change","schema_change"],"title":"Trigger Type","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name","trigger_type"],"title":"AutonomyPolicyCreateRequest","type":"object"},"AutonomyPolicyResponse":{"properties":{"action_class":{"default":"analyze","enum":["observe","analyze","draft"],"title":"Action Class","type":"string"},"budget":{"additionalProperties":true,"title":"Budget","type":"object"},"cadence_hours":{"default":20,"title":"Cadence Hours","type":"integer"},"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"data_scopes":{"additionalProperties":true,"title":"Data Scopes","type":"object"},"enabled":{"default":true,"title":"Enabled","type":"boolean"},"id":{"title":"Id","type":"string"},"last_triggered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Triggered At"},"name":{"title":"Name","type":"string"},"notification_target":{"additionalProperties":true,"title":"Notification Target","type":"object"},"origin":{"default":"user","enum":["user","system_default"],"title":"Origin","type":"string"},"require_review":{"default":true,"title":"Require Review","type":"boolean"},"state":{"additionalProperties":true,"title":"State","type":"object"},"trigger_type":{"enum":["scheduled","context_delta","connector_health","metric_definition_change","schema_change"],"title":"Trigger Type","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","trigger_type","created_at","updated_at"],"title":"AutonomyPolicyResponse","type":"object"},"AutonomyPolicyUpdateRequest":{"properties":{"action_class":{"anyOf":[{"enum":["observe","analyze","draft"],"type":"string"},{"type":"null"}],"title":"Action Class"},"budget":{"anyOf":[{"$ref":"#/components/schemas/AutonomyPolicyBudget"},{"type":"null"}]},"cadence_hours":{"anyOf":[{"maximum":720,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Cadence Hours"},"data_scopes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data Scopes"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"name":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"notification_target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notification Target"},"require_review":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Review"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"AutonomyPolicyUpdateRequest","type":"object"},"BackfillWindow":{"additionalProperties":false,"properties":{"column":{"pattern":"^[a-z_][a-z0-9_]{0,62}$","title":"Column","type":"string"},"end":{"description":"First date excluded. The window is at most 366 days.","format":"date","title":"End","type":"string"},"start":{"description":"First date included, in the model's output date or timestamp column.","format":"date","title":"Start","type":"string"}},"required":["column","start","end"],"title":"BackfillWindow","type":"object"},"BiConfigListResponse":{"properties":{"configs":{"items":{"$ref":"#/components/schemas/BiConfigResponse"},"title":"Configs","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","configs"],"title":"BiConfigListResponse","type":"object"},"BiConfigRequest":{"properties":{"base_url":{"maxLength":2048,"minLength":8,"title":"Base Url","type":"string"},"config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Id"},"credentials":{"additionalProperties":true,"title":"Credentials","type":"object"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","base_url"],"title":"BiConfigRequest","type":"object"},"BiConfigResponse":{"properties":{"base_url":{"title":"Base Url","type":"string"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"string"},{"type":"null"}],"title":"Created At"},"credentials_set":{"default":true,"title":"Credentials Set","type":"boolean"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_synced_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"string"},{"type":"null"}],"title":"Last Synced At"},"last_validated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"string"},{"type":"null"}],"title":"Last Validated At"},"provider":{"title":"Provider","type":"string"},"scope_mappings":{"additionalProperties":{"type":"string"},"title":"Scope Mappings","type":"object"},"status":{"enum":["pending","valid","invalid","deleted"],"title":"Status","type":"string"},"sync_state":{"additionalProperties":true,"title":"Sync State","type":"object"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","provider","base_url","status"],"title":"BiConfigResponse","type":"object"},"BiDashboard":{"properties":{"id":{"title":"Id","type":"string"},"title":{"title":"Title","type":"string"}},"required":["id","title"],"title":"BiDashboard","type":"object"},"BiDashboardVersionResponse":{"properties":{"dashboard_id":{"title":"Dashboard Id","type":"string"},"layout":{"title":"Layout","type":"string"},"version":{"title":"Version","type":"string"}},"required":["dashboard_id","version","layout"],"title":"BiDashboardVersionResponse","type":"object"},"BiEditorRequest":{"properties":{"state":{"pattern":"^[A-Za-z0-9_-]{43}$","title":"State","type":"string"}},"required":["state"],"title":"BiEditorRequest","type":"object"},"BiEditorResponse":{"properties":{"token":{"title":"Token","type":"string"},"url":{"title":"Url","type":"string"}},"required":["url","token"],"title":"BiEditorResponse","type":"object"},"BiEmbedResponse":{"properties":{"dashboard_id":{"title":"Dashboard Id","type":"string"},"expires_at":{"title":"Expires At","type":"integer"},"guest_token":{"title":"Guest Token","type":"string"},"url":{"title":"Url","type":"string"}},"required":["dashboard_id","url","guest_token","expires_at"],"title":"BiEmbedResponse","type":"object"},"BiMappingsRequest":{"properties":{"scope_mappings":{"additionalProperties":{"type":"string"},"title":"Scope Mappings","type":"object"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"BiMappingsRequest","type":"object"},"BiOperation":{"additionalProperties":false,"properties":{"action":{"enum":["schema","list","get","create","update","delete","data","refresh","charts","datasets","embed"],"title":"Action","type":"string"},"id":{"anyOf":[{"exclusiveMinimum":0,"type":"integer"},{"type":"null"}],"title":"Id"},"page":{"default":0,"maximum":10000,"minimum":0,"title":"Page","type":"integer"},"page_size":{"default":25,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"resource":{"enum":["database","dataset","chart","dashboard"],"title":"Resource","type":"string"},"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},"required":["resource","action"],"title":"BiOperation","type":"object"},"BiProvisionRequest":{"additionalProperties":false,"properties":{"warehouse_token":{"format":"password","maxLength":4096,"minLength":1,"title":"Warehouse Token","type":"string","writeOnly":true}},"required":["warehouse_token"],"title":"BiProvisionRequest","type":"object"},"BiProvisionResponse":{"properties":{"database_ids":{"items":{"type":"integer"},"title":"Database Ids","type":"array"},"enabled":{"title":"Enabled","type":"boolean"},"provisioned":{"title":"Provisioned","type":"boolean"}},"required":["provisioned","enabled","database_ids"],"title":"BiProvisionResponse","type":"object"},"BiScopeResponse":{"properties":{"details":{"additionalProperties":true,"title":"Details","type":"object"},"dialect_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dialect Hint"},"id":{"title":"Id","type":"string"},"mapping":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapping"},"name":{"title":"Name","type":"string"}},"required":["id","name"],"title":"BiScopeResponse","type":"object"},"BiScopesResponse":{"properties":{"contrast_connectors":{"items":{"additionalProperties":true,"type":"object"},"title":"Contrast Connectors","type":"array"},"scopes":{"items":{"$ref":"#/components/schemas/BiScopeResponse"},"title":"Scopes","type":"array"}},"required":["scopes","contrast_connectors"],"title":"BiScopesResponse","type":"object"},"BiSyncRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"BiSyncRequest","type":"object"},"BiSyncResponse":{"properties":{"dispatched":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dispatched"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"}},"title":"BiSyncResponse","type":"object"},"BiValidationResponse":{"properties":{"account":{"additionalProperties":true,"title":"Account","type":"object"},"config":{"$ref":"#/components/schemas/BiConfigResponse"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"valid":{"title":"Valid","type":"boolean"}},"required":["valid","config"],"title":"BiValidationResponse","type":"object"},"BiWorkspaceResponse":{"properties":{"authoring_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authoring Url"},"dashboards":{"default":[],"items":{"$ref":"#/components/schemas/BiDashboard"},"title":"Dashboards","type":"array"},"enabled":{"title":"Enabled","type":"boolean"},"provider":{"default":"superset","title":"Provider","type":"string"}},"required":["enabled"],"title":"BiWorkspaceResponse","type":"object"},"BillingActionResponse":{"properties":{"ok":{"default":true,"title":"Ok","type":"boolean"}},"title":"BillingActionResponse","type":"object"},"BillingAllowance":{"properties":{"dimension":{"enum":["ai","scans","connections","storage"],"title":"Dimension","type":"string"},"percent_used":{"title":"Percent Used","type":"integer"},"state":{"enum":["ok","approaching","reached"],"title":"State","type":"string"}},"required":["dimension","percent_used","state"],"title":"BillingAllowance","type":"object"},"BillingAllowancesResponse":{"description":"Plan allowance use this period. `plan` is null for grandfathered workspaces, which have no allowances.","properties":{"allowances":{"default":[],"items":{"$ref":"#/components/schemas/BillingAllowance"},"title":"Allowances","type":"array"},"period_start":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Period Start"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"}},"title":"BillingAllowancesResponse","type":"object"},"BillingCheckoutRequest":{"additionalProperties":false,"properties":{"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"BillingCheckoutRequest","type":"object"},"BillingEnrollmentRequest":{"additionalProperties":false,"properties":{"enabled":{"title":"Enabled","type":"boolean"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id","enabled"],"title":"BillingEnrollmentRequest","type":"object"},"BillingFeaturesResponse":{"description":"Plan-only features. `plan` is null for grandfathered workspaces, which keep every feature.","properties":{"features":{"additionalProperties":{"type":"boolean"},"title":"Features","type":"object"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"},"plan_override":{"anyOf":[{"$ref":"#/components/schemas/BillingPlanOverride"},{"type":"null"}]}},"required":["features"],"title":"BillingFeaturesResponse","type":"object"},"BillingIngestionUsage":{"properties":{"charges_enabled":{"const":false,"default":false,"title":"Charges Enabled","type":"boolean"},"coverage":{"const":"partial","title":"Coverage","type":"string"},"groups":{"items":{"$ref":"#/components/schemas/IngestionUsageGroup"},"title":"Groups","type":"array"},"measurement":{"const":"logical-value-bytes-v1","title":"Measurement","type":"string"},"metering_started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Metering Started At"},"pending_flow_sources":{"title":"Pending Flow Sources","type":"integer"},"period_end":{"format":"date-time","title":"Period End","type":"string"},"period_start":{"format":"date-time","title":"Period Start","type":"string"}},"required":["period_start","period_end","measurement","coverage","pending_flow_sources","groups"],"title":"BillingIngestionUsage","type":"object"},"BillingPlan":{"properties":{"amount":{"title":"Amount","type":"integer"},"available":{"default":true,"title":"Available","type":"boolean"},"currency":{"title":"Currency","type":"string"},"interval":{"title":"Interval","type":"string"},"interval_count":{"title":"Interval Count","type":"integer"},"name":{"title":"Name","type":"string"},"price_id":{"title":"Price Id","type":"string"}},"required":["price_id","name","amount","currency","interval","interval_count"],"title":"BillingPlan","type":"object"},"BillingPlanOverride":{"description":"A plan Contrast assigned. Until it expires it takes precedence over any Stripe subscription.","properties":{"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"plan":{"enum":["free","starter","growth","scale"],"title":"Plan","type":"string"}},"required":["plan"],"title":"BillingPlanOverride","type":"object"},"BillingPortalRequest":{"additionalProperties":false,"properties":{"flow":{"anyOf":[{"const":"change_plan","type":"string"},{"type":"null"}],"title":"Flow"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"BillingPortalRequest","type":"object"},"BillingSessionRequest":{"additionalProperties":false,"properties":{"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"BillingSessionRequest","type":"object"},"BillingSessionResponse":{"properties":{"url":{"title":"Url","type":"string"}},"required":["url"],"title":"BillingSessionResponse","type":"object"},"BillingSubscription":{"properties":{"cancel_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancel At"},"cancel_at_period_end":{"title":"Cancel At Period End","type":"boolean"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"current_period_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period Start"},"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"status":{"title":"Status","type":"string"}},"required":["status","cancel_at_period_end"],"title":"BillingSubscription","type":"object"},"BillingSummaryResponse":{"properties":{"billing_enabled":{"default":false,"title":"Billing Enabled","type":"boolean"},"checkout_available":{"default":false,"title":"Checkout Available","type":"boolean"},"configured":{"title":"Configured","type":"boolean"},"enrollment_available":{"default":false,"title":"Enrollment Available","type":"boolean"},"has_customer":{"default":false,"title":"Has Customer","type":"boolean"},"ingestion_usage":{"anyOf":[{"$ref":"#/components/schemas/BillingIngestionUsage"},{"type":"null"}]},"livemode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Livemode"},"plan":{"anyOf":[{"$ref":"#/components/schemas/BillingPlan"},{"type":"null"}]},"plan_change_available":{"default":false,"title":"Plan Change Available","type":"boolean"},"plan_limits_enforced":{"default":false,"title":"Plan Limits Enforced","type":"boolean"},"plan_override":{"anyOf":[{"$ref":"#/components/schemas/BillingPlanOverride"},{"type":"null"}]},"plans":{"default":[],"items":{"$ref":"#/components/schemas/BillingPlan"},"title":"Plans","type":"array"},"product_access_allowed":{"default":true,"title":"Product Access Allowed","type":"boolean"},"subscriptions":{"default":[],"items":{"$ref":"#/components/schemas/BillingSubscription"},"title":"Subscriptions","type":"array"},"test_enforcement_enabled":{"default":false,"title":"Test Enforcement Enabled","type":"boolean"}},"required":["configured"],"title":"BillingSummaryResponse","type":"object"},"BillingTestRequest":{"additionalProperties":false,"properties":{"enabled":{"title":"Enabled","type":"boolean"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id","enabled"],"title":"BillingTestRequest","type":"object"},"BillingUsageObservation":{"properties":{"measured_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Measured At"},"status":{"enum":["observed","incomplete","unavailable"],"title":"Status","type":"string"},"used":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Used"}},"required":["status"],"title":"BillingUsageObservation","type":"object"},"BillingUsageResponse":{"properties":{"as_of":{"format":"date-time","title":"As Of","type":"string"},"dimensions":{"additionalProperties":{"$ref":"#/components/schemas/BillingUsageObservation"},"title":"Dimensions","type":"object"},"period_end":{"format":"date-time","title":"Period End","type":"string"},"period_start":{"format":"date-time","title":"Period Start","type":"string"}},"required":["period_start","period_end","as_of","dimensions"],"title":"BillingUsageResponse","type":"object"},"BranchExecutionJobResponse":{"properties":{"attempts":{"default":0,"title":"Attempts","type":"integer"},"branch_artifacts":{"additionalProperties":true,"title":"Branch Artifacts","type":"object"},"branch_instance_id":{"title":"Branch Instance Id","type":"string"},"command":{"additionalProperties":true,"title":"Command","type":"object"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"title":"Created At","type":"string"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"id":{"title":"Id","type":"string"},"job_type":{"enum":["branch_create","dbt_compile","dbt_run","dbt_test","probe","cleanup"],"title":"Job Type","type":"string"},"result_payload":{"additionalProperties":true,"title":"Result Payload","type":"object"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["queued","running","succeeded","failed","cancelled"],"title":"Status","type":"string"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"tool_run_step_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Run Step Id"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","branch_instance_id","tool_run_id","job_type","status","created_at","updated_at"],"title":"BranchExecutionJobResponse","type":"object"},"BranchInstanceResponse":{"properties":{"base_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Lsn"},"base_source_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Source Fingerprint"},"branch_source_id":{"title":"Branch Source Id","type":"string"},"cleanup_state":{"additionalProperties":true,"title":"Cleanup State","type":"object"},"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"destroyed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destroyed At"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"replica_lag_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replica Lag Seconds"},"status":{"enum":["creating","ready","running","validating","completed","failed","cleanup_pending","cleaned_up","expired"],"title":"Status","type":"string"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"ttl_expires_at":{"title":"Ttl Expires At","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","branch_source_id","tool_run_id","status","ttl_expires_at","created_at","updated_at"],"title":"BranchInstanceResponse","type":"object"},"BranchSourcePreflightRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"selected_schemas":{"items":{"type":"string"},"title":"Selected Schemas","type":"array"},"selected_tables":{"items":{"type":"string"},"title":"Selected Tables","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"BranchSourcePreflightRequest","type":"object"},"BranchSourcePreflightResponse":{"properties":{"blocking_issues":{"items":{"type":"string"},"title":"Blocking Issues","type":"array"},"checks":{"items":{"additionalProperties":true,"type":"object"},"title":"Checks","type":"array"},"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"enum":["postgres","supabase"],"title":"Connector Kind","type":"string"},"ok":{"title":"Ok","type":"boolean"},"requires_setup":{"default":true,"title":"Requires Setup","type":"boolean"},"setup_sql":{"title":"Setup Sql","type":"string"},"setup_sql_hash":{"title":"Setup Sql Hash","type":"string"},"source_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Fingerprint"},"status":{"enum":["passed","failed"],"title":"Status","type":"string"},"supported":{"title":"Supported","type":"boolean"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","connector_kind","ok","supported","status","setup_sql","setup_sql_hash"],"title":"BranchSourcePreflightResponse","type":"object"},"BranchSourceResponse":{"properties":{"anonymization_sql_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anonymization Sql Hash"},"base_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Lsn"},"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"enum":["postgres","supabase"],"title":"Connector Kind","type":"string"},"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"id":{"title":"Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_sync_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Requested At"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Synced At"},"preflight_report":{"additionalProperties":true,"title":"Preflight Report","type":"object"},"publication_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Name"},"replica_lag_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replica Lag Seconds"},"selected_schemas":{"items":{"type":"string"},"title":"Selected Schemas","type":"array"},"selected_tables":{"items":{},"title":"Selected Tables","type":"array"},"settings":{"additionalProperties":true,"title":"Settings","type":"object"},"setup_sql_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Sql Hash"},"slot_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slot Name"},"source_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Fingerprint"},"status":{"enum":["preflight_required","ready","syncing","paused","error"],"title":"Status","type":"string"},"sync_status":{"default":"not_started","enum":["not_started","syncing","caught_up","lagging","paused","error"],"title":"Sync Status","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","connector_id","connector_kind","status","created_at","updated_at"],"title":"BranchSourceResponse","type":"object"},"BranchSourceSyncResponse":{"properties":{"queued":{"default":true,"title":"Queued","type":"boolean"},"source":{"$ref":"#/components/schemas/BranchSourceResponse"}},"required":["source"],"title":"BranchSourceSyncResponse","type":"object"},"BranchValidationReportResponse":{"properties":{"branch_creation_latency_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Creation Latency Ms"},"branch_instance_id":{"title":"Branch Instance Id","type":"string"},"changed_relations":{"items":{"additionalProperties":true,"type":"object"},"title":"Changed Relations","type":"array"},"compiled_sql_refs":{"items":{"additionalProperties":true,"type":"object"},"title":"Compiled Sql Refs","type":"array"},"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"id":{"title":"Id","type":"string"},"promotion_ready":{"default":false,"title":"Promotion Ready","type":"boolean"},"row_count_evidence":{"items":{"additionalProperties":true,"type":"object"},"title":"Row Count Evidence","type":"array"},"status":{"enum":["passed","needs_review","blocked","failed"],"title":"Status","type":"string"},"test_summary":{"additionalProperties":true,"title":"Test Summary","type":"object"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","branch_instance_id","tool_run_id","status","created_at","updated_at"],"title":"BranchValidationReportResponse","type":"object"},"BriefDeepResearchRun":{"properties":{"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"title":"Created At","type":"string"},"finding_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finding Count"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"run_id":{"title":"Run Id","type":"string"},"status":{"title":"Status","type":"string"}},"required":["run_id","status","created_at"],"title":"BriefDeepResearchRun","type":"object"},"BriefFindingItem":{"properties":{"cited_memory_ids":{"items":{"type":"string"},"title":"Cited Memory Ids","type":"array"},"confidence":{"default":0,"title":"Confidence","type":"number"},"created_at":{"title":"Created At","type":"string"},"deep_research_run":{"anyOf":[{"$ref":"#/components/schemas/BriefDeepResearchRun"},{"type":"null"}]},"evidence_request_ids":{"items":{"type":"string"},"title":"Evidence Request Ids","type":"array"},"finding_id":{"title":"Finding Id","type":"string"},"finding_type":{"enum":["opportunity","risk","anomaly","trend","quality"],"title":"Finding Type","type":"string"},"narrative":{"title":"Narrative","type":"string"},"ranking_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ranking Score"},"recommended_action":{"additionalProperties":true,"title":"Recommended Action","type":"object"},"report":{"anyOf":[{"$ref":"#/components/schemas/InsightReport"},{"type":"null"}]},"review_status":{"default":"pending","enum":["pending","approved","not_required","stale"],"title":"Review Status","type":"string"},"run_id":{"title":"Run Id","type":"string"},"score":{"default":0,"title":"Score","type":"number"},"source_citations":{"items":{"additionalProperties":true,"type":"object"},"title":"Source Citations","type":"array"},"status":{"default":"active","enum":["active","saved","dismissed","archived"],"title":"Status","type":"string"},"time_windows":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"title":"Time Windows","type":"array"},"title":{"title":"Title","type":"string"},"why_this_now":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why This Now"}},"required":["finding_id","run_id","title","narrative","finding_type","created_at"],"title":"BriefFindingItem","type":"object"},"BriefLearnedItem":{"properties":{"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"content":{"title":"Content","type":"string"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"enum":["memory","profile_patch"],"title":"Kind","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"status":{"enum":["approved","pending"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"}},"required":["kind","id","title","content","status","created_at"],"title":"BriefLearnedItem","type":"object"},"BuildOptions":{"additionalProperties":false,"properties":{"backfill":{"anyOf":[{"$ref":"#/components/schemas/BackfillWindow"},{"type":"null"}]},"full_refresh":{"default":false,"title":"Full Refresh","type":"boolean"},"variables":{"default":{},"maxProperties":20,"patternProperties":{"^[a-z_][a-z0-9_]{0,62}$":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}]}},"title":"Variables","type":"object"}},"title":"BuildOptions","type":"object"},"BusinessMeasure":{"additionalProperties":false,"properties":{"key":{"pattern":"^[a-z][a-z0-9_]*$","title":"Key","type":"string"},"meaning":{"minLength":1,"title":"Meaning","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["key","meaning"],"title":"BusinessMeasure","type":"object"},"CancelAccessRequestRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CancelAccessRequestRequest","type":"object"},"CancelEnforcementActionRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CancelEnforcementActionRequest","type":"object"},"CatalogColumnStatisticsResponse":{"properties":{"change_pairs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Change Pairs"},"change_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change Rate"},"column_name":{"title":"Column Name","type":"string"},"data_type":{"title":"Data Type","type":"string"},"distinct_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distinct Count"},"distinct_exact":{"default":false,"title":"Distinct Exact","type":"boolean"},"max_timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Timestamp"},"measured_at":{"title":"Measured At","type":"string"},"min_timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Timestamp"},"non_null_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Non Null Count"},"null_fraction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Null Fraction"},"row_count":{"title":"Row Count","type":"integer"},"scope":{"enum":["table","sample"],"title":"Scope","type":"string"},"time_encoding":{"anyOf":[{"enum":["native","iso8601","epoch_seconds","epoch_milliseconds","epoch_microseconds"],"type":"string"},{"type":"null"}],"title":"Time Encoding"},"time_parse_fraction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Time Parse Fraction"},"uniqueness":{"anyOf":[{"enum":["unique","unique_in_sample","not_unique"],"type":"string"},{"type":"null"}],"title":"Uniqueness"}},"required":["column_name","data_type","scope","row_count","measured_at"],"title":"CatalogColumnStatisticsResponse","type":"object"},"CatalogColumnUsage":{"properties":{"agent_query_count":{"title":"Agent Query Count","type":"integer"},"column_name":{"title":"Column Name","type":"string"},"last_queried_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Queried At"},"lookup_count":{"default":0,"description":"Successful MCP/CLI describes that returned this column.","title":"Lookup Count","type":"integer"},"query_count":{"title":"Query Count","type":"integer"}},"required":["column_name","query_count","agent_query_count"],"title":"CatalogColumnUsage","type":"object"},"CatalogSyncJobResponse":{"properties":{"actor_context":{"additionalProperties":true,"title":"Actor Context","type":"object"},"actor_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Id"},"actor_source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Name"},"actor_source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Type"},"actor_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor User Id"},"attempts":{"default":0,"title":"Attempts","type":"integer"},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"connector_id":{"title":"Connector Id","type":"string"},"created_at":{"title":"Created At","type":"string"},"current_phase":{"default":"queued","title":"Current Phase","type":"string"},"dispatch_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispatch Error"},"dispatch_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispatch Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"execution_principal_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Principal User Id"},"heartbeat_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heartbeat At"},"heartbeat_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heartbeat Count"},"heartbeat_summary":{"additionalProperties":true,"title":"Heartbeat Summary","type":"object"},"id":{"title":"Id","type":"string"},"index_semantic":{"default":true,"title":"Index Semantic","type":"boolean"},"mode":{"enum":["full","incremental"],"title":"Mode","type":"string"},"phase_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase Message"},"phase_status":{"default":"pending","title":"Phase Status","type":"string"},"phase_summary":{"additionalProperties":true,"title":"Phase Summary","type":"object"},"queue_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Age Seconds"},"queue_stale":{"default":false,"title":"Queue Stale","type":"boolean"},"refresh_class":{"title":"Refresh Class","type":"string"},"result_summary":{"additionalProperties":true,"title":"Result Summary","type":"object"},"scheduled_for":{"title":"Scheduled For","type":"string"},"scope":{"additionalProperties":true,"title":"Scope","type":"object"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"temporal_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporal Run Id"},"temporal_workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporal Workflow Id"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","connector_id","mode","refresh_class","status","scheduled_for","created_at"],"title":"CatalogSyncJobResponse","type":"object"},"CatalogTableStatisticsResponse":{"properties":{"attempted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempted At"},"catalog_name":{"title":"Catalog Name","type":"string"},"columns":{"items":{"$ref":"#/components/schemas/CatalogColumnStatisticsResponse"},"title":"Columns","type":"array"},"connector_id":{"title":"Connector Id","type":"string"},"grain_columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Grain Columns"},"grain_duplicates":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Grain Duplicates"},"measured_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measured At"},"ordering_key_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ordering Key Column"},"ordering_key_time_duplicates":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ordering Key Time Duplicates"},"ordering_pairs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ordering Pairs"},"ordering_time_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ordering Time Column"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows_per_key":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rows Per Key"},"schema_name":{"title":"Schema Name","type":"string"},"scope":{"anyOf":[{"enum":["table","sample"],"type":"string"},{"type":"null"}],"title":"Scope"},"stale":{"default":false,"title":"Stale","type":"boolean"},"status":{"anyOf":[{"enum":["measured","skipped","failed"],"type":"string"},{"type":"null"}],"title":"Status"},"status_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Reason"},"table_name":{"title":"Table Name","type":"string"},"updated_after_created_fraction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Updated After Created Fraction"}},"required":["connector_id","catalog_name","schema_name","table_name"],"title":"CatalogTableStatisticsResponse","type":"object"},"CatalogTableUsageDetailResponse":{"properties":{"agent_query_count":{"title":"Agent Query Count","type":"integer"},"catalog_name":{"title":"Catalog Name","type":"string"},"channels":{"items":{"$ref":"#/components/schemas/CatalogUsageChannelCount"},"title":"Channels","type":"array"},"columns":{"description":"Observed column queries and MCP/CLI lookups. Unresolved wildcard reads have no column attribution.","items":{"$ref":"#/components/schemas/CatalogColumnUsage"},"title":"Columns","type":"array"},"connector_id":{"title":"Connector Id","type":"string"},"coverage":{"$ref":"#/components/schemas/CatalogUsageCoverage"},"daily":{"description":"One entry per day of the window, oldest first.","items":{"$ref":"#/components/schemas/CatalogUsageDay"},"title":"Daily","type":"array"},"last_queried_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Queried At"},"last_queried_by":{"anyOf":[{"$ref":"#/components/schemas/CatalogUsageActor"},{"type":"null"}]},"lookup_count":{"title":"Lookup Count","type":"integer"},"people_observed":{"title":"People Observed","type":"boolean"},"query_count":{"title":"Query Count","type":"integer"},"schema_name":{"title":"Schema Name","type":"string"},"since":{"format":"date","title":"Since","type":"string"},"table_name":{"title":"Table Name","type":"string"},"top_users":{"items":{"$ref":"#/components/schemas/CatalogUsageActor"},"title":"Top Users","type":"array"},"user_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Count"},"window_days":{"title":"Window Days","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","catalog_name","schema_name","table_name","window_days","since","people_observed","query_count","agent_query_count","lookup_count","channels","daily","top_users","columns","coverage"],"title":"CatalogTableUsageDetailResponse","type":"object"},"CatalogTableUsageSummary":{"properties":{"agent_query_count":{"description":"Queries an AI agent wrote: MCP, CLI or the Contrast data agent.","title":"Agent Query Count","type":"integer"},"catalog_name":{"title":"Catalog Name","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"last_queried_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Queried At"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"},"lookup_count":{"description":"Times an agent opened the table's catalog entry through MCP or the CLI.","title":"Lookup Count","type":"integer"},"popularity":{"description":"Share of used tables in the workspace with fewer queries (percentile rank).","maximum":1,"minimum":0,"title":"Popularity","type":"number"},"query_count":{"description":"Queries that read the table in the window.","title":"Query Count","type":"integer"},"schema_name":{"title":"Schema Name","type":"string"},"table_name":{"title":"Table Name","type":"string"},"user_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Distinct people and warehouse users. Null when people are not observed.","title":"User Count"}},"required":["connector_id","catalog_name","schema_name","table_name","query_count","agent_query_count","lookup_count","popularity"],"title":"CatalogTableUsageSummary","type":"object"},"CatalogUsageActor":{"properties":{"agent_query_count":{"default":0,"title":"Agent Query Count","type":"integer"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"kind":{"enum":["member","former_member","warehouse_user"],"title":"Kind","type":"string"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"},"lookup_count":{"default":0,"title":"Lookup Count","type":"integer"},"principal":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Warehouse user name when not linked to a member.","title":"Principal"},"query_count":{"default":0,"title":"Query Count","type":"integer"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"required":["kind"],"title":"CatalogUsageActor","type":"object"},"CatalogUsageChannelCount":{"properties":{"channel":{"enum":["app","mcp","cli","agent","api","automation","warehouse","other"],"title":"Channel","type":"string"},"lookup_count":{"title":"Lookup Count","type":"integer"},"query_count":{"title":"Query Count","type":"integer"}},"required":["channel","query_count","lookup_count"],"title":"CatalogUsageChannelCount","type":"object"},"CatalogUsageCoverage":{"description":"What the usage numbers can and cannot see.","properties":{"backfilling":{"default":false,"description":"True while the first pass over the retention window is still running.","title":"Backfilling","type":"boolean"},"last_refreshed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Refreshed At"},"observed_since":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Earliest day usage has been computed for. Null until the first refresh finishes.","title":"Observed Since"},"refresh_failed":{"default":false,"description":"The latest refresh failed; zero usage is inconclusive.","title":"Refresh Failed","type":"boolean"},"warehouse_history_connector_ids":{"description":"Sources whose own query history Contrast reads. Other sources only show queries run through Contrast, so a table there can be busy without appearing used.","items":{"type":"string"},"title":"Warehouse History Connector Ids","type":"array"}},"title":"CatalogUsageCoverage","type":"object"},"CatalogUsageDay":{"properties":{"agent_query_count":{"title":"Agent Query Count","type":"integer"},"date":{"format":"date","title":"Date","type":"string"},"lookup_count":{"title":"Lookup Count","type":"integer"},"query_count":{"title":"Query Count","type":"integer"}},"required":["date","query_count","agent_query_count","lookup_count"],"title":"CatalogUsageDay","type":"object"},"CatalogUsageTablesResponse":{"properties":{"coverage":{"$ref":"#/components/schemas/CatalogUsageCoverage"},"people_observed":{"description":"False when the workspace has turned persona observation off.","title":"People Observed","type":"boolean"},"since":{"format":"date","title":"Since","type":"string"},"tables":{"items":{"$ref":"#/components/schemas/CatalogTableUsageSummary"},"title":"Tables","type":"array"},"window_days":{"title":"Window Days","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","window_days","since","people_observed","coverage","tables"],"title":"CatalogUsageTablesResponse","type":"object"},"ChangeEventCreateRequest":{"properties":{"changed_paths":{"items":{"type":"string"},"maxItems":100,"title":"Changed Paths","type":"array"},"description":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"External Id"},"kind":{"enum":["deploy","dbt_run","airflow_run","custom"],"title":"Kind","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"occurred_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Occurred At"},"relation_hints":{"items":{"type":"string"},"maxItems":50,"title":"Relation Hints","type":"array"},"repo":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Repo"},"title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Title"},"url":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Url"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","kind"],"title":"ChangeEventCreateRequest","type":"object"},"ChangeRuleSimulateRequest":{"properties":{"lookback_days":{"default":30,"maximum":90,"minimum":1,"title":"Lookback Days","type":"integer"},"rule_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Rule Keys"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ChangeRuleSimulateRequest","type":"object"},"ChangeRuleUpdateRequest":{"properties":{"action":{"anyOf":[{"enum":["warn","block"],"type":"string"},{"type":"null"}],"title":"Action"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"params":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Params"},"scope":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Scope"},"severity_override":{"anyOf":[{"enum":["info","warning","critical"],"type":"string"},{"type":"null"}],"title":"Severity Override"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ChangeRuleUpdateRequest","type":"object"},"ChangeRuleViolationAttentionItem":{"properties":{"actor_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor User Id"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"change_rule_violation","default":"change_rule_violation","title":"Kind","type":"string"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"rule_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Key"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"subject_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Ref"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"ChangeRuleViolationAttentionItem","type":"object"},"ChangeValidationSettingsUpdateRequest":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"max_bytes_per_pr":{"anyOf":[{"maximum":1099511627776,"minimum":1048576,"type":"integer"},{"type":"null"}],"title":"Max Bytes Per Pr"},"slice_window_days":{"anyOf":[{"maximum":30,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Slice Window Days"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ChangeValidationSettingsUpdateRequest","type":"object"},"ChatAnswerResponse":{"properties":{"agent_trace":{"items":{"$ref":"#/components/schemas/AgentStepResponse"},"title":"Agent Trace","type":"array"},"cache":{"anyOf":[{"$ref":"#/components/schemas/QueryResultCacheMetadata"},{"type":"null"}]},"cache_provenance":{"anyOf":[{"$ref":"#/components/schemas/QueryCacheProvenance"},{"type":"null"}]},"context_reduced":{"default":false,"title":"Context Reduced","type":"boolean"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"execution_mode_resolved":{"anyOf":[{"enum":["run","return"],"type":"string"},{"type":"null"}],"title":"Execution Mode Resolved"},"kind":{"enum":["query_result","message_only","clarifying_question","telemetry_gap"],"title":"Kind","type":"string"},"latency_mode":{"default":"normal","enum":["normal","fast"],"title":"Latency Mode","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"query":{"anyOf":[{"$ref":"#/components/schemas/QueryResponse"},{"type":"null"}]},"telemetry_gap":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Telemetry Gap"},"used_queries":{"items":{"$ref":"#/components/schemas/UsedQueryResponse"},"title":"Used Queries","type":"array"}},"required":["kind"],"title":"ChatAnswerResponse","type":"object"},"ChatRunStatusResponse":{"properties":{"action_budget":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Budget"},"clarification_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clarification Question"},"completed_actions":{"default":0,"title":"Completed Actions","type":"integer"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"title":"Conversation Id","type":"string"},"current_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Action"},"dispatch_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispatch Status"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Error"},"intent_status":{"enum":["queued","parent_owned","starting","accepted","uncertain","completed","failed","cancelled"],"title":"Intent Status","type":"string"},"next_poll_after_ms":{"default":3000,"title":"Next Poll After Ms","type":"integer"},"orchestration_version":{"default":"v1","enum":["v1","v2"],"title":"Orchestration Version","type":"string"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"projection_version":{"default":0,"title":"Projection Version","type":"integer"},"run_id":{"title":"Run Id","type":"string"},"status":{"anyOf":[{"enum":["awaiting_approval","running","waiting","reauthorization_required","completed","failed","rejected","cancelled"],"type":"string"},{"type":"null"}],"title":"Status"},"temporal_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporal Run Id"},"temporal_workflow_id":{"title":"Temporal Workflow Id","type":"string"},"terminal":{"default":false,"title":"Terminal","type":"boolean"},"updated_at":{"title":"Updated At","type":"string"}},"required":["run_id","conversation_id","temporal_workflow_id","intent_status","updated_at"],"title":"ChatRunStatusResponse","type":"object"},"Check":{"additionalProperties":false,"properties":{"applicable":{"default":true,"title":"Applicable","type":"boolean"},"description":{"title":"Description","type":"string"},"kind":{"enum":["schema","cardinality","deduplication","filters","time","reconciliation"],"title":"Kind","type":"string"},"not_applicable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Not Applicable Reason"},"sql":{"title":"Sql","type":"string"}},"required":["kind","sql","description"],"title":"Check","type":"object"},"ClassificationBulkDecisionRequest":{"properties":{"action":{"enum":["accept","reject"],"title":"Action","type":"string"},"finding_ids":{"items":{"type":"string"},"minItems":1,"title":"Finding Ids","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","finding_ids","action"],"title":"ClassificationBulkDecisionRequest","type":"object"},"CloudChangedFile":{"properties":{"content_utf8":{"anyOf":[{"maxLength":262144,"type":"string"},{"type":"null"}],"title":"Content Utf8"},"path":{"maxLength":500,"minLength":1,"title":"Path","type":"string"},"sha256":{"pattern":"^[a-fA-F0-9]{64}$","title":"Sha256","type":"string"},"status":{"enum":["modified","added","deleted"],"title":"Status","type":"string"}},"required":["path","status","sha256"],"title":"CloudChangedFile","type":"object"},"CloudCliInfo":{"properties":{"platform":{"maxLength":120,"minLength":1,"title":"Platform","type":"string"},"version":{"maxLength":80,"minLength":1,"title":"Version","type":"string"}},"required":["version","platform"],"title":"CloudCliInfo","type":"object"},"CloudPipelineHandoffRequest":{"properties":{"changed_files":{"items":{"$ref":"#/components/schemas/CloudChangedFile"},"maxItems":100,"minItems":1,"title":"Changed Files","type":"array"},"cli":{"$ref":"#/components/schemas/CloudCliInfo"},"idempotency_key":{"maxLength":200,"minLength":8,"title":"Idempotency Key","type":"string"},"intent_context":{"maxLength":20000,"minLength":1,"title":"Intent Context","type":"string"},"local_review":{"additionalProperties":true,"title":"Local Review","type":"object"},"notify_slack":{"default":true,"title":"Notify Slack","type":"boolean"},"repository":{"$ref":"#/components/schemas/CloudRepositoryRef"},"snapshot_hash":{"pattern":"^[a-fA-F0-9]{64}$","title":"Snapshot Hash","type":"string"}},"required":["idempotency_key","repository","snapshot_hash","intent_context","changed_files","local_review","cli"],"title":"CloudPipelineHandoffRequest","type":"object"},"CloudPipelineHandoffResponse":{"properties":{"accepted_at":{"title":"Accepted At","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"handoff_id":{"title":"Handoff Id","type":"string"},"repository_project_id":{"title":"Repository Project Id","type":"string"},"run_id":{"title":"Run Id","type":"string"},"run_url":{"title":"Run Url","type":"string"},"snapshot_hash":{"title":"Snapshot Hash","type":"string"},"status":{"const":"accepted","default":"accepted","title":"Status","type":"string"}},"required":["handoff_id","run_id","run_url","accepted_at","repository_project_id","connector_id","snapshot_hash"],"title":"CloudPipelineHandoffResponse","type":"object"},"CloudPipelineOptimizationRequest":{"properties":{"idempotency_key":{"maxLength":200,"minLength":8,"title":"Idempotency Key","type":"string"},"workspace_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Workspace Id"}},"required":["idempotency_key"],"title":"CloudPipelineOptimizationRequest","type":"object"},"CloudPipelineOptimizationResponse":{"properties":{"run":{"$ref":"#/components/schemas/ToolRunResponse"},"run_url":{"title":"Run Url","type":"string"}},"required":["run","run_url"],"title":"CloudPipelineOptimizationResponse","type":"object"},"CloudPipelinePullRequestCreateRequest":{"properties":{"body":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Body"},"confirmation_token":{"maxLength":256,"minLength":20,"title":"Confirmation Token","type":"string"},"title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","confirmation_token"],"title":"CloudPipelinePullRequestCreateRequest","type":"object"},"CloudPipelinePullRequestPreviewRequest":{"properties":{"body":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Body"},"title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CloudPipelinePullRequestPreviewRequest","type":"object"},"CloudPipelinePullRequestPreviewResponse":{"properties":{"base_branch":{"title":"Base Branch","type":"string"},"body":{"title":"Body","type":"string"},"changed_files":{"items":{"type":"string"},"title":"Changed Files","type":"array"},"confirmation_token":{"title":"Confirmation Token","type":"string"},"expires_in":{"title":"Expires In","type":"integer"},"project_id":{"title":"Project Id","type":"string"},"ready":{"title":"Ready","type":"boolean"},"repository":{"title":"Repository","type":"string"},"run_id":{"title":"Run Id","type":"string"},"title":{"title":"Title","type":"string"},"validation_fresh":{"title":"Validation Fresh","type":"boolean"}},"required":["run_id","project_id","repository","base_branch","title","body","changed_files","validation_fresh","ready","confirmation_token","expires_in"],"title":"CloudPipelinePullRequestPreviewResponse","type":"object"},"CloudRepositoryRef":{"properties":{"base_ref":{"default":"origin/main","maxLength":300,"minLength":1,"title":"Base Ref","type":"string"},"base_sha":{"pattern":"^[a-fA-F0-9]{40}$","title":"Base Sha","type":"string"},"dbt_root":{"default":"","maxLength":500,"title":"Dbt Root","type":"string"},"head_sha":{"anyOf":[{"pattern":"^[a-fA-F0-9]{40}$","type":"string"},{"type":"null"}],"title":"Head Sha"},"name":{"maxLength":200,"minLength":1,"title":"Name","type":"string"},"owner":{"maxLength":200,"minLength":1,"title":"Owner","type":"string"},"provider":{"const":"github","default":"github","title":"Provider","type":"string"}},"required":["owner","name","base_sha"],"title":"CloudRepositoryRef","type":"object"},"CloudSqlCompleteRequest":{"properties":{"preparation_id":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Preparation Id"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CloudSqlCompleteRequest","type":"object"},"CloudSqlCompleteResponse":{"properties":{"catalog_sync":{"enum":["queued","error"],"title":"Catalog Sync","type":"string"},"catalog_sync_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Sync Job Id"},"connector_id":{"format":"uuid","title":"Connector Id","type":"string"},"ingestion_engine":{"default":"worker_batch","enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"title":"Ingestion Engine","type":"string"},"network_mode":{"default":"public","enum":["public","ssh"],"title":"Network Mode","type":"string"},"reused":{"title":"Reused","type":"boolean"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"status":{"const":"connected","title":"Status","type":"string"},"sync_mode":{"anyOf":[{"enum":["scheduled","continuous"],"type":"string"},{"type":"null"}],"title":"Sync Mode"}},"required":["connector_id","status","reused","catalog_sync"],"title":"CloudSqlCompleteResponse","type":"object"},"CloudSqlDatabaseResponse":{"properties":{"name":{"title":"Name","type":"string"}},"required":["name"],"title":"CloudSqlDatabaseResponse","type":"object"},"CloudSqlDatabasesResponse":{"properties":{"databases":{"items":{"$ref":"#/components/schemas/CloudSqlDatabaseResponse"},"title":"Databases","type":"array"}},"required":["databases"],"title":"CloudSqlDatabasesResponse","type":"object"},"CloudSqlInstanceIssue":{"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"CloudSqlInstanceIssue","type":"object"},"CloudSqlInstanceResponse":{"properties":{"blocking_reasons":{"items":{"$ref":"#/components/schemas/CloudSqlInstanceIssue"},"title":"Blocking Reasons","type":"array"},"cdc_blocking_reasons":{"items":{"$ref":"#/components/schemas/CloudSqlInstanceIssue"},"title":"Cdc Blocking Reasons","type":"array"},"connection_name":{"title":"Connection Name","type":"string"},"continuous_available":{"title":"Continuous Available","type":"boolean"},"database_version":{"title":"Database Version","type":"string"},"display_name":{"title":"Display Name","type":"string"},"egress_allowlisted":{"title":"Egress Allowlisted","type":"boolean"},"egress_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Egress Ip"},"google_database_user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Google Database User"},"iam_authentication_enabled":{"default":false,"title":"Iam Authentication Enabled","type":"boolean"},"iam_available":{"default":false,"title":"Iam Available","type":"boolean"},"iam_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iam Unavailable Reason"},"links":{"additionalProperties":{"type":"string"},"title":"Links","type":"object"},"logical_decoding_enabled":{"title":"Logical Decoding Enabled","type":"boolean"},"name":{"title":"Name","type":"string"},"postgres_major_version":{"title":"Postgres Major Version","type":"integer"},"private_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Ip"},"private_ip_only":{"title":"Private Ip Only","type":"boolean"},"public_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Ip"},"region":{"title":"Region","type":"string"},"scheduled_available":{"title":"Scheduled Available","type":"boolean"},"ssh_blocking_reasons":{"items":{"$ref":"#/components/schemas/CloudSqlInstanceIssue"},"title":"Ssh Blocking Reasons","type":"array"},"ssh_cdc_blocking_reasons":{"items":{"$ref":"#/components/schemas/CloudSqlInstanceIssue"},"title":"Ssh Cdc Blocking Reasons","type":"array"},"ssh_continuous_available":{"default":false,"title":"Ssh Continuous Available","type":"boolean"},"ssh_scheduled_available":{"default":false,"title":"Ssh Scheduled Available","type":"boolean"},"ssl_mode":{"title":"Ssl Mode","type":"string"},"state":{"title":"State","type":"string"}},"required":["name","display_name","state","database_version","postgres_major_version","region","connection_name","private_ip_only","ssl_mode","egress_allowlisted","logical_decoding_enabled","scheduled_available","continuous_available","blocking_reasons","cdc_blocking_reasons","links"],"title":"CloudSqlInstanceResponse","type":"object"},"CloudSqlInstancesResponse":{"properties":{"instances":{"items":{"$ref":"#/components/schemas/CloudSqlInstanceResponse"},"title":"Instances","type":"array"}},"required":["instances"],"title":"CloudSqlInstancesResponse","type":"object"},"CloudSqlPrepareRequest":{"properties":{"credential_mode":{"default":"generated","enum":["generated","existing","google_iam"],"title":"Credential Mode","type":"string"},"database":{"maxLength":63,"minLength":1,"title":"Database","type":"string"},"database_password":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Database Password"},"database_user":{"anyOf":[{"maxLength":63,"type":"string"},{"type":"null"}],"title":"Database User"},"ingestion_engine":{"anyOf":[{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"type":"string"},{"type":"null"}],"title":"Ingestion Engine"},"instance":{"maxLength":98,"minLength":1,"title":"Instance","type":"string"},"network_mode":{"default":"public","enum":["public","ssh"],"title":"Network Mode","type":"string"},"schemas":{"items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Schemas","type":"array"},"ssh_host":{"anyOf":[{"maxLength":253,"type":"string"},{"type":"null"}],"title":"Ssh Host"},"ssh_host_key_fingerprint":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Ssh Host Key Fingerprint"},"ssh_port":{"default":22,"maximum":65535,"minimum":1,"title":"Ssh Port","type":"integer"},"ssh_private_key":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Ssh Private Key"},"ssh_private_key_passphrase":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Ssh Private Key Passphrase"},"ssh_username":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Ssh Username"},"sync_mode":{"enum":["scheduled","continuous"],"title":"Sync Mode","type":"string"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id","instance","database","schemas","sync_mode"],"title":"CloudSqlPrepareRequest","type":"object"},"CloudSqlPreparedResponse":{"properties":{"checks":{"additionalProperties":true,"title":"Checks","type":"object"},"database_role":{"title":"Database Role","type":"string"},"ingestion_engine":{"default":"worker_batch","enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"title":"Ingestion Engine","type":"string"},"links":{"additionalProperties":{"type":"string"},"title":"Links","type":"object"},"network_mode":{"default":"public","enum":["public","ssh"],"title":"Network Mode","type":"string"},"onboarding_id":{"format":"uuid","title":"Onboarding Id","type":"string"},"preparation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preparation Id"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"setup_sql":{"title":"Setup Sql","type":"string"},"status":{"const":"prepared","title":"Status","type":"string"},"sync_mode":{"enum":["scheduled","continuous"],"title":"Sync Mode","type":"string"}},"required":["onboarding_id","status","setup_sql","database_role","sync_mode","schemas","links","checks"],"title":"CloudSqlPreparedResponse","type":"object"},"CloudSqlSelectionResponse":{"properties":{"credential_mode":{"default":"generated","enum":["generated","existing","google_iam"],"title":"Credential Mode","type":"string"},"database":{"title":"Database","type":"string"},"ingestion_engine":{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"title":"Ingestion Engine","type":"string"},"instance":{"title":"Instance","type":"string"},"network_mode":{"default":"public","enum":["public","ssh"],"title":"Network Mode","type":"string"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"sync_mode":{"enum":["scheduled","continuous"],"title":"Sync Mode","type":"string"}},"required":["instance","database","schemas","sync_mode","ingestion_engine"],"title":"CloudSqlSelectionResponse","type":"object"},"CloudSqlSessionResponse":{"properties":{"connector_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Connector Id"},"onboarding_id":{"format":"uuid","title":"Onboarding Id","type":"string"},"preparation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preparation Id"},"prepared":{"anyOf":[{"$ref":"#/components/schemas/CloudSqlPreparedResponse"},{"type":"null"}]},"selection":{"anyOf":[{"$ref":"#/components/schemas/CloudSqlSelectionResponse"},{"type":"null"}]},"status":{"enum":["selecting","prepared","completed"],"title":"Status","type":"string"}},"required":["onboarding_id","status"],"title":"CloudSqlSessionResponse","type":"object"},"CloudSqlStartRequest":{"properties":{"google_iam":{"default":false,"title":"Google Iam","type":"boolean"},"name":{"default":"Google Cloud SQL","maxLength":160,"minLength":1,"title":"Name","type":"string"},"project_id":{"maxLength":63,"minLength":1,"title":"Project Id","type":"string"},"return_to":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Return To"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["workspace_id","project_id"],"title":"CloudSqlStartRequest","type":"object"},"CloudSqlStartResponse":{"properties":{"authorization_url":{"title":"Authorization Url","type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"flow_binding":{"title":"Flow Binding","type":"string"},"onboarding_id":{"format":"uuid","title":"Onboarding Id","type":"string"}},"required":["onboarding_id","authorization_url","flow_binding"],"title":"CloudSqlStartResponse","type":"object"},"CohortBehavioralRule":{"additionalProperties":false,"properties":{"count":{"default":1,"maximum":1000000,"minimum":0,"title":"Count","type":"integer"},"event":{"maxLength":512,"minLength":1,"title":"Event","type":"string"},"negation":{"default":false,"title":"Negation","type":"boolean"},"operator":{"default":"gte","enum":["gte","gt","exact","lte","lt"],"title":"Operator","type":"string"},"properties":{"items":{"$ref":"#/components/schemas/PropertyFilter"},"maxItems":10,"title":"Properties","type":"array"},"time_interval":{"default":"day","enum":["day","week"],"title":"Time Interval","type":"string"},"time_value":{"default":30,"maximum":366,"minimum":1,"title":"Time Value","type":"integer"},"type":{"const":"behavioral","default":"behavioral","title":"Type","type":"string"}},"required":["event"],"title":"CohortBehavioralRule","type":"object"},"CohortCreateRequest":{"additionalProperties":false,"properties":{"description":{"default":"","maxLength":1000,"title":"Description","type":"string"},"environment":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"},"filters":{"$ref":"#/components/schemas/CohortFilters-Input"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"project_id":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},"required":["project_id","environment","name","filters"],"title":"CohortCreateRequest","type":"object"},"CohortFilters-Input":{"additionalProperties":false,"properties":{"properties":{"$ref":"#/components/schemas/CohortGroup-Input"}},"required":["properties"],"title":"CohortFilters","type":"object"},"CohortFilters-Output":{"additionalProperties":false,"properties":{"properties":{"$ref":"#/components/schemas/CohortGroup-Output"}},"required":["properties"],"title":"CohortFilters","type":"object"},"CohortGroup-Input":{"additionalProperties":false,"properties":{"type":{"default":"AND","enum":["AND","OR"],"title":"Type","type":"string"},"values":{"items":{"anyOf":[{"$ref":"#/components/schemas/CohortBehavioralRule"},{"$ref":"#/components/schemas/CohortPersonRule"},{"$ref":"#/components/schemas/CohortGroup-Input"}]},"maxItems":20,"minItems":1,"title":"Values","type":"array"}},"required":["values"],"title":"CohortGroup","type":"object"},"CohortGroup-Output":{"additionalProperties":false,"properties":{"type":{"default":"AND","enum":["AND","OR"],"title":"Type","type":"string"},"values":{"items":{"anyOf":[{"$ref":"#/components/schemas/CohortBehavioralRule"},{"$ref":"#/components/schemas/CohortPersonRule"},{"$ref":"#/components/schemas/CohortGroup-Output"}]},"maxItems":20,"minItems":1,"title":"Values","type":"array"}},"required":["values"],"title":"CohortGroup","type":"object"},"CohortListResponse":{"properties":{"count":{"title":"Count","type":"integer"},"results":{"items":{"$ref":"#/components/schemas/CohortResponse"},"title":"Results","type":"array"}},"required":["results","count"],"title":"CohortListResponse","type":"object"},"CohortPersonRule":{"additionalProperties":false,"properties":{"key":{"maxLength":256,"minLength":1,"title":"Key","type":"string"},"operator":{"default":"exact","enum":["exact","is_not","icontains","not_icontains","gt","gte","lt","lte","is_set","is_not_set"],"title":"Operator","type":"string"},"type":{"const":"person","default":"person","title":"Type","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Value"},"value_type":{"default":"string","enum":["string","number","boolean"],"title":"Value Type","type":"string"}},"required":["key"],"title":"CohortPersonRule","type":"object"},"CohortPreviewRequest":{"additionalProperties":false,"properties":{"environment":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"},"evaluated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Evaluated At"},"filters":{"$ref":"#/components/schemas/CohortFilters-Input"},"limit":{"default":50,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"},"offset":{"default":0,"maximum":100000,"minimum":0,"title":"Offset","type":"integer"},"project_id":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},"required":["project_id","environment","filters"],"title":"CohortPreviewRequest","type":"object"},"CohortPreviewResponse":{"properties":{"evaluated_at":{"format":"date-time","title":"Evaluated At","type":"string"},"query":{"$ref":"#/components/schemas/WarehouseQueryResponse"}},"required":["query","evaluated_at"],"title":"CohortPreviewResponse","type":"object"},"CohortResponse":{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"created_by":{"format":"uuid","title":"Created By","type":"string"},"description":{"default":"","maxLength":1000,"title":"Description","type":"string"},"environment":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"},"filters":{"$ref":"#/components/schemas/CohortFilters-Output"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"project_id":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["project_id","environment","name","filters","id","workspace_id","created_by","created_at","updated_at"],"title":"CohortResponse","type":"object"},"CohortScopeSummary":{"properties":{"count":{"title":"Count","type":"integer"},"environment":{"title":"Environment","type":"string"},"project_id":{"title":"Project Id","type":"string"}},"required":["project_id","environment","count"],"title":"CohortScopeSummary","type":"object"},"CohortScopesResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CohortScopeSummary"},"title":"Results","type":"array"}},"required":["results"],"title":"CohortScopesResponse","type":"object"},"CohortUpdateRequest":{"additionalProperties":false,"properties":{"description":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Description"},"filters":{"anyOf":[{"$ref":"#/components/schemas/CohortFilters-Input"},{"type":"null"}]},"name":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"}},"title":"CohortUpdateRequest","type":"object"},"ColumnAnnotationItem":{"properties":{"column_name":{"minLength":1,"title":"Column Name","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"do_not_use":{"default":false,"title":"Do Not Use","type":"boolean"},"do_not_use_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Do Not Use Reason"},"enum_values":{"items":{"type":"string"},"title":"Enum Values","type":"array"},"example_values":{"items":{"type":"string"},"title":"Example Values","type":"array"},"semantic_role":{"anyOf":[{"enum":["id","foreign_key","measure","dimension","timestamp","pii","flag","enum"],"type":"string"},{"type":"null"}],"title":"Semantic Role"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"verified":{"default":false,"title":"Verified","type":"boolean"}},"required":["column_name"],"title":"ColumnAnnotationItem","type":"object"},"ColumnAnnotationUpsertRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"columns":{"items":{"$ref":"#/components/schemas/ColumnAnnotationItem"},"title":"Columns","type":"array"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"table_name":{"minLength":1,"title":"Table Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","schema_name","table_name","columns"],"title":"ColumnAnnotationUpsertRequest","type":"object"},"ColumnProfileRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"column_name":{"minLength":1,"title":"Column Name","type":"string"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"data_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Type"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"table_name":{"minLength":1,"title":"Table Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","schema_name","table_name","column_name"],"title":"ColumnProfileRequest","type":"object"},"ColumnProfileResponse":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"column_name":{"title":"Column Name","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"distinct_approximate":{"default":false,"title":"Distinct Approximate","type":"boolean"},"distinct_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distinct Count"},"governance_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Governance Status"},"max_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Value"},"min_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Value"},"non_null_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Non Null Count"},"null_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Null Count"},"null_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Null Rate"},"profiled_at":{"title":"Profiled At","type":"string"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"sample_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sample Limit"},"schema_name":{"title":"Schema Name","type":"string"},"scope":{"enum":["table","sample"],"title":"Scope","type":"string"},"table_name":{"title":"Table Name","type":"string"},"top_values":{"items":{"$ref":"#/components/schemas/ColumnProfileTopValue"},"title":"Top Values","type":"array"},"top_values_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Top Values Error"},"values_hidden":{"default":false,"title":"Values Hidden","type":"boolean"}},"required":["connector_id","schema_name","table_name","column_name","scope","profiled_at"],"title":"ColumnProfileResponse","type":"object"},"ColumnProfileTopValue":{"properties":{"count":{"title":"Count","type":"integer"},"value":{"title":"Value","type":"string"}},"required":["value","count"],"title":"ColumnProfileTopValue","type":"object"},"ConfirmTableOwnershipClaimRequest":{"properties":{"owner_user_id":{"minLength":1,"title":"Owner User Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","owner_user_id"],"title":"ConfirmTableOwnershipClaimRequest","type":"object"},"ConnectorAgentAvailabilityRequest":{"properties":{"paused":{"title":"Paused","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","paused"],"title":"ConnectorAgentAvailabilityRequest","type":"object"},"ConnectorAutonomousRunIdentityRequest":{"properties":{"autonomous_run_identity":{"enum":["user_scoped","workspace_shared","owner_credential"],"title":"Autonomous Run Identity","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","autonomous_run_identity"],"title":"ConnectorAutonomousRunIdentityRequest","type":"object"},"ConnectorCapabilityCheckRequest":{"properties":{"include_columns":{"default":true,"title":"Include Columns","type":"boolean"},"objects":{"items":{"$ref":"#/components/schemas/ConnectorCapabilityObjectRequest"},"maxItems":50,"minItems":1,"title":"Objects","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","objects"],"title":"ConnectorCapabilityCheckRequest","type":"object"},"ConnectorCapabilityCheckResponse":{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/ConnectorObjectCapabilityResponse"},"title":"Capabilities","type":"array"},"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"title":"Connector Kind","type":"string"},"credential_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credential Scope"}},"required":["connector_id","connector_kind"],"title":"ConnectorCapabilityCheckResponse","type":"object"},"ConnectorCapabilityEvidenceResponse":{"properties":{"error_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Type"},"observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed At"},"outcome":{"enum":["confirmed","denied","unknown"],"title":"Outcome","type":"string"},"probe":{"title":"Probe","type":"string"},"source":{"title":"Source","type":"string"},"source_query_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Query Id"}},"required":["probe","outcome","source"],"title":"ConnectorCapabilityEvidenceResponse","type":"object"},"ConnectorCapabilityObjectRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"columns":{"items":{"type":"string"},"maxItems":100,"title":"Columns","type":"array"},"identifiers_quoted":{"default":false,"title":"Identifiers Quoted","type":"boolean"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"table_name":{"minLength":1,"title":"Table Name","type":"string"}},"required":["schema_name","table_name"],"title":"ConnectorCapabilityObjectRequest","type":"object"},"ConnectorCostEnrichmentConfigRequest":{"properties":{"config":{"additionalProperties":true,"title":"Config","type":"object"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorCostEnrichmentConfigRequest","type":"object"},"ConnectorCostEnrichmentConfigResponse":{"properties":{"connector_id":{"title":"Connector Id","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"next_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Run At"},"pause_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pause Reason"},"status":{"title":"Status","type":"string"}},"required":["connector_id","enabled","status"],"title":"ConnectorCostEnrichmentConfigResponse","type":"object"},"ConnectorCostEnrichmentTriggerRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorCostEnrichmentTriggerRequest","type":"object"},"ConnectorCostEnrichmentTriggerResponse":{"properties":{"accepted":{"default":true,"title":"Accepted","type":"boolean"},"connector_id":{"title":"Connector Id","type":"string"},"workflow_id":{"title":"Workflow Id","type":"string"}},"required":["connector_id","workflow_id"],"title":"ConnectorCostEnrichmentTriggerResponse","type":"object"},"ConnectorCredentialModeRequest":{"properties":{"credential_mode":{"enum":["user_required","user_preferred","workspace_shared"],"title":"Credential Mode","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","credential_mode"],"title":"ConnectorCredentialModeRequest","type":"object"},"ConnectorDatabricksAccountDetectionRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorDatabricksAccountDetectionRequest","type":"object"},"ConnectorDatabricksAccountDetectionResponse":{"properties":{"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"connector_id":{"title":"Connector Id","type":"string"},"detected":{"title":"Detected","type":"boolean"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"status":{"enum":["detected","unavailable"],"title":"Status","type":"string"}},"required":["connector_id","detected","status"],"title":"ConnectorDatabricksAccountDetectionResponse","type":"object"},"ConnectorDeleteResponse":{"properties":{"cleanup_counts":{"additionalProperties":{"type":"integer"},"title":"Cleanup Counts","type":"object"},"connector_id":{"title":"Connector Id","type":"string"},"deleted":{"title":"Deleted","type":"boolean"},"ok":{"title":"Ok","type":"boolean"},"removed":{"default":false,"title":"Removed","type":"boolean"},"retryable":{"default":false,"title":"Retryable","type":"boolean"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"required":["ok","connector_id","deleted"],"title":"ConnectorDeleteResponse","type":"object"},"ConnectorIdentityFederationRequest":{"properties":{"account_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Account Id"},"broker_client_id":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Broker Client Id"},"broker_configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Broker Configuration"},"broker_endpoint":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Broker Endpoint"},"customer_issuer":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Customer Issuer"},"issuer_mode":{"default":"managed","enum":["managed","customer_controlled"],"title":"Issuer Mode","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorIdentityFederationRequest","type":"object"},"ConnectorIdentityFederationResponse":{"properties":{"configured":{"title":"Configured","type":"boolean"},"connector_id":{"title":"Connector Id","type":"string"},"detected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detected Account Id"},"detected_account_id_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detected Account Id Source"},"federation":{"anyOf":[{"$ref":"#/components/schemas/IdentityFederationConfig"},{"type":"null"}]},"integration_exists":{"title":"Integration Exists","type":"boolean"}},"required":["connector_id","configured","integration_exists"],"title":"ConnectorIdentityFederationResponse","type":"object"},"ConnectorIdentityFederationSetupResponse":{"properties":{"connector_id":{"title":"Connector Id","type":"string"},"ddl":{"$ref":"#/components/schemas/IdentityFederationDdlResult"},"federation":{"$ref":"#/components/schemas/IdentityFederationConfig"},"integration_name":{"default":"","title":"Integration Name","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["connector_id","ok","federation","ddl"],"title":"ConnectorIdentityFederationSetupResponse","type":"object"},"ConnectorIdentityFederationVerifyResponse":{"properties":{"current_user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current User"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"ok":{"title":"Ok","type":"boolean"},"principal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal"}},"required":["ok"],"title":"ConnectorIdentityFederationVerifyResponse","type":"object"},"ConnectorKeypairSetupRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorKeypairSetupRequest","type":"object"},"ConnectorKeypairSetupResponse":{"properties":{"public_key_pem":{"title":"Public Key Pem","type":"string"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"setup_sql":{"title":"Setup Sql","type":"string"},"user":{"title":"User","type":"string"}},"required":["public_key_pem","setup_sql","user"],"title":"ConnectorKeypairSetupResponse","type":"object"},"ConnectorKindCapabilitiesResponse":{"description":"Kind-level capabilities derived from the components an adapter installs.\n\nDeliberately distinct from the per-connector runtime capability probe\n(``POST /v1/connectors/{id}/capabilities/check``): this answers \"what can\nthis connector kind ever do\", not \"what can this connection do right now\".","properties":{"catalog_active_ontology":{"title":"Catalog Active Ontology","type":"boolean"},"catalog_identity":{"title":"Catalog Identity","type":"boolean"},"catalog_metadata":{"title":"Catalog Metadata","type":"boolean"},"catalog_projection":{"title":"Catalog Projection","type":"boolean"},"catalog_relationships":{"title":"Catalog Relationships","type":"boolean"},"catalog_sync":{"title":"Catalog Sync","type":"boolean"},"kind":{"title":"Kind","type":"string"},"label":{"title":"Label","type":"string"},"lineage_acquisition":{"items":{"type":"string"},"title":"Lineage Acquisition","type":"array"},"metadata_only":{"title":"Metadata Only","type":"boolean"},"query":{"title":"Query","type":"boolean"},"query_cancellation":{"title":"Query Cancellation","type":"boolean"},"sampling":{"title":"Sampling","type":"boolean"},"table_scout":{"title":"Table Scout","type":"boolean"},"verification":{"title":"Verification","type":"boolean"}},"required":["kind","label","catalog_sync","catalog_metadata","catalog_projection","catalog_relationships","catalog_active_ontology","verification","query","query_cancellation","sampling","table_scout","catalog_identity","metadata_only"],"title":"ConnectorKindCapabilitiesResponse","type":"object"},"ConnectorKindsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConnectorKindCapabilitiesResponse"},"title":"Items","type":"array"}},"required":["items"],"title":"ConnectorKindsResponse","type":"object"},"ConnectorObjectCapabilityResponse":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"checked_at":{"title":"Checked At","type":"string"},"column_capabilities":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Column Capabilities"},"data_selectable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Data Selectable"},"discoverable":{"title":"Discoverable","type":"boolean"},"evidence":{"items":{"$ref":"#/components/schemas/ConnectorCapabilityEvidenceResponse"},"title":"Evidence","type":"array"},"expires_at":{"title":"Expires At","type":"string"},"hidden":{"title":"Hidden","type":"boolean"},"metadata_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Metadata Visible"},"queryable":{"title":"Queryable","type":"boolean"},"schema_name":{"title":"Schema Name","type":"string"},"source_principal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Principal"},"source_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Role"},"state":{"enum":["hidden","discoverable","queryable"],"title":"State","type":"string"},"table_name":{"title":"Table Name","type":"string"}},"required":["schema_name","table_name","state","hidden","discoverable","queryable","checked_at","expires_at"],"title":"ConnectorObjectCapabilityResponse","type":"object"},"ConnectorSummaryResponse":{"properties":{"agent_paused":{"default":false,"title":"Agent Paused","type":"boolean"},"agent_paused_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Paused At"},"agent_paused_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Paused By"},"archived_metadata":{"additionalProperties":true,"title":"Archived Metadata","type":"object"},"autonomous_run_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Autonomous Run Identity"},"connector_usage":{"default":"context","enum":["context","warehouse_ingestion"],"title":"Connector Usage","type":"string"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"is_removed":{"default":false,"title":"Is Removed","type":"boolean"},"kind":{"title":"Kind","type":"string"},"kind_capabilities":{"anyOf":[{"$ref":"#/components/schemas/ConnectorKindCapabilitiesResponse"},{"type":"null"}]},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync At"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"name":{"title":"Name","type":"string"},"removal_completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removal Completed At"},"removal_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removal Error"},"removal_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removal Reason"},"removal_started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removal Started At"},"removal_status":{"default":"active","title":"Removal Status","type":"string"},"removed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removed At"},"removed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removed By"},"status":{"title":"Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","kind","status","created_at"],"title":"ConnectorSummaryResponse","type":"object"},"ConnectorUpdateRequest":{"properties":{"name":{"maxLength":160,"minLength":1,"title":"Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"ConnectorUpdateRequest","type":"object"},"ConnectorUserOAuthIntegrationRequest":{"properties":{"client_id":{"maxLength":500,"minLength":1,"title":"Client Id","type":"string"},"client_secret":{"anyOf":[{"maxLength":4000,"type":"string"},{"type":"null"}],"title":"Client Secret"},"scopes":{"items":{"type":"string"},"maxItems":20,"title":"Scopes","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","client_id"],"title":"ConnectorUserOAuthIntegrationRequest","type":"object"},"ConnectorUserOAuthRevokeRequest":{"properties":{"user_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorUserOAuthRevokeRequest","type":"object"},"ConnectorUserOAuthStartRequest":{"properties":{"return_to":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"default":"/chat","title":"Return To"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ConnectorUserOAuthStartRequest","type":"object"},"ConnectorVerificationResponse":{"properties":{"available_scopes":{"items":{"additionalProperties":true,"type":"object"},"title":"Available Scopes","type":"array"},"connection_mode":{"title":"Connection Mode","type":"string"},"connector_kind":{"title":"Connector Kind","type":"string"},"credential_project_ref":{"title":"Credential Project Ref","type":"string"},"current_database":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Database"},"current_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Role"},"current_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Schema"},"databricks_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Account Id"},"databricks_account_id_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Databricks Account Id Source"},"ok":{"title":"Ok","type":"boolean"},"project_ref":{"title":"Project Ref","type":"string"},"target_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Ref"}},"required":["ok","connector_kind","project_ref","credential_project_ref","connection_mode"],"title":"ConnectorVerificationResponse","type":"object"},"ConsentRule":{"additionalProperties":false,"description":"Declared consent predicate for agents and checks; not an execution result.","properties":{"allowed_value":{"maxLength":200,"minLength":1,"title":"Allowed Value","type":"string"},"current_record":{"maxLength":1000,"minLength":1,"title":"Current Record","type":"string"},"expires_at_column":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"title":"Expires At Column"},"missing_consent":{"const":"deny","default":"deny","title":"Missing Consent","type":"string"},"permitted_use":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Permitted Use"},"purpose_column":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"title":"Purpose Column"},"purpose_value":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Purpose Value"},"source_object_id":{"format":"uuid","title":"Source Object Id","type":"string"},"status_column":{"maxLength":255,"minLength":1,"title":"Status Column","type":"string"},"subject_column":{"maxLength":255,"minLength":1,"title":"Subject Column","type":"string"}},"required":["source_object_id","subject_column","status_column","allowed_value","current_record"],"title":"ConsentRule","type":"object"},"ContextAssertionBulkActionRequest":{"properties":{"action":{"enum":["apply","dismiss"],"title":"Action","type":"string"},"assertion_ids":{"items":{"type":"string"},"maxItems":50,"minItems":1,"title":"Assertion Ids","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","assertion_ids","action"],"title":"ContextAssertionBulkActionRequest","type":"object"},"ContextAssertionBulkActionResponse":{"properties":{"applied":{"default":0,"title":"Applied","type":"integer"},"dismissed":{"default":0,"title":"Dismissed","type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"failed":{"default":0,"title":"Failed","type":"integer"},"results":{"items":{"$ref":"#/components/schemas/ContextAssertionBulkActionResult"},"title":"Results","type":"array"}},"title":"ContextAssertionBulkActionResponse","type":"object"},"ContextAssertionBulkActionResult":{"properties":{"applied_edge_ids":{"items":{"type":"string"},"title":"Applied Edge Ids","type":"array"},"applied_object_ids":{"items":{"type":"string"},"title":"Applied Object Ids","type":"array"},"applied_observation_ids":{"items":{"type":"string"},"title":"Applied Observation Ids","type":"array"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"id":{"title":"Id","type":"string"},"ok":{"title":"Ok","type":"boolean"},"write_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Write Id"},"write_trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Write Trace Id"}},"required":["id","ok"],"title":"ContextAssertionBulkActionResult","type":"object"},"ContextAssertionInput":{"properties":{"assertion_type":{"maxLength":120,"minLength":1,"title":"Assertion Type","type":"string"},"confidence":{"default":0,"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"object_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Object Stable Key"},"proposed_payload":{"additionalProperties":true,"title":"Proposed Payload","type":"object"},"rationale":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"title":"Rationale"},"stable_key":{"maxLength":1000,"minLength":1,"title":"Stable Key","type":"string"},"subject_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Subject Stable Key"}},"required":["stable_key","assertion_type"],"title":"ContextAssertionInput","type":"object"},"ContextAssertionReconcileRequest":{"properties":{"dry_run":{"default":false,"title":"Dry Run","type":"boolean"},"limit":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextAssertionReconcileRequest","type":"object"},"ContextAssertionReconcileResponse":{"properties":{"applied":{"default":0,"title":"Applied","type":"integer"},"dry_run":{"default":false,"title":"Dry Run","type":"boolean"},"eligible":{"default":0,"title":"Eligible","type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"failed":{"default":0,"title":"Failed","type":"integer"},"results":{"items":{"$ref":"#/components/schemas/ContextAssertionReconcileResult"},"title":"Results","type":"array"},"scanned":{"default":0,"title":"Scanned","type":"integer"},"skipped":{"default":0,"title":"Skipped","type":"integer"}},"title":"ContextAssertionReconcileResponse","type":"object"},"ContextAssertionReconcileResult":{"properties":{"apply_result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Apply Result"},"change_classes":{"items":{"type":"string"},"title":"Change Classes","type":"array"},"eligible":{"title":"Eligible","type":"boolean"},"id":{"title":"Id","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"status":{"title":"Status","type":"string"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threshold"}},"required":["id","eligible","status"],"title":"ContextAssertionReconcileResult","type":"object"},"ContextCoverageSummaryResponse":{"properties":{"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"edge_count":{"default":0,"title":"Edge Count","type":"integer"},"evidence_count":{"default":0,"title":"Evidence Count","type":"integer"},"join_plan_count":{"default":0,"title":"Join Plan Count","type":"integer"},"object_count":{"default":0,"title":"Object Count","type":"integer"},"observation_count":{"default":0,"title":"Observation Count","type":"integer"},"path_count":{"default":0,"title":"Path Count","type":"integer"},"truncated":{"default":false,"title":"Truncated","type":"boolean"},"unresolved_refs":{"items":{"type":"string"},"title":"Unresolved Refs","type":"array"}},"title":"ContextCoverageSummaryResponse","type":"object"},"ContextDeleteResponse":{"properties":{"cleared":{"additionalProperties":{"type":"integer"},"title":"Cleared","type":"object"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","message"],"title":"ContextDeleteResponse","type":"object"},"ContextDocumentInput":{"properties":{"content":{"maxLength":200000,"minLength":1,"title":"Content","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Stable Key"},"title":{"maxLength":500,"minLength":1,"title":"Title","type":"string"}},"required":["title","content"],"title":"ContextDocumentInput","type":"object"},"ContextEdgeInput":{"properties":{"confidence":{"default":1,"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"edge_family":{"anyOf":[{"enum":["structural","semantic","taxonomy","analytical","evidence_trust","governance","lineage"],"type":"string"},{"type":"null"}],"title":"Edge Family"},"label":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Label"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"rationale":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"title":"Rationale"},"relationship":{"maxLength":120,"minLength":1,"title":"Relationship","type":"string"},"source_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Object Id"},"source_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Source Stable Key"},"target_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Object Id"},"target_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Target Stable Key"},"truth_kind":{"anyOf":[{"enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"type":"string"},{"type":"null"}],"title":"Truth Kind"},"verification_status":{"default":"observed","enum":["verified","observed","inferred","stale","retracted"],"title":"Verification Status","type":"string"}},"required":["relationship"],"title":"ContextEdgeInput","type":"object"},"ContextEvidenceLinkResponse":{"properties":{"assertion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assertion Id"},"confidence":{"default":1,"title":"Confidence","type":"number"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"evidence_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Object Id"},"id":{"title":"Id","type":"string"},"link_type":{"default":"supports","title":"Link Type","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"},"observation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observation Id"},"path_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path Id"},"write_trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Write Trace Id"}},"required":["id"],"title":"ContextEvidenceLinkResponse","type":"object"},"ContextEvidenceResponse":{"properties":{"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"authority_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authority Score"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"evidence_type":{"default":"context_object","title":"Evidence Type","type":"string"},"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["id"],"title":"ContextEvidenceResponse","type":"object"},"ContextFactInput":{"properties":{"confidence":{"default":0.75,"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"evidence_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Evidence Stable Key"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"relationship":{"default":"describes","maxLength":120,"minLength":1,"title":"Relationship","type":"string"},"stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Stable Key"},"statement":{"maxLength":5000,"minLength":1,"title":"Statement","type":"string"},"target_ref":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Target Ref"},"target_stable_key":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Target Stable Key"},"term":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Term"}},"required":["statement"],"title":"ContextFactInput","type":"object"},"ContextGraphStatsResponse":{"properties":{"activity":{"additionalProperties":true,"title":"Activity","type":"object"},"assertions":{"additionalProperties":true,"title":"Assertions","type":"object"},"edges":{"additionalProperties":true,"title":"Edges","type":"object"},"generated_at":{"title":"Generated At","type":"string"},"health":{"additionalProperties":true,"title":"Health","type":"object"},"objects":{"additionalProperties":true,"title":"Objects","type":"object"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"ContextGraphStatsResponse","type":"object"},"ContextJoinHopResponse":{"properties":{"assertion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assertion Id"},"cardinality":{"default":"unknown","title":"Cardinality","type":"string"},"confidence":{"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"executable":{"default":true,"title":"Executable","type":"boolean"},"id":{"title":"Id","type":"string"},"left":{"title":"Left","type":"string"},"left_columns":{"items":{"type":"string"},"maxItems":3,"minItems":1,"title":"Left Columns","type":"array"},"predicates":{"items":{"$ref":"#/components/schemas/ContextJoinPredicateResponse"},"maxItems":3,"minItems":1,"title":"Predicates","type":"array"},"provenance":{"title":"Provenance","type":"string"},"right":{"title":"Right","type":"string"},"right_columns":{"items":{"type":"string"},"maxItems":3,"minItems":1,"title":"Right Columns","type":"array"}},"required":["id","left","right","provenance","confidence"],"title":"ContextJoinHopResponse","type":"object"},"ContextJoinPlanResponse":{"properties":{"authoritative_hops":{"maximum":3,"minimum":0,"title":"Authoritative Hops","type":"integer"},"bottleneck_confidence":{"maximum":1,"minimum":0,"title":"Bottleneck Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"executable":{"default":true,"title":"Executable","type":"boolean"},"hop_count":{"maximum":3,"minimum":1,"title":"Hop Count","type":"integer"},"hops":{"items":{"$ref":"#/components/schemas/ContextJoinHopResponse"},"maxItems":3,"minItems":1,"title":"Hops","type":"array"},"id":{"title":"Id","type":"string"},"inferred_edge_ids":{"items":{"type":"string"},"title":"Inferred Edge Ids","type":"array"},"intermediate_tables":{"items":{"type":"string"},"maxItems":2,"title":"Intermediate Tables","type":"array"},"source_table":{"title":"Source Table","type":"string"},"target_table":{"title":"Target Table","type":"string"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"}},"required":["id","source_table","target_table","hop_count","bottleneck_confidence","authoritative_hops"],"title":"ContextJoinPlanResponse","type":"object"},"ContextJoinPredicateResponse":{"properties":{"left_column":{"title":"Left Column","type":"string"},"left_table":{"title":"Left Table","type":"string"},"right_column":{"title":"Right Column","type":"string"},"right_table":{"title":"Right Table","type":"string"},"sql":{"title":"Sql","type":"string"}},"required":["left_table","left_column","right_table","right_column","sql"],"title":"ContextJoinPredicateResponse","type":"object"},"ContextObjectCorrectionRequest":{"properties":{"note":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Note"},"summary":{"anyOf":[{"maxLength":8000,"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextObjectCorrectionRequest","type":"object"},"ContextObjectCorrectionResponse":{"properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/UnifiedContextObjectResponse"},{"type":"null"}]},"object_id":{"title":"Object Id","type":"string"},"ok":{"default":true,"title":"Ok","type":"boolean"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"}},"required":["object_id"],"title":"ContextObjectCorrectionResponse","type":"object"},"ContextObjectDetailResponse":{"properties":{"assertions":{"items":{"additionalProperties":true,"type":"object"},"title":"Assertions","type":"array"},"embedding":{"additionalProperties":true,"title":"Embedding","type":"object"},"evidence":{"additionalProperties":{"$ref":"#/components/schemas/ContextEvidenceResponse"},"title":"Evidence","type":"object"},"evidence_links":{"items":{"$ref":"#/components/schemas/ContextEvidenceLinkResponse"},"title":"Evidence Links","type":"array"},"incoming_edges":{"items":{"$ref":"#/components/schemas/UnifiedContextEdgeResponse"},"title":"Incoming Edges","type":"array"},"inverse_relationships":{"items":{"additionalProperties":true,"type":"object"},"title":"Inverse Relationships","type":"array"},"object":{"$ref":"#/components/schemas/UnifiedContextObjectResponse"},"outgoing_edges":{"items":{"$ref":"#/components/schemas/UnifiedContextEdgeResponse"},"title":"Outgoing Edges","type":"array"},"recent_trace_refs":{"items":{"additionalProperties":true,"type":"object"},"title":"Recent Trace Refs","type":"array"}},"required":["object"],"title":"ContextObjectDetailResponse","type":"object"},"ContextObjectInput":{"properties":{"confidence":{"default":1,"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_type":{"maxLength":120,"minLength":1,"title":"Object Type","type":"string"},"stable_key":{"maxLength":1000,"minLength":1,"title":"Stable Key","type":"string"},"summary":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"maxLength":1000,"minLength":1,"title":"Title","type":"string"},"truth_kind":{"anyOf":[{"enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"type":"string"},{"type":"null"}],"title":"Truth Kind"},"verification_status":{"default":"observed","enum":["verified","observed","inferred","stale","retracted"],"title":"Verification Status","type":"string"}},"required":["stable_key","object_type","title"],"title":"ContextObjectInput","type":"object"},"ContextObjectListItem":{"properties":{"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"authority_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authority Score"},"confidence":{"default":1,"title":"Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"degree":{"default":0,"title":"Degree","type":"integer"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"generated_by":{"default":"system","title":"Generated By","type":"string"},"id":{"title":"Id","type":"string"},"incoming_edge_ids":{"items":{"type":"string"},"title":"Incoming Edge Ids","type":"array"},"match":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Match"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_type":{"title":"Object Type","type":"string"},"outgoing_edge_ids":{"items":{"type":"string"},"title":"Outgoing Edge Ids","type":"array"},"path_ids":{"items":{"type":"string"},"title":"Path Ids","type":"array"},"source":{"anyOf":[{"$ref":"#/components/schemas/ContextSourceResponse"},{"type":"null"}]},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"stable_key":{"title":"Stable Key","type":"string"},"status":{"default":"active","title":"Status","type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"title":"Title","type":"string"},"total_degree":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Degree"},"truth_kind":{"default":"semantic_claim","enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"title":"Truth Kind","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"verification_status":{"default":"observed","title":"Verification Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","object_type","stable_key","title"],"title":"ContextObjectListItem","type":"object"},"ContextObjectListResponse":{"properties":{"limit":{"default":50,"title":"Limit","type":"integer"},"objects":{"items":{"$ref":"#/components/schemas/ContextObjectListItem"},"title":"Objects","type":"array"},"offset":{"default":0,"title":"Offset","type":"integer"},"total":{"default":0,"title":"Total","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextObjectListResponse","type":"object"},"ContextObjectUsageEntry":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"objective":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objective"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Request Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"trace_id":{"title":"Trace Id","type":"string"}},"required":["trace_id"],"title":"ContextObjectUsageEntry","type":"object"},"ContextObjectUsageResponse":{"properties":{"answer_count":{"default":0,"title":"Answer Count","type":"integer"},"object_id":{"title":"Object Id","type":"string"},"recent":{"items":{"$ref":"#/components/schemas/ContextObjectUsageEntry"},"title":"Recent","type":"array"},"total_retrievals":{"default":0,"title":"Total Retrievals","type":"integer"}},"required":["object_id"],"title":"ContextObjectUsageResponse","type":"object"},"ContextObservationInput":{"properties":{"object_ids":{"items":{"type":"string"},"title":"Object Ids","type":"array"},"observation_type":{"enum":["schema_observation","sample_observation","index_observation","statistic_observation","freshness_observation","query_observation"],"title":"Observation Type","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"redaction":{"additionalProperties":true,"title":"Redaction","type":"object"},"stable_keys":{"items":{"type":"string"},"title":"Stable Keys","type":"array"}},"required":["observation_type"],"title":"ContextObservationInput","type":"object"},"ContextObservationResponse":{"properties":{"id":{"title":"Id","type":"string"},"object_ids":{"items":{"type":"string"},"title":"Object Ids","type":"array"},"observation_type":{"enum":["schema_observation","sample_observation","index_observation","statistic_observation","freshness_observation","query_observation"],"title":"Observation Type","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"redaction":{"additionalProperties":true,"title":"Redaction","type":"object"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"}},"required":["id","observation_type"],"title":"ContextObservationResponse","type":"object"},"ContextPathResponse":{"properties":{"edge_ids":{"items":{"type":"string"},"title":"Edge Ids","type":"array"},"id":{"title":"Id","type":"string"},"object_ids":{"items":{"type":"string"},"title":"Object Ids","type":"array"},"reason":{"default":"traversal","title":"Reason","type":"string"},"root_object_id":{"title":"Root Object Id","type":"string"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"terminal_object_id":{"title":"Terminal Object Id","type":"string"}},"required":["id","root_object_id","terminal_object_id"],"title":"ContextPathResponse","type":"object"},"ContextQueryBudget":{"properties":{"max_edges":{"default":200,"maximum":200,"minimum":1,"title":"Max Edges","type":"integer"},"max_objects":{"default":80,"maximum":80,"minimum":1,"title":"Max Objects","type":"integer"},"max_steps":{"default":8,"maximum":8,"minimum":1,"title":"Max Steps","type":"integer"}},"title":"ContextQueryBudget","type":"object"},"ContextQueryRequest":{"properties":{"include":{"items":{"enum":["objects","edges","paths","join_plans","evidence","observations","retrieval_trace","prompt_context","match_details"],"type":"string"},"maxItems":9,"title":"Include","type":"array"},"modes":{"items":{"enum":["resolve","recall","traverse","schema","sample"],"type":"string"},"maxItems":5,"title":"Modes","type":"array"},"objective":{"maxLength":12000,"minLength":1,"title":"Objective","type":"string"},"persist_observations":{"default":false,"title":"Persist Observations","type":"boolean"},"persist_trace":{"default":true,"title":"Persist Trace","type":"boolean"},"seeds":{"$ref":"#/components/schemas/ContextQuerySeeds"},"traversal":{"$ref":"#/components/schemas/ContextQueryTraversal"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","objective"],"title":"ContextQueryRequest","type":"object"},"ContextQueryResponse":{"properties":{"actor":{"additionalProperties":true,"title":"Actor","type":"object"},"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"budget":{"additionalProperties":true,"title":"Budget","type":"object"},"conflicts":{"items":{"additionalProperties":true,"type":"object"},"title":"Conflicts","type":"array"},"coverage":{"$ref":"#/components/schemas/ContextCoverageSummaryResponse"},"edges":{"additionalProperties":{"$ref":"#/components/schemas/UnifiedContextEdgeResponse"},"title":"Edges","type":"object"},"evidence":{"additionalProperties":{"$ref":"#/components/schemas/ContextEvidenceResponse"},"title":"Evidence","type":"object"},"evidence_links":{"items":{"$ref":"#/components/schemas/ContextEvidenceLinkResponse"},"title":"Evidence Links","type":"array"},"freshness":{"additionalProperties":true,"title":"Freshness","type":"object"},"join_plans":{"items":{"$ref":"#/components/schemas/ContextJoinPlanResponse"},"title":"Join Plans","type":"array"},"knowledge":{"items":{"additionalProperties":true,"type":"object"},"title":"Knowledge","type":"array"},"meaning_candidates":{"items":{"additionalProperties":true,"type":"object"},"title":"Meaning Candidates","type":"array"},"memories":{"items":{"additionalProperties":true,"type":"object"},"title":"Memories","type":"array"},"objects":{"additionalProperties":{"$ref":"#/components/schemas/UnifiedContextObjectResponse"},"title":"Objects","type":"object"},"observations":{"items":{"$ref":"#/components/schemas/ContextObservationResponse"},"title":"Observations","type":"array"},"packet_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packet Kind"},"paths":{"items":{"$ref":"#/components/schemas/ContextPathResponse"},"title":"Paths","type":"array"},"prompt_context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Context"},"query_id":{"title":"Query Id","type":"string"},"retrieval_trace":{"anyOf":[{"$ref":"#/components/schemas/ContextRetrievalTraceResponse"},{"type":"null"}]},"roots":{"items":{"type":"string"},"title":"Roots","type":"array"},"runs":{"items":{"additionalProperties":true,"type":"object"},"title":"Runs","type":"array"},"scope":{"additionalProperties":true,"title":"Scope","type":"object"},"task_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Kind"},"trace":{"additionalProperties":true,"title":"Trace","type":"object"}},"required":["query_id"],"title":"ContextQueryResponse","type":"object"},"ContextQuerySeeds":{"properties":{"object_ids":{"items":{"type":"string"},"maxItems":50,"title":"Object Ids","type":"array"},"refs":{"items":{"type":"string"},"maxItems":50,"title":"Refs","type":"array"},"stable_keys":{"items":{"type":"string"},"maxItems":50,"title":"Stable Keys","type":"array"},"text":{"anyOf":[{"maxLength":12000,"type":"string"},{"type":"null"}],"title":"Text"}},"title":"ContextQuerySeeds","type":"object"},"ContextQueryTraversal":{"properties":{"budget":{"$ref":"#/components/schemas/ContextQueryBudget"},"depth":{"default":2,"maximum":2,"minimum":0,"title":"Depth","type":"integer"},"direction":{"default":"both","enum":["incoming","outgoing","both"],"title":"Direction","type":"string"},"include_inferred":{"default":true,"title":"Include Inferred","type":"boolean"},"min_confidence":{"default":0.5,"maximum":1,"minimum":0,"title":"Min Confidence","type":"number"},"relationships":{"items":{"type":"string"},"maxItems":25,"title":"Relationships","type":"array"}},"title":"ContextQueryTraversal","type":"object"},"ContextRepositorySourceCreateRequest":{"properties":{"add_to_context":{"default":true,"title":"Add To Context","type":"boolean"},"branch":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Branch"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"github_installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Installation Id"},"provider":{"default":"github","enum":["github","gitlab"],"title":"Provider","type":"string"},"repository_url":{"maxLength":2000,"minLength":1,"title":"Repository Url","type":"string"},"subdirectory":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Subdirectory"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","repository_url"],"title":"ContextRepositorySourceCreateRequest","type":"object"},"ContextRepositorySourceIngestRequest":{"properties":{"batch_size":{"anyOf":[{"maximum":20,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Batch Size"},"max_files":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Files"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextRepositorySourceIngestRequest","type":"object"},"ContextRepositorySourceIngestResponse":{"properties":{"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"source_id":{"title":"Source Id","type":"string"},"status":{"title":"Status","type":"string"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["source_id","workspace_id","status"],"title":"ContextRepositorySourceIngestResponse","type":"object"},"ContextRepositorySourceListResponse":{"properties":{"repositories":{"items":{"$ref":"#/components/schemas/ContextRepositorySourceResponse"},"title":"Repositories","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextRepositorySourceListResponse","type":"object"},"ContextRepositorySourceResponse":{"properties":{"context_enabled":{"default":false,"title":"Context Enabled","type":"boolean"},"context_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Status"},"created_at":{"title":"Created At","type":"string"},"default_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Branch"},"id":{"title":"Id","type":"string"},"last_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Commit Sha"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_manifest_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Manifest Hash"},"last_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync At"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"project_type":{"default":"dbt","title":"Project Type","type":"string"},"provider":{"title":"Provider","type":"string"},"repository_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Name"},"repository_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Owner"},"repository_url":{"title":"Repository Url","type":"string"},"settings":{"additionalProperties":true,"title":"Settings","type":"object"},"status":{"title":"Status","type":"string"},"subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdirectory"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","provider","repository_url","status","created_at","updated_at"],"title":"ContextRepositorySourceResponse","type":"object"},"ContextRepositorySourceUpdateRequest":{"properties":{"context_enabled":{"title":"Context Enabled","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","context_enabled"],"title":"ContextRepositorySourceUpdateRequest","type":"object"},"ContextRepositorySourceVerifyRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextRepositorySourceVerifyRequest","type":"object"},"ContextRepositorySourceVerifyResponse":{"properties":{"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"},"commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Sha"},"message":{"title":"Message","type":"string"},"ok":{"title":"Ok","type":"boolean"},"provider":{"title":"Provider","type":"string"},"source_id":{"title":"Source Id","type":"string"},"status":{"title":"Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["source_id","workspace_id","ok","status","message","provider"],"title":"ContextRepositorySourceVerifyResponse","type":"object"},"ContextRetrievalTraceResponse":{"properties":{"budget":{"additionalProperties":true,"title":"Budget","type":"object"},"duration_ms":{"title":"Duration Ms","type":"integer"},"end_time":{"title":"End Time","type":"string"},"events":{"items":{"$ref":"#/components/schemas/ContextTraceEventResponse"},"title":"Events","type":"array"},"id":{"title":"Id","type":"string"},"query_id":{"title":"Query Id","type":"string"},"start_time":{"title":"Start Time","type":"string"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"}},"required":["id","query_id","start_time","end_time","duration_ms"],"title":"ContextRetrievalTraceResponse","type":"object"},"ContextReviewAttentionItem":{"properties":{"count":{"default":0,"title":"Count","type":"integer"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"context_review","default":"context_review","title":"Kind","type":"string"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"ContextReviewAttentionItem","type":"object"},"ContextSettingsResponse":{"properties":{"annotation_apply_policy":{"default":"confidence_gated","enum":["confidence_gated","review_first","auto"],"title":"Annotation Apply Policy","type":"string"},"annotation_apply_threshold":{"default":0.85,"maximum":1,"minimum":0,"title":"Annotation Apply Threshold","type":"number"},"default_apply_policy":{"default":"review_first","enum":["review_first","auto"],"title":"Default Apply Policy","type":"string"},"family_thresholds":{"additionalProperties":{"type":"number"},"title":"Family Thresholds","type":"object"},"inferred_join_mode":{"default":"off","enum":["off","shadow","active"],"title":"Inferred Join Mode","type":"string"},"minimum_queue_confidence":{"default":0.6,"maximum":1,"minimum":0,"title":"Minimum Queue Confidence","type":"number"},"registry_defaults":{"additionalProperties":{"type":"number"},"title":"Registry Defaults","type":"object"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextSettingsResponse","type":"object"},"ContextSettingsUpdateRequest":{"properties":{"annotation_apply_policy":{"anyOf":[{"enum":["confidence_gated","review_first","auto"],"type":"string"},{"type":"null"}],"title":"Annotation Apply Policy"},"annotation_apply_threshold":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"title":"Annotation Apply Threshold"},"default_apply_policy":{"anyOf":[{"enum":["review_first","auto"],"type":"string"},{"type":"null"}],"title":"Default Apply Policy"},"family_thresholds":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Family Thresholds"},"inferred_join_mode":{"anyOf":[{"enum":["off","shadow","active"],"type":"string"},{"type":"null"}],"title":"Inferred Join Mode"},"minimum_queue_confidence":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"title":"Minimum Queue Confidence"},"reset_to_defaults":{"default":false,"title":"Reset To Defaults","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContextSettingsUpdateRequest","type":"object"},"ContextSourceInput":{"properties":{"kind":{"enum":["catalog","document","git","memory","query","manual","semantic_model","connector_sample","project","dashboard","pipeline","governance","memory_dreaming","slack"],"title":"Kind","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"ref":{"maxLength":1000,"minLength":1,"title":"Ref","type":"string"},"url":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Url"}},"required":["kind","ref"],"title":"ContextSourceInput","type":"object"},"ContextSourceResponse":{"properties":{"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed At"},"source_kind":{"title":"Source Kind","type":"string"},"source_ref":{"title":"Source Ref","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"status":{"default":"active","title":"Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","source_kind","source_ref"],"title":"ContextSourceResponse","type":"object"},"ContextTraceEventResponse":{"properties":{"duration_ms":{"default":0,"title":"Duration Ms","type":"integer"},"id":{"title":"Id","type":"string"},"input":{"additionalProperties":true,"title":"Input","type":"object"},"kind":{"enum":["resolve","recall","traverse","schema","sample"],"title":"Kind","type":"string"},"output_refs":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"title":"Output Refs","type":"object"},"step":{"title":"Step","type":"integer"},"truncated":{"default":false,"title":"Truncated","type":"boolean"}},"required":["id","step","kind"],"title":"ContextTraceEventResponse","type":"object"},"ContextVerificationActionRequest":{"properties":{"action":{"enum":["verify","flag_stale","retract"],"title":"Action","type":"string"},"note":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Note"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","action"],"title":"ContextVerificationActionRequest","type":"object"},"ContextVerificationActionResponse":{"properties":{"edge":{"anyOf":[{"$ref":"#/components/schemas/UnifiedContextEdgeResponse"},{"type":"null"}]},"id":{"title":"Id","type":"string"},"object":{"anyOf":[{"$ref":"#/components/schemas/UnifiedContextObjectResponse"},{"type":"null"}]},"ok":{"default":true,"title":"Ok","type":"boolean"},"previous_verification_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Verification Status"},"status":{"title":"Status","type":"string"},"target_type":{"enum":["object","edge"],"title":"Target Type","type":"string"},"verification_status":{"title":"Verification Status","type":"string"}},"required":["target_type","id","verification_status","status"],"title":"ContextVerificationActionResponse","type":"object"},"ContextWriteAppliedResponse":{"properties":{"edge_ids":{"items":{"type":"string"},"title":"Edge Ids","type":"array"},"object_ids":{"items":{"type":"string"},"title":"Object Ids","type":"array"},"observation_ids":{"items":{"type":"string"},"title":"Observation Ids","type":"array"}},"title":"ContextWriteAppliedResponse","type":"object"},"ContextWriteContent":{"properties":{"assertions":{"items":{"$ref":"#/components/schemas/ContextAssertionInput"},"title":"Assertions","type":"array"},"documents":{"items":{"$ref":"#/components/schemas/ContextDocumentInput"},"title":"Documents","type":"array"},"edges":{"items":{"$ref":"#/components/schemas/ContextEdgeInput"},"title":"Edges","type":"array"},"extracted_facts":{"items":{"$ref":"#/components/schemas/ContextFactInput"},"title":"Extracted Facts","type":"array"},"facts":{"items":{"$ref":"#/components/schemas/ContextFactInput"},"title":"Facts","type":"array"},"objects":{"items":{"$ref":"#/components/schemas/ContextObjectInput"},"title":"Objects","type":"array"},"observations":{"items":{"$ref":"#/components/schemas/ContextObservationInput"},"title":"Observations","type":"array"},"text":{"anyOf":[{"maxLength":200000,"type":"string"},{"type":"null"}],"title":"Text"}},"title":"ContextWriteContent","type":"object"},"ContextWriteInfer":{"properties":{"extract_facts":{"default":true,"title":"Extract Facts","type":"boolean"},"objects":{"default":true,"title":"Objects","type":"boolean"},"relationships":{"default":true,"title":"Relationships","type":"boolean"},"semantic_definitions":{"default":true,"title":"Semantic Definitions","type":"boolean"},"taxonomy_links":{"default":true,"title":"Taxonomy Links","type":"boolean"}},"title":"ContextWriteInfer","type":"object"},"ContextWriteJobResponse":{"properties":{"id":{"title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","kind","status"],"title":"ContextWriteJobResponse","type":"object"},"ContextWriteRequest":{"properties":{"apply_policy":{"default":"review_first","enum":["review_first","auto","dry_run"],"title":"Apply Policy","type":"string"},"content":{"$ref":"#/components/schemas/ContextWriteContent"},"infer":{"$ref":"#/components/schemas/ContextWriteInfer"},"mode":{"default":"append","enum":["append","replace_source","retract"],"title":"Mode","type":"string"},"processing_mode":{"default":"sync","enum":["sync","async"],"title":"Processing Mode","type":"string"},"source":{"$ref":"#/components/schemas/ContextSourceInput"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"},"write_profile":{"default":"default","enum":["default","catalog_physical","document_evidence","runtime_trace"],"title":"Write Profile","type":"string"}},"required":["workspace_id","source"],"title":"ContextWriteRequest","type":"object"},"ContextWriteResponse":{"properties":{"applied":{"$ref":"#/components/schemas/ContextWriteAppliedResponse"},"assertion_ids":{"items":{"type":"string"},"title":"Assertion Ids","type":"array"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"jobs":{"items":{"$ref":"#/components/schemas/ContextWriteJobResponse"},"title":"Jobs","type":"array"},"source_id":{"title":"Source Id","type":"string"},"suggestion_ids":{"items":{"type":"string"},"title":"Suggestion Ids","type":"array"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"write_id":{"title":"Write Id","type":"string"},"write_trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Write Trace Id"}},"required":["write_id","source_id"],"title":"ContextWriteResponse","type":"object"},"ContractActivationRequest":{"properties":{"version_id":{"minLength":1,"title":"Version Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","version_id"],"title":"ContractActivationRequest","type":"object"},"ContractRule":{"additionalProperties":false,"properties":{"config":{"additionalProperties":true,"title":"Config","type":"object"},"evaluation_mode":{"default":"deterministic","enum":["deterministic","adaptive"],"title":"Evaluation Mode","type":"string"},"key":{"maxLength":255,"minLength":1,"title":"Key","type":"string"},"kind":{"title":"Kind","type":"string"},"severity":{"default":"warning","enum":["info","warning","critical"],"title":"Severity","type":"string"}},"required":["key","kind"],"title":"ContractRule","type":"object"},"ContractVerificationRequest":{"properties":{"idempotency_key":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"pipeline_context":{"additionalProperties":true,"title":"Pipeline Context","type":"object"},"trigger_type":{"default":"manual","enum":["manual","pipeline"],"title":"Trigger Type","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContractVerificationRequest","type":"object"},"ContractVersionRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"document":{"$ref":"#/components/schemas/DataContractDocument"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"owner_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner User Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","document"],"title":"ContractVersionRequest","type":"object"},"ContractYamlImportRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"format":{"default":"native","enum":["native","soda"],"title":"Format","type":"string"},"owner_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner User Id"},"persist":{"default":true,"title":"Persist","type":"boolean"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"},"yaml":{"maxLength":1048576,"minLength":1,"title":"Yaml","type":"string"}},"required":["workspace_id","connector_id","yaml"],"title":"ContractYamlImportRequest","type":"object"},"ContrastAnswerActivity":{"properties":{"calculation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calculation Id"},"details":{"items":{"type":"string"},"title":"Details","type":"array"},"id":{"title":"Id","type":"string"},"kind":{"enum":["started","search","inspect","context","query","finished"],"title":"Kind","type":"string"},"recorded_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recorded At"},"summary":{"title":"Summary","type":"string"},"tables":{"items":{"$ref":"#/components/schemas/ContrastAnswerActivityTable"},"title":"Tables","type":"array"}},"required":["id","kind","summary"],"title":"ContrastAnswerActivity","type":"object"},"ContrastAnswerActivityTable":{"properties":{"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name"],"title":"ContrastAnswerActivityTable","type":"object"},"ContrastAnswerCalculation":{"properties":{"caveats":{"items":{"type":"string"},"title":"Caveats","type":"array"},"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"details":{"items":{"type":"string"},"title":"Details","type":"array"},"evidence_ref":{"title":"Evidence Ref","type":"string"},"formatted_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Formatted Sql"},"id":{"title":"Id","type":"string"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_limited":{"title":"Rows Limited","type":"boolean"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql"},"sql_source":{"default":"executed","enum":["executed","submitted"],"title":"Sql Source","type":"string"},"status":{"default":"completed","enum":["completed","failed","cancelled","unknown"],"title":"Status","type":"string"},"summary":{"title":"Summary","type":"string"},"tables":{"items":{"type":"string"},"title":"Tables","type":"array"},"technical_details":{"items":{"type":"string"},"title":"Technical Details","type":"array"},"title":{"title":"Title","type":"string"},"used_in_answer":{"default":false,"title":"Used In Answer","type":"boolean"}},"required":["id","title","summary","details","tables","columns","rows","rows_limited","caveats","evidence_ref"],"title":"ContrastAnswerCalculation","type":"object"},"ContrastAnswerDefinition":{"properties":{"evidence_ref":{"title":"Evidence Ref","type":"string"},"id":{"title":"Id","type":"string"},"meaning":{"title":"Meaning","type":"string"},"origin":{"enum":["documented","assumption"],"title":"Origin","type":"string"},"source_label":{"title":"Source Label","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"term":{"title":"Term","type":"string"},"usage":{"enum":["consulted","used"],"title":"Usage","type":"string"}},"required":["id","term","meaning","origin","usage","source_label","evidence_ref"],"title":"ContrastAnswerDefinition","type":"object"},"ContrastAnswerResponse":{"properties":{"activity":{"items":{"$ref":"#/components/schemas/ContrastAnswerActivity"},"title":"Activity","type":"array"},"activity_caveats":{"items":{"type":"string"},"title":"Activity Caveats","type":"array"},"answer":{"title":"Answer","type":"string"},"calculated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calculated At"},"calculations":{"items":{"$ref":"#/components/schemas/ContrastAnswerCalculation"},"title":"Calculations","type":"array"},"caveats":{"items":{"type":"string"},"title":"Caveats","type":"array"},"definitions":{"items":{"$ref":"#/components/schemas/ContrastAnswerDefinition"},"title":"Definitions","type":"array"},"primary_calculation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Calculation Id"},"query_details_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Details Url"},"question":{"title":"Question","type":"string"},"run_id":{"title":"Run Id","type":"string"},"slack_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slack Url"}},"required":["run_id","question","answer","definitions","calculations","caveats"],"title":"ContrastAnswerResponse","type":"object"},"ContrastCompanyResearch":{"properties":{"business_motion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Motion"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Summary"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"status":{"enum":["none","queued","running","confident","uncertain","unavailable"],"title":"Status","type":"string"}},"required":["status"],"title":"ContrastCompanyResearch","type":"object"},"ContrastDataSourceReadinessResponse":{"properties":{"application_source_kinds":{"items":{"type":"string"},"title":"Application Source Kinds","type":"array"},"last_updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated At"},"postgres_connected":{"default":false,"title":"Postgres Connected","type":"boolean"},"postgres_ready":{"default":false,"title":"Postgres Ready","type":"boolean"},"postgres_state":{"default":"not_connected","enum":["not_connected","learning","ready"],"title":"Postgres State","type":"string"}},"title":"ContrastDataSourceReadinessResponse","type":"object"},"ContrastDeleteInstallationResponse":{"properties":{"deleted":{"title":"Deleted","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","deleted"],"title":"ContrastDeleteInstallationResponse","type":"object"},"ContrastMemoryCheck":{"properties":{"connector_id":{"format":"uuid","title":"Connector Id","type":"string"},"description":{"title":"Description","type":"string"},"kind":{"enum":["schema","cardinality","deduplication","filters","time","reconciliation"],"title":"Kind","type":"string"},"passed":{"title":"Passed","type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"violations":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Violations"}},"required":["connector_id","kind","description","passed"],"title":"ContrastMemoryCheck","type":"object"},"ContrastMemoryDetail":{"properties":{"checks":{"items":{"$ref":"#/components/schemas/ContrastMemoryCheck"},"title":"Checks","type":"array"},"contract":{"$ref":"#/components/schemas/SemanticView"},"evidence":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"title":"Evidence","type":"array"},"history":{"items":{"$ref":"#/components/schemas/ContrastMemoryRevision"},"title":"History","type":"array"},"key":{"title":"Key","type":"string"},"lifecycle":{"enum":["current","stale","superseded"],"title":"Lifecycle","type":"string"},"published_at":{"title":"Published At","type":"string"},"slack_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slack Url"},"validation":{"enum":["supported","provisional","conflicted"],"title":"Validation","type":"string"},"version":{"title":"Version","type":"integer"}},"required":["key","version","contract","validation","lifecycle","checks","published_at","history"],"title":"ContrastMemoryDetail","type":"object"},"ContrastMemoryEdge":{"properties":{"id":{"title":"Id","type":"string"},"label":{"title":"Label","type":"string"},"source":{"title":"Source","type":"string"},"target":{"title":"Target","type":"string"}},"required":["id","source","target","label"],"title":"ContrastMemoryEdge","type":"object"},"ContrastMemoryGraph":{"properties":{"edges":{"items":{"$ref":"#/components/schemas/ContrastMemoryEdge"},"title":"Edges","type":"array"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"},"nodes":{"items":{"$ref":"#/components/schemas/ContrastMemoryNode"},"title":"Nodes","type":"array"},"revision":{"title":"Revision","type":"string"},"truncated":{"default":false,"title":"Truncated","type":"boolean"},"warehouses":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"title":"Warehouses","type":"array"}},"required":["nodes","edges","revision"],"title":"ContrastMemoryGraph","type":"object"},"ContrastMemoryNode":{"properties":{"id":{"title":"Id","type":"string"},"kind":{"enum":["domain","view","metric","table","evidence"],"title":"Kind","type":"string"},"label":{"title":"Label","type":"string"},"lifecycle":{"anyOf":[{"enum":["current","stale","superseded"],"type":"string"},{"type":"null"}],"title":"Lifecycle"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"validation":{"anyOf":[{"enum":["supported","provisional","conflicted"],"type":"string"},{"type":"null"}],"title":"Validation"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"view_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"View Key"}},"required":["id","kind","label"],"title":"ContrastMemoryNode","type":"object"},"ContrastMemoryRevision":{"properties":{"lifecycle":{"enum":["current","stale","superseded"],"title":"Lifecycle","type":"string"},"published_at":{"title":"Published At","type":"string"},"validation":{"enum":["supported","provisional","conflicted"],"title":"Validation","type":"string"},"version":{"title":"Version","type":"integer"}},"required":["version","validation","lifecycle","published_at"],"title":"ContrastMemoryRevision","type":"object"},"ContrastMemoryStatus":{"properties":{"consumption_enabled":{"title":"Consumption Enabled","type":"boolean"},"coverage":{"additionalProperties":true,"title":"Coverage","type":"object"},"enabled":{"title":"Enabled","type":"boolean"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"learning_paused requires operator attention; learning_interrupted indicates saved progress after a failure.","title":"Error Code"},"generation_enabled":{"title":"Generation Enabled","type":"boolean"},"stage":{"title":"Stage","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["enabled","generation_enabled","consumption_enabled","stage"],"title":"ContrastMemoryStatus","type":"object"},"ContrastOnboardingResponse":{"properties":{"answer_explained":{"default":false,"description":"The person opened how Contrast answered a finding.","title":"Answer Explained","type":"boolean"},"can_create_sample":{"title":"Can Create Sample","type":"boolean"},"guide_dismissed":{"default":false,"title":"Guide Dismissed","type":"boolean"},"name_prompted":{"default":false,"title":"Name Prompted","type":"boolean"},"persona":{"anyOf":[{"$ref":"#/components/schemas/ContrastPersona"},{"type":"null"}]},"research":{"$ref":"#/components/schemas/ContrastCompanyResearch"},"sample_enabled":{"title":"Sample Enabled","type":"boolean"}},"required":["research","sample_enabled","can_create_sample"],"title":"ContrastOnboardingResponse","type":"object"},"ContrastOnboardingUiRequest":{"properties":{"answer_explained":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Answer Explained"},"guide_dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Guide Dismissed"},"name_prompted":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Name Prompted"}},"title":"ContrastOnboardingUiRequest","type":"object"},"ContrastOperatorActivityItem":{"properties":{"action":{"title":"Action","type":"string"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"actor_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor User Id"},"client":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client"},"client_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Version"},"cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Usd"},"created_at":{"title":"Created At","type":"string"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"id":{"title":"Id","type":"string"},"outcome":{"enum":["success","error"],"title":"Outcome","type":"string"},"query":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorActivityQuery"},{"type":"null"}]},"surface":{"enum":["mcp","cli","other"],"title":"Surface","type":"string"},"tool":{"title":"Tool","type":"string"}},"required":["id","created_at","tool","action","outcome","surface"],"title":"ContrastOperatorActivityItem","type":"object"},"ContrastOperatorActivityQuery":{"description":"The warehouse query a tool call ran, read from the workspace's query history.","properties":{"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Database"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"execution_engine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Engine"},"id":{"title":"Id","type":"string"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql"},"status":{"title":"Status","type":"string"},"submitted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Submitted At"}},"required":["id","status"],"title":"ContrastOperatorActivityQuery","type":"object"},"ContrastOperatorActivityResponse":{"properties":{"by_day":{"anyOf":[{"items":{"$ref":"#/components/schemas/ActivityDayCount"},"type":"array"},{"type":"null"}],"title":"By Day"},"items":{"items":{"$ref":"#/components/schemas/ContrastOperatorActivityItem"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"summary":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorActivitySummary"},{"type":"null"}]},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"}},"required":["items"],"title":"ContrastOperatorActivityResponse","type":"object"},"ContrastOperatorActivitySummary":{"description":"Warehouse queries run through MCP and the CLI over the trailing window.","properties":{"bytes_scanned":{"title":"Bytes Scanned","type":"integer"},"days":{"title":"Days","type":"integer"},"failed":{"title":"Failed","type":"integer"},"people":{"title":"People","type":"integer"},"queries":{"title":"Queries","type":"integer"}},"required":["days","queries","failed","bytes_scanned","people"],"title":"ContrastOperatorActivitySummary","type":"object"},"ContrastOperatorResourceSummary":{"properties":{"id":{"title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"title":"Status","type":"string"}},"required":["id","status"],"title":"ContrastOperatorResourceSummary","type":"object"},"ContrastOperatorSetupRequest":{"additionalProperties":false,"properties":{"action":{"default":"apply","enum":["plan","apply"],"title":"Action","type":"string"},"database":{"default":"ember","maxLength":128,"minLength":1,"title":"Database","type":"string"}},"title":"ContrastOperatorSetupRequest","type":"object"},"ContrastOperatorSetupResponse":{"properties":{"action":{"enum":["plan","apply"],"title":"Action","type":"string"},"blocked_table_count":{"default":0,"title":"Blocked Table Count","type":"integer"},"database":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorResourceSummary"},{"type":"null"}]},"database_created":{"default":false,"title":"Database Created","type":"boolean"},"discovered_table_count":{"default":0,"title":"Discovered Table Count","type":"integer"},"failed_ingestion_count":{"default":0,"title":"Failed Ingestion Count","type":"integer"},"failure_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Summary"},"ingestion_count":{"default":0,"title":"Ingestion Count","type":"integer"},"latest_source_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Source Sync At"},"next_action":{"title":"Next Action","type":"string"},"operation_connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Connector Id"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"operation_source_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Source Kind"},"operation_status":{"anyOf":[{"enum":["queued","running","ingesting","ready","failed"],"type":"string"},{"type":"null"}],"title":"Operation Status"},"operation_table_count":{"default":0,"title":"Operation Table Count","type":"integer"},"phase":{"enum":["needs_setup","provisioning","needs_source","ingesting","ready","degraded"],"title":"Phase","type":"string"},"query_ready":{"default":false,"title":"Query Ready","type":"boolean"},"query_ready_ingestion_ids":{"items":{"type":"string"},"title":"Query Ready Ingestion Ids","type":"array"},"ready_ingestion_count":{"default":0,"title":"Ready Ingestion Count","type":"integer"},"ready_source_kinds":{"items":{"type":"string"},"title":"Ready Source Kinds","type":"array"},"ready_table_count":{"default":0,"title":"Ready Table Count","type":"integer"},"source_count":{"default":0,"title":"Source Count","type":"integer"},"table_issues":{"items":{"$ref":"#/components/schemas/ContrastOperatorTableIssue"},"title":"Table Issues","type":"array"},"warehouse":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorResourceSummary"},{"type":"null"}]},"warehouse_created":{"default":false,"title":"Warehouse Created","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","phase","next_action","action"],"title":"ContrastOperatorSetupResponse","type":"object"},"ContrastOperatorSourceHandoffRequest":{"additionalProperties":false,"properties":{"connector_id":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"},"kind":{"maxLength":32,"minLength":1,"title":"Kind","type":"string"},"mode":{"default":"live","maxLength":50,"minLength":1,"title":"Mode","type":"string"},"name":{"anyOf":[{"maxLength":160,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"return_to":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Return To"}},"required":["kind"],"title":"ContrastOperatorSourceHandoffRequest","type":"object"},"ContrastOperatorSourceHandoffResponse":{"properties":{"auth_strategy":{"enum":["credentials","oauth","custom"],"title":"Auth Strategy","type":"string"},"authorization_url":{"title":"Authorization Url","type":"string"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"kind":{"title":"Kind","type":"string"},"network_setup":{"anyOf":[{"$ref":"#/components/schemas/PostgresNetworkSetup"},{"type":"null"}]},"status":{"const":"user_action_required","title":"Status","type":"string"}},"required":["kind","auth_strategy","status","authorization_url"],"title":"ContrastOperatorSourceHandoffResponse","type":"object"},"ContrastOperatorStatusResponse":{"properties":{"blocked_table_count":{"default":0,"title":"Blocked Table Count","type":"integer"},"database":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorResourceSummary"},{"type":"null"}]},"discovered_table_count":{"default":0,"title":"Discovered Table Count","type":"integer"},"failed_ingestion_count":{"default":0,"title":"Failed Ingestion Count","type":"integer"},"failure_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Summary"},"ingestion_count":{"default":0,"title":"Ingestion Count","type":"integer"},"latest_source_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Source Sync At"},"next_action":{"title":"Next Action","type":"string"},"operation_connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Connector Id"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"operation_source_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Source Kind"},"operation_status":{"anyOf":[{"enum":["queued","running","ingesting","ready","failed"],"type":"string"},{"type":"null"}],"title":"Operation Status"},"operation_table_count":{"default":0,"title":"Operation Table Count","type":"integer"},"phase":{"enum":["needs_setup","provisioning","needs_source","ingesting","ready","degraded"],"title":"Phase","type":"string"},"query_ready":{"default":false,"title":"Query Ready","type":"boolean"},"query_ready_ingestion_ids":{"items":{"type":"string"},"title":"Query Ready Ingestion Ids","type":"array"},"ready_ingestion_count":{"default":0,"title":"Ready Ingestion Count","type":"integer"},"ready_source_kinds":{"items":{"type":"string"},"title":"Ready Source Kinds","type":"array"},"ready_table_count":{"default":0,"title":"Ready Table Count","type":"integer"},"source_count":{"default":0,"title":"Source Count","type":"integer"},"table_issues":{"items":{"$ref":"#/components/schemas/ContrastOperatorTableIssue"},"title":"Table Issues","type":"array"},"warehouse":{"anyOf":[{"$ref":"#/components/schemas/ContrastOperatorResourceSummary"},{"type":"null"}]},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","phase","next_action"],"title":"ContrastOperatorStatusResponse","type":"object"},"ContrastOperatorTableIssue":{"properties":{"connection_id":{"title":"Connection Id","type":"string"},"connector_id":{"default":"","title":"Connector Id","type":"string"},"reason":{"title":"Reason","type":"string"},"source_schema":{"title":"Source Schema","type":"string"},"source_table":{"title":"Source Table","type":"string"},"status":{"title":"Status","type":"string"}},"required":["connection_id","source_schema","source_table","status","reason"],"title":"ContrastOperatorTableIssue","type":"object"},"ContrastPersona":{"properties":{"categories":{"items":{"$ref":"#/components/schemas/ContrastPersonaCategory"},"title":"Categories","type":"array"},"description":{"title":"Description","type":"string"},"goals":{"items":{"type":"string"},"title":"Goals","type":"array"},"role":{"enum":["growth","product_engineering","sales","operator"],"title":"Role","type":"string"},"role_label":{"title":"Role Label","type":"string"}},"required":["role","role_label","description","goals","categories"],"title":"ContrastPersona","type":"object"},"ContrastPersonaCategory":{"properties":{"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"vendors":{"items":{"type":"string"},"title":"Vendors","type":"array"}},"required":["key","label","vendors"],"title":"ContrastPersonaCategory","type":"object"},"ContrastPersonaRequest":{"properties":{"company_confirmed":{"default":false,"title":"Company Confirmed","type":"boolean"},"description":{"maxLength":1200,"minLength":1,"title":"Description","type":"string"},"prefilled":{"default":false,"description":"The description is the role's suggested text, unedited.","title":"Prefilled","type":"boolean"},"role":{"anyOf":[{"enum":["growth","product_engineering","sales","operator"],"type":"string"},{"type":"null"}],"title":"Role"},"suggested":{"default":false,"description":"Contrast chose this persona, not the person. It is saved as profile suggestions to confirm and never replaces a persona the person gave.","title":"Suggested","type":"boolean"}},"required":["description"],"title":"ContrastPersonaRequest","type":"object"},"ContrastPostgresOnboardingRequest":{"additionalProperties":false,"properties":{"connector_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"}},"title":"ContrastPostgresOnboardingRequest","type":"object"},"ContrastPostgresOnboardingResponse":{"properties":{"status":{"enum":["learning","ready"],"title":"Status","type":"string"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"}},"required":["status"],"title":"ContrastPostgresOnboardingResponse","type":"object"},"ContrastSampleCategory":{"properties":{"key":{"title":"Key","type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The vendor this sample uses, once drafted.","title":"Kind"},"label":{"title":"Label","type":"string"},"status":{"default":"pending","enum":["pending","loading","loaded"],"title":"Status","type":"string"},"vendors":{"items":{"type":"string"},"title":"Vendors","type":"array"}},"required":["key","label","vendors"],"title":"ContrastSampleCategory","type":"object"},"ContrastSampleInsight":{"description":"Something Contrast found in the sample, with the query and rows behind it.","properties":{"chart":{"anyOf":[{"$ref":"#/components/schemas/ContrastSampleInsightChart"},{"type":"null"}]},"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"detail":{"title":"Detail","type":"string"},"headline":{"title":"Headline","type":"string"},"key":{"title":"Key","type":"string"},"question":{"description":"A follow-up question worth asking about it.","title":"Question","type":"string"},"rows":{"items":{"items":{"type":"string"},"type":"array"},"title":"Rows","type":"array"},"sql":{"title":"Sql","type":"string"},"tables":{"items":{"type":"string"},"title":"Tables","type":"array"}},"required":["key","headline","detail","question","sql","tables","columns","rows"],"title":"ContrastSampleInsight","type":"object"},"ContrastSampleInsightBar":{"properties":{"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"number"}},"required":["label","value"],"title":"ContrastSampleInsightBar","type":"object"},"ContrastSampleInsightChart":{"properties":{"bars":{"items":{"$ref":"#/components/schemas/ContrastSampleInsightBar"},"title":"Bars","type":"array"},"unit":{"enum":["percent","currency","count"],"title":"Unit","type":"string"}},"required":["unit","bars"],"title":"ContrastSampleInsightChart","type":"object"},"ContrastSampleModel":{"properties":{"built_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Built At"},"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"depends_on":{"items":{"type":"string"},"title":"Depends On","type":"array"},"description":{"title":"Description","type":"string"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"name":{"title":"Name","type":"string"},"row_count":{"title":"Row Count","type":"integer"},"sql":{"title":"Sql","type":"string"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"default":"pending","enum":["pending","building","built","failed"],"title":"Status","type":"string"}},"required":["name","description","sql","columns","row_count","depends_on"],"title":"ContrastSampleModel","type":"object"},"ContrastSampleSource":{"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"category_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Label"},"kind":{"title":"Kind","type":"string"},"label":{"title":"Label","type":"string"},"status":{"default":"pending","enum":["pending","loading","loaded"],"title":"Status","type":"string"},"tables":{"items":{"$ref":"#/components/schemas/ContrastSampleTable"},"title":"Tables","type":"array"}},"required":["kind","label","tables"],"title":"ContrastSampleSource","type":"object"},"ContrastSampleTable":{"properties":{"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"description":{"title":"Description","type":"string"},"name":{"title":"Name","type":"string"},"row_count":{"title":"Row Count","type":"integer"},"sql":{"title":"Sql","type":"string"}},"required":["name","description","sql","columns","row_count"],"title":"ContrastSampleTable","type":"object"},"ContrastSampleWorkspaceRequest":{"properties":{"company_confirmed":{"default":false,"title":"Company Confirmed","type":"boolean"}},"title":"ContrastSampleWorkspaceRequest","type":"object"},"ContrastSampleWorkspaceResponse":{"properties":{"business_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Summary"},"can_retry":{"default":false,"title":"Can Retry","type":"boolean"},"categories":{"items":{"$ref":"#/components/schemas/ContrastSampleCategory"},"title":"Categories","type":"array"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"title":"Created At","type":"string"},"failure_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Summary"},"generated_by":{"anyOf":[{"enum":["model","template"],"type":"string"},{"type":"null"}],"title":"Generated By"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"},"goals":{"items":{"type":"string"},"title":"Goals","type":"array"},"insights":{"description":"What Contrast found in the sample, once the tables it reads are built.","items":{"$ref":"#/components/schemas/ContrastSampleInsight"},"title":"Insights","type":"array"},"models":{"items":{"$ref":"#/components/schemas/ContrastSampleModel"},"title":"Models","type":"array"},"phase":{"enum":["drafting","queued","loading","building","ready","failed"],"title":"Phase","type":"string"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"sources":{"items":{"$ref":"#/components/schemas/ContrastSampleSource"},"title":"Sources","type":"array"},"suggested_questions":{"items":{"type":"string"},"title":"Suggested Questions","type":"array"}},"required":["phase","goals","categories","sources","models","suggested_questions","created_at"],"title":"ContrastSampleWorkspaceResponse","type":"object"},"ContrastSetupFinishRequest":{"properties":{"connect_later":{"default":false,"description":"Finish without sample data; the person will connect a source later.","title":"Connect Later","type":"boolean"}},"title":"ContrastSetupFinishRequest","type":"object"},"ContrastSetupStateResponse":{"description":"Where a workspace is in guided setup, for the person asking.","properties":{"complete":{"description":"Setup was finished, or the workspace already has a source, a sample underway, or Slack.","title":"Complete","type":"boolean"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"exempt":{"default":false,"description":"Never sent through guided setup: not from web signup, or the Slack agent isn't enabled here.","title":"Exempt","type":"boolean"},"has_source":{"description":"The workspace connected a source of its own (not sample data).","title":"Has Source","type":"boolean"},"needs_setup":{"description":"This person (an owner or admin) should be taken to setup.","title":"Needs Setup","type":"boolean"},"next_step":{"anyOf":[{"enum":["setup","retry_sample","connect_data","connect_slack"],"type":"string"},{"type":"null"}],"title":"Next Step"},"outcome":{"anyOf":[{"enum":["data","sample","connect_later"],"type":"string"},{"type":"null"}],"description":"How setup was finished; null until it is.","title":"Outcome"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"sample_status":{"enum":["none","building","ready","failed"],"title":"Sample Status","type":"string"},"slack_connected":{"title":"Slack Connected","type":"boolean"},"step":{"anyOf":[{"enum":["about","source","sample","review","slack","ready"],"type":"string"},{"type":"null"}],"description":"The setup screen last saved, where setup resumes.","title":"Step"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","has_source","sample_status","slack_connected","complete","needs_setup"],"title":"ContrastSetupStateResponse","type":"object"},"ContrastSlackActivateResponse":{"properties":{"enabled":{"title":"Enabled","type":"boolean"},"proactive_enabled":{"title":"Proactive Enabled","type":"boolean"},"welcome_queued":{"title":"Welcome Queued","type":"boolean"}},"required":["enabled","proactive_enabled","welcome_queued"],"title":"ContrastSlackActivateResponse","type":"object"},"ContrastSlackInstallationResponse":{"properties":{"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"installed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installed At"},"installed_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installed By User Id"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"status":{"enum":["active","pending","revoked","error","not_installed"],"title":"Status","type":"string"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"}},"required":["status"],"title":"ContrastSlackInstallationResponse","type":"object"},"ContrastSlackPersonalAccessAuthorizeResponse":{"properties":{"authorize_url":{"title":"Authorize Url","type":"string"}},"required":["authorize_url"],"title":"ContrastSlackPersonalAccessAuthorizeResponse","type":"object"},"ContrastSlackPersonalAccessResponse":{"properties":{"authorized_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized At"},"available":{"default":false,"title":"Available","type":"boolean"},"connected":{"default":false,"title":"Connected","type":"boolean"},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"}},"title":"ContrastSlackPersonalAccessResponse","type":"object"},"ContrastSourceOnboardingRequest":{"additionalProperties":false,"properties":{"all_tables":{"default":false,"title":"All Tables","type":"boolean"},"auto_add_new_tables":{"default":true,"title":"Auto Add New Tables","type":"boolean"},"auto_discovery_schema_scope":{"default":"all_visible_source","maxLength":64,"title":"Auto Discovery Schema Scope","type":"string"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"ingestion_engine":{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"title":"Ingestion Engine","type":"string"},"name":{"maxLength":128,"minLength":1,"title":"Name","type":"string"},"publication_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Advanced: an existing publication created by a database administrator, for Postgres continuous sync with Embrasure Flow. Matched exactly (case-sensitive). Contrast never creates or alters it.","title":"Publication Name"},"schedule_interval_minutes":{"anyOf":[{"maximum":10080,"minimum":15,"type":"integer"},{"type":"null"}],"title":"Schedule Interval Minutes"},"setup_run_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Setup Run Id"},"source_kind":{"maxLength":32,"minLength":1,"title":"Source Kind","type":"string"},"source_options":{"additionalProperties":true,"title":"Source Options","type":"object"},"tables":{"items":{"$ref":"#/components/schemas/ContrastSourceTableSelectionRequest"},"title":"Tables","type":"array"}},"required":["connector_id","source_kind","name","ingestion_engine"],"title":"ContrastSourceOnboardingRequest","type":"object"},"ContrastSourceOnboardingResponse":{"properties":{"status":{"enum":["queued","ingesting","ready"],"title":"Status","type":"string"},"workflow_id":{"title":"Workflow Id","type":"string"}},"required":["status","workflow_id"],"title":"ContrastSourceOnboardingResponse","type":"object"},"ContrastSourceTableSelectionRequest":{"additionalProperties":false,"properties":{"cursor_column":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Cursor Column"},"destination_table":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Destination Table"},"incremental_strategy":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Incremental Strategy"},"primary_key_columns":{"items":{"type":"string"},"title":"Primary Key Columns","type":"array"},"selected_columns":{"items":{"type":"string"},"title":"Selected Columns","type":"array"},"source_schema":{"maxLength":128,"minLength":1,"title":"Source Schema","type":"string"},"source_table":{"maxLength":128,"minLength":1,"title":"Source Table","type":"string"}},"required":["source_schema","source_table"],"title":"ContrastSourceTableSelectionRequest","type":"object"},"ContrastTeamIntroductionResponse":{"properties":{"already_sent":{"default":0,"title":"Already Sent","type":"integer"},"eligible":{"default":0,"title":"Eligible","type":"integer"},"failed":{"default":0,"title":"Failed","type":"integer"},"sent":{"default":0,"title":"Sent","type":"integer"},"unmatched":{"default":0,"title":"Unmatched","type":"integer"}},"title":"ContrastTeamIntroductionResponse","type":"object"},"ContrastWebFinding":{"properties":{"comparison":{"title":"Comparison","type":"string"},"delivered_at":{"title":"Delivered At","type":"string"},"facts":{"items":{"type":"string"},"title":"Facts","type":"array"},"id":{"title":"Id","type":"string"},"kind":{"enum":["first_data_read","growth_brief"],"title":"Kind","type":"string"},"opportunity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"title":{"title":"Title","type":"string"},"try_next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Try Next"},"why_it_matters":{"title":"Why It Matters","type":"string"}},"required":["id","kind","title","facts","comparison","why_it_matters","delivered_at"],"title":"ContrastWebFinding","type":"object"},"ContrastWebFindings":{"properties":{"findings":{"items":{"$ref":"#/components/schemas/ContrastWebFinding"},"title":"Findings","type":"array"},"reading":{"description":"Contrast's first reads of the sample may still produce findings.","title":"Reading","type":"boolean"}},"required":["findings","reading"],"title":"ContrastWebFindings","type":"object"},"ContrastWebQuestionHistoryItem":{"properties":{"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"created_at":{"title":"Created At","type":"string"},"question":{"title":"Question","type":"string"},"run_id":{"title":"Run Id","type":"string"},"status":{"title":"Status","type":"string"}},"required":["run_id","question","status","created_at"],"title":"ContrastWebQuestionHistoryItem","type":"object"},"ContrastWebQuestionRequest":{"properties":{"conversation_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Conversation Id"},"question":{"maxLength":2000,"minLength":1,"title":"Question","type":"string"}},"required":["question"],"title":"ContrastWebQuestionRequest","type":"object"},"ContrastWebQuestionResponse":{"properties":{"conversation_id":{"title":"Conversation Id","type":"string"},"run_id":{"title":"Run Id","type":"string"}},"required":["run_id","conversation_id"],"title":"ContrastWebQuestionResponse","type":"object"},"ContrastWebQuestionStatus":{"properties":{"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer"},"current_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Action"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"run_id":{"title":"Run Id","type":"string"},"status":{"anyOf":[{"enum":["queued","pending","running","waiting","completed","failed","cancelled"],"type":"string"},{"type":"string"}],"title":"Status"}},"required":["run_id","status"],"title":"ContrastWebQuestionStatus","type":"object"},"ContrastWebReport":{"properties":{"description":{"title":"Description","type":"string"},"id":{"title":"Id","type":"string"},"next_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Run At"},"recent_runs":{"items":{"$ref":"#/components/schemas/ContrastWebReportRun"},"title":"Recent Runs","type":"array"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"}},"required":["id","title","status","description","recent_runs"],"title":"ContrastWebReport","type":"object"},"ContrastWebReportChange":{"properties":{"operation":{"enum":["pause","resume","stop"],"title":"Operation","type":"string"}},"required":["operation"],"title":"ContrastWebReportChange","type":"object"},"ContrastWebReportRequest":{"properties":{"question":{"maxLength":600,"minLength":1,"title":"Question","type":"string"},"timezone":{"default":"UTC","maxLength":64,"title":"Timezone","type":"string"},"timing":{"$ref":"#/components/schemas/ContrastWebReportTiming"},"title":{"maxLength":100,"minLength":1,"title":"Title","type":"string"}},"required":["title","question","timing"],"title":"ContrastWebReportRequest","type":"object"},"ContrastWebReportRun":{"properties":{"id":{"title":"Id","type":"string"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"scheduled_at":{"title":"Scheduled At","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","status","scheduled_at"],"title":"ContrastWebReportRun","type":"object"},"ContrastWebReportTiming":{"properties":{"kind":{"enum":["daily","weekly","monthly"],"title":"Kind","type":"string"},"month_days":{"items":{"type":"integer"},"maxItems":31,"title":"Month Days","type":"array"},"times":{"items":{"type":"string"},"maxItems":4,"minItems":1,"title":"Times","type":"array"},"weekdays":{"items":{"type":"integer"},"maxItems":7,"title":"Weekdays","type":"array"}},"required":["kind","times"],"title":"ContrastWebReportTiming","type":"object"},"ContrastWorkspaceSettingsResponse":{"properties":{"access_mode":{"default":"workspace","enum":["workspace","allowlist"],"title":"Access Mode","type":"string"},"action_execution_enabled":{"default":false,"title":"Action Execution Enabled","type":"boolean"},"answering_enabled":{"default":true,"title":"Answering Enabled","type":"boolean"},"context_policy":{"additionalProperties":true,"title":"Context Policy","type":"object"},"daily_catchup_enabled":{"default":true,"title":"Daily Catchup Enabled","type":"boolean"},"daily_catchup_local_time":{"default":"09:00:00","title":"Daily Catchup Local Time","type":"string"},"delegate_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delegate User Id"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"duplicate_suppression_days":{"default":7,"title":"Duplicate Suppression Days","type":"integer"},"enabled":{"default":false,"title":"Enabled","type":"boolean"},"insights_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insights Channel Id"},"install_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Id"},"proactive_daily_cap":{"default":3,"maximum":3,"minimum":1,"title":"Proactive Daily Cap","type":"integer"},"proactive_enabled":{"default":false,"title":"Proactive Enabled","type":"boolean"},"proactive_weekly_cap":{"default":2,"maximum":2,"minimum":1,"title":"Proactive Weekly Cap","type":"integer"},"sync_trigger_enabled":{"default":true,"title":"Sync Trigger Enabled","type":"boolean"},"timezone":{"default":"UTC","title":"Timezone","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ContrastWorkspaceSettingsResponse","type":"object"},"ContrastWorkspaceSettingsUpdateRequest":{"additionalProperties":false,"properties":{"access_mode":{"anyOf":[{"enum":["workspace","allowlist"],"type":"string"},{"type":"null"}],"title":"Access Mode"},"action_execution_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Action Execution Enabled"},"answering_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Answering Enabled"},"context_policy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context Policy"},"daily_catchup_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Daily Catchup Enabled"},"daily_catchup_local_time":{"anyOf":[{"pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$","type":"string"},{"type":"null"}],"title":"Daily Catchup Local Time"},"duplicate_suppression_days":{"anyOf":[{"maximum":90,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Duplicate Suppression Days"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"insights_channel_id":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Insights Channel Id"},"proactive_daily_cap":{"anyOf":[{"maximum":3,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Proactive Daily Cap"},"proactive_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Proactive Enabled"},"proactive_weekly_cap":{"anyOf":[{"maximum":2,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Proactive Weekly Cap"},"sync_trigger_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Trigger Enabled"},"timezone":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}],"title":"Timezone"}},"title":"ContrastWorkspaceSettingsUpdateRequest","type":"object"},"ContrastWorkspaceStatusResponse":{"properties":{"action_execution_paused":{"default":true,"title":"Action Execution Paused","type":"boolean"},"answering_paused":{"default":true,"title":"Answering Paused","type":"boolean"},"data_sources":{"$ref":"#/components/schemas/ContrastDataSourceReadinessResponse"},"delegate_active":{"default":false,"title":"Delegate Active","type":"boolean"},"installation":{"anyOf":[{"$ref":"#/components/schemas/ContrastSlackInstallationResponse"},{"type":"null"}]},"onboarding":{"$ref":"#/components/schemas/ContrastOperatorStatusResponse"},"proactive_paused":{"default":true,"title":"Proactive Paused","type":"boolean"},"settings":{"anyOf":[{"$ref":"#/components/schemas/ContrastWorkspaceSettingsResponse"},{"type":"null"}]},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","onboarding"],"title":"ContrastWorkspaceStatusResponse","type":"object"},"ConversationMessageResponse":{"properties":{"cache":{"anyOf":[{"$ref":"#/components/schemas/QueryResultCacheMetadata"},{"type":"null"}]},"cache_provenance":{"anyOf":[{"$ref":"#/components/schemas/QueryCacheProvenance"},{"type":"null"}]},"client_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Request Id"},"content":{"title":"Content","type":"string"},"conversation_id":{"title":"Conversation Id","type":"string"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"role":{"enum":["user","assistant","system"],"title":"Role","type":"string"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","conversation_id","workspace_id","user_id","role","content","created_at"],"title":"ConversationMessageResponse","type":"object"},"ConversationResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","title","created_at","updated_at"],"title":"ConversationResponse","type":"object"},"ConversationShareResponse":{"properties":{"conversation_id":{"title":"Conversation Id","type":"string"},"created_at":{"title":"Created At","type":"string"},"created_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By User Id"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"id":{"title":"Id","type":"string"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"share_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Path"},"source_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Channel Id"},"source_platform":{"const":"slack","default":"slack","title":"Source Platform","type":"string"},"source_thread_ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Thread Ts"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"token_prefix":{"title":"Token Prefix","type":"string"},"visibility":{"const":"workspace","default":"workspace","title":"Visibility","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","conversation_id","workspace_id","token_prefix","created_at"],"title":"ConversationShareResponse","type":"object"},"ConversationStateQueryResponse":{"properties":{"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"conversation_id":{"title":"Conversation Id","type":"string"},"created_at":{"title":"Created At","type":"string"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Hint"},"has_query_result":{"default":false,"title":"Has Query Result","type":"boolean"},"natural_language_query":{"title":"Natural Language Query","type":"string"},"primary_result_ref":{"anyOf":[{"$ref":"#/components/schemas/ArtifactReferenceResponse"},{"type":"null"}]},"request_id":{"title":"Request Id","type":"string"},"response_contract_version":{"anyOf":[{"enum":[1,2],"type":"integer"},{"type":"null"}],"title":"Response Contract Version"},"rows_returned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Returned"},"status":{"title":"Status","type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"}},"required":["request_id","conversation_id","natural_language_query","status","created_at"],"title":"ConversationStateQueryResponse","type":"object"},"ConversationStateResponse":{"properties":{"active_run":{"anyOf":[{"$ref":"#/components/schemas/ConversationStateRunResponse"},{"type":"null"}]},"changed":{"default":true,"title":"Changed","type":"boolean"},"conversation_id":{"title":"Conversation Id","type":"string"},"latest_queries":{"items":{"$ref":"#/components/schemas/ConversationStateQueryResponse"},"title":"Latest Queries","type":"array"},"latest_run":{"anyOf":[{"$ref":"#/components/schemas/ConversationStateRunResponse"},{"type":"null"}]},"messages_revision":{"title":"Messages Revision","type":"integer"},"recent_events":{"items":{"$ref":"#/components/schemas/QueryRequestEventResponse"},"title":"Recent Events","type":"array"},"recent_telemetry_gaps":{"items":{"$ref":"#/components/schemas/ConversationStateTelemetryGapResponse"},"title":"Recent Telemetry Gaps","type":"array"},"revision":{"title":"Revision","type":"integer"}},"required":["conversation_id","revision","messages_revision"],"title":"ConversationStateResponse","type":"object"},"ConversationStateRunResponse":{"properties":{"action_budget":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Budget"},"completed_actions":{"default":0,"title":"Completed Actions","type":"integer"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"title":"Created At","type":"string"},"current_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Action"},"data_agent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Agent Run Id"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Hint"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"id":{"title":"Id","type":"string"},"orchestration_version":{"default":"v1","title":"Orchestration Version","type":"string"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Request Id"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["awaiting_approval","running","completed","failed","rejected","cancelled"],"title":"Status","type":"string"}},"required":["id","status","created_at"],"title":"ConversationStateRunResponse","type":"object"},"ConversationStateTelemetryGapResponse":{"properties":{"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"output_payload":{"additionalProperties":true,"title":"Output Payload","type":"object"},"status":{"enum":["awaiting_approval","running","completed","failed","rejected","cancelled"],"title":"Status","type":"string"}},"required":["id","status","created_at"],"title":"ConversationStateTelemetryGapResponse","type":"object"},"CoworkerBriefCountResponse":{"properties":{"changed_count":{"default":0,"title":"Changed Count","type":"integer"},"generated_at":{"title":"Generated At","type":"string"},"insight_count":{"default":0,"title":"Insight Count","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"},"worth_investigating_count":{"default":0,"title":"Worth Investigating Count","type":"integer"}},"required":["workspace_id","generated_at"],"title":"CoworkerBriefCountResponse","type":"object"},"CoworkerBriefResponse":{"properties":{"changed":{"items":{"$ref":"#/components/schemas/BriefFindingItem"},"title":"Changed","type":"array"},"delta_headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delta Headline"},"generated_at":{"title":"Generated At","type":"string"},"learned":{"items":{"$ref":"#/components/schemas/BriefLearnedItem"},"title":"Learned","type":"array"},"pending_review_count":{"default":0,"title":"Pending Review Count","type":"integer"},"top_findings":{"items":{"$ref":"#/components/schemas/BriefFindingItem"},"title":"Top Findings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"},"worth_investigating":{"items":{"$ref":"#/components/schemas/BriefFindingItem"},"title":"Worth Investigating","type":"array"}},"required":["workspace_id","generated_at"],"title":"CoworkerBriefResponse","type":"object"},"CoworkerProfileDirectorySuggestion":{"properties":{"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"},"source":{"default":"google_workspace","title":"Source","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"title":"CoworkerProfileDirectorySuggestion","type":"object"},"CoworkerProfileDraftConfirmRequest":{"properties":{"candidate_ids":{"items":{"type":"string"},"maxItems":20,"minItems":1,"title":"Candidate Ids","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","candidate_ids"],"title":"CoworkerProfileDraftConfirmRequest","type":"object"},"CoworkerProfileDraftRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CoworkerProfileDraftRequest","type":"object"},"CoworkerProfileDraftResponse":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/AgentMemoryCandidateResponse"},"title":"Candidates","type":"array"},"status":{"enum":["ready","complete","settled","insufficient","unavailable"],"title":"Status","type":"string"}},"required":["status"],"title":"CoworkerProfileDraftResponse","type":"object"},"CoworkerProfileEntry":{"properties":{"confidence":{"default":1,"title":"Confidence","type":"number"},"content":{"title":"Content","type":"string"},"created_at":{"title":"Created At","type":"string"},"family":{"title":"Family","type":"string"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"},"memory_id":{"title":"Memory Id","type":"string"},"memory_type":{"enum":["correction","definition","preference","caveat","semantic_correction"],"title":"Memory Type","type":"string"},"provenance":{"additionalProperties":true,"title":"Provenance","type":"object"},"scope":{"enum":["personal","team","workspace"],"title":"Scope","type":"string"},"source_kind":{"default":"manual","title":"Source Kind","type":"string"},"title":{"title":"Title","type":"string"}},"required":["memory_id","family","title","content","scope","memory_type","created_at"],"title":"CoworkerProfileEntry","type":"object"},"CoworkerProfileResponse":{"properties":{"business_context":{"items":{"$ref":"#/components/schemas/CoworkerProfileEntry"},"title":"Business Context","type":"array"},"directory_suggestion":{"anyOf":[{"$ref":"#/components/schemas/CoworkerProfileDirectorySuggestion"},{"type":"null"}]},"entry_count":{"default":0,"title":"Entry Count","type":"integer"},"generated_at":{"title":"Generated At","type":"string"},"known_caveats":{"items":{"$ref":"#/components/schemas/CoworkerProfileEntry"},"title":"Known Caveats","type":"array"},"pending_candidate_count":{"default":0,"title":"Pending Candidate Count","type":"integer"},"personal_entry_count":{"default":0,"description":"The caller's own saved entries, not team or workspace ones and not pending suggestions.","title":"Personal Entry Count","type":"integer"},"preferences":{"items":{"$ref":"#/components/schemas/CoworkerProfileEntry"},"title":"Preferences","type":"array"},"question_patterns":{"items":{"$ref":"#/components/schemas/CoworkerProfileEntry"},"title":"Question Patterns","type":"array"},"user_id":{"title":"User Id","type":"string"},"user_role":{"items":{"$ref":"#/components/schemas/CoworkerProfileEntry"},"title":"User Role","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","user_id","generated_at"],"title":"CoworkerProfileResponse","type":"object"},"CreateAccessRequestRequest":{"properties":{"duration_seconds":{"anyOf":[{"maximum":7776000,"minimum":3600,"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"justification":{"maxLength":2000,"minLength":10,"title":"Justification","type":"string"},"securable_id":{"minLength":1,"title":"Securable Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","securable_id","justification"],"title":"CreateAccessRequestRequest","type":"object"},"CreateAgentTokenRequest":{"properties":{"client_kind":{"default":"api_token","enum":["api_token","mcp","cli","automation"],"title":"Client Kind","type":"string"},"expires_in_days":{"anyOf":[{"maximum":365,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"title":"Expires In Days"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"scopes":{"items":{"enum":["read","write","admin"],"type":"string"},"title":"Scopes","type":"array"},"warehouse_write_databases":{"anyOf":[{"items":{"type":"string"},"maxItems":20,"minItems":1,"type":"array"},{"type":"null"}],"description":"Limit this token's warehouse writes to these logical databases. Omit for no database limit.","title":"Warehouse Write Databases"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"CreateAgentTokenRequest","type":"object"},"CreateBranchSourceRequest":{"properties":{"anonymization_sql_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anonymization Sql Hash"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"preflight_report":{"additionalProperties":true,"title":"Preflight Report","type":"object"},"selected_schemas":{"items":{"type":"string"},"title":"Selected Schemas","type":"array"},"selected_tables":{"items":{"type":"string"},"title":"Selected Tables","type":"array"},"settings":{"additionalProperties":true,"title":"Settings","type":"object"},"setup_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Sql"},"setup_sql_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Sql Hash"},"source_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Fingerprint"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"CreateBranchSourceRequest","type":"object"},"CreateConnectorRequest":{"properties":{"config":{"additionalProperties":true,"title":"Config","type":"object"},"connector_usage":{"default":"context","enum":["context","warehouse_ingestion"],"title":"Connector Usage","type":"string"},"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"kind":{"enum":["supabase","postgres","azure_postgres","azure_mysql","azure_sql","databricks","snowflake","redshift","mysql","starrocks","bigquery","athena","cosmosdb","embrasure_warehouse","iceberg_rest","delta_lake","slack","teams","salesforce","stripe","hubspot","attio","posthog","mixpanel","amplitude","apollo","lemlist","confluent_cloud","google_sheets"],"title":"Kind","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"name":{"maxLength":160,"minLength":1,"title":"Name","type":"string"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name","kind"],"title":"CreateConnectorRequest","type":"object"},"CreateConversationRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CreateConversationRequest","type":"object"},"CreateConversationShareRequest":{"properties":{"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"source_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Channel Id"},"source_platform":{"const":"slack","default":"slack","title":"Source Platform","type":"string"},"source_thread_ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Thread Ts"},"visibility":{"const":"workspace","default":"workspace","title":"Visibility","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CreateConversationShareRequest","type":"object"},"CreateGovernancePolicyRequest":{"properties":{"catalog_name":{"default":"default","title":"Catalog Name","type":"string"},"classification_tags":{"items":{"type":"string"},"title":"Classification Tags","type":"array"},"column_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Name"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"effect":{"default":"mask","enum":["allow","deny","mask"],"title":"Effect","type":"string"},"enabled":{"default":true,"title":"Enabled","type":"boolean"},"masking_strategy":{"default":"redact","enum":["null","redact","hash","last4"],"title":"Masking Strategy","type":"string"},"name":{"maxLength":160,"minLength":1,"title":"Name","type":"string"},"policy_type":{"default":"column_access","enum":["column_access","row_filter"],"title":"Policy Type","type":"string"},"principal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Id"},"principal_type":{"default":"role","enum":["role","group"],"title":"Principal Type","type":"string"},"role":{"default":"viewer","enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"title":"Role","type":"string"},"row_filter_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Row Filter Sql"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"sensitivity_levels":{"items":{"type":"string"},"title":"Sensitivity Levels","type":"array"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"CreateGovernancePolicyRequest","type":"object"},"CreateNotebookRequest":{"properties":{"description":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Description"},"document":{"additionalProperties":true,"title":"Document","type":"object"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"path":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Path"},"title":{"default":"Untitled notebook","maxLength":200,"minLength":1,"title":"Title","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CreateNotebookRequest","type":"object"},"CreateNotebookVersionRequest":{"properties":{"change_summary":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Change Summary"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"title":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"CreateNotebookVersionRequest","type":"object"},"CreateRepositoryModelRequest":{"additionalProperties":false,"properties":{"branch":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Branch"},"database":{"pattern":"^[a-z][a-z0-9_]{0,62}$","title":"Database","type":"string"},"name":{"pattern":"^[a-z][a-z0-9_]{0,62}$","title":"Name","type":"string"},"project_id":{"format":"uuid","title":"Project Id","type":"string"},"select":{"default":"","maxLength":500,"title":"Select","type":"string"},"subdirectory":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Subdirectory"}},"required":["project_id","name","database"],"title":"CreateRepositoryModelRequest","type":"object"},"CreateSCIMTokenRequest":{"properties":{"expires_in_days":{"anyOf":[{"maximum":365,"minimum":1,"type":"integer"},{"type":"null"}],"default":90,"title":"Expires In Days"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"CreateSCIMTokenRequest","type":"object"},"CreateTableOwnershipClaimRequest":{"properties":{"owner_email":{"anyOf":[{"maxLength":320,"type":"string"},{"type":"null"}],"title":"Owner Email"},"owner_label":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Owner Label"},"owner_user_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Owner User Id"},"relation_ref":{"maxLength":1024,"minLength":1,"title":"Relation Ref","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","relation_ref"],"title":"CreateTableOwnershipClaimRequest","type":"object"},"CreateWorkspaceRequest":{"properties":{"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"}},"required":["name"],"title":"CreateWorkspaceRequest","type":"object"},"DataAccessPerson":{"properties":{"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"title":"User Id","type":"string"}},"required":["user_id"],"title":"DataAccessPerson","type":"object"},"DataAccessPersonActivity":{"properties":{"last_read_at":{"format":"date-time","title":"Last Read At","type":"string"},"person":{"$ref":"#/components/schemas/DataAccessPerson"},"reads":{"title":"Reads","type":"integer"}},"required":["person","reads","last_read_at"],"title":"DataAccessPersonActivity","type":"object"},"DataAccessRead":{"properties":{"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"connector_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Name"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"id":{"title":"Id","type":"string"},"occurred_at":{"format":"date-time","title":"Occurred At","type":"string"},"person":{"anyOf":[{"$ref":"#/components/schemas/DataAccessPerson"},{"type":"null"}]},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Agent reads only; opens the full query record.","title":"Query Request Id"},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"rows_returned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Returned"},"source":{"description":"agent: a question or SQL sent to the agent, API or MCP; sql: warehouse SQL from the SQL editor, CLI, API or dashboards.","enum":["agent","sql"],"title":"Source","type":"string"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql"},"status":{"enum":["succeeded","failed","cancelled","running"],"title":"Status","type":"string"},"surface":{"description":"Where the read came from, such as web_chat, mcp, api_query or warehouse_sql.","title":"Surface","type":"string"},"tables":{"items":{"type":"string"},"title":"Tables","type":"array"}},"required":["id","source","surface","status","occurred_at"],"title":"DataAccessRead","type":"object"},"DataAccessReadPage":{"properties":{"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"reads":{"items":{"$ref":"#/components/schemas/DataAccessRead"},"title":"Reads","type":"array"}},"required":["reads"],"title":"DataAccessReadPage","type":"object"},"DataAccessSummary":{"properties":{"bucket":{"enum":["hour","day"],"title":"Bucket","type":"string"},"failed":{"title":"Failed","type":"integer"},"people":{"title":"People","type":"integer"},"period":{"enum":["24h","7d","30d","90d"],"title":"Period","type":"string"},"reads":{"title":"Reads","type":"integer"},"since":{"format":"date-time","title":"Since","type":"string"},"tables_read":{"title":"Tables Read","type":"integer"},"timeline":{"items":{"$ref":"#/components/schemas/DataAccessTimelineBucket"},"title":"Timeline","type":"array"},"top_people":{"items":{"$ref":"#/components/schemas/DataAccessPersonActivity"},"title":"Top People","type":"array"},"top_tables":{"items":{"$ref":"#/components/schemas/DataAccessTableActivity"},"title":"Top Tables","type":"array"}},"required":["period","since","bucket","reads","people","failed","tables_read","top_people","top_tables","timeline"],"title":"DataAccessSummary","type":"object"},"DataAccessTableActivity":{"properties":{"people":{"title":"People","type":"integer"},"reads":{"title":"Reads","type":"integer"},"table":{"title":"Table","type":"string"}},"required":["table","reads","people"],"title":"DataAccessTableActivity","type":"object"},"DataAccessTimelineBucket":{"properties":{"agent_reads":{"default":0,"title":"Agent Reads","type":"integer"},"failed":{"default":0,"title":"Failed","type":"integer"},"sql_reads":{"default":0,"title":"Sql Reads","type":"integer"},"start":{"format":"date-time","title":"Start","type":"string"}},"required":["start"],"title":"DataAccessTimelineBucket","type":"object"},"DataAgentCatalogItemEvidenceResponse":{"properties":{"kind":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Kind"},"name":{"maxLength":256,"title":"Name","type":"string"},"status":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Status"}},"required":["name"],"title":"DataAgentCatalogItemEvidenceResponse","type":"object"},"DataAgentContextActionEvidenceResponse":{"properties":{"action_sequence":{"minimum":0,"title":"Action Sequence","type":"integer"},"coverage":{"$ref":"#/components/schemas/DataAgentContextCoverageResponse"},"evidence_sequence":{"minimum":0,"title":"Evidence Sequence","type":"integer"},"freshness":{"anyOf":[{"$ref":"#/components/schemas/DataAgentEvidenceFreshnessResponse"},{"type":"null"}]},"kind":{"const":"context","default":"context","title":"Kind","type":"string"},"object_count":{"default":0,"minimum":0,"title":"Object Count","type":"integer"},"objects":{"items":{"$ref":"#/components/schemas/DataAgentSchemaObjectEvidenceResponse"},"title":"Objects","type":"array"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"summary":{"title":"Summary","type":"string"},"tool_name":{"enum":["catalog.inspect","context.get","context.query","engine.describe","engine.query","engine.sql","engine.timeline","evidence.inspect","query.run","result_capsule.reuse","result.inspect","schema.inspect","verified_plan.lookup"],"title":"Tool Name","type":"string"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"required":["action_sequence","evidence_sequence","tool_name","summary"],"title":"DataAgentContextActionEvidenceResponse","type":"object"},"DataAgentContextCoverageResponse":{"properties":{"edge_count":{"default":0,"minimum":0,"title":"Edge Count","type":"integer"},"evidence_count":{"default":0,"minimum":0,"title":"Evidence Count","type":"integer"},"object_count":{"default":0,"minimum":0,"title":"Object Count","type":"integer"},"observation_count":{"default":0,"minimum":0,"title":"Observation Count","type":"integer"},"path_count":{"default":0,"minimum":0,"title":"Path Count","type":"integer"},"truncated":{"default":false,"title":"Truncated","type":"boolean"}},"title":"DataAgentContextCoverageResponse","type":"object"},"DataAgentEvidenceFreshnessResponse":{"properties":{"age_seconds":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"title":"Age Seconds"},"observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed At"},"status":{"default":"unknown","enum":["current","stale","unknown"],"title":"Status","type":"string"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"}},"title":"DataAgentEvidenceFreshnessResponse","type":"object"},"DataAgentOtherActionEvidenceResponse":{"properties":{"action_sequence":{"minimum":0,"title":"Action Sequence","type":"integer"},"evidence_sequence":{"minimum":0,"title":"Evidence Sequence","type":"integer"},"freshness":{"anyOf":[{"$ref":"#/components/schemas/DataAgentEvidenceFreshnessResponse"},{"type":"null"}]},"item_count":{"default":0,"minimum":0,"title":"Item Count","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/DataAgentCatalogItemEvidenceResponse"},"maxItems":10,"title":"Items","type":"array"},"kind":{"enum":["cache","other"],"title":"Kind","type":"string"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"summary":{"title":"Summary","type":"string"},"tool_name":{"enum":["catalog.inspect","context.get","context.query","engine.describe","engine.query","engine.sql","engine.timeline","evidence.inspect","query.run","result_capsule.reuse","result.inspect","schema.inspect","verified_plan.lookup"],"title":"Tool Name","type":"string"}},"required":["action_sequence","evidence_sequence","tool_name","summary","kind"],"title":"DataAgentOtherActionEvidenceResponse","type":"object"},"DataAgentQueryActionEvidenceResponse":{"properties":{"action_sequence":{"minimum":0,"title":"Action Sequence","type":"integer"},"bytes_processed":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Bytes Processed"},"cache_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cache Status"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Name"},"estimated_cost_usd":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"title":"Estimated Cost Usd"},"evidence_sequence":{"minimum":0,"title":"Evidence Sequence","type":"integer"},"external_query_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Query Id"},"freshness":{"anyOf":[{"$ref":"#/components/schemas/DataAgentEvidenceFreshnessResponse"},{"type":"null"}]},"kind":{"const":"query_execution","default":"query_execution","title":"Kind","type":"string"},"latency_ms":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"title":"Latency Ms"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"row_count":{"default":0,"minimum":0,"title":"Row Count","type":"integer"},"rows_limited":{"default":false,"title":"Rows Limited","type":"boolean"},"summary":{"title":"Summary","type":"string"},"tool_name":{"enum":["catalog.inspect","context.get","context.query","engine.describe","engine.query","engine.sql","engine.timeline","evidence.inspect","query.run","result_capsule.reuse","result.inspect","schema.inspect","verified_plan.lookup"],"title":"Tool Name","type":"string"}},"required":["action_sequence","evidence_sequence","tool_name","summary"],"title":"DataAgentQueryActionEvidenceResponse","type":"object"},"DataAgentSchemaActionEvidenceResponse":{"properties":{"action_sequence":{"minimum":0,"title":"Action Sequence","type":"integer"},"column_count":{"default":0,"minimum":0,"title":"Column Count","type":"integer"},"columns":{"items":{"$ref":"#/components/schemas/DataAgentSchemaColumnEvidenceResponse"},"maxItems":50,"title":"Columns","type":"array"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"evidence_sequence":{"minimum":0,"title":"Evidence Sequence","type":"integer"},"freshness":{"anyOf":[{"$ref":"#/components/schemas/DataAgentEvidenceFreshnessResponse"},{"type":"null"}]},"kind":{"const":"schema","default":"schema","title":"Kind","type":"string"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"summary":{"title":"Summary","type":"string"},"table_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Table Count"},"tables":{"items":{"type":"string"},"maxItems":10,"title":"Tables","type":"array"},"tool_name":{"enum":["catalog.inspect","context.get","context.query","engine.describe","engine.query","engine.sql","engine.timeline","evidence.inspect","query.run","result_capsule.reuse","result.inspect","schema.inspect","verified_plan.lookup"],"title":"Tool Name","type":"string"}},"required":["action_sequence","evidence_sequence","tool_name","summary"],"title":"DataAgentSchemaActionEvidenceResponse","type":"object"},"DataAgentSchemaColumnEvidenceResponse":{"properties":{"data_type":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Data Type"},"name":{"maxLength":256,"title":"Name","type":"string"},"table":{"maxLength":512,"title":"Table","type":"string"}},"required":["table","name"],"title":"DataAgentSchemaColumnEvidenceResponse","type":"object"},"DataAgentSchemaObjectEvidenceResponse":{"properties":{"object_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"},"ref":{"title":"Ref","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["ref"],"title":"DataAgentSchemaObjectEvidenceResponse","type":"object"},"DataAgentVerifiedPlanActionEvidenceResponse":{"properties":{"action_sequence":{"minimum":0,"title":"Action Sequence","type":"integer"},"cache_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cache Status"},"evidence_sequence":{"minimum":0,"title":"Evidence Sequence","type":"integer"},"found":{"default":false,"title":"Found","type":"boolean"},"freshness":{"anyOf":[{"$ref":"#/components/schemas/DataAgentEvidenceFreshnessResponse"},{"type":"null"}]},"kind":{"const":"verified_plan","default":"verified_plan","title":"Kind","type":"string"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"summary":{"title":"Summary","type":"string"},"tool_name":{"enum":["catalog.inspect","context.get","context.query","engine.describe","engine.query","engine.sql","engine.timeline","evidence.inspect","query.run","result_capsule.reuse","result.inspect","schema.inspect","verified_plan.lookup"],"title":"Tool Name","type":"string"}},"required":["action_sequence","evidence_sequence","tool_name","summary"],"title":"DataAgentVerifiedPlanActionEvidenceResponse","type":"object"},"DataContractDocument":{"additionalProperties":false,"properties":{"dataset":{"$ref":"#/components/schemas/DatasetSpec"},"description":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Description"},"name":{"maxLength":255,"minLength":1,"title":"Name","type":"string"},"rules":{"items":{"$ref":"#/components/schemas/ContractRule"},"maxItems":500,"title":"Rules","type":"array"},"sampling":{"$ref":"#/components/schemas/SamplingSpec"},"schema_contract":{"$ref":"#/components/schemas/SchemaContract"},"schema_version":{"default":1,"title":"Schema Version","type":"integer"},"severity":{"default":"warning","enum":["info","warning","critical"],"title":"Severity","type":"string"},"slo":{"anyOf":[{"$ref":"#/components/schemas/SloSpec"},{"type":"null"}]},"trigger":{"$ref":"#/components/schemas/TriggerSpec"}},"required":["name","dataset"],"title":"DataContractDocument","type":"object"},"DataProduct":{"properties":{"created_at":{"title":"Created At","type":"string"},"created_by":{"title":"Created By","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"scopes":{"items":{"$ref":"#/components/schemas/DataProductCatalogScope"},"title":"Scopes","type":"array"},"subscriber_user_ids":{"items":{"type":"string"},"title":"Subscriber User Ids","type":"array"},"updated_at":{"title":"Updated At","type":"string"},"updated_by":{"title":"Updated By","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","created_by","updated_by","created_at","updated_at"],"title":"DataProduct","type":"object"},"DataProductCatalogScope":{"properties":{"catalog_name":{"default":"default","maxLength":255,"minLength":1,"title":"Catalog Name","type":"string"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"data_product_id":{"title":"Data Product Id","type":"string"},"id":{"title":"Id","type":"string"},"schema_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Schema Name"},"scope_kind":{"enum":["catalog","schema","table"],"title":"Scope Kind","type":"string"},"table_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Table Name"}},"required":["scope_kind","connector_id","id","data_product_id"],"title":"DataProductCatalogScope","type":"object"},"DataProductCatalogScopeInput":{"properties":{"catalog_name":{"default":"default","maxLength":255,"minLength":1,"title":"Catalog Name","type":"string"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"schema_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Schema Name"},"scope_kind":{"enum":["catalog","schema","table"],"title":"Scope Kind","type":"string"},"table_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Table Name"}},"required":["scope_kind","connector_id"],"title":"DataProductCatalogScopeInput","type":"object"},"DataProductDeleteResponse":{"properties":{"deleted":{"title":"Deleted","type":"boolean"}},"required":["deleted"],"title":"DataProductDeleteResponse","type":"object"},"DataProductSlackChannelOption":{"properties":{"channel_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Name"},"external_channel_id":{"title":"External Channel Id","type":"string"},"is_private":{"default":false,"title":"Is Private","type":"boolean"}},"required":["external_channel_id"],"title":"DataProductSlackChannelOption","type":"object"},"DataProductSlackChannelsResponse":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/DataProductSlackChannelOption"},"title":"Channels","type":"array"},"missing_scopes":{"items":{"type":"string"},"title":"Missing Scopes","type":"array"},"status":{"enum":["ready","not_connected","reconnect_required"],"title":"Status","type":"string"}},"required":["status"],"title":"DataProductSlackChannelsResponse","type":"object"},"DataProductUpsertRequest":{"properties":{"description":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Description"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"scopes":{"items":{"$ref":"#/components/schemas/DataProductCatalogScopeInput"},"maxItems":200,"minItems":1,"title":"Scopes","type":"array"},"subscriber_user_ids":{"items":{"type":"string"},"maxItems":500,"title":"Subscriber User Ids","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name","scopes"],"title":"DataProductUpsertRequest","type":"object"},"DataProductWorkspaceMember":{"properties":{"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"title":"User Id","type":"string"}},"required":["user_id"],"title":"DataProductWorkspaceMember","type":"object"},"DataProductsResponse":{"properties":{"members":{"items":{"$ref":"#/components/schemas/DataProductWorkspaceMember"},"title":"Members","type":"array"},"products":{"items":{"$ref":"#/components/schemas/DataProduct"},"title":"Products","type":"array"},"viewer_can_manage":{"default":false,"title":"Viewer Can Manage","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DataProductsResponse","type":"object"},"DatabricksWarehouseDiscoveryRequest":{"properties":{"credentials":{"additionalProperties":true,"title":"Credentials","type":"object"},"server_hostname":{"minLength":1,"title":"Server Hostname","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","server_hostname"],"title":"DatabricksWarehouseDiscoveryRequest","type":"object"},"DatabricksWarehouseDiscoveryResponse":{"properties":{"warehouses":{"items":{"$ref":"#/components/schemas/DatabricksWarehouseOption"},"title":"Warehouses","type":"array"}},"required":["warehouses"],"title":"DatabricksWarehouseDiscoveryResponse","type":"object"},"DatabricksWarehouseOption":{"properties":{"http_path":{"title":"Http Path","type":"string"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"required":["id","name","http_path"],"title":"DatabricksWarehouseOption","type":"object"},"DatasetSpec":{"additionalProperties":false,"properties":{"relation_ref":{"maxLength":1024,"minLength":1,"title":"Relation Ref","type":"string"},"source":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Source"}},"required":["relation_ref"],"title":"DatasetSpec","type":"object"},"DbtBindingPatch":{"properties":{"adapter_hint":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"title":"Adapter Hint"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"last_error":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Last Error"},"non_secret_vars":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Non Secret Vars"},"project_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Source Id"},"repository_name":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Repository Name"},"repository_owner":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Repository Owner"},"status":{"anyOf":[{"pattern":"^(active|paused|error)$","type":"string"},{"type":"null"}],"title":"Status"},"subdirectory":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Subdirectory"},"target_database":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Database"},"target_name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Name"},"target_schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Schema"}},"title":"DbtBindingPatch","type":"object"},"DbtBindingRequest":{"properties":{"adapter_hint":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"title":"Adapter Hint"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"non_secret_vars":{"additionalProperties":{"type":"string"},"title":"Non Secret Vars","type":"object"},"project_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Source Id"},"provider":{"default":"github","pattern":"^github$","title":"Provider","type":"string"},"repository_name":{"maxLength":200,"minLength":1,"title":"Repository Name","type":"string"},"repository_owner":{"maxLength":200,"minLength":1,"title":"Repository Owner","type":"string"},"status":{"default":"active","pattern":"^(active|paused|error)$","title":"Status","type":"string"},"subdirectory":{"default":"","maxLength":500,"title":"Subdirectory","type":"string"},"target_database":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Database"},"target_name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Name"},"target_schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Target Schema"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","repository_owner","repository_name"],"title":"DbtBindingRequest","type":"object"},"DecideAccessRequestRequest":{"properties":{"action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Id"},"approve":{"title":"Approve","type":"boolean"},"comment":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Comment"},"permanent_override":{"default":false,"title":"Permanent Override","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","approve"],"title":"DecideAccessRequestRequest","type":"object"},"DefinitionRef":{"additionalProperties":false,"properties":{"fingerprint":{"pattern":"^[0-9a-f]{64}$","title":"Fingerprint","type":"string"},"key":{"pattern":"^[a-z][a-z0-9_]{1,100}$","title":"Key","type":"string"},"version":{"minimum":1,"title":"Version","type":"integer"}},"required":["key","version","fingerprint"],"title":"DefinitionRef","type":"object"},"DeletionTarget":{"additionalProperties":false,"properties":{"object_id":{"format":"uuid","title":"Object Id","type":"string"},"subject_column":{"maxLength":255,"minLength":1,"title":"Subject Column","type":"string"}},"required":["object_id","subject_column"],"title":"DeletionTarget","type":"object"},"DemoRunRequest":{"additionalProperties":false,"properties":{"idempotency_key":{"maxLength":200,"minLength":1,"title":"Idempotency Key","type":"string"},"policy_id":{"format":"uuid","title":"Policy Id","type":"string"},"policy_revision":{"maxLength":100,"minLength":1,"title":"Policy Revision","type":"string"}},"required":["policy_id","policy_revision","idempotency_key"],"title":"DemoRunRequest","type":"object"},"DemoScanRequest":{"additionalProperties":false,"properties":{"policy_id":{"format":"uuid","title":"Policy Id","type":"string"}},"required":["policy_id"],"title":"DemoScanRequest","type":"object"},"DemoWithdrawalRequest":{"additionalProperties":false,"properties":{"member_id":{"maxLength":100,"minLength":1,"title":"Member Id","type":"string"},"policy_id":{"format":"uuid","title":"Policy Id","type":"string"},"policy_revision":{"maxLength":100,"minLength":1,"title":"Policy Revision","type":"string"}},"required":["policy_id","policy_revision","member_id"],"title":"DemoWithdrawalRequest","type":"object"},"DetectedDbtProjectResponse":{"properties":{"edit_paths":{"items":{"type":"string"},"title":"Edit Paths","type":"array"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"subdirectory":{"title":"Subdirectory","type":"string"}},"required":["subdirectory","edit_paths"],"title":"DetectedDbtProjectResponse","type":"object"},"Dimension":{"additionalProperties":false,"properties":{"column":{"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","title":"Column","type":"string"},"description":{"title":"Description","type":"string"},"key":{"pattern":"^[a-z][a-z0-9_]*$","title":"Key","type":"string"}},"required":["key","column","description"],"title":"Dimension","type":"object"},"DirectoryDisconnectRequest":{"properties":{"confirmation":{"title":"Confirmation","type":"string"},"mode":{"enum":["convert_to_manual","remove_managed"],"title":"Mode","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","mode","confirmation"],"title":"DirectoryDisconnectRequest","type":"object"},"DirectoryGroupRoleRequest":{"properties":{"grants_membership":{"default":false,"title":"Grants Membership","type":"boolean"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DirectoryGroupRoleRequest","type":"object"},"DirectoryReviewRequest":{"properties":{"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DirectoryReviewRequest","type":"object"},"DirectorySettingsRequest":{"properties":{"sync_google_photos":{"default":true,"title":"Sync Google Photos","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DirectorySettingsRequest","type":"object"},"DirectorySyncRequest":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DirectorySyncRequest","type":"object"},"DirectoryUserManagementRequest":{"properties":{"mode":{"enum":["google","manual_override"],"title":"Mode","type":"string"},"role":{"anyOf":[{"enum":["admin","security_admin","editor","billing_admin","viewer"],"type":"string"},{"type":"null"}],"title":"Role"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","mode"],"title":"DirectoryUserManagementRequest","type":"object"},"DismissTableOwnershipClaimRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"DismissTableOwnershipClaimRequest","type":"object"},"DispatchRequest":{"properties":{"bi_dashboard_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Bi Dashboard Id"},"bi_native_dashboard_id":{"anyOf":[{"exclusiveMinimum":0,"type":"integer"},{"type":"null"}],"title":"Bi Native Dashboard Id"},"cache_mode":{"default":"auto","enum":["auto","bypass"],"title":"Cache Mode","type":"string"},"client_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Request Id"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"execution_mode":{"default":"auto","enum":["auto","run","return"],"title":"Execution Mode","type":"string"},"investigation_run_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Investigation Run Id"},"latency_mode":{"default":"normal","enum":["normal","fast"],"title":"Latency Mode","type":"string"},"limit":{"default":50,"maximum":500,"minimum":1,"title":"Limit","type":"integer"},"max_tool_calls":{"default":8,"minimum":1,"title":"Max Tool Calls","type":"integer"},"prompt":{"minLength":1,"title":"Prompt","type":"string"},"reasoning_mode":{"default":"agentic","enum":["single_pass","agentic"],"title":"Reasoning Mode","type":"string"},"request_surface":{"default":"web_chat","enum":["web_chat","mcp","chat_integration","api"],"title":"Request Surface","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","prompt"],"title":"DispatchRequest","type":"object"},"DispatchResponse":{"properties":{"answer":{"anyOf":[{"$ref":"#/components/schemas/QueryResponse"},{"type":"null"}]},"chat_answer":{"anyOf":[{"$ref":"#/components/schemas/ChatAnswerResponse"},{"type":"null"}]},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"intent":{"const":"question","title":"Intent","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"mode":{"enum":["chat_answer","background_run"],"title":"Mode","type":"string"},"run":{"anyOf":[{"$ref":"#/components/schemas/ToolRunResponse"},{"type":"null"}]},"run_status":{"anyOf":[{"$ref":"#/components/schemas/ChatRunStatusResponse"},{"type":"null"}]},"steps":{"items":{"$ref":"#/components/schemas/AgentStepResponse"},"title":"Steps","type":"array"}},"required":["mode","intent"],"title":"DispatchResponse","type":"object"},"DraftRequirementsInput":{"additionalProperties":false,"properties":{"content":{"maxLength":50000,"minLength":1,"title":"Content","type":"string"},"object_ids":{"items":{"format":"uuid","type":"string"},"maxItems":40,"title":"Object Ids","type":"array"},"title":{"maxLength":200,"minLength":1,"title":"Title","type":"string"}},"required":["title","content"],"title":"DraftRequirementsInput","type":"object"},"DraftRequirementsOutput":{"additionalProperties":false,"properties":{"requirements":{"items":{"$ref":"#/components/schemas/Requirement"},"maxItems":20,"title":"Requirements","type":"array"}},"title":"DraftRequirementsOutput","type":"object"},"EmailCategory":{"enum":["table_scout_alerts","directory_alerts","source_sync_alerts","pipeline_alerts","table_owner_alerts","getting_started","usage_limit_alerts"],"title":"EmailCategory","type":"string"},"EmailCategoryPreference":{"properties":{"category":{"$ref":"#/components/schemas/EmailCategory"},"description":{"title":"Description","type":"string"},"label":{"title":"Label","type":"string"},"subscribed":{"title":"Subscribed","type":"boolean"}},"required":["category","label","description","subscribed"],"title":"EmailCategoryPreference","type":"object"},"EmailPreferenceUpdateRequest":{"properties":{"category":{"$ref":"#/components/schemas/EmailCategory"},"subscribed":{"title":"Subscribed","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","category","subscribed"],"title":"EmailPreferenceUpdateRequest","type":"object"},"EmailPreferencesResponse":{"properties":{"categories":{"items":{"$ref":"#/components/schemas/EmailCategoryPreference"},"title":"Categories","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","categories"],"title":"EmailPreferencesResponse","type":"object"},"EmailTokenPreferenceResponse":{"properties":{"category":{"$ref":"#/components/schemas/EmailCategory"},"label":{"title":"Label","type":"string"},"subscribed":{"title":"Subscribed","type":"boolean"},"workspace_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Name"}},"required":["workspace_name","category","label","subscribed"],"title":"EmailTokenPreferenceResponse","type":"object"},"EmailTokenPreferenceUpdateRequest":{"properties":{"source":{"default":"unsubscribe_link","enum":["unsubscribe_link","one_click"],"title":"Source","type":"string"},"subscribed":{"default":false,"title":"Subscribed","type":"boolean"},"token":{"maxLength":2048,"minLength":1,"title":"Token","type":"string"}},"required":["token"],"title":"EmailTokenPreferenceUpdateRequest","type":"object"},"EnforcementActionSpecModel":{"properties":{"action_kind":{"enum":["revoke_grant","apply_grant","revoke_role_membership","apply_role_membership"],"title":"Action Kind","type":"string"},"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"member_principal":{"anyOf":[{"maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array"},{"type":"null"}],"title":"Member Principal"},"object_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Name"},"principal_name":{"minLength":1,"title":"Principal Name","type":"string"},"principal_type":{"enum":["user","role","group","service_principal"],"title":"Principal Type","type":"string"},"privilege":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privilege"},"raw_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Identifier"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"securable_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Securable Type"}},"required":["action_kind","principal_type","principal_name"],"title":"EnforcementActionSpecModel","type":"object"},"EnqueueCatalogSyncRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"index_semantic":{"default":true,"title":"Index Semantic","type":"boolean"},"mode":{"default":"incremental","enum":["full","incremental"],"title":"Mode","type":"string"},"refresh_class":{"default":"manual","enum":["manual","active"],"title":"Refresh Class","type":"string"},"scheduled_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled For"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"EnqueueCatalogSyncRequest","type":"object"},"EnqueueCatalogSyncResponse":{"properties":{"job":{"$ref":"#/components/schemas/CatalogSyncJobResponse"},"ok":{"title":"Ok","type":"boolean"}},"required":["ok","job"],"title":"EnqueueCatalogSyncResponse","type":"object"},"EntraDirectoryConnectRequest":{"properties":{"client_id":{"title":"Client Id","type":"string"},"client_secret":{"title":"Client Secret","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"tenant_id":{"title":"Tenant Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","tenant_id","client_id","client_secret"],"title":"EntraDirectoryConnectRequest","type":"object"},"EvalFixtureResponse":{"properties":{"allow_message_only":{"default":false,"title":"Allow Message Only","type":"boolean"},"category":{"title":"Category","type":"string"},"connector_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Tag"},"custom":{"default":false,"title":"Custom","type":"boolean"},"expected_answer_contains":{"items":{"type":"string"},"title":"Expected Answer Contains","type":"array"},"expected_answer_not_contains":{"items":{"type":"string"},"title":"Expected Answer Not Contains","type":"array"},"expected_behavior":{"title":"Expected Behavior","type":"string"},"expected_context_contains":{"items":{"type":"string"},"title":"Expected Context Contains","type":"array"},"expected_sql_contains":{"items":{"type":"string"},"title":"Expected Sql Contains","type":"array"},"expected_sql_not_contains":{"items":{"type":"string"},"title":"Expected Sql Not Contains","type":"array"},"expected_sql_regex":{"items":{"type":"string"},"title":"Expected Sql Regex","type":"array"},"id":{"title":"Id","type":"string"},"oracle":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Oracle"},"parity_modes":{"items":{"type":"string"},"title":"Parity Modes","type":"array"},"prompt":{"title":"Prompt","type":"string"},"require_final_answer":{"default":false,"title":"Require Final Answer","type":"boolean"},"require_nonzero_rows":{"default":false,"title":"Require Nonzero Rows","type":"boolean"},"required_trace_tools":{"items":{"type":"string"},"title":"Required Trace Tools","type":"array"},"rolling_windows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rolling Windows","type":"array"},"semantic_answer_facts":{"items":{"type":"string"},"title":"Semantic Answer Facts","type":"array"},"source_query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Query Request Id"}},"required":["id","category","prompt","expected_behavior"],"title":"EvalFixtureResponse","type":"object"},"EvaluateProject":{"additionalProperties":false,"properties":{"expected_revision":{"maxLength":100,"minLength":1,"title":"Expected Revision","type":"string"}},"required":["expected_revision"],"title":"EvaluateProject","type":"object"},"EvidenceRef":{"additionalProperties":false,"properties":{"fingerprint":{"pattern":"^[0-9a-f]{64}$","title":"Fingerprint","type":"string"},"object_id":{"pattern":"^[0-9a-fA-F-]{36}$","title":"Object Id","type":"string"},"object_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"},"role":{"enum":["meaning","structure","validation","contradiction"],"title":"Role","type":"string"},"stable_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stable Key"}},"required":["object_id","fingerprint","role"],"title":"EvidenceRef","type":"object"},"ExecuteDeletionRequest":{"additionalProperties":false,"properties":{"confirmation":{"maxLength":200,"minLength":1,"title":"Confirmation","type":"string"}},"required":["confirmation"],"title":"ExecuteDeletionRequest","type":"object"},"ExecuteEnforcementActionRequest":{"properties":{"confirm_high_impact":{"default":false,"title":"Confirm High Impact","type":"boolean"},"plan_hash":{"minLength":1,"title":"Plan Hash","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","plan_hash"],"title":"ExecuteEnforcementActionRequest","type":"object"},"ExecutedQueryResponse":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"connector_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Name"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"execution_metadata":{"additionalProperties":true,"title":"Execution Metadata","type":"object"},"iteration":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Iteration"},"latency_ms":{"title":"Latency Ms","type":"number"},"resource_refs":{"items":{"additionalProperties":true,"type":"object"},"title":"Resource Refs","type":"array"},"row_count":{"title":"Row Count","type":"integer"},"row_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Limit"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_omitted":{"default":false,"title":"Rows Omitted","type":"boolean"},"rows_preview":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows Preview","type":"array"},"sql":{"title":"Sql","type":"string"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["completed","failed"],"title":"Status","type":"string"},"surface_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface Id"},"tool_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Call Id"},"warehouse_dialect":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse Dialect"}},"required":["sql","row_count","latency_ms","status"],"title":"ExecutedQueryResponse","type":"object"},"ExtendAccessRequestRequest":{"properties":{"duration_seconds":{"anyOf":[{"maximum":7776000,"minimum":3600,"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"justification":{"maxLength":2000,"minLength":10,"title":"Justification","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","justification"],"title":"ExtendAccessRequestRequest","type":"object"},"ExternalCatalogResponse":{"properties":{"name":{"title":"Name","type":"string"},"namespace_prefix":{"items":{"type":"string"},"title":"Namespace Prefix","type":"array"}},"required":["name","namespace_prefix"],"title":"ExternalCatalogResponse","type":"object"},"ExternalCatalogSelectionRequest":{"properties":{"name":{"maxLength":128,"minLength":1,"title":"Name","type":"string"},"namespace":{"items":{"type":"string"},"maxItems":10,"minItems":1,"title":"Namespace","type":"array"},"tables":{"items":{"type":"string"},"maxItems":1000,"minItems":1,"title":"Tables","type":"array"}},"required":["name","namespace","tables"],"title":"ExternalCatalogSelectionRequest","type":"object"},"ExternalQueryHistoryIngestRequest":{"properties":{"limit":{"default":500,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"},"lookback_minutes":{"default":60,"maximum":1440,"minimum":1,"title":"Lookback Minutes","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ExternalQueryHistoryIngestRequest","type":"object"},"ExternalQueryHistoryIngestResponse":{"properties":{"connector_id":{"title":"Connector Id","type":"string"},"connector_kind":{"enum":["snowflake","databricks","bigquery"],"title":"Connector Kind","type":"string"},"duplicates_skipped":{"default":0,"title":"Duplicates Skipped","type":"integer"},"errors":{"items":{"type":"string"},"title":"Errors","type":"array"},"matched_contrast":{"default":0,"title":"Matched Contrast","type":"integer"},"new_unmanaged_events":{"default":0,"title":"New Unmanaged Events","type":"integer"},"observed":{"default":0,"title":"Observed","type":"integer"}},"required":["connector_id","connector_kind"],"title":"ExternalQueryHistoryIngestResponse","type":"object"},"FivetranConfigRequest":{"properties":{"api_key":{"minLength":1,"title":"Api Key","type":"string"},"api_secret":{"minLength":1,"title":"Api Secret","type":"string"},"config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","api_key","api_secret"],"title":"FivetranConfigRequest","type":"object"},"FivetranMappingsRequest":{"properties":{"mappings":{"additionalProperties":{"additionalProperties":true,"type":"object"},"title":"Mappings","type":"object"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","mappings"],"title":"FivetranMappingsRequest","type":"object"},"FivetranSyncRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"FivetranSyncRequest","type":"object"},"ForYouBlastRadius":{"properties":{"downstream_table_count":{"default":0,"title":"Downstream Table Count","type":"integer"},"matched_data_product_refs":{"items":{"type":"string"},"title":"Matched Data Product Refs","type":"array"},"truncated":{"default":false,"title":"Truncated","type":"boolean"}},"title":"ForYouBlastRadius","type":"object"},"ForYouFeedItemStateResponse":{"properties":{"acknowledged_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acknowledged At"},"dismissed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dismissed At"},"event_id":{"title":"Event Id","type":"string"},"saved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saved At"},"seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seen At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","user_id","event_id"],"title":"ForYouFeedItemStateResponse","type":"object"},"ForYouFeedItemStateUpdateRequest":{"properties":{"action":{"enum":["seen","dismissed","saved","acknowledged"],"title":"Action","type":"string"},"value":{"default":true,"title":"Value","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","action"],"title":"ForYouFeedItemStateUpdateRequest","type":"object"},"ForYouItem":{"properties":{"blast_radius":{"anyOf":[{"$ref":"#/components/schemas/ForYouBlastRadius"},{"type":"null"}]},"connector_id":{"title":"Connector Id","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"enum":["schema_change","table_monitor","table_scout_report","warehouse_ingestion"],"title":"Kind","type":"string"},"relation_ref":{"title":"Relation Ref","type":"string"},"relevance":{"$ref":"#/components/schemas/ForYouRelevance"},"seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seen At"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","kind","title","href","connector_id","relation_ref","relevance"],"title":"ForYouItem","type":"object"},"ForYouRelevance":{"properties":{"data_product_id":{"title":"Data Product Id","type":"string"},"data_product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Product Name"},"label":{"title":"Label","type":"string"},"matched_relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched Relation Ref"},"resolver":{"enum":["explicit_data_product","blast_radius"],"title":"Resolver","type":"string"}},"required":["resolver","label","data_product_id"],"title":"ForYouRelevance","type":"object"},"ForYouResponse":{"properties":{"generated_at":{"title":"Generated At","type":"string"},"items":{"items":{"$ref":"#/components/schemas/ForYouItem"},"title":"Items","type":"array"},"subscribed_data_product_count":{"default":0,"title":"Subscribed Data Product Count","type":"integer"},"total_count":{"default":0,"title":"Total Count","type":"integer"},"unread_count":{"default":0,"title":"Unread Count","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"ForYouResponse","type":"object"},"ForkSharedConversationResponse":{"properties":{"conversation":{"$ref":"#/components/schemas/ConversationResponse"}},"required":["conversation"],"title":"ForkSharedConversationResponse","type":"object"},"GateProject":{"additionalProperties":false,"properties":{"code_revision":{"maxLength":200,"minLength":1,"title":"Code Revision","type":"string"},"data_revision":{"maxLength":200,"minLength":1,"title":"Data Revision","type":"string"},"expected_revision":{"maxLength":100,"minLength":1,"title":"Expected Revision","type":"string"}},"required":["expected_revision","data_revision","code_revision"],"title":"GateProject","type":"object"},"GithubConnectionResponse":{"properties":{"account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account"},"can_manage":{"default":false,"title":"Can Manage","type":"boolean"},"connected":{"default":false,"title":"Connected","type":"boolean"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"last_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Verified At"},"repositories":{"items":{"type":"string"},"title":"Repositories","type":"array"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"title":"GithubConnectionResponse","type":"object"},"GithubRepositoriesRequest":{"additionalProperties":false,"properties":{"page":{"default":1,"maximum":100,"minimum":1,"title":"Page","type":"integer"},"token":{"anyOf":[{"format":"password","maxLength":512,"minLength":1,"type":"string","writeOnly":true},{"type":"null"}],"title":"Token"}},"title":"GithubRepositoriesRequest","type":"object"},"GithubRepositoriesResponse":{"properties":{"account":{"title":"Account","type":"string"},"next_page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Page"},"repositories":{"items":{"$ref":"#/components/schemas/GithubRepositoryChoice"},"title":"Repositories","type":"array"}},"required":["account","repositories"],"title":"GithubRepositoriesResponse","type":"object"},"GithubRepositoryChoice":{"properties":{"name":{"title":"Name","type":"string"},"private":{"title":"Private","type":"boolean"}},"required":["name","private"],"title":"GithubRepositoryChoice","type":"object"},"GithubSaveRequest":{"additionalProperties":false,"properties":{"repositories":{"items":{"maxLength":256,"pattern":"^[A-Za-z0-9_-]+/[.]*[A-Za-z0-9_-][A-Za-z0-9_.-]*$","type":"string"},"maxItems":20,"minItems":1,"title":"Repositories","type":"array"},"token":{"anyOf":[{"format":"password","maxLength":512,"minLength":1,"type":"string","writeOnly":true},{"type":"null"}],"title":"Token"}},"required":["repositories"],"title":"GithubSaveRequest","type":"object"},"GoogleDirectoryStartRequest":{"properties":{"intent":{"default":"connect","enum":["connect","reauthorize"],"title":"Intent","type":"string"},"return_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return To"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"GoogleDirectoryStartRequest","type":"object"},"GoogleSheetsPickerSelectionRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"spreadsheet_id":{"maxLength":200,"minLength":20,"title":"Spreadsheet Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","spreadsheet_id"],"title":"GoogleSheetsPickerSelectionRequest","type":"object"},"GoogleSheetsPickerSelectionResponse":{"properties":{"catalog_sync":{"title":"Catalog Sync","type":"string"},"catalog_sync_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Sync Job Id"},"connector_id":{"title":"Connector Id","type":"string"},"spreadsheet_id":{"title":"Spreadsheet Id","type":"string"},"spreadsheet_title":{"title":"Spreadsheet Title","type":"string"},"tab_count":{"title":"Tab Count","type":"integer"}},"required":["connector_id","spreadsheet_id","spreadsheet_title","tab_count","catalog_sync"],"title":"GoogleSheetsPickerSelectionResponse","type":"object"},"GovernanceApprovalAttentionItem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"governance_approval","default":"governance_approval","title":"Kind","type":"string"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"subject_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Type"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"GovernanceApprovalAttentionItem","type":"object"},"GovernanceApprovalDecisionResponse":{"properties":{"actor_context":{"additionalProperties":true,"title":"Actor Context","type":"object"},"actor_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Id"},"actor_source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Name"},"actor_source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Source Type"},"created_at":{"title":"Created At","type":"string"},"decided_by":{"title":"Decided By","type":"string"},"decided_by_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decided By Role"},"decision":{"enum":["approved","rejected","confirmed","requested_revision"],"title":"Decision","type":"string"},"id":{"title":"Id","type":"string"},"policy_snapshot":{"additionalProperties":true,"title":"Policy Snapshot","type":"object"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"risk_summary":{"additionalProperties":true,"title":"Risk Summary","type":"object"},"subject_id":{"title":"Subject Id","type":"string"},"subject_type":{"enum":["run_plan","run_step","query","dashboard","policy"],"title":"Subject Type","type":"string"},"trust_level":{"anyOf":[{"enum":["high","medium","low"],"type":"string"},{"type":"null"}],"title":"Trust Level"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","subject_type","subject_id","decision","decided_by","created_at"],"title":"GovernanceApprovalDecisionResponse","type":"object"},"GovernanceApprovalsResponse":{"properties":{"decisions":{"items":{"$ref":"#/components/schemas/GovernanceApprovalDecisionResponse"},"title":"Decisions","type":"array"},"pending":{"items":{"$ref":"#/components/schemas/GovernancePendingApprovalResponse"},"title":"Pending","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"GovernanceApprovalsResponse","type":"object"},"GovernancePendingApprovalResponse":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"id":{"title":"Id","type":"string"},"risk_summary":{"additionalProperties":true,"title":"Risk Summary","type":"object"},"status":{"title":"Status","type":"string"},"subject_id":{"title":"Subject Id","type":"string"},"subject_type":{"enum":["run_plan","run_step","query","dashboard","policy"],"title":"Subject Type","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["id","subject_type","subject_id","status"],"title":"GovernancePendingApprovalResponse","type":"object"},"GovernancePolicyResponse":{"properties":{"catalog_name":{"default":"default","title":"Catalog Name","type":"string"},"classification_tags":{"items":{"type":"string"},"title":"Classification Tags","type":"array"},"column_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Name"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"effect":{"enum":["allow","deny","mask"],"title":"Effect","type":"string"},"enabled":{"default":true,"title":"Enabled","type":"boolean"},"id":{"title":"Id","type":"string"},"masking_strategy":{"default":"redact","enum":["null","redact","hash","last4"],"title":"Masking Strategy","type":"string"},"name":{"title":"Name","type":"string"},"policy_type":{"enum":["column_access","row_filter"],"title":"Policy Type","type":"string"},"principal_id":{"title":"Principal Id","type":"string"},"principal_type":{"default":"role","enum":["role","group"],"title":"Principal Type","type":"string"},"role":{"enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"title":"Role","type":"string"},"row_filter_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Row Filter Sql"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"sensitivity_levels":{"items":{"type":"string"},"title":"Sensitivity Levels","type":"array"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","policy_type","name","role","principal_id","effect"],"title":"GovernancePolicyResponse","type":"object"},"GovernancePolicySimulationRequest":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"principal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Id"},"principal_type":{"anyOf":[{"enum":["role","group"],"type":"string"},{"type":"null"}],"title":"Principal Type"},"role":{"anyOf":[{"enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"type":"string"},{"type":"null"}],"title":"Role"},"sql":{"minLength":1,"title":"Sql","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","sql"],"title":"GovernancePolicySimulationRequest","type":"object"},"GovernancePolicySimulationResponse":{"properties":{"decision":{"additionalProperties":true,"title":"Decision","type":"object"},"effective_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective Sql"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"status":{"enum":["allowed","governed","denied","approval_required"],"title":"Status","type":"string"}},"required":["status"],"title":"GovernancePolicySimulationResponse","type":"object"},"GovernancePrincipalResponse":{"properties":{"label":{"title":"Label","type":"string"},"principal_id":{"title":"Principal Id","type":"string"},"principal_type":{"enum":["role","group"],"title":"Principal Type","type":"string"},"role":{"anyOf":[{"enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"type":"string"},{"type":"null"}],"title":"Role"}},"required":["principal_type","principal_id","label"],"title":"GovernancePrincipalResponse","type":"object"},"GovernancePrincipalsResponse":{"properties":{"principals":{"items":{"$ref":"#/components/schemas/GovernancePrincipalResponse"},"title":"Principals","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"GovernancePrincipalsResponse","type":"object"},"GovernanceRevealRequest":{"properties":{"column":{"minLength":1,"title":"Column","type":"string"},"request_id":{"minLength":1,"title":"Request Id","type":"string"},"row_index":{"minimum":0,"title":"Row Index","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","request_id","column","row_index"],"title":"GovernanceRevealRequest","type":"object"},"GovernanceRevealResponse":{"properties":{"column":{"title":"Column","type":"string"},"expires_in_seconds":{"default":30,"title":"Expires In Seconds","type":"integer"},"strategy":{"title":"Strategy","type":"string"},"value":{"title":"Value"}},"required":["value","column","strategy"],"title":"GovernanceRevealResponse","type":"object"},"GovernanceSettingsResponse":{"properties":{"auto_classification_confidence_threshold":{"default":0.9,"title":"Auto Classification Confidence Threshold","type":"number"},"auto_classification_mode":{"default":"review","enum":["off","review","auto"],"title":"Auto Classification Mode","type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"hipaa_aws_baa_verified":{"default":false,"title":"Hipaa Aws Baa Verified","type":"boolean"},"hipaa_inference_mode":{"default":"disabled","enum":["disabled","bedrock"],"title":"Hipaa Inference Mode","type":"string"},"hipaa_mode_enabled":{"default":false,"title":"Hipaa Mode Enabled","type":"boolean"},"hipaa_supabase_baa_verified":{"default":false,"title":"Hipaa Supabase Baa Verified","type":"boolean"},"hipaa_temporal_baa_verified":{"default":false,"title":"Hipaa Temporal Baa Verified","type":"boolean"},"low_trust_answer_action":{"default":"warn","enum":["warn","require_approval","block"],"title":"Low Trust Answer Action","type":"string"},"persona_observation_enabled":{"default":true,"title":"Persona Observation Enabled","type":"boolean"},"platform_grant_enforcement":{"default":"off","enum":["off","advisory","enforce","strict"],"title":"Platform Grant Enforcement","type":"string"},"policy_enforcement_mode":{"default":"enforce","enum":["observe","enforce"],"title":"Policy Enforcement Mode","type":"string"},"require_trust_report":{"default":true,"title":"Require Trust Report","type":"boolean"},"result_cache_auto_promotion_threshold":{"default":0.9,"title":"Result Cache Auto Promotion Threshold","type":"number"},"result_cache_promotion_mode":{"default":"automatic","enum":["automatic","manual"],"title":"Result Cache Promotion Mode","type":"string"},"risky_run_action":{"default":"require_approval","enum":["warn","require_approval","block"],"title":"Risky Run Action","type":"string"},"sensitive_data_action":{"default":"block","enum":["warn","require_approval","block"],"title":"Sensitive Data Action","type":"string"},"unmapped_principal_fallback":{"default":"allow","enum":["allow","deny"],"title":"Unmapped Principal Fallback","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"GovernanceSettingsResponse","type":"object"},"GovernanceSummaryResponse":{"properties":{"audit_event_count_30d":{"default":0,"title":"Audit Event Count 30D","type":"integer"},"governed_answer_count_30d":{"default":0,"title":"Governed Answer Count 30D","type":"integer"},"low_trust_answer_count_30d":{"default":0,"title":"Low Trust Answer Count 30D","type":"integer"},"pending_approval_count":{"default":0,"title":"Pending Approval Count","type":"integer"},"policy_counts":{"additionalProperties":{"type":"integer"},"title":"Policy Counts","type":"object"},"recent_approvals":{"items":{"$ref":"#/components/schemas/GovernanceApprovalDecisionResponse"},"title":"Recent Approvals","type":"array"},"recent_policies":{"items":{"$ref":"#/components/schemas/GovernancePolicyResponse"},"title":"Recent Policies","type":"array"},"sensitive_column_count":{"default":0,"title":"Sensitive Column Count","type":"integer"},"settings":{"$ref":"#/components/schemas/GovernanceSettingsResponse"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","settings"],"title":"GovernanceSummaryResponse","type":"object"},"GovernanceTrustReportResponse":{"properties":{"action_evidence":{"items":{"discriminator":{"mapping":{"cache":"#/components/schemas/DataAgentOtherActionEvidenceResponse","context":"#/components/schemas/DataAgentContextActionEvidenceResponse","other":"#/components/schemas/DataAgentOtherActionEvidenceResponse","query_execution":"#/components/schemas/DataAgentQueryActionEvidenceResponse","schema":"#/components/schemas/DataAgentSchemaActionEvidenceResponse","verified_plan":"#/components/schemas/DataAgentVerifiedPlanActionEvidenceResponse"},"propertyName":"kind"},"oneOf":[{"$ref":"#/components/schemas/DataAgentSchemaActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentQueryActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentContextActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentVerifiedPlanActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentOtherActionEvidenceResponse"}]},"title":"Action Evidence","type":"array"},"action_evidence_warnings":{"items":{"enum":["current_authorization_unavailable","evidence_projection_truncated","malformed_evidence_omitted","v2_run_id_invalid","v2_run_id_missing","v2_run_not_linked","evidence_unavailable"],"type":"string"},"title":"Action Evidence Warnings","type":"array"},"citations":{"items":{"additionalProperties":true,"type":"object"},"title":"Citations","type":"array"},"governance_decision":{"additionalProperties":true,"title":"Governance Decision","type":"object"},"lineage":{"items":{"additionalProperties":true,"type":"object"},"title":"Lineage","type":"array"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"quality":{"additionalProperties":true,"title":"Quality","type":"object"},"request_id":{"title":"Request Id","type":"string"},"retrieval_evidence":{"additionalProperties":true,"title":"Retrieval Evidence","type":"object"},"status":{"title":"Status","type":"string"},"trust_bundle":{"additionalProperties":true,"title":"Trust Bundle","type":"object"},"trust_level":{"maximum":1,"minimum":0,"title":"Trust Level","type":"number"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["request_id","workspace_id","status","trust_level"],"title":"GovernanceTrustReportResponse","type":"object"},"GraphModel":{"properties":{"database_name":{"title":"Database Name","type":"string"},"depends_on":{"description":"Models in the graph this one reads.","items":{"format":"uuid","type":"string"},"title":"Depends On","type":"array"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["model_id","name","database_name","depends_on"],"title":"GraphModel","type":"object"},"GraphNode":{"properties":{"database_name":{"title":"Database Name","type":"string"},"depends_on":{"description":"Models in the graph this one reads.","items":{"format":"uuid","type":"string"},"title":"Depends On","type":"array"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"name":{"title":"Name","type":"string"},"run_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"The model's own run in this graph run, if it ran.","title":"Run Id"},"status":{"enum":["queued","running","succeeded","failed","upstream_failed","skipped","cancelled","reused"],"title":"Status","type":"string"}},"required":["model_id","name","database_name","depends_on","status"],"title":"GraphNode","type":"object"},"GraphRerunRequest":{"additionalProperties":false,"properties":{"from_model_id":{"description":"Run this model and every model downstream of it again.","format":"uuid","title":"From Model Id","type":"string"}},"required":["from_model_id"],"title":"GraphRerunRequest","type":"object"},"GraphRun":{"properties":{"error":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why the graph run failed before any of its models ran.","title":"Error"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"id":{"title":"Id","type":"string"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"nodes":{"items":{"$ref":"#/components/schemas/GraphNode"},"title":"Nodes","type":"array"},"rerun_of":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The graph run this one repairs.","title":"Rerun Of"},"stale":{"default":false,"description":"Still marked running, but none of its models has moved for longer than a run can take.","title":"Stale","type":"boolean"},"started_at":{"format":"date-time","title":"Started At","type":"string"},"status":{"enum":["running","completed","failed","cancelled"],"title":"Status","type":"string"},"trigger":{"enum":["scheduled","manual","sources"],"title":"Trigger","type":"string"}},"required":["id","model_id","trigger","status","nodes","started_at"],"title":"GraphRun","type":"object"},"GraphRunList":{"properties":{"graph_runs":{"description":"Newest first.","items":{"$ref":"#/components/schemas/GraphRun"},"title":"Graph Runs","type":"array"}},"required":["graph_runs"],"title":"GraphRunList","type":"object"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"},"HubArea":{"properties":{"dashboard":{"anyOf":[{"$ref":"#/components/schemas/HubDashboard"},{"type":"null"}]},"highlight":{"title":"Highlight","type":"string"},"key":{"title":"Key","type":"string"},"models":{"items":{"type":"string"},"title":"Models","type":"array"},"proposal_id":{"title":"Proposal Id","type":"string"},"proposed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposed At"},"pull_request_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pull Request Url"},"status":{"title":"Status","type":"string"},"summary":{"title":"Summary","type":"string"},"title":{"title":"Title","type":"string"}},"required":["key","title","summary","highlight","models","status","proposal_id"],"title":"HubArea","type":"object"},"HubDashboard":{"properties":{"chart_count":{"default":0,"title":"Chart Count","type":"integer"},"failed_charts":{"items":{"type":"string"},"title":"Failed Charts","type":"array"},"title":{"title":"Title","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["title"],"title":"HubDashboard","type":"object"},"HubProposal":{"properties":{"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"id":{"title":"Id","type":"string"},"phase":{"title":"Phase","type":"string"},"pull_request_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pull Request Url"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["id","phase"],"title":"HubProposal","type":"object"},"HubRepository":{"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["id","name"],"title":"HubRepository","type":"object"},"IdentityFederationActionRequest":{"properties":{"operation":{"enum":["stage","activate","retire_due","disable","compromise"],"title":"Operation","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","operation"],"title":"IdentityFederationActionRequest","type":"object"},"IdentityFederationConfig":{"properties":{"audience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"},"binding_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Binding Id"},"enforcement":{"anyOf":[{"enum":["compatibility","federated_only"],"type":"string"},{"type":"null"}],"title":"Enforcement"},"external_tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Tenant Id"},"installation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Status"},"issuer":{"title":"Issuer","type":"string"},"issuer_mode":{"anyOf":[{"enum":["managed","customer_controlled"],"type":"string"},{"type":"null"}],"title":"Issuer Mode"},"jwks_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jwks Uri"},"key_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Version"},"migration_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Migration State"},"provider":{"anyOf":[{"enum":["snowflake","databricks"],"type":"string"},{"type":"null"}],"title":"Provider"},"provider_account_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Account Host"},"provider_policy_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Policy Id"},"provider_policy_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Policy Name"},"public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Id"},"rotation_state":{"additionalProperties":true,"title":"Rotation State","type":"object"},"setup_snippets":{"additionalProperties":{"type":"string"},"title":"Setup Snippets","type":"object"},"status":{"title":"Status","type":"string"},"subject_claim":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Claim"},"token_ttl_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Token Ttl Seconds"},"trust_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trust Id"},"verification_health":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Health"}},"required":["issuer","status"],"title":"IdentityFederationConfig","type":"object"},"IdentityFederationDdlResult":{"properties":{"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"ok":{"title":"Ok","type":"boolean"},"statement":{"default":"","title":"Statement","type":"string"}},"required":["ok"],"title":"IdentityFederationDdlResult","type":"object"},"IdentityFederationEnforcementRequest":{"properties":{"enforcement":{"enum":["compatibility","federated_only"],"title":"Enforcement","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","enforcement"],"title":"IdentityFederationEnforcementRequest","type":"object"},"IdentityFederationMigrationStatus":{"properties":{"active":{"default":0,"title":"Active","type":"integer"},"blocking":{"default":0,"title":"Blocking","type":"integer"},"converted":{"default":0,"title":"Converted","type":"integer"},"reconnect_required":{"default":0,"title":"Reconnect Required","type":"integer"},"revoked":{"default":0,"title":"Revoked","type":"integer"}},"title":"IdentityFederationMigrationStatus","type":"object"},"IncrementalSettings":{"additionalProperties":false,"properties":{"strategy":{"default":"merge","enum":["merge","append"],"title":"Strategy","type":"string"},"unique_key":{"default":[],"items":{"pattern":"^[a-z_][a-z0-9_]{0,62}$","type":"string"},"maxItems":8,"title":"Unique Key","type":"array"}},"title":"IncrementalSettings","type":"object"},"InferredJoinReviewApplyResponse":{"properties":{"candidate":{"$ref":"#/components/schemas/InferredJoinReviewCandidateResponse"},"decision":{"$ref":"#/components/schemas/InferredJoinReviewDecisionResponse"}},"required":["candidate","decision"],"title":"InferredJoinReviewApplyResponse","type":"object"},"InferredJoinReviewCandidateResponse":{"properties":{"assertion_id":{"title":"Assertion Id","type":"string"},"assertion_status":{"title":"Assertion Status","type":"string"},"assertion_version":{"title":"Assertion Version","type":"string"},"cardinality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cardinality"},"catalog_fingerprint":{"title":"Catalog Fingerprint","type":"string"},"confidence":{"default":0,"maximum":1,"minimum":0,"title":"Confidence","type":"number"},"connector_id":{"title":"Connector Id","type":"string"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"predicates":{"items":{"additionalProperties":true,"type":"object"},"title":"Predicates","type":"array"},"relationship_meaning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship Meaning"},"review":{"anyOf":[{"$ref":"#/components/schemas/InferredJoinReviewDecisionResponse"},{"type":"null"}]},"review_fingerprint":{"title":"Review Fingerprint","type":"string"},"source_columns":{"items":{"type":"string"},"title":"Source Columns","type":"array"},"source_table":{"title":"Source Table","type":"string"},"source_table_stable_key":{"default":"","title":"Source Table Stable Key","type":"string"},"stable_key":{"title":"Stable Key","type":"string"},"target_columns":{"items":{"type":"string"},"title":"Target Columns","type":"array"},"target_table":{"title":"Target Table","type":"string"},"target_table_stable_key":{"default":"","title":"Target Table Stable Key","type":"string"},"validation_fingerprint":{"title":"Validation Fingerprint","type":"string"},"validation_history":{"items":{"additionalProperties":true,"type":"object"},"title":"Validation History","type":"array"},"validation_identity":{"additionalProperties":true,"title":"Validation Identity","type":"object"},"validation_metrics":{"additionalProperties":true,"title":"Validation Metrics","type":"object"},"validation_status":{"title":"Validation Status","type":"string"}},"required":["assertion_id","stable_key","connector_id","source_table","target_table","assertion_status","validation_status","catalog_fingerprint","validation_fingerprint","review_fingerprint","assertion_version"],"title":"InferredJoinReviewCandidateResponse","type":"object"},"InferredJoinReviewDecisionRequest":{"properties":{"assertion_id":{"minLength":1,"title":"Assertion Id","type":"string"},"assertion_version":{"maxLength":128,"minLength":1,"title":"Assertion Version","type":"string"},"decision":{"enum":["confirmed","rejected","requested_revision"],"title":"Decision","type":"string"},"note":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Note"},"review_fingerprint":{"maxLength":128,"minLength":1,"title":"Review Fingerprint","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","assertion_id","review_fingerprint","assertion_version","decision"],"title":"InferredJoinReviewDecisionRequest","type":"object"},"InferredJoinReviewDecisionResponse":{"properties":{"assertion_id":{"title":"Assertion Id","type":"string"},"assertion_version":{"title":"Assertion Version","type":"string"},"created_at":{"title":"Created At","type":"string"},"decided_by":{"title":"Decided By","type":"string"},"decided_by_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decided By Role"},"decision":{"enum":["confirmed","rejected","requested_revision"],"title":"Decision","type":"string"},"id":{"title":"Id","type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"review_fingerprint":{"title":"Review Fingerprint","type":"string"},"stable_key":{"title":"Stable Key","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","assertion_id","stable_key","review_fingerprint","assertion_version","decision","decided_by","created_at"],"title":"InferredJoinReviewDecisionResponse","type":"object"},"InferredJoinReviewListResponse":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/InferredJoinReviewCandidateResponse"},"title":"Candidates","type":"array"},"total":{"default":0,"title":"Total","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InferredJoinReviewListResponse","type":"object"},"IngestionUsageGroup":{"properties":{"engine":{"enum":["flow","worker_batch","dms"],"title":"Engine","type":"string"},"kind":{"enum":["initial_copy","cdc","batch_sync"],"title":"Kind","type":"string"},"last_completed_at":{"format":"date-time","title":"Last Completed At","type":"string"},"logical_bytes":{"title":"Logical Bytes","type":"string"},"receipt_count":{"title":"Receipt Count","type":"integer"},"records":{"title":"Records","type":"string"}},"required":["engine","kind","records","logical_bytes","receipt_count","last_completed_at"],"title":"IngestionUsageGroup","type":"object"},"InsightDeliverySettingsResponse":{"properties":{"digest_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Digest Channel Id"},"digest_enabled":{"default":false,"title":"Digest Enabled","type":"boolean"},"digest_max_items":{"default":5,"title":"Digest Max Items","type":"integer"},"digest_time":{"default":"08:30","title":"Digest Time","type":"string"},"digest_timezone":{"default":"UTC","title":"Digest Timezone","type":"string"},"email_sending_available":{"default":false,"title":"Email Sending Available","type":"boolean"},"insight_delivery_mode":{"default":"installer_dm","enum":["installer_dm","channel","off"],"title":"Insight Delivery Mode","type":"string"},"max_deliveries_per_day":{"default":3,"title":"Max Deliveries Per Day","type":"integer"},"min_score":{"default":80,"title":"Min Score","type":"number"},"scout_email_fallback_enabled":{"default":false,"title":"Scout Email Fallback Enabled","type":"boolean"},"slack_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slack Channel Id"},"slack_enabled":{"default":false,"title":"Slack Enabled","type":"boolean"},"slack_routes":{"$ref":"#/components/schemas/InsightSlackRoutes"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InsightDeliverySettingsResponse","type":"object"},"InsightDeliverySettingsUpdateRequest":{"properties":{"digest_channel_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Digest Channel Id"},"digest_enabled":{"default":false,"title":"Digest Enabled","type":"boolean"},"digest_max_items":{"default":5,"maximum":10,"minimum":1,"title":"Digest Max Items","type":"integer"},"digest_time":{"default":"08:30","maxLength":8,"title":"Digest Time","type":"string"},"digest_timezone":{"default":"UTC","maxLength":64,"title":"Digest Timezone","type":"string"},"insight_delivery_mode":{"anyOf":[{"enum":["installer_dm","channel","off"],"type":"string"},{"type":"null"}],"title":"Insight Delivery Mode"},"max_deliveries_per_day":{"default":3,"maximum":20,"minimum":0,"title":"Max Deliveries Per Day","type":"integer"},"min_score":{"default":80,"maximum":100,"minimum":0,"title":"Min Score","type":"number"},"scout_email_fallback_enabled":{"default":false,"title":"Scout Email Fallback Enabled","type":"boolean"},"slack_channel_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Slack Channel Id"},"slack_enabled":{"default":false,"title":"Slack Enabled","type":"boolean"},"slack_routes":{"$ref":"#/components/schemas/InsightSlackRoutes"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InsightDeliverySettingsUpdateRequest","type":"object"},"InsightDiscoveryRequest":{"properties":{"additional_context":{"anyOf":[{"maxLength":3000,"type":"string"},{"type":"null"}],"title":"Additional Context"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InsightDiscoveryRequest","type":"object"},"InsightDiscoveryResponse":{"properties":{"additional_context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Context"},"catalog":{"additionalProperties":true,"title":"Catalog","type":"object"},"connectors":{"items":{"additionalProperties":true,"type":"object"},"title":"Connectors","type":"array"},"context_gaps":{"items":{"type":"string"},"title":"Context Gaps","type":"array"},"generated_at":{"title":"Generated At","type":"string"},"memories":{"items":{"additionalProperties":true,"type":"object"},"title":"Memories","type":"array"},"project_sources":{"items":{"additionalProperties":true,"type":"object"},"title":"Project Sources","type":"array"},"query_history":{"items":{"additionalProperties":true,"type":"object"},"title":"Query History","type":"array"},"semantic_models":{"items":{"additionalProperties":true,"type":"object"},"title":"Semantic Models","type":"array"},"suggested_focus_areas":{"items":{"type":"string"},"title":"Suggested Focus Areas","type":"array"},"summary":{"title":"Summary","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at","summary"],"title":"InsightDiscoveryResponse","type":"object"},"InsightFindingFeedbackRequest":{"properties":{"action":{"enum":["saved","dismissed","useful","not_useful","viewed","opened"],"title":"Action","type":"string"},"correction_text":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Correction Text"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","action"],"title":"InsightFindingFeedbackRequest","type":"object"},"InsightFindingFeedbackResponse":{"properties":{"action":{"title":"Action","type":"string"},"correction_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction Text"},"created_at":{"title":"Created At","type":"string"},"created_memory_candidate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created Memory Candidate Id"},"finding_id":{"title":"Finding Id","type":"string"},"id":{"title":"Id","type":"string"},"memory_candidate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Memory Candidate"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"promoted_memory":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Promoted Memory"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","finding_id","user_id","action","created_at"],"title":"InsightFindingFeedbackResponse","type":"object"},"InsightFindingResponse":{"properties":{"chart_spec":{"additionalProperties":true,"title":"Chart Spec","type":"object"},"cited_memory_ids":{"items":{"type":"string"},"title":"Cited Memory Ids","type":"array"},"confidence":{"title":"Confidence","type":"number"},"created_at":{"title":"Created At","type":"string"},"evidence_request_ids":{"items":{"type":"string"},"title":"Evidence Request Ids","type":"array"},"finding_type":{"default":"opportunity","enum":["opportunity","risk","anomaly","trend","quality"],"title":"Finding Type","type":"string"},"id":{"title":"Id","type":"string"},"insight_category":{"default":"business","enum":["business","technical"],"title":"Insight Category","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"narrative":{"title":"Narrative","type":"string"},"recommended_action":{"additionalProperties":true,"title":"Recommended Action","type":"object"},"review_status":{"default":"pending","enum":["pending","approved","not_required","rejected","stale","superseded"],"title":"Review Status","type":"string"},"score":{"title":"Score","type":"number"},"source_citations":{"items":{"additionalProperties":true,"type":"object"},"title":"Source Citations","type":"array"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql"},"status":{"default":"active","enum":["active","saved","dismissed","archived"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","tool_run_id","title","narrative","score","confidence","created_at","updated_at"],"title":"InsightFindingResponse","type":"object"},"InsightGoal":{"properties":{"relevance":{"maxLength":350,"minLength":4,"title":"Relevance","type":"string"},"source_run_id":{"maxLength":128,"minLength":1,"title":"Source Run Id","type":"string"},"title":{"maxLength":2000,"minLength":1,"title":"Title","type":"string"}},"required":["title","source_run_id","relevance"],"title":"InsightGoal","type":"object"},"InsightHistoryResponse":{"properties":{"findings":{"items":{"$ref":"#/components/schemas/BriefFindingItem"},"title":"Findings","type":"array"},"generated_at":{"title":"Generated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"InsightHistoryResponse","type":"object"},"InsightMissionControls":{"properties":{"additional_context":{"anyOf":[{"maxLength":3000,"type":"string"},{"type":"null"}],"title":"Additional Context"},"confidence_threshold":{"default":0.55,"maximum":1,"minimum":0,"title":"Confidence Threshold","type":"number"},"exclusions":{"items":{"type":"string"},"title":"Exclusions","type":"array"},"focus_areas":{"items":{"type":"string"},"title":"Focus Areas","type":"array"},"max_probes":{"default":3,"maximum":5,"minimum":1,"title":"Max Probes","type":"integer"},"max_research_cost_usd":{"default":25,"exclusiveMinimum":0,"maximum":100,"title":"Max Research Cost Usd","type":"number"},"max_research_seconds":{"default":2400,"maximum":2400,"minimum":60,"title":"Max Research Seconds","type":"integer"},"max_subagents":{"default":3,"maximum":5,"minimum":1,"title":"Max Subagents","type":"integer"},"max_worker_tool_calls":{"default":128,"maximum":128,"minimum":1,"title":"Max Worker Tool Calls","type":"integer"},"objective":{"default":"Find surprising business changes, risks, and opportunities.","maxLength":500,"minLength":1,"title":"Objective","type":"string"},"time_horizon":{"default":"last 90 days","maxLength":80,"minLength":1,"title":"Time Horizon","type":"string"}},"title":"InsightMissionControls","type":"object"},"InsightReport":{"properties":{"caveat":{"description":"At most one limitation that could change the next step, in 15 words or fewer; empty when none.","maxLength":700,"title":"Caveat","type":"string"},"evidence":{"description":"One or two short bullets of 20 words or fewer, each with the key figure and its comparison.","items":{"maxLength":350,"minLength":4,"type":"string"},"maxItems":3,"minItems":1,"title":"Evidence","type":"array"},"goal":{"anyOf":[{"$ref":"#/components/schemas/InsightGoal"},{"type":"null"}]},"next_step":{"description":"One short action sentence of 15 words or fewer.","maxLength":600,"minLength":4,"title":"Next Step","type":"string"},"summary":{"description":"One self-contained sentence of 25 words or fewer: what happened and why it matters.","maxLength":350,"minLength":4,"title":"Summary","type":"string"}},"required":["summary","evidence","next_step","caveat"],"title":"InsightReport","type":"object"},"InsightRunCreateRequest":{"properties":{"client_request_id":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Client Request Id"},"controls":{"$ref":"#/components/schemas/InsightMissionControls"},"discovery_profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discovery Profile"},"notification_target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notification Target"},"source_finding_id":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"title":"Source Finding Id"},"source_run_id":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"title":"Source Run Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InsightRunCreateRequest","type":"object"},"InsightRunCreateResponse":{"properties":{"discovery_profile":{"additionalProperties":true,"title":"Discovery Profile","type":"object"},"run":{"$ref":"#/components/schemas/ToolRunResponse"},"steps":{"items":{"$ref":"#/components/schemas/ToolRunStepResponse"},"title":"Steps","type":"array"}},"required":["run"],"title":"InsightRunCreateResponse","type":"object"},"InsightRunDetailResponse":{"properties":{"discovery_profile":{"additionalProperties":true,"title":"Discovery Profile","type":"object"},"findings":{"items":{"$ref":"#/components/schemas/InsightFindingResponse"},"title":"Findings","type":"array"},"run":{"$ref":"#/components/schemas/ToolRunResponse"},"steps":{"items":{"$ref":"#/components/schemas/ToolRunStepResponse"},"title":"Steps","type":"array"}},"required":["run"],"title":"InsightRunDetailResponse","type":"object"},"InsightRunListResponse":{"properties":{"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"runs":{"items":{"$ref":"#/components/schemas/InsightRunSummaryResponse"},"title":"Runs","type":"array"}},"title":"InsightRunListResponse","type":"object"},"InsightRunStateResponse":{"properties":{"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"id":{"title":"Id","type":"string"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"projection_version":{"default":1,"title":"Projection Version","type":"integer"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["awaiting_approval","running","completed","failed","rejected","cancelled"],"title":"Status","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","status","updated_at"],"title":"InsightRunStateResponse","type":"object"},"InsightRunSummaryResponse":{"properties":{"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"is_automatic":{"default":false,"title":"Is Automatic","type":"boolean"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"projection_version":{"default":1,"title":"Projection Version","type":"integer"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["awaiting_approval","running","completed","failed","rejected","cancelled"],"title":"Status","type":"string"},"task_type":{"const":"insight_mission","default":"insight_mission","title":"Task Type","type":"string"},"title":{"default":"Deep research run","title":"Title","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","status","created_at"],"title":"InsightRunSummaryResponse","type":"object"},"InsightRunUpdateRequest":{"properties":{"title":{"anyOf":[{"maxLength":160,"minLength":1,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"InsightRunUpdateRequest","type":"object"},"InsightSlackRoutes":{"properties":{"change":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Change"},"insight":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Insight"},"review":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Review"},"scout":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Scout"}},"title":"InsightSlackRoutes","type":"object"},"InvestigationBundle":{"properties":{"access":{"anyOf":[{"$ref":"#/components/schemas/AccessDiagnosisBundle"},{"type":"null"}]},"annotations":{"additionalProperties":true,"title":"Annotations","type":"object"},"answer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Answer"},"as_of":{"title":"As Of","type":"string"},"blast_radius":{"anyOf":[{"items":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"}]},"type":"array"},{"additionalProperties":true,"type":"object"}],"title":"Blast Radius"},"catalog":{"additionalProperties":true,"title":"Catalog","type":"object"},"checks":{"items":{"additionalProperties":true,"type":"object"},"title":"Checks","type":"array"},"context_evidence":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"additionalProperties":true,"type":"object"}],"title":"Context Evidence"},"costs":{"additionalProperties":true,"title":"Costs","type":"object"},"detail_level":{"enum":["summary","standard","full"],"title":"Detail Level","type":"string"},"freshness":{"additionalProperties":true,"title":"Freshness","type":"object"},"inferred_join_candidates":{"items":{"additionalProperties":true,"type":"object"},"title":"Inferred Join Candidates","type":"array"},"inferred_join_mode":{"default":"off","title":"Inferred Join Mode","type":"string"},"kind":{"enum":["table","lineage","answer","schema_change","run","access"],"title":"Kind","type":"string"},"lineage":{"$ref":"#/components/schemas/LineageBundle"},"monitors":{"items":{"additionalProperties":true,"type":"object"},"title":"Monitors","type":"array"},"next_actions":{"items":{"additionalProperties":true,"type":"object"},"title":"Next Actions","type":"array"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"run":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Run"},"schema_changes":{"items":{"additionalProperties":true,"type":"object"},"title":"Schema Changes","type":"array"},"scouts":{"items":{"additionalProperties":true,"type":"object"},"title":"Scouts","type":"array"},"selector":{"additionalProperties":true,"title":"Selector","type":"object"},"semantic":{"additionalProperties":true,"title":"Semantic","type":"object"},"trust":{"additionalProperties":true,"title":"Trust","type":"object"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["kind","workspace_id","detail_level","as_of"],"title":"InvestigationBundle","type":"object"},"InvestigationRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"default","title":"Catalog Name"},"change_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Id"},"column_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Ref"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"detail_level":{"default":"standard","enum":["summary","standard","full"],"title":"Detail Level","type":"string"},"direction":{"default":"both","enum":["upstream","downstream","both"],"title":"Direction","type":"string"},"kind":{"enum":["table","lineage","answer","schema_change","run","access"],"title":"Kind","type":"string"},"max_depth":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Depth"},"max_nodes":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Nodes"},"principal_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Email"},"principal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Id"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"subject_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject User Id"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","kind"],"title":"InvestigationRequest","type":"object"},"LineageBundle":{"properties":{"direction":{"default":"both","enum":["upstream","downstream","both"],"title":"Direction","type":"string"},"edges":{"items":{"additionalProperties":true,"type":"object"},"title":"Edges","type":"array"},"kinds_present":{"items":{"type":"string"},"title":"Kinds Present","type":"array"},"nodes":{"items":{"additionalProperties":true,"type":"object"},"title":"Nodes","type":"array"},"truncated":{"additionalProperties":true,"title":"Truncated","type":"object"}},"title":"LineageBundle","type":"object"},"LinkChatIdentityRequest":{"properties":{"confirmed":{"default":false,"title":"Confirmed","type":"boolean"},"link_token":{"minLength":1,"title":"Link Token","type":"string"}},"required":["link_token"],"title":"LinkChatIdentityRequest","type":"object"},"LinkChatIdentityResponse":{"properties":{"external_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Team Name"},"platform":{"enum":["slack","discord","teams","twilio_sms"],"title":"Platform","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","platform"],"title":"LinkChatIdentityResponse","type":"object"},"MaintenanceCapabilities":{"additionalProperties":false,"properties":{"execution":{"default":false,"title":"Execution","type":"boolean"},"executor":{"title":"Executor","type":"string"},"inspection":{"default":true,"title":"Inspection","type":"boolean"},"operations":{"items":{"type":"string"},"title":"Operations","type":"array"},"ownership":{"default":"none","enum":["embrasure","external","none"],"title":"Ownership","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"required":["executor"],"title":"MaintenanceCapabilities","type":"object"},"ManagedBigQueryIdentityResponse":{"properties":{"required_data_role":{"default":"roles/bigquery.dataViewer","title":"Required Data Role","type":"string"},"required_project_role":{"default":"roles/bigquery.jobUser","title":"Required Project Role","type":"string"},"service_account_email":{"title":"Service Account Email","type":"string"}},"required":["service_account_email"],"title":"ManagedBigQueryIdentityResponse","type":"object"},"ManagedGoogleSheetsIdentityResponse":{"properties":{"service_account_email":{"title":"Service Account Email","type":"string"}},"required":["service_account_email"],"title":"ManagedGoogleSheetsIdentityResponse","type":"object"},"ManagedWarehouseSetupResponse":{"properties":{"database":{"anyOf":[{"$ref":"#/components/schemas/WarehouseDatabaseResponse"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"retryable":{"default":false,"title":"Retryable","type":"boolean"},"status":{"title":"Status","type":"string"},"warehouse":{"anyOf":[{"$ref":"#/components/schemas/WarehouseResponse"},{"type":"null"}]}},"required":["status"],"title":"ManagedWarehouseSetupResponse","type":"object"},"MaskingPolicy":{"additionalProperties":false,"properties":{"columns":{"additionalProperties":{"enum":["redact","hash","null"],"type":"string"},"title":"Columns","type":"object"},"default":{"default":"redact","enum":["redact","hash","null"],"title":"Default","type":"string"}},"title":"MaskingPolicy","type":"object"},"McpUsageRequest":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"pattern":"^[a-z][a-z0-9_]{0,39}$","type":"string"},{"type":"null"}],"title":"Action"},"call_id":{"format":"uuid","title":"Call Id","type":"string"},"duration_ms":{"default":0,"maximum":86400000,"minimum":0,"title":"Duration Ms","type":"integer"},"event":{"enum":["mcp.tool_called","mcp.tool_completed","mcp.tool_failed"],"title":"Event","type":"string"},"occurred_at":{"format":"date-time","title":"Occurred At","type":"string"},"tool":{"enum":["warehouse","sources","ingestion","catalog","query","bi","pipelines","engine","analytics"],"title":"Tool","type":"string"}},"required":["event","tool","call_id","occurred_at"],"title":"McpUsageRequest","type":"object"},"McpUsageResponse":{"properties":{"ok":{"title":"Ok","type":"boolean"}},"required":["ok"],"title":"McpUsageResponse","type":"object"},"MemoryDreamItemDismissResponse":{"properties":{"item":{"$ref":"#/components/schemas/MemoryDreamItemResponse"}},"required":["item"],"title":"MemoryDreamItemDismissResponse","type":"object"},"MemoryDreamItemResponse":{"properties":{"actor_kind":{"default":"user","title":"Actor Kind","type":"string"},"actor_metadata":{"additionalProperties":true,"title":"Actor Metadata","type":"object"},"actor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Ref"},"applied_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applied Memory Id"},"catalog_suggestion_ids":{"items":{"type":"string"},"title":"Catalog Suggestion Ids","type":"array"},"confidence":{"default":0,"title":"Confidence","type":"number"},"content":{"title":"Content","type":"string"},"context_assertion_ids":{"items":{"type":"string"},"title":"Context Assertion Ids","type":"array"},"created_at":{"title":"Created At","type":"string"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"evidence_refs":{"additionalProperties":true,"title":"Evidence Refs","type":"object"},"id":{"title":"Id","type":"string"},"item_kind":{"enum":["memory","semantic_context","catalog_annotation"],"title":"Item Kind","type":"string"},"item_payload":{"additionalProperties":true,"title":"Item Payload","type":"object"},"merged_memory_ids":{"items":{"type":"string"},"title":"Merged Memory Ids","type":"array"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"reviewed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed At"},"reviewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed By"},"run_id":{"title":"Run Id","type":"string"},"scope":{"anyOf":[{"enum":["personal","team","workspace"],"type":"string"},{"type":"null"}],"title":"Scope"},"status":{"enum":["pending","auto_saved","queued","applied","dismissed","superseded","failed"],"title":"Status","type":"string"},"superseded_memory_ids":{"items":{"type":"string"},"title":"Superseded Memory Ids","type":"array"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","run_id","item_kind","title","content","status","created_at","updated_at"],"title":"MemoryDreamItemResponse","type":"object"},"MemoryDreamRunRequest":{"properties":{"auto_save_threshold":{"default":0.9,"maximum":1,"minimum":0,"title":"Auto Save Threshold","type":"number"},"evidence_sources":{"items":{"type":"string"},"title":"Evidence Sources","type":"array"},"limit":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"},"queue_threshold":{"default":0.6,"maximum":1,"minimum":0,"title":"Queue Threshold","type":"number"},"trigger_type":{"default":"manual","enum":["manual","post_query","scheduled"],"title":"Trigger Type","type":"string"},"window_hours":{"default":24,"maximum":168,"minimum":1,"title":"Window Hours","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"MemoryDreamRunRequest","type":"object"},"MemoryDreamRunResponse":{"properties":{"actor_kind":{"default":"user","title":"Actor Kind","type":"string"},"actor_metadata":{"additionalProperties":true,"title":"Actor Metadata","type":"object"},"actor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Ref"},"attempts":{"default":0,"title":"Attempts","type":"integer"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"title":"Created At","type":"string"},"current_phase":{"default":"queued","title":"Current Phase","type":"string"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"id":{"title":"Id","type":"string"},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked At"},"max_attempts":{"default":3,"title":"Max Attempts","type":"integer"},"phase_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase Message"},"phase_status":{"default":"pending","title":"Phase Status","type":"string"},"phase_summary":{"additionalProperties":true,"title":"Phase Summary","type":"object"},"result_summary":{"additionalProperties":true,"title":"Result Summary","type":"object"},"scheduled_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled For"},"source_window":{"additionalProperties":true,"title":"Source Window","type":"object"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["queued","running","completed","failed"],"title":"Status","type":"string"},"trigger_type":{"enum":["manual","post_query","scheduled"],"title":"Trigger Type","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","trigger_type","status","created_at","updated_at"],"title":"MemoryDreamRunResponse","type":"object"},"MemoryDreamRunResultResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MemoryDreamItemResponse"},"title":"Items","type":"array"},"run":{"$ref":"#/components/schemas/MemoryDreamRunResponse"}},"required":["run"],"title":"MemoryDreamRunResultResponse","type":"object"},"MemorySummaryResponse":{"properties":{"dream_items":{"items":{"$ref":"#/components/schemas/MemoryDreamItemResponse"},"title":"Dream Items","type":"array"},"memories":{"items":{"$ref":"#/components/schemas/AgentMemoryResponse"},"title":"Memories","type":"array"},"pending_semantic_count":{"default":0,"title":"Pending Semantic Count","type":"integer"}},"title":"MemorySummaryResponse","type":"object"},"Metric":{"additionalProperties":false,"properties":{"description":{"title":"Description","type":"string"},"expression":{"title":"Expression","type":"string"},"key":{"pattern":"^[a-z][a-z0-9_]*$","title":"Key","type":"string"}},"required":["key","expression","description"],"title":"Metric","type":"object"},"MissionTriggerResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"dedupe_key":{"title":"Dedupe Key","type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"id":{"title":"Id","type":"string"},"launched_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Launched At"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"policy_id":{"title":"Policy Id","type":"string"},"score":{"default":0,"title":"Score","type":"number"},"score_explanation":{"additionalProperties":true,"title":"Score Explanation","type":"object"},"status":{"default":"pending","enum":["pending","launched","suppressed","expired","failed"],"title":"Status","type":"string"},"suppressed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suppressed Reason"},"tool_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Run Id"},"trigger_type":{"enum":["scheduled","context_delta","connector_health","metric_definition_change","schema_change"],"title":"Trigger Type","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","policy_id","trigger_type","dedupe_key","created_at","updated_at"],"title":"MissionTriggerResponse","type":"object"},"MissionTriggersResponse":{"properties":{"triggers":{"items":{"$ref":"#/components/schemas/MissionTriggerResponse"},"title":"Triggers","type":"array"}},"title":"MissionTriggersResponse","type":"object"},"ModelDetail":{"properties":{"model":{"$ref":"#/components/schemas/ModelSummary"},"versions":{"items":{"additionalProperties":true,"type":"object"},"title":"Versions","type":"array"}},"required":["model","versions"],"title":"ModelDetail","type":"object"},"ModelList":{"properties":{"can_administer":{"default":false,"description":"The caller is a workspace owner or admin: they may stop, pause or take over any pipeline.","title":"Can Administer","type":"boolean"},"enabled":{"title":"Enabled","type":"boolean"},"models":{"items":{"$ref":"#/components/schemas/ModelSummary"},"title":"Models","type":"array"}},"required":["enabled","models"],"title":"ModelList","type":"object"},"ModelRevision":{"properties":{"active":{"description":"The table serves this code now.","title":"Active","type":"boolean"},"content_hash":{"title":"Content Hash","type":"string"},"first_published_at":{"format":"date-time","title":"First Published At","type":"string"},"last_published_at":{"format":"date-time","title":"Last Published At","type":"string"},"number":{"description":"v1 is the first code ever published; a rollback keeps its number.","title":"Number","type":"integer"},"runs":{"description":"Builds of this code, by authoring or by runs.","title":"Runs","type":"integer"},"source":{"additionalProperties":true,"title":"Source","type":"object"},"version_id":{"description":"The latest version with this code; read its files to compare.","format":"uuid","title":"Version Id","type":"string"}},"required":["number","version_id","content_hash","first_published_at","last_published_at","runs","active"],"title":"ModelRevision","type":"object"},"ModelRevisionList":{"properties":{"revisions":{"description":"Newest first.","items":{"$ref":"#/components/schemas/ModelRevision"},"title":"Revisions","type":"array"}},"required":["revisions"],"title":"ModelRevisionList","type":"object"},"ModelRun":{"properties":{"attempts":{"default":1,"title":"Attempts","type":"integer"},"build_mode":{"anyOf":[{"enum":["full","incremental","backfill"],"type":"string"},{"type":"null"}],"title":"Build Mode"},"cancel_requested":{"default":false,"title":"Cancel Requested","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"current_step":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The step a running run is on.","title":"Current Step"},"database_name":{"title":"Database Name","type":"string"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"One line saying why the run failed.","title":"Error"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"graph_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The pipeline graph run this run belongs to.","title":"Graph Run Id"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"default":"ember","enum":["ember","repository_dbt"],"title":"Kind","type":"string"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"model_name":{"title":"Model Name","type":"string"},"options":{"anyOf":[{"$ref":"#/components/schemas/BuildOptions"},{"type":"null"}]},"published":{"default":false,"description":"The version this run built is the one the table serves now.","title":"Published","type":"boolean"},"queries":{"anyOf":[{"$ref":"#/components/schemas/RunQueryTotals"},{"type":"null"}]},"queue_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Ms"},"rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Rows in the table this run built.","title":"Rows"},"run_by":{"anyOf":[{"$ref":"#/components/schemas/RunUser"},{"type":"null"}],"description":"The person the run ran as: the pipeline's owner when it started, whether it was scheduled or run by hand."},"scheduled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the schedule fired; queue time runs from here to started_at.","title":"Scheduled At"},"source":{"additionalProperties":true,"description":"Repository and immutable commit built by this run.","title":"Source","type":"object"},"stale":{"default":false,"description":"Still marked running, but past the longest run its pipeline's settings allow; it will be marked failed.","title":"Stale","type":"boolean"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"tests":{"anyOf":[{"$ref":"#/components/schemas/RunTestCounts"},{"type":"null"}]},"trigger":{"anyOf":[{"enum":["scheduled","manual","sources"],"type":"string"},{"type":"null"}],"description":"How the run started: a schedule tick, by hand, or because the tables it reads changed. Runs recorded before run details existed have none.","title":"Trigger"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"version_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Version Id"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Which published version of the pipeline's code this run built.","title":"Version Number"}},"required":["id","model_id","model_name","database_name","status","created_at","updated_at"],"title":"ModelRun","type":"object"},"ModelRunDetail":{"properties":{"attempts":{"default":1,"title":"Attempts","type":"integer"},"build_mode":{"anyOf":[{"enum":["full","incremental","backfill"],"type":"string"},{"type":"null"}],"title":"Build Mode"},"can_cancel":{"default":false,"title":"Can Cancel","type":"boolean"},"cancel_requested":{"default":false,"title":"Cancel Requested","type":"boolean"},"connector_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Managed warehouse connector the run publishes to; its lineage is keyed by this connector.","title":"Connector Id"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"current_step":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The step a running run is on.","title":"Current Step"},"database_name":{"title":"Database Name","type":"string"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"One line saying why the run failed.","title":"Error"},"files":{"additionalProperties":{"type":"string"},"title":"Files","type":"object"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"graph_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The pipeline graph run this run belongs to.","title":"Graph Run Id"},"id":{"format":"uuid","title":"Id","type":"string"},"inputs":{"items":{"type":"string"},"title":"Inputs","type":"array"},"kind":{"default":"ember","enum":["ember","repository_dbt"],"title":"Kind","type":"string"},"log_lines":{"default":0,"title":"Log Lines","type":"integer"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"model_name":{"title":"Model Name","type":"string"},"nodes":{"description":"The dbt graph this run executed: input tables, then the model, then its tests.","items":{"$ref":"#/components/schemas/RunNode"},"title":"Nodes","type":"array"},"options":{"anyOf":[{"$ref":"#/components/schemas/BuildOptions"},{"type":"null"}]},"output":{"$ref":"#/components/schemas/RunOutput"},"owned":{"default":false,"title":"Owned","type":"boolean"},"published":{"default":false,"description":"The version this run built is the one the table serves now.","title":"Published","type":"boolean"},"queries":{"anyOf":[{"$ref":"#/components/schemas/RunQueryTotals"},{"type":"null"}]},"query_steps":{"additionalProperties":{"$ref":"#/components/schemas/RunQueryTotals"},"title":"Query Steps","type":"object"},"queue_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Ms"},"rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Rows in the table this run built.","title":"Rows"},"run_as":{"additionalProperties":true,"title":"Run As","type":"object"},"run_by":{"anyOf":[{"$ref":"#/components/schemas/RunUser"},{"type":"null"}],"description":"The person the run ran as: the pipeline's owner when it started, whether it was scheduled or run by hand."},"schedule":{"additionalProperties":true,"title":"Schedule","type":"object"},"scheduled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the schedule fired; queue time runs from here to started_at.","title":"Scheduled At"},"source":{"additionalProperties":true,"description":"Repository and immutable commit built by this run.","title":"Source","type":"object"},"stale":{"default":false,"description":"Still marked running, but past the longest run its pipeline's settings allow; it will be marked failed.","title":"Stale","type":"boolean"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"steps":{"items":{"$ref":"#/components/schemas/RunStep"},"title":"Steps","type":"array"},"test_results":{"items":{"$ref":"#/components/schemas/RunTestResult"},"title":"Test Results","type":"array"},"tests":{"anyOf":[{"$ref":"#/components/schemas/RunTestCounts"},{"type":"null"}]},"trigger":{"anyOf":[{"enum":["scheduled","manual","sources"],"type":"string"},{"type":"null"}],"description":"How the run started: a schedule tick, by hand, or because the tables it reads changed. Runs recorded before run details existed have none.","title":"Trigger"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"version_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Version Id"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Which published version of the pipeline's code this run built.","title":"Version Number"}},"required":["id","model_id","model_name","database_name","status","created_at","updated_at","steps","test_results","output","inputs","query_steps","files","run_as","schedule"],"title":"ModelRunDetail","type":"object"},"ModelRunList":{"properties":{"next_before":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"Pass as `before` to read the next, older page. Only for the default newest-first order; other orders page by `offset`.","title":"Next Before"},"runs":{"items":{"$ref":"#/components/schemas/ModelRun"},"title":"Runs","type":"array"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"How many runs match the filters across every page. Counted when `offset` pages the list.","title":"Total"}},"required":["runs"],"title":"ModelRunList","type":"object"},"ModelRunOptions":{"properties":{"incremental":{"anyOf":[{"$ref":"#/components/schemas/IncrementalSettings"},{"type":"null"}]},"variables":{"default":[],"items":{"$ref":"#/components/schemas/RunVariable"},"title":"Variables","type":"array"}},"title":"ModelRunOptions","type":"object"},"ModelSummary":{"properties":{"active_version_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Active Version Id"},"alerts":{"anyOf":[{"$ref":"#/components/schemas/PipelineAlerts"},{"type":"null"}],"description":"What this pipeline alerts on, and who hears about it."},"connector_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Managed warehouse connector the model publishes to; its lineage is keyed by this connector.","title":"Connector Id"},"dashboard":{"additionalProperties":true,"title":"Dashboard","type":"object"},"database_name":{"title":"Database Name","type":"string"},"description":{"default":"","title":"Description","type":"string"},"health":{"anyOf":[{"$ref":"#/components/schemas/PipelineHealth"},{"type":"null"}],"description":"Whether the schedule keeps the table fresh; absent when not scheduled."},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"default":"ember","enum":["ember","repository_dbt"],"title":"Kind","type":"string"},"last_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Commit built by the latest successful repository run.","title":"Last Commit Sha"},"name":{"title":"Name","type":"string"},"owned":{"default":false,"title":"Owned","type":"boolean"},"refresh":{"additionalProperties":true,"title":"Refresh","type":"object"},"repository":{"additionalProperties":true,"description":"Connected GitHub project, branch, folder and dbt selection.","title":"Repository","type":"object"},"run_settings":{"anyOf":[{"$ref":"#/components/schemas/RunSettings"},{"type":"null"}],"description":"How scheduled runs retry, time out and pause; absent when not scheduled."},"trigger":{"anyOf":[{"$ref":"#/components/schemas/PipelineTrigger"},{"type":"null"}],"description":"What a pipeline that runs after its sources sync waits for; absent for other schedules."},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Which published version of its code the table serves: v1 was published first.","title":"Version Number"}},"required":["id","name","database_name"],"title":"ModelSummary","type":"object"},"NotebookCellExecutionRequest":{"properties":{"cell_id":{"maxLength":200,"minLength":1,"title":"Cell Id","type":"string"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"execution_target":{"default":"cloud","enum":["cloud","local"],"title":"Execution Target","type":"string"},"language":{"enum":["sql","python","markdown","ai","dashboard","table","chart"],"title":"Language","type":"string"},"limit":{"default":500,"maximum":5000,"minimum":1,"title":"Limit","type":"integer"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"source":{"default":"","maxLength":200000,"title":"Source","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","cell_id","language"],"title":"NotebookCellExecutionRequest","type":"object"},"NotebookCellExecutionResponse":{"properties":{"cell_id":{"title":"Cell Id","type":"string"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"execution_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Execution Count"},"execution_target":{"enum":["cloud","local"],"title":"Execution Target","type":"string"},"id":{"title":"Id","type":"string"},"language":{"enum":["sql","python","markdown","ai","dashboard","table","chart"],"title":"Language","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"notebook_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notebook Id"},"outputs":{"items":{"additionalProperties":true,"type":"object"},"title":"Outputs","type":"array"},"source":{"title":"Source","type":"string"},"started_at":{"title":"Started At","type":"string"},"status":{"enum":["queued","running","completed","failed","skipped"],"title":"Status","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","cell_id","language","execution_target","status","source","started_at"],"title":"NotebookCellExecutionResponse","type":"object"},"NotebookExportRequest":{"properties":{"format":{"default":"ipynb","enum":["ipynb","html","markdown"],"title":"Format","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"NotebookExportRequest","type":"object"},"NotebookExportResponse":{"properties":{"content":{"title":"Content","type":"string"},"content_type":{"title":"Content Type","type":"string"},"filename":{"title":"Filename","type":"string"},"format":{"enum":["ipynb","html","markdown"],"title":"Format","type":"string"},"notebook_id":{"title":"Notebook Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["notebook_id","workspace_id","format","filename","content_type","content"],"title":"NotebookExportResponse","type":"object"},"NotebookResponse":{"properties":{"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archived At"},"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"document":{"additionalProperties":true,"title":"Document","type":"object"},"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"status":{"default":"active","enum":["active","archived"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","title","created_at","updated_at"],"title":"NotebookResponse","type":"object"},"NotebookVersionResponse":{"properties":{"author_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Id"},"change_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Summary"},"created_at":{"title":"Created At","type":"string"},"document":{"additionalProperties":true,"title":"Document","type":"object"},"id":{"title":"Id","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"notebook_id":{"title":"Notebook Id","type":"string"},"title":{"title":"Title","type":"string"},"version_number":{"title":"Version Number","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","notebook_id","workspace_id","version_number","title","created_at"],"title":"NotebookVersionResponse","type":"object"},"OAuthClientRegistrationRequest":{"properties":{"client_name":{"maxLength":200,"minLength":1,"title":"Client Name","type":"string"},"client_uri":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Client Uri"},"grant_types":{"items":{"enum":["authorization_code","refresh_token"],"type":"string"},"maxItems":2,"title":"Grant Types","type":"array"},"redirect_uris":{"items":{"maxLength":512,"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"title":"Redirect Uris","type":"array"},"response_types":{"items":{"const":"code","type":"string"},"maxItems":1,"title":"Response Types","type":"array"},"software_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Software Id"},"software_version":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Software Version"},"token_endpoint_auth_method":{"const":"none","default":"none","title":"Token Endpoint Auth Method","type":"string"}},"required":["client_name","redirect_uris"],"title":"OAuthClientRegistrationRequest","type":"object"},"OAuthClientRegistrationResponse":{"properties":{"client_id":{"title":"Client Id","type":"string"},"client_id_issued_at":{"title":"Client Id Issued At","type":"integer"},"client_name":{"title":"Client Name","type":"string"},"grant_types":{"items":{"type":"string"},"title":"Grant Types","type":"array"},"redirect_uris":{"items":{"type":"string"},"title":"Redirect Uris","type":"array"},"response_types":{"items":{"type":"string"},"title":"Response Types","type":"array"},"token_endpoint_auth_method":{"const":"none","default":"none","title":"Token Endpoint Auth Method","type":"string"}},"required":["client_id","client_name","redirect_uris","grant_types","response_types","client_id_issued_at"],"title":"OAuthClientRegistrationResponse","type":"object"},"OAuthClientValidationRequest":{"properties":{"client_id":{"maxLength":512,"minLength":8,"title":"Client Id","type":"string"},"redirect_uri":{"maxLength":512,"minLength":1,"title":"Redirect Uri","type":"string"}},"required":["client_id","redirect_uri"],"title":"OAuthClientValidationRequest","type":"object"},"OAuthClientValidationResponse":{"properties":{"client_id":{"title":"Client Id","type":"string"},"client_name":{"title":"Client Name","type":"string"}},"required":["client_id","client_name"],"title":"OAuthClientValidationResponse","type":"object"},"OntologyHealthResponse":{"properties":{"alerts":{"items":{"type":"string"},"title":"Alerts","type":"array"},"assertion_backlog":{"additionalProperties":true,"title":"Assertion Backlog","type":"object"},"churn":{"additionalProperties":true,"title":"Churn","type":"object"},"coverage":{"additionalProperties":true,"title":"Coverage","type":"object"},"cross_connector_edges":{"default":0,"title":"Cross Connector Edges","type":"integer"},"generated_at":{"title":"Generated At","type":"string"},"semantic":{"additionalProperties":true,"title":"Semantic","type":"object"},"suggestion_backlog":{"additionalProperties":true,"title":"Suggestion Backlog","type":"object"},"verified_queries":{"additionalProperties":true,"title":"Verified Queries","type":"object"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"OntologyHealthResponse","type":"object"},"OntologyObjectActionRequest":{"properties":{"duplicate_object_ids":{"items":{"type":"string"},"maxItems":25,"title":"Duplicate Object Ids","type":"array"},"note":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"title":"Note"},"summary":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"OntologyObjectActionRequest","type":"object"},"OntologyObjectConflict":{"properties":{"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"kind":{"title":"Kind","type":"string"},"object_ids":{"items":{"type":"string"},"title":"Object Ids","type":"array"},"property_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Key"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"title":{"title":"Title","type":"string"}},"required":["kind","title"],"title":"OntologyObjectConflict","type":"object"},"OntologyObjectDetail":{"properties":{"assertions":{"items":{"additionalProperties":true,"type":"object"},"title":"Assertions","type":"array"},"conflicts":{"items":{"$ref":"#/components/schemas/OntologyObjectConflict"},"title":"Conflicts","type":"array"},"duplicate_candidates":{"items":{"$ref":"#/components/schemas/OntologyObjectListItem"},"title":"Duplicate Candidates","type":"array"},"evidence":{"items":{"$ref":"#/components/schemas/UnifiedContextObjectResponse"},"title":"Evidence","type":"array"},"object":{"$ref":"#/components/schemas/OntologyObjectListItem"},"properties":{"items":{"$ref":"#/components/schemas/OntologyObjectProperty"},"title":"Properties","type":"array"},"recent_changes":{"items":{"additionalProperties":true,"type":"object"},"title":"Recent Changes","type":"array"},"related_objects":{"items":{"$ref":"#/components/schemas/OntologyObjectListItem"},"title":"Related Objects","type":"array"},"relationship_groups":{"items":{"$ref":"#/components/schemas/OntologyRelationshipGroup"},"title":"Relationship Groups","type":"array"},"representations":{"items":{"$ref":"#/components/schemas/OntologyObjectRepresentation"},"title":"Representations","type":"array"}},"required":["object"],"title":"OntologyObjectDetail","type":"object"},"OntologyObjectListItem":{"properties":{"aliases":{"items":{"type":"string"},"title":"Aliases","type":"array"},"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"authority_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authority Score"},"canonical_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Source"},"confidence":{"default":1,"title":"Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"duplicate_candidate_count":{"default":0,"title":"Duplicate Candidate Count","type":"integer"},"evidence_count":{"default":0,"title":"Evidence Count","type":"integer"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"generated_by":{"default":"system","title":"Generated By","type":"string"},"id":{"title":"Id","type":"string"},"incoming_edge_ids":{"items":{"type":"string"},"title":"Incoming Edge Ids","type":"array"},"match":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Match"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_type":{"title":"Object Type","type":"string"},"ontology_kind":{"enum":["business_process","data_entity","system_concept","workflow","policy"],"title":"Ontology Kind","type":"string"},"outgoing_edge_ids":{"items":{"type":"string"},"title":"Outgoing Edge Ids","type":"array"},"path_ids":{"items":{"type":"string"},"title":"Path Ids","type":"array"},"pending_review_count":{"default":0,"title":"Pending Review Count","type":"integer"},"profile_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Quality"},"profile_summary":{"$ref":"#/components/schemas/OntologyObjectProfileSummary"},"promotion_reasons":{"items":{"type":"string"},"title":"Promotion Reasons","type":"array"},"related_count":{"default":0,"title":"Related Count","type":"integer"},"source":{"anyOf":[{"$ref":"#/components/schemas/ContextSourceResponse"},{"type":"null"}]},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"stable_key":{"title":"Stable Key","type":"string"},"status":{"default":"active","title":"Status","type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"title":"Title","type":"string"},"total_degree":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Degree"},"truth_kind":{"default":"semantic_claim","enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"title":"Truth Kind","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"verification_status":{"default":"observed","title":"Verification Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","object_type","stable_key","title","ontology_kind"],"title":"OntologyObjectListItem","type":"object"},"OntologyObjectListResponse":{"properties":{"cleanup":{"additionalProperties":true,"title":"Cleanup","type":"object"},"limit":{"default":50,"title":"Limit","type":"integer"},"objects":{"items":{"$ref":"#/components/schemas/OntologyObjectListItem"},"title":"Objects","type":"array"},"offset":{"default":0,"title":"Offset","type":"integer"},"total":{"default":0,"title":"Total","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"OntologyObjectListResponse","type":"object"},"OntologyObjectMapping":{"properties":{"column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"data_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Type"},"direction":{"anyOf":[{"enum":["incoming","outgoing"],"type":"string"},{"type":"null"}],"title":"Direction"},"evidence_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Object Id"},"label":{"title":"Label","type":"string"},"object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"},"object_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"table":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table"},"verification_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Status"}},"required":["label"],"title":"OntologyObjectMapping","type":"object"},"OntologyObjectProfileSummary":{"properties":{"canonical_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Source"},"conflict_count":{"default":0,"title":"Conflict Count","type":"integer"},"primary_representation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Representation"},"profile_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Quality"},"promotion_reasons":{"items":{"type":"string"},"title":"Promotion Reasons","type":"array"},"property_count":{"default":0,"title":"Property Count","type":"integer"},"representation_count":{"default":0,"title":"Representation Count","type":"integer"}},"title":"OntologyObjectProfileSummary","type":"object"},"OntologyObjectProperty":{"properties":{"alternate_mappings":{"items":{"$ref":"#/components/schemas/OntologyObjectMapping"},"title":"Alternate Mappings","type":"array"},"confidence":{"default":0,"title":"Confidence","type":"number"},"data_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"evidence_object_ids":{"items":{"type":"string"},"title":"Evidence Object Ids","type":"array"},"key":{"title":"Key","type":"string"},"name":{"title":"Name","type":"string"},"primary_mapping":{"anyOf":[{"$ref":"#/components/schemas/OntologyObjectMapping"},{"type":"null"}]},"role":{"default":"attribute","title":"Role","type":"string"}},"required":["key","name"],"title":"OntologyObjectProperty","type":"object"},"OntologyObjectRepresentation":{"properties":{"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"label":{"title":"Label","type":"string"},"object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"},"object_type":{"title":"Object Type","type":"string"},"property_count":{"default":0,"title":"Property Count","type":"integer"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"role":{"default":"unknown","enum":["primary","upstream","downstream","duplicate_candidate","aggregate","unknown"],"title":"Role","type":"string"},"stable_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stable Key"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"verification_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Status"}},"required":["object_type","label"],"title":"OntologyObjectRepresentation","type":"object"},"OntologyProposalGenerateRequest":{"properties":{"apply":{"default":true,"title":"Apply","type":"boolean"},"limit":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"OntologyProposalGenerateRequest","type":"object"},"OntologyProposalGenerateResponse":{"properties":{"applied_edge_ids":{"items":{"type":"string"},"title":"Applied Edge Ids","type":"array"},"applied_object_ids":{"items":{"type":"string"},"title":"Applied Object Ids","type":"array"},"cleaned_assertions":{"default":0,"title":"Cleaned Assertions","type":"integer"},"proposed":{"default":0,"title":"Proposed","type":"integer"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"OntologyProposalGenerateResponse","type":"object"},"OntologyRelationshipGroup":{"properties":{"label":{"title":"Label","type":"string"},"objects":{"items":{"$ref":"#/components/schemas/OntologyObjectMapping"},"title":"Objects","type":"array"},"relationship":{"title":"Relationship","type":"string"}},"required":["relationship","label"],"title":"OntologyRelationshipGroup","type":"object"},"OperationDetail":{"properties":{"attempts":{"title":"Attempts","type":"integer"},"cancelled":{"default":false,"title":"Cancelled","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"model_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Model Id"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"status":{"title":"Status","type":"string"}},"required":["id","status","attempts"],"title":"OperationDetail","type":"object"},"OverviewAccessCard":{"properties":{"findings_by_severity":{"additionalProperties":{"type":"integer"},"title":"Findings By Severity","type":"object"},"platform_grant_enforcement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform Grant Enforcement"},"totals":{"additionalProperties":{"type":"integer"},"title":"Totals","type":"object"},"unmapped_principals":{"default":0,"title":"Unmapped Principals","type":"integer"}},"title":"OverviewAccessCard","type":"object"},"OverviewAttentionResponse":{"properties":{"cards":{"anyOf":[{"$ref":"#/components/schemas/OverviewCards"},{"type":"null"}]},"counts_by_kind":{"additionalProperties":{"type":"integer"},"title":"Counts By Kind","type":"object"},"generated_at":{"title":"Generated At","type":"string"},"items":{"items":{"discriminator":{"mapping":{"access_request":"#/components/schemas/AccessRequestAttentionItem","change_rule_violation":"#/components/schemas/ChangeRuleViolationAttentionItem","context_review":"#/components/schemas/ContextReviewAttentionItem","governance_approval":"#/components/schemas/GovernanceApprovalAttentionItem","schema_change":"#/components/schemas/SchemaChangeAttentionItem","table_monitor":"#/components/schemas/TableMonitorAttentionItem","table_scout_report":"#/components/schemas/TableScoutReportAttentionItem"},"propertyName":"kind"},"oneOf":[{"$ref":"#/components/schemas/AccessRequestAttentionItem"},{"$ref":"#/components/schemas/SchemaChangeAttentionItem"},{"$ref":"#/components/schemas/TableMonitorAttentionItem"},{"$ref":"#/components/schemas/TableScoutReportAttentionItem"},{"$ref":"#/components/schemas/GovernanceApprovalAttentionItem"},{"$ref":"#/components/schemas/ContextReviewAttentionItem"},{"$ref":"#/components/schemas/ChangeRuleViolationAttentionItem"}]},"title":"Items","type":"array"},"posture":{"$ref":"#/components/schemas/OverviewPostureScore"},"total_count":{"default":0,"title":"Total Count","type":"integer"},"viewer_is_access_admin":{"default":false,"title":"Viewer Is Access Admin","type":"boolean"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"OverviewAttentionResponse","type":"object"},"OverviewCards":{"properties":{"access":{"anyOf":[{"$ref":"#/components/schemas/OverviewAccessCard"},{"type":"null"}]},"cicd":{"anyOf":[{"$ref":"#/components/schemas/OverviewCicdCard"},{"type":"null"}]},"observability":{"anyOf":[{"$ref":"#/components/schemas/OverviewObservabilityCard"},{"type":"null"}]},"savings":{"anyOf":[{"$ref":"#/components/schemas/OverviewSavingsCard"},{"type":"null"}]},"usage":{"anyOf":[{"$ref":"#/components/schemas/OverviewUsageCard"},{"type":"null"}]}},"title":"OverviewCards","type":"object"},"OverviewCicdCard":{"description":"Pre-merge review posture: is Scout armed, and what has it looked at.","properties":{"armed":{"default":false,"title":"Armed","type":"boolean"},"configured":{"default":false,"title":"Configured","type":"boolean"},"connected_repository_count":{"default":0,"title":"Connected Repository Count","type":"integer"},"open_findings":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Open Findings"},"pull_requests_reviewed_30d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pull Requests Reviewed 30D"},"recent":{"items":{"$ref":"#/components/schemas/OverviewCicdPullRequestRow"},"title":"Recent","type":"array"},"repository_error":{"default":false,"title":"Repository Error","type":"boolean"},"validation_enabled":{"default":false,"title":"Validation Enabled","type":"boolean"}},"title":"OverviewCicdCard","type":"object"},"OverviewCicdPullRequestRow":{"description":"One reviewed pull request, folded up from its proposed changes.","properties":{"at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"At"},"change_count":{"default":0,"title":"Change Count","type":"integer"},"decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision"},"pull_request_number":{"title":"Pull Request Number","type":"string"},"repository":{"title":"Repository","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"worst_severity":{"default":"info","title":"Worst Severity","type":"string"}},"required":["pull_request_number","repository"],"title":"OverviewCicdPullRequestRow","type":"object"},"OverviewObservabilityCard":{"properties":{"alerting_monitor_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Alerting Monitor Count"},"daily":{"anyOf":[{"items":{"$ref":"#/components/schemas/OverviewObservabilityDailyRow"},"type":"array"},{"type":"null"}],"title":"Daily"},"enabled_monitor_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Enabled Monitor Count"},"pending_approval_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pending Approval Count"},"recent_schema_changes":{"items":{"$ref":"#/components/schemas/OverviewSchemaChangeRow"},"title":"Recent Schema Changes","type":"array"}},"title":"OverviewObservabilityCard","type":"object"},"OverviewObservabilityDailyRow":{"description":"One UTC calendar day of observability activity.","properties":{"checks_failed":{"default":0,"title":"Checks Failed","type":"integer"},"checks_run":{"default":0,"title":"Checks Run","type":"integer"},"date":{"title":"Date","type":"string"},"schema_changes":{"default":0,"title":"Schema Changes","type":"integer"}},"required":["date"],"title":"OverviewObservabilityDailyRow","type":"object"},"OverviewPostureFactor":{"properties":{"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"href":{"title":"Href","type":"string"},"key":{"enum":["enforcement_coverage","principal_hygiene","monitors_passing","connector_health","schema_change_acks"],"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"status":{"enum":["ok","warning","critical","unavailable"],"title":"Status","type":"string"},"weight":{"title":"Weight","type":"number"}},"required":["key","label","status","weight","href"],"title":"OverviewPostureFactor","type":"object"},"OverviewPostureScore":{"properties":{"factors":{"items":{"$ref":"#/components/schemas/OverviewPostureFactor"},"title":"Factors","type":"array"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"title":"OverviewPostureScore","type":"object"},"OverviewSavingsCard":{"properties":{"buckets":{"items":{"$ref":"#/components/schemas/UsageSavingsBucketRow"},"title":"Buckets","type":"array"},"summary":{"$ref":"#/components/schemas/UsageSavingsSummary"}},"required":["summary"],"title":"OverviewSavingsCard","type":"object"},"OverviewSchemaChangeRow":{"properties":{"acknowledged_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acknowledged At"},"change_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Kind"},"column_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Ref"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"id":{"title":"Id","type":"string"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"severity":{"default":"info","title":"Severity","type":"string"}},"required":["id"],"title":"OverviewSchemaChangeRow","type":"object"},"OverviewTrendDay":{"description":"One UTC calendar day of warehouse growth.","properties":{"date":{"title":"Date","type":"string"},"rows_synced":{"default":0,"title":"Rows Synced","type":"integer"},"storage_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Storage Bytes"}},"required":["date"],"title":"OverviewTrendDay","type":"object"},"OverviewTrendsResponse":{"properties":{"daily":{"items":{"$ref":"#/components/schemas/OverviewTrendDay"},"title":"Daily","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"OverviewTrendsResponse","type":"object"},"OverviewUsageCard":{"properties":{"llm_cost_usd":{"default":0,"title":"Llm Cost Usd","type":"number"},"warehouse_cost_usd":{"default":0,"title":"Warehouse Cost Usd","type":"number"}},"title":"OverviewUsageCard","type":"object"},"Parameter":{"additionalProperties":false,"properties":{"description":{"title":"Description","type":"string"},"kind":{"enum":["string","integer","number","date","datetime","boolean"],"title":"Kind","type":"string"}},"required":["kind","description"],"title":"Parameter","type":"object"},"ParameterBounds":{"properties":{"kind":{"title":"Kind","type":"string"},"maximum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maximum"},"minimum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Minimum"},"values":{"items":{"type":"string"},"title":"Values","type":"array"}},"required":["kind"],"title":"ParameterBounds","type":"object"},"PersonaActivityPoint":{"properties":{"date":{"title":"Date","type":"string"},"queries":{"default":0,"title":"Queries","type":"integer"}},"required":["date"],"title":"PersonaActivityPoint","type":"object"},"PersonaAudienceUser":{"properties":{"last_queried_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Queried At"},"profile":{"$ref":"#/components/schemas/UserProfileSummary"},"queries_30d":{"default":0,"title":"Queries 30D","type":"integer"},"queries_90d":{"default":0,"title":"Queries 90D","type":"integer"}},"required":["profile"],"title":"PersonaAudienceUser","type":"object"},"PersonaDetailResponse":{"properties":{"activity_daily":{"items":{"$ref":"#/components/schemas/PersonaActivityPoint"},"title":"Activity Daily","type":"array"},"affinities":{"items":{"$ref":"#/components/schemas/PersonaTableAffinityEntry"},"title":"Affinities","type":"array"},"analysis_styles":{"items":{"type":"string"},"title":"Analysis Styles","type":"array"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline"},"narrative":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Narrative"},"profile":{"$ref":"#/components/schemas/UserProfileSummary"},"question_patterns":{"items":{"type":"string"},"title":"Question Patterns","type":"array"},"stats":{"$ref":"#/components/schemas/PersonaDetailStats"},"status":{"enum":["profiled","pending","unobserved","failed"],"title":"Status","type":"string"}},"required":["profile","status","stats"],"title":"PersonaDetailResponse","type":"object"},"PersonaDetailStats":{"properties":{"last_active_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Active At"},"queries_30d":{"default":0,"title":"Queries 30D","type":"integer"},"queries_90d":{"default":0,"title":"Queries 90D","type":"integer"},"tables_90d":{"default":0,"title":"Tables 90D","type":"integer"}},"title":"PersonaDetailStats","type":"object"},"PersonaDirectoryEntry":{"properties":{"activity_daily":{"items":{"$ref":"#/components/schemas/PersonaActivityPoint"},"title":"Activity Daily","type":"array"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline"},"last_active_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Active At"},"profile":{"$ref":"#/components/schemas/UserProfileSummary"},"queries_30d":{"default":0,"title":"Queries 30D","type":"integer"},"status":{"enum":["profiled","pending","unobserved","failed"],"title":"Status","type":"string"},"tables_90d":{"default":0,"title":"Tables 90D","type":"integer"},"top_tables":{"items":{"$ref":"#/components/schemas/PersonaTableRef"},"title":"Top Tables","type":"array"}},"required":["profile","status"],"title":"PersonaDirectoryEntry","type":"object"},"PersonaDirectoryResponse":{"properties":{"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"observation_enabled":{"default":true,"title":"Observation Enabled","type":"boolean"},"people":{"items":{"$ref":"#/components/schemas/PersonaDirectoryEntry"},"title":"People","type":"array"},"refresh_in_progress":{"default":false,"title":"Refresh In Progress","type":"boolean"},"summary":{"$ref":"#/components/schemas/PersonaDirectorySummary"}},"required":["summary"],"title":"PersonaDirectoryResponse","type":"object"},"PersonaDirectorySummary":{"properties":{"people_observed":{"default":0,"title":"People Observed","type":"integer"},"queries_analyzed_30d":{"default":0,"title":"Queries Analyzed 30D","type":"integer"},"tables_covered":{"default":0,"title":"Tables Covered","type":"integer"}},"title":"PersonaDirectorySummary","type":"object"},"PersonaRefreshRequest":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"PersonaRefreshRequest","type":"object"},"PersonaRefreshResponse":{"properties":{"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"status":{"enum":["queued","running"],"title":"Status","type":"string"}},"required":["status"],"title":"PersonaRefreshResponse","type":"object"},"PersonaSourceCounts":{"properties":{"contrast":{"default":0,"title":"Contrast","type":"integer"},"warehouse":{"default":0,"title":"Warehouse","type":"integer"}},"title":"PersonaSourceCounts","type":"object"},"PersonaTableAffinityEntry":{"properties":{"last_queried_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Queried At"},"queries_30d":{"default":0,"title":"Queries 30D","type":"integer"},"queries_7d":{"default":0,"title":"Queries 7D","type":"integer"},"queries_90d":{"default":0,"title":"Queries 90D","type":"integer"},"source_counts":{"$ref":"#/components/schemas/PersonaSourceCounts"},"table":{"$ref":"#/components/schemas/PersonaTableRef"},"usage_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Note"}},"required":["table","source_counts"],"title":"PersonaTableAffinityEntry","type":"object"},"PersonaTableAudienceResponse":{"properties":{"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"observation_enabled":{"default":true,"title":"Observation Enabled","type":"boolean"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"users":{"items":{"$ref":"#/components/schemas/PersonaAudienceUser"},"title":"Users","type":"array"}},"title":"PersonaTableAudienceResponse","type":"object"},"PersonaTableRef":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"relation_ref":{"title":"Relation Ref","type":"string"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"}},"required":["relation_ref"],"title":"PersonaTableRef","type":"object"},"PipelineAlerts":{"properties":{"customized":{"description":"False while the pipeline keeps the default: a key-run pipeline emails its owner when it fails.","title":"Customized","type":"boolean"},"email_user_ids":{"description":"Workspace members emailed, one email thread per pipeline.","items":{"type":"string"},"title":"Email User Ids","type":"array"},"long_run_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Alert once when a scheduled run is still running after this many minutes; null is off.","title":"Long Run Minutes"},"on_failure":{"description":"Alert on each failed scheduled run, and when repeated failures pause it.","title":"On Failure","type":"boolean"},"on_late":{"description":"Alert once when a scheduled run has not succeeded by its timeout plus 15 minutes after it was due.","title":"On Late","type":"boolean"},"on_recovery":{"description":"Alert when a scheduled run succeeds after failing.","title":"On Recovery","type":"boolean"},"on_success":{"description":"Alert on every scheduled run that succeeds, recoveries included.","title":"On Success","type":"boolean"},"slack_channel":{"anyOf":[{"$ref":"#/components/schemas/AlertChannel"},{"type":"null"}],"description":"Posted through the Contrast Slack app."},"slack_webhook":{"anyOf":[{"$ref":"#/components/schemas/AlertWebhook"},{"type":"null"}],"description":"The pipeline's own Slack incoming webhook; works without the Contrast Slack app."},"webhook":{"anyOf":[{"$ref":"#/components/schemas/AlertWebhook"},{"type":"null"}]}},"required":["customized","on_failure","on_late","long_run_minutes","on_recovery","on_success","email_user_ids"],"title":"PipelineAlerts","type":"object"},"PipelineGraph":{"properties":{"models":{"description":"Run order: each model follows the models it reads; the pipeline is last.","items":{"$ref":"#/components/schemas/GraphModel"},"title":"Models","type":"array"}},"required":["models"],"title":"PipelineGraph","type":"object"},"PipelineHealth":{"properties":{"consecutive_failures":{"default":0,"title":"Consecutive Failures","type":"integer"},"expected_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When a late pipeline's missing run was due.","title":"Expected At"},"last_success_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Success At"},"pause_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pause Reason"},"state":{"description":"pending: no run has finished since the schedule started.","enum":["healthy","failing","late","paused","pending"],"title":"State","type":"string"}},"required":["state"],"title":"PipelineHealth","type":"object"},"PipelineTrigger":{"description":"How a pipeline that runs after its sources sync is doing.","properties":{"changed":{"description":"Tables that changed since its last run.","items":{"type":"string"},"title":"Changed","type":"array"},"due_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the waiting run starts.","title":"Due At"},"evaluated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Evaluated At"},"inputs":{"description":"The tables whose changes run it.","items":{"$ref":"#/components/schemas/TriggerInput"},"title":"Inputs","type":"array"},"last_read_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When its latest run started reading its tables.","title":"Last Read At"},"last_triggered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When its sources last started a run.","title":"Last Triggered At"},"min_interval_minutes":{"description":"Runs start at least this long apart.","title":"Min Interval Minutes","type":"integer"},"pending_since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When a change its last run did not read was first seen.","title":"Pending Since"},"reason":{"anyOf":[{"enum":["no_changes","waiting_for_all","sources_syncing","settling","min_interval","run_starting","run_in_progress"],"type":"string"},{"type":"null"}],"title":"Reason"},"state":{"description":"idle: nothing it reads changed since its last run. waiting: something changed and a run is due once `reason` clears. started/running: a run is starting or in progress.","enum":["idle","waiting","started","running"],"title":"State","type":"string"},"wait_for":{"description":"any: run when any table it reads changes. all: also wait until every table it reads has synced since its last run.","enum":["any","all"],"title":"Wait For","type":"string"},"waiting_on":{"description":"Tables still syncing, or that have not synced since its last run.","items":{"type":"string"},"title":"Waiting On","type":"array"}},"required":["min_interval_minutes","wait_for","state"],"title":"PipelineTrigger","type":"object"},"PlanEnforcementActionRequest":{"properties":{"action_kind":{"anyOf":[{"enum":["revoke_grant","apply_grant","revoke_role_membership","apply_role_membership"],"type":"string"},{"type":"null"}],"title":"Action Kind"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"finding_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Id"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"spec":{"anyOf":[{"$ref":"#/components/schemas/EnforcementActionSpecModel"},{"type":"null"}]},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"PlanEnforcementActionRequest","type":"object"},"PostgresConnectionDetails":{"properties":{"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"connection_mode":{"title":"Connection Mode","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"database":{"title":"Database","type":"string"},"editable":{"title":"Editable","type":"boolean"},"host":{"title":"Host","type":"string"},"instance":{"title":"Instance","type":"string"},"readable_tables":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Readable Tables"},"revision":{"title":"Revision","type":"string"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"username":{"title":"Username","type":"string"}},"required":["connector_id","revision","host","instance","database","schemas","username","connection_mode","editable"],"title":"PostgresConnectionDetails","type":"object"},"PostgresConnectionEdit":{"properties":{"database":{"maxLength":63,"minLength":1,"title":"Database","type":"string"},"password":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Password"},"revision":{"title":"Revision","type":"string"},"schemas":{"items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Schemas","type":"array"},"username":{"maxLength":63,"minLength":1,"title":"Username","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","revision","database","schemas","username"],"title":"PostgresConnectionEdit","type":"object"},"PostgresNetworkSetup":{"properties":{"configuration_status":{"enum":["configured","unconfigured"],"title":"Configuration Status","type":"string"},"connection_method":{"const":"ssh","default":"ssh","title":"Connection Method","type":"string"},"outbound_cidrs":{"items":{"type":"string"},"title":"Outbound Cidrs","type":"array"},"required_inputs":{"items":{"type":"string"},"title":"Required Inputs","type":"array"},"setup_steps":{"items":{"type":"string"},"title":"Setup Steps","type":"array"}},"required":["outbound_cidrs","configuration_status","required_inputs","setup_steps"],"title":"PostgresNetworkSetup","type":"object"},"PreviewChatIdentityRequest":{"properties":{"link_token":{"minLength":1,"title":"Link Token","type":"string"}},"required":["link_token"],"title":"PreviewChatIdentityRequest","type":"object"},"PreviewChatIdentityResponse":{"properties":{"account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Email"},"email_matches":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Matches"},"external_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Display Name"},"external_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Email"},"external_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Team Name"},"platform":{"enum":["slack","discord","teams","twilio_sms"],"title":"Platform","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","platform"],"title":"PreviewChatIdentityResponse","type":"object"},"PreviewDeletionRequest":{"additionalProperties":false,"properties":{"configuration_revision":{"maxLength":100,"minLength":1,"title":"Configuration Revision","type":"string"},"subject_id":{"maxLength":200,"minLength":1,"title":"Subject Id","type":"string"}},"required":["subject_id","configuration_revision"],"title":"PreviewDeletionRequest","type":"object"},"ProactiveInsightCardResponse":{"properties":{"confidence":{"title":"Confidence","type":"number"},"created_at":{"title":"Created At","type":"string"},"evidence_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Label"},"evidence_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Request Id"},"finding_id":{"title":"Finding Id","type":"string"},"finding_type":{"enum":["opportunity","risk","anomaly","trend"],"title":"Finding Type","type":"string"},"narrative":{"title":"Narrative","type":"string"},"probe_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Summary"},"run_id":{"title":"Run Id","type":"string"},"score":{"title":"Score","type":"number"},"table_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Summary"},"title":{"title":"Title","type":"string"}},"required":["finding_id","run_id","title","narrative","finding_type","score","confidence","created_at"],"title":"ProactiveInsightCardResponse","type":"object"},"ProactiveInsightCountsResponse":{"properties":{"eligible":{"default":0,"title":"Eligible","type":"integer"},"rejected_low_confidence":{"default":0,"title":"Rejected Low Confidence","type":"integer"},"rejected_no_evidence":{"default":0,"title":"Rejected No Evidence","type":"integer"},"technical_only":{"default":0,"title":"Technical Only","type":"integer"}},"title":"ProactiveInsightCountsResponse","type":"object"},"ProactiveInsightThresholdsResponse":{"properties":{"max_age_days":{"title":"Max Age Days","type":"integer"},"min_assessment_confidence":{"title":"Min Assessment Confidence","type":"number"},"min_confidence":{"title":"Min Confidence","type":"number"},"min_score":{"title":"Min Score","type":"number"}},"required":["min_score","min_confidence","min_assessment_confidence","max_age_days"],"title":"ProactiveInsightThresholdsResponse","type":"object"},"ProactiveInsightsResponse":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/ProactiveInsightCardResponse"},"title":"Cards","type":"array"},"counts":{"$ref":"#/components/schemas/ProactiveInsightCountsResponse"},"searching":{"default":true,"title":"Searching","type":"boolean"},"thresholds":{"$ref":"#/components/schemas/ProactiveInsightThresholdsResponse"}},"required":["thresholds","counts"],"title":"ProactiveInsightsResponse","type":"object"},"ProductAnalyticsQueryRequest":{"additionalProperties":false,"properties":{"breakdown":{"anyOf":[{"$ref":"#/components/schemas/PropertyRef"},{"type":"null"}]},"cohort_evaluated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Cohort Evaluated At"},"cohort_ids":{"items":{"format":"uuid","type":"string"},"maxItems":10,"title":"Cohort Ids","type":"array"},"date_from":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Date From"},"date_to":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Date To"},"drilldown_breakdown":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Drilldown Breakdown"},"drilldown_status":{"default":"completed","enum":["completed","dropped"],"title":"Drilldown Status","type":"string"},"drilldown_step":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Drilldown Step"},"environment":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"title":"Environment"},"exclude_email_domains":{"items":{"type":"string"},"maxItems":10,"title":"Exclude Email Domains","type":"array"},"exclude_internal":{"default":false,"title":"Exclude Internal","type":"boolean"},"formula":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"title":"Formula"},"funnel_order":{"default":"ordered","enum":["ordered","strict"],"title":"Funnel Order","type":"string"},"funnel_viz":{"default":"steps","enum":["steps","trend"],"title":"Funnel Viz","type":"string"},"funnel_window_seconds":{"default":1209600,"maximum":31536000,"minimum":1,"title":"Funnel Window Seconds","type":"integer"},"interval":{"default":"day","enum":["day","week","month"],"title":"Interval","type":"string"},"kind":{"enum":["scopes","events","properties","trends","funnels","retention","people","history","web_overview","web_breakdown","web_paths","web_dashboard","live","sessions","session","friction"],"title":"Kind","type":"string"},"limit":{"default":100,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"},"offset":{"default":0,"maximum":100000,"minimum":0,"title":"Offset","type":"integer"},"people_search":{"default":"","maxLength":256,"title":"People Search","type":"string"},"people_sort":{"default":"last_seen","enum":["last_seen","event_count","name"],"title":"People Sort","type":"string"},"person_id":{"anyOf":[{"maxLength":512,"minLength":1,"type":"string"},{"type":"null"}],"title":"Person Id"},"project_id":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"title":"Project Id"},"properties":{"items":{"$ref":"#/components/schemas/PropertyFilter"},"maxItems":30,"title":"Properties","type":"array"},"retention_mode":{"default":"on","enum":["on","after"],"title":"Retention Mode","type":"string"},"retention_periods":{"default":8,"maximum":90,"minimum":1,"title":"Retention Periods","type":"integer"},"series":{"items":{"$ref":"#/components/schemas/AnalyticsSeries"},"maxItems":10,"title":"Series","type":"array"},"session_id":{"anyOf":[{"maxLength":512,"minLength":1,"type":"string"},{"type":"null"}],"title":"Session Id"},"web_dimension":{"default":"path","enum":["path","entry_path","exit_path","channel","referring_domain","utm_source","utm_medium","utm_campaign","device_type","browser","os","country"],"title":"Web Dimension","type":"string"},"web_dimensions":{"items":{"enum":["path","entry_path","exit_path","channel","referring_domain","utm_source","utm_medium","utm_campaign","device_type","browser","os","country"],"type":"string"},"maxItems":12,"minItems":1,"title":"Web Dimensions","type":"array"},"web_filters":{"items":{"$ref":"#/components/schemas/WebFilter"},"maxItems":10,"title":"Web Filters","type":"array"},"web_path_kind":{"default":"path","enum":["path","entry","exit"],"title":"Web Path Kind","type":"string"}},"required":["kind"],"title":"ProductAnalyticsQueryRequest","type":"object"},"ProductAnalyticsWarehouseStatus":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"database":{"title":"Database","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"event_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Event Count"},"last_refreshed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Refreshed At"},"last_synced_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Synced At"},"status":{"title":"Status","type":"string"},"tables":{"items":{"$ref":"#/components/schemas/ProductAnalyticsWarehouseTable"},"title":"Tables","type":"array"}},"required":["enabled","database","status","tables"],"title":"ProductAnalyticsWarehouseStatus","type":"object"},"ProductAnalyticsWarehouseSyncStarted":{"properties":{"workflow_id":{"title":"Workflow Id","type":"string"}},"required":["workflow_id"],"title":"ProductAnalyticsWarehouseSyncStarted","type":"object"},"ProductAnalyticsWarehouseTable":{"properties":{"description":{"title":"Description","type":"string"},"name":{"title":"Name","type":"string"},"qualified_name":{"title":"Qualified Name","type":"string"},"state":{"title":"State","type":"string"}},"required":["name","qualified_name","description","state"],"title":"ProductAnalyticsWarehouseTable","type":"object"},"ProjectCheck":{"additionalProperties":false,"properties":{"column":{"maxLength":255,"minLength":1,"title":"Column","type":"string"},"id":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Id","type":"string"},"kind":{"enum":["not_null","equals","purpose","not_expired","unique"],"title":"Kind","type":"string"},"object_id":{"format":"uuid","title":"Object Id","type":"string"},"policy_id":{"format":"uuid","title":"Policy Id","type":"string"},"requirement_id":{"maxLength":100,"minLength":1,"title":"Requirement Id","type":"string"},"value":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Value"}},"required":["id","policy_id","requirement_id","object_id","column","kind"],"title":"ProjectCheck","type":"object"},"PropertyFilter":{"additionalProperties":false,"properties":{"key":{"maxLength":256,"minLength":1,"title":"Key","type":"string"},"operator":{"default":"exact","enum":["exact","is_not","icontains","not_icontains","gt","gte","lt","lte","is_set","is_not_set"],"title":"Operator","type":"string"},"type":{"default":"event","enum":["event","person","context"],"title":"Type","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Value"},"value_type":{"default":"string","enum":["string","number","boolean"],"title":"Value Type","type":"string"}},"required":["key"],"title":"PropertyFilter","type":"object"},"PropertyRef":{"additionalProperties":false,"properties":{"key":{"maxLength":256,"minLength":1,"title":"Key","type":"string"},"type":{"default":"event","enum":["event","person","context"],"title":"Type","type":"string"},"value_type":{"anyOf":[{"enum":["string","number","boolean"],"type":"string"},{"type":"null"}],"title":"Value Type"}},"required":["key"],"title":"PropertyRef","type":"object"},"PublicChartResponse":{"properties":{"query":{"$ref":"#/components/schemas/QueryHistoryItemResponse"}},"required":["query"],"title":"PublicChartResponse","type":"object"},"QualityAffectedAsset":{"properties":{"affected_object_count":{"default":0,"title":"Affected Object Count","type":"integer"},"affected_request_count":{"default":0,"title":"Affected Request Count","type":"integer"},"asset_id":{"title":"Asset Id","type":"string"},"asset_type":{"enum":["connector","warehouse","catalog","schema","table","semantic_model","repository","dashboard","surface","workspace"],"title":"Asset Type","type":"string"},"display_name":{"title":"Display Name","type":"string"},"impact_label":{"default":"medium","enum":["high","medium","low"],"title":"Impact Label","type":"string"},"impact_score":{"default":0,"title":"Impact Score","type":"number"},"issue_label":{"title":"Issue Label","type":"string"},"last_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Observed At"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"primary_issue":{"enum":["stale_result","source_changed","low_confidence","policy_blocked","missing_semantic_mapping","provider_timeout","query_execution_failed","telemetry_incomplete","no_verified_path","unknown"],"title":"Primary Issue","type":"string"},"source_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Label"},"trend":{"items":{"$ref":"#/components/schemas/QualityAffectedAssetTrendPoint"},"title":"Trend","type":"array"}},"required":["asset_id","asset_type","display_name","primary_issue","issue_label"],"title":"QualityAffectedAsset","type":"object"},"QualityAffectedAssetTrendPoint":{"properties":{"bucket_start":{"title":"Bucket Start","type":"string"},"value":{"default":0,"title":"Value","type":"integer"}},"required":["bucket_start"],"title":"QualityAffectedAssetTrendPoint","type":"object"},"QualityBucketRow":{"properties":{"answer_success_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Answer Success Rate"},"answered_unverified_count":{"default":0,"title":"Answered Unverified Count","type":"integer"},"bucket_start":{"title":"Bucket Start","type":"string"},"cache_safety_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cache Safety Rate"},"failure_count":{"default":0,"title":"Failure Count","type":"integer"},"negative_feedback_count":{"default":0,"title":"Negative Feedback Count","type":"integer"},"policy_block_count":{"default":0,"title":"Policy Block Count","type":"integer"},"safe_fallback_count":{"default":0,"title":"Safe Fallback Count","type":"integer"},"source_freshness_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Source Freshness Rate"},"telemetry_coverage_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Telemetry Coverage Rate"},"unresolved_count":{"default":0,"title":"Unresolved Count","type":"integer"},"verified_answer_count":{"default":0,"title":"Verified Answer Count","type":"integer"},"verified_answer_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Verified Answer Rate"}},"required":["bucket_start"],"title":"QualityBucketRow","type":"object"},"QualityConnectorFacet":{"properties":{"id":{"title":"Id","type":"string"},"label":{"title":"Label","type":"string"}},"required":["id","label"],"title":"QualityConnectorFacet","type":"object"},"QualityFacets":{"properties":{"can_filter_users":{"default":false,"title":"Can Filter Users","type":"boolean"},"connectors":{"items":{"$ref":"#/components/schemas/QualityConnectorFacet"},"title":"Connectors","type":"array"},"privacy_mode":{"default":"anonymized","enum":["admin","anonymized"],"title":"Privacy Mode","type":"string"},"surfaces":{"items":{"$ref":"#/components/schemas/QualitySurfaceFacet"},"title":"Surfaces","type":"array"},"users":{"items":{"$ref":"#/components/schemas/QualityUserFacet"},"title":"Users","type":"array"}},"title":"QualityFacets","type":"object"},"QualityMetric":{"properties":{"coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage"},"delta":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta"},"delta_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta Percent"},"denominator":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Denominator"},"desired_direction":{"default":"up","enum":["up","down","neutral"],"title":"Desired Direction","type":"string"},"direction":{"default":"unknown","enum":["up","down","flat","unknown"],"title":"Direction","type":"string"},"numerator":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Numerator"},"previous_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Previous Value"},"status":{"default":"unknown","enum":["strong","watch","needs_attention","unknown"],"title":"Status","type":"string"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threshold"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"}},"required":["value"],"title":"QualityMetric","type":"object"},"QualityObservabilityFilters":{"properties":{"bucket":{"default":"day","enum":["day","week"],"title":"Bucket","type":"string"},"compare":{"default":false,"title":"Compare","type":"boolean"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"end_date":{"title":"End Date","type":"string"},"start_date":{"title":"Start Date","type":"string"},"surface":{"anyOf":[{"enum":["web_chat","api_query","mcp","dashboard","slack","teams","discord","twilio_sms","dbt","catalog_sync","insight","eval","worker","system","unknown"],"type":"string"},{"type":"null"}],"title":"Surface"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","start_date","end_date"],"title":"QualityObservabilityFilters","type":"object"},"QualityObservabilityResponse":{"properties":{"affected_assets":{"items":{"$ref":"#/components/schemas/QualityAffectedAsset"},"title":"Affected Assets","type":"array"},"buckets":{"items":{"$ref":"#/components/schemas/QualityBucketRow"},"title":"Buckets","type":"array"},"facets":{"$ref":"#/components/schemas/QualityFacets"},"filters":{"$ref":"#/components/schemas/QualityObservabilityFilters"},"generated_at":{"title":"Generated At","type":"string"},"opportunities":{"items":{"$ref":"#/components/schemas/QualityOpportunity"},"title":"Opportunities","type":"array"},"reasons":{"items":{"$ref":"#/components/schemas/QualityReasonRow"},"title":"Reasons","type":"array"},"summary":{"$ref":"#/components/schemas/QualitySummary"},"warnings":{"items":{"$ref":"#/components/schemas/QualityWarning"},"title":"Warnings","type":"array"}},"required":["filters","summary","facets","generated_at"],"title":"QualityObservabilityResponse","type":"object"},"QualityOpportunity":{"properties":{"action_label":{"title":"Action Label","type":"string"},"affected_area":{"title":"Affected Area","type":"string"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"description":{"title":"Description","type":"string"},"id":{"title":"Id","type":"string"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"potential_impact_label":{"title":"Potential Impact Label","type":"string"},"status":{"default":"new","enum":["new","in_progress","completed","dismissed"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"type":{"enum":["refresh_stale_source","add_verified_query","improve_semantic_mapping","complete_telemetry_attribution","repair_connector_credentials","add_feedback_collection","resolve_provider_timeout_pattern","tune_cache_freshness_policy"],"title":"Type","type":"string"}},"required":["id","type","title","description","affected_area","potential_impact_label","action_label"],"title":"QualityOpportunity","type":"object"},"QualityReasonRow":{"properties":{"affected_connectors":{"items":{"type":"string"},"title":"Affected Connectors","type":"array"},"affected_surfaces":{"items":{"enum":["web_chat","api_query","mcp","dashboard","slack","teams","discord","twilio_sms","dbt","catalog_sync","insight","eval","worker","system","unknown"],"type":"string"},"title":"Affected Surfaces","type":"array"},"count":{"default":0,"title":"Count","type":"integer"},"cumulative_percent":{"default":0,"title":"Cumulative Percent","type":"number"},"delta":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delta"},"label":{"title":"Label","type":"string"},"percent":{"default":0,"title":"Percent","type":"number"},"previous_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous Count"},"reason":{"enum":["stale_result","source_changed","low_confidence","policy_blocked","missing_semantic_mapping","provider_timeout","query_execution_failed","telemetry_incomplete","no_verified_path","unknown"],"title":"Reason","type":"string"},"reason_kind":{"enum":["fallback","blocked","failure"],"title":"Reason Kind","type":"string"}},"required":["reason","reason_kind","label"],"title":"QualityReasonRow","type":"object"},"QualitySummary":{"properties":{"answer_success_rate":{"$ref":"#/components/schemas/QualityMetric"},"cache_safety_rate":{"$ref":"#/components/schemas/QualityMetric"},"source_freshness_rate":{"$ref":"#/components/schemas/QualityMetric"},"telemetry_coverage_rate":{"$ref":"#/components/schemas/QualityMetric"},"verified_answer_rate":{"$ref":"#/components/schemas/QualityMetric"}},"required":["answer_success_rate","verified_answer_rate","cache_safety_rate","source_freshness_rate","telemetry_coverage_rate"],"title":"QualitySummary","type":"object"},"QualitySurfaceFacet":{"properties":{"label":{"title":"Label","type":"string"},"value":{"enum":["web_chat","api_query","mcp","dashboard","slack","teams","discord","twilio_sms","dbt","catalog_sync","insight","eval","worker","system","unknown"],"title":"Value","type":"string"}},"required":["value","label"],"title":"QualitySurfaceFacet","type":"object"},"QualityUserFacet":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"label":{"title":"Label","type":"string"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"required":["label"],"title":"QualityUserFacet","type":"object"},"QualityWarning":{"properties":{"code":{"enum":["missing_quality_rollup","estimated_quality","incomplete_attribution","optional_table_missing"],"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"QualityWarning","type":"object"},"QueryAnalyticsResponse":{"properties":{"by_surface":{"items":{"additionalProperties":true,"type":"object"},"title":"By Surface","type":"array"},"daily":{"items":{"additionalProperties":true,"type":"object"},"title":"Daily","type":"array"},"summary":{"additionalProperties":true,"title":"Summary","type":"object"},"top_errors":{"items":{"additionalProperties":true,"type":"object"},"title":"Top Errors","type":"array"},"top_questions":{"items":{"additionalProperties":true,"type":"object"},"title":"Top Questions","type":"array"},"top_tables":{"items":{"additionalProperties":true,"type":"object"},"title":"Top Tables","type":"array"},"window":{"default":"30d","enum":["month_to_date","7d","30d","90d"],"title":"Window","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"QueryAnalyticsResponse","type":"object"},"QueryCacheProvenance":{"properties":{"approval_source":{"anyOf":[{"enum":["thumbs_up","dashboard_created","manual","trust_policy"],"type":"string"},{"type":"null"}],"title":"Approval Source"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"cache_bypassed":{"default":false,"title":"Cache Bypassed","type":"boolean"},"confidence_band":{"anyOf":[{"enum":["exact","high","medium"],"type":"string"},{"type":"null"}],"title":"Confidence Band"},"data_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data Age Seconds"},"data_as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data As Of"},"demotion_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Demotion Reason"},"estimated_input_tokens_avoided":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Input Tokens Avoided"},"estimated_model_cost_avoided":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Model Cost Avoided"},"estimated_output_tokens_avoided":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Output Tokens Avoided"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"fallback_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Reason"},"fresh_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fresh Until"},"governance_signature_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Governance Signature Hash"},"llm_generation_skipped":{"default":false,"title":"Llm Generation Skipped","type":"boolean"},"match_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Match Score"},"match_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Match Source"},"matched_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched Question"},"miss_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miss Reason"},"plan_cache_hit":{"default":false,"title":"Plan Cache Hit","type":"boolean"},"probe_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Checked At"},"probe_status":{"anyOf":[{"enum":["passed","failed","error","skipped"],"type":"string"},{"type":"null"}],"title":"Probe Status"},"reasoning_capsule_hit":{"default":false,"title":"Reasoning Capsule Hit","type":"boolean"},"result_cache_hit":{"default":false,"title":"Result Cache Hit","type":"boolean"},"result_capsule_hit":{"default":false,"title":"Result Capsule Hit","type":"boolean"},"result_capsule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Capsule Id"},"result_capsule_reuse_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Capsule Reuse Mode"},"reverified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reverified At"},"saved_llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Llm Cost Usd"},"saved_total_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Total Cost Usd"},"saved_warehouse_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Warehouse Cost Usd"},"serve_policy":{"anyOf":[{"enum":["serve","serve_labeled"],"type":"string"},{"type":"null"}],"title":"Serve Policy"},"served_while_stale":{"default":false,"title":"Served While Stale","type":"boolean"},"source_executed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Executed At"},"source_query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Query Request Id"},"source_signature_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Signature Hash"},"stale_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stale At"},"verified_query_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Query Id"},"verified_query_last_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Query Last Verified At"},"verified_query_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Query Name"},"warehouse_execution_skipped":{"default":false,"title":"Warehouse Execution Skipped","type":"boolean"}},"title":"QueryCacheProvenance","type":"object"},"QueryHistoryItemResponse":{"properties":{"agent_trace":{"items":{"$ref":"#/components/schemas/AgentStepResponse"},"title":"Agent Trace","type":"array"},"answer_kind":{"anyOf":[{"enum":["query_result","message_only","clarifying_question"],"type":"string"},{"type":"null"}],"title":"Answer Kind"},"cache":{"anyOf":[{"$ref":"#/components/schemas/QueryResultCacheMetadata"},{"type":"null"}]},"cache_provenance":{"anyOf":[{"$ref":"#/components/schemas/QueryCacheProvenance"},{"type":"null"}]},"chart_spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chart Spec"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"created_at":{"title":"Created At","type":"string"},"data_agent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Agent Run Id"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Hint"},"executed_queries":{"items":{"$ref":"#/components/schemas/ExecutedQueryResponse"},"title":"Executed Queries","type":"array"},"execution_mode_resolved":{"anyOf":[{"enum":["run","return"],"type":"string"},{"type":"null"}],"title":"Execution Mode Resolved"},"final_answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Answer"},"governance_decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Governance Decision"},"llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Llm Cost Usd"},"llm_usage":{"additionalProperties":true,"title":"Llm Usage","type":"object"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"natural_language_query":{"title":"Natural Language Query","type":"string"},"orchestration_version":{"default":"v1","enum":["v1","v2"],"title":"Orchestration Version","type":"string"},"primary_result_ref":{"anyOf":[{"$ref":"#/components/schemas/ArtifactReferenceResponse"},{"type":"null"}]},"reasoning_mode":{"anyOf":[{"enum":["single_pass","agentic","insight_mission"],"type":"string"},{"type":"null"}],"title":"Reasoning Mode"},"request_id":{"title":"Request Id","type":"string"},"response_contract_version":{"anyOf":[{"enum":[1,2],"type":"integer"},{"type":"null"}],"title":"Response Contract Version"},"retrieval_context_snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Retrieval Context Snapshot Id"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_returned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Returned"},"semantic_model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Semantic Model Id"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"sql":{"title":"Sql","type":"string"},"status":{"title":"Status","type":"string"},"trust_bundle":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trust Bundle"},"used_queries":{"items":{"$ref":"#/components/schemas/UsedQueryResponse"},"title":"Used Queries","type":"array"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_profile":{"anyOf":[{"$ref":"#/components/schemas/UserProfileSummary"},{"type":"null"}]}},"required":["request_id","natural_language_query","sql","status","created_at"],"title":"QueryHistoryItemResponse","type":"object"},"QueryHistorySummaryResponse":{"properties":{"answer_kind":{"anyOf":[{"enum":["query_result","message_only","clarifying_question"],"type":"string"},{"type":"null"}],"title":"Answer Kind"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"connector_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Name"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"created_at":{"title":"Created At","type":"string"},"execution_mode_resolved":{"anyOf":[{"enum":["run","return"],"type":"string"},{"type":"null"}],"title":"Execution Mode Resolved"},"reasoning_mode":{"anyOf":[{"enum":["single_pass","agentic","insight_mission"],"type":"string"},{"type":"null"}],"title":"Reasoning Mode"},"request_id":{"title":"Request Id","type":"string"},"rows_limited":{"default":false,"title":"Rows Limited","type":"boolean"},"rows_returned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Returned"},"sql_count":{"default":0,"title":"Sql Count","type":"integer"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"title_authorization_state":{"enum":["authorized","redacted","unavailable"],"title":"Title Authorization State","type":"string"},"trust_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Trust Level"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_profile":{"anyOf":[{"$ref":"#/components/schemas/UserProfileSummary"},{"type":"null"}]}},"required":["request_id","title","status","created_at","title_authorization_state"],"title":"QueryHistorySummaryResponse","type":"object"},"QueryQualification":{"properties":{"approved_by_user_id":{"title":"Approved By User Id","type":"string"},"configuration_identity":{"title":"Configuration Identity","type":"string"},"evidence_basis":{"default":"observed_matches_unpinned_snapshots","title":"Evidence Basis","type":"string"},"evidence_query_ids":{"items":{"type":"string"},"title":"Evidence Query Ids","type":"array"},"expires_at":{"title":"Expires At","type":"number"},"id":{"title":"Id","type":"string"},"issued_at":{"title":"Issued At","type":"number"},"parameters":{"items":{"$ref":"#/components/schemas/ParameterBounds"},"title":"Parameters","type":"array"},"source_connection_id":{"title":"Source Connection Id","type":"string"},"sql_shape":{"title":"Sql Shape","type":"string"}},"required":["id","source_connection_id","configuration_identity","sql_shape","parameters","evidence_query_ids","issued_at","expires_at","approved_by_user_id"],"title":"QueryQualification","type":"object"},"QueryQualificationCreateRequest":{"properties":{"accept_unpinned_comparison":{"const":true,"title":"Accept Unpinned Comparison","type":"boolean"},"evidence_query_ids":{"items":{"format":"uuid","type":"string"},"maxItems":20,"minItems":1,"title":"Evidence Query Ids","type":"array"},"lifetime_seconds":{"default":3600,"maximum":86400,"minimum":1,"title":"Lifetime Seconds","type":"integer"},"source_connection_id":{"format":"uuid","title":"Source Connection Id","type":"string"}},"required":["source_connection_id","evidence_query_ids","accept_unpinned_comparison"],"title":"QueryQualificationCreateRequest","type":"object"},"QueryQualityCheckResponse":{"properties":{"detail":{"title":"Detail","type":"string"},"key":{"title":"Key","type":"string"},"passed":{"title":"Passed","type":"boolean"},"weight":{"title":"Weight","type":"integer"}},"required":["key","passed","weight","detail"],"title":"QueryQualityCheckResponse","type":"object"},"QueryQualityReportResponse":{"properties":{"checks":{"items":{"$ref":"#/components/schemas/QueryQualityCheckResponse"},"title":"Checks","type":"array"},"evidence":{"additionalProperties":true,"title":"Evidence","type":"object"},"grade":{"enum":["excellent","good","needs_review"],"title":"Grade","type":"string"},"missing":{"items":{"type":"string"},"title":"Missing","type":"array"},"request_id":{"title":"Request Id","type":"string"},"score":{"title":"Score","type":"number"}},"required":["request_id","score","grade"],"title":"QueryQualityReportResponse","type":"object"},"QueryRequestActivityResponse":{"description":"Requests per day over the trailing window, today last.","properties":{"by_day":{"items":{"$ref":"#/components/schemas/ActivityDayCount"},"title":"By Day","type":"array"},"days":{"title":"Days","type":"integer"},"failed":{"title":"Failed","type":"integer"},"total":{"title":"Total","type":"integer"}},"required":["days","total","failed","by_day"],"title":"QueryRequestActivityResponse","type":"object"},"QueryRequestComputeCostResponse":{"properties":{"amount_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount Usd"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"label":{"title":"Label","type":"string"},"native_usage_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Native Usage Amount"},"native_usage_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Native Usage Unit"},"status":{"default":"pending","enum":["tracked","estimated","pending","unavailable"],"title":"Status","type":"string"}},"required":["label"],"title":"QueryRequestComputeCostResponse","type":"object"},"QueryRequestDebugResponse":{"properties":{"action_evidence":{"items":{"discriminator":{"mapping":{"cache":"#/components/schemas/DataAgentOtherActionEvidenceResponse","context":"#/components/schemas/DataAgentContextActionEvidenceResponse","other":"#/components/schemas/DataAgentOtherActionEvidenceResponse","query_execution":"#/components/schemas/DataAgentQueryActionEvidenceResponse","schema":"#/components/schemas/DataAgentSchemaActionEvidenceResponse","verified_plan":"#/components/schemas/DataAgentVerifiedPlanActionEvidenceResponse"},"propertyName":"kind"},"oneOf":[{"$ref":"#/components/schemas/DataAgentSchemaActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentQueryActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentContextActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentVerifiedPlanActionEvidenceResponse"},{"$ref":"#/components/schemas/DataAgentOtherActionEvidenceResponse"}]},"title":"Action Evidence","type":"array"},"action_evidence_warnings":{"items":{"enum":["current_authorization_unavailable","evidence_projection_truncated","malformed_evidence_omitted","v2_run_id_invalid","v2_run_id_missing","v2_run_not_linked","evidence_unavailable"],"type":"string"},"title":"Action Evidence Warnings","type":"array"},"agent_timeline":{"items":{"$ref":"#/components/schemas/AgentTimelineStepResponse"},"title":"Agent Timeline","type":"array"},"context_retrieval_graph":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context Retrieval Graph"},"context_retrieval_trace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context Retrieval Trace"},"prompt_context_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Context Preview"},"query":{"$ref":"#/components/schemas/QueryHistoryItemResponse"},"retrieval_evidence":{"additionalProperties":true,"title":"Retrieval Evidence","type":"object"},"trust_bundle":{"additionalProperties":true,"title":"Trust Bundle","type":"object"}},"required":["query"],"title":"QueryRequestDebugResponse","type":"object"},"QueryRequestDetailResponse":{"properties":{"compute_cost":{"anyOf":[{"$ref":"#/components/schemas/QueryRequestComputeCostResponse"},{"type":"null"}]},"debug":{"anyOf":[{"$ref":"#/components/schemas/QueryRequestDebugResponse"},{"type":"null"}]},"query":{"$ref":"#/components/schemas/QueryHistoryItemResponse"},"query_events":{"items":{"$ref":"#/components/schemas/QueryRequestEventResponse"},"title":"Query Events","type":"array"},"trust_report":{"anyOf":[{"$ref":"#/components/schemas/GovernanceTrustReportResponse"},{"type":"null"}]}},"required":["query"],"title":"QueryRequestDetailResponse","type":"object"},"QueryRequestEventResponse":{"properties":{"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"conversation_sequence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conversation Sequence"},"created_at":{"title":"Created At","type":"string"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"event_type":{"title":"Event Type","type":"string"},"id":{"title":"Id","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Request Id"},"sequence":{"title":"Sequence","type":"integer"},"status":{"enum":["queued","running","completed","failed","skipped"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","user_id","event_type","status","title","sequence","created_at"],"title":"QueryRequestEventResponse","type":"object"},"QueryRequestFeedbackRequest":{"properties":{"idempotency_key":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"rating":{"enum":["thumbs_up","thumbs_down"],"title":"Rating","type":"string"},"reason":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Reason"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","rating"],"title":"QueryRequestFeedbackRequest","type":"object"},"QueryRequestFeedbackResponse":{"properties":{"cache":{"anyOf":[{"$ref":"#/components/schemas/QueryResultCacheMetadata"},{"type":"null"}]},"cache_provenance":{"anyOf":[{"$ref":"#/components/schemas/QueryCacheProvenance"},{"type":"null"}]},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"query_request_id":{"title":"Query Request Id","type":"string"},"rating":{"enum":["thumbs_up","thumbs_down"],"title":"Rating","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"user_id":{"title":"User Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","query_request_id","user_id","rating","created_at"],"title":"QueryRequestFeedbackResponse","type":"object"},"QueryResponse":{"properties":{"agent_trace":{"items":{"$ref":"#/components/schemas/AgentStepResponse"},"title":"Agent Trace","type":"array"},"cache":{"anyOf":[{"$ref":"#/components/schemas/QueryResultCacheMetadata"},{"type":"null"}]},"cache_provenance":{"anyOf":[{"$ref":"#/components/schemas/QueryCacheProvenance"},{"type":"null"}]},"chart_spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chart Spec"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"context_reduced":{"default":false,"title":"Context Reduced","type":"boolean"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"executed_queries":{"items":{"$ref":"#/components/schemas/ExecutedQueryResponse"},"title":"Executed Queries","type":"array"},"execution_mode_resolved":{"anyOf":[{"enum":["run","return"],"type":"string"},{"type":"null"}],"title":"Execution Mode Resolved"},"explanation":{"title":"Explanation","type":"string"},"final_answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Answer"},"governance_decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Governance Decision"},"latency_mode":{"default":"normal","enum":["normal","fast"],"title":"Latency Mode","type":"string"},"llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Llm Cost Usd"},"llm_usage":{"additionalProperties":true,"title":"Llm Usage","type":"object"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"request_id":{"title":"Request Id","type":"string"},"retrieval_context_snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Retrieval Context Snapshot Id"},"row_count":{"title":"Row Count","type":"integer"},"row_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Limit"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_limited":{"default":false,"title":"Rows Limited","type":"boolean"},"semantic_model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Semantic Model Id"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"sql":{"title":"Sql","type":"string"},"trust_bundle":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trust Bundle"},"used_queries":{"items":{"$ref":"#/components/schemas/UsedQueryResponse"},"title":"Used Queries","type":"array"}},"required":["request_id","sql","explanation","rows","row_count"],"title":"QueryResponse","type":"object"},"QueryResultCacheMetadata":{"properties":{"approval_source":{"anyOf":[{"enum":["thumbs_up","dashboard_created","manual","trust_policy"],"type":"string"},{"type":"null"}],"title":"Approval Source"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"cache_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cache Entry Id"},"confidence_band":{"anyOf":[{"enum":["exact","high","medium"],"type":"string"},{"type":"null"}],"title":"Confidence Band"},"data_as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data As Of"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"matched_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched Question"},"not_cached_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Not Cached Reason"},"saved_llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Llm Cost Usd"},"saved_total_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Total Cost Usd"},"saved_warehouse_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Warehouse Cost Usd"},"source_query_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Query Request Id"},"stale_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stale At"},"status":{"default":"not_checked","enum":["hit","miss","write","not_checked","bypassed","not_cached"],"title":"Status","type":"string"}},"title":"QueryResultCacheMetadata","type":"object"},"QueryRoutingDetails":{"properties":{"baseline_engine":{"title":"Baseline Engine","type":"string"},"candidate_engine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Engine"},"comparison":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comparison"},"cost_status":{"default":"unmeasured","title":"Cost Status","type":"string"},"policy":{"enum":["standard","shadow","accelerated"],"title":"Policy","type":"string"},"reason":{"title":"Reason","type":"string"},"shadow_query_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shadow Query Id"}},"required":["policy","reason","baseline_engine"],"title":"QueryRoutingDetails","type":"object"},"QuerySqlRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"limit":{"default":50,"maximum":10000,"minimum":1,"title":"Limit","type":"integer"},"natural_language_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Natural Language Query"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"sql":{"minLength":1,"title":"Sql","type":"string"},"timeout_ms":{"default":120000,"maximum":120000,"minimum":1000,"title":"Timeout Ms","type":"integer"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","sql"],"title":"QuerySqlRequest","type":"object"},"QuerySqlResponse":{"properties":{"connector_id":{"title":"Connector Id","type":"string"},"execution_metadata":{"additionalProperties":true,"title":"Execution Metadata","type":"object"},"governance_decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Governance Decision"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"row_count":{"title":"Row Count","type":"integer"},"row_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Limit"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"rows_limited":{"default":false,"title":"Rows Limited","type":"boolean"},"sql":{"title":"Sql","type":"string"}},"required":["connector_id","sql","rows","row_count"],"title":"QuerySqlResponse","type":"object"},"QuerySuggestionFeedResponse":{"properties":{"last_scan":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Last Scan"},"suggestions":{"items":{"additionalProperties":true,"type":"object"},"title":"Suggestions","type":"array"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"QuerySuggestionFeedResponse","type":"object"},"QuerySuggestionScanRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"QuerySuggestionScanRequest","type":"object"},"QuerySuggestionScanResponse":{"properties":{"candidates_found":{"default":0,"title":"Candidates Found","type":"integer"},"llm_enriched":{"default":0,"title":"Llm Enriched","type":"integer"},"skipped_duplicates":{"default":0,"title":"Skipped Duplicates","type":"integer"},"status":{"default":"completed","enum":["completed","throttled"],"title":"Status","type":"string"},"suggestions_created":{"default":0,"title":"Suggestions Created","type":"integer"},"tool_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Run Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"QuerySuggestionScanResponse","type":"object"},"QueryVerificationCandidate":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"distinct_users":{"default":0,"title":"Distinct Users","type":"integer"},"eligibility":{"$ref":"#/components/schemas/QueryVerificationCandidateEligibility"},"estimated_saved_latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Saved Latency Ms"},"estimated_saved_llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Saved Llm Cost Usd"},"final_answer_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Answer Preview"},"id":{"title":"Id","type":"string"},"impact_label":{"default":"medium","enum":["high","medium","low"],"title":"Impact Label","type":"string"},"last_ran_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Ran At"},"recent_runs":{"items":{"$ref":"#/components/schemas/QueryVerificationCandidateRun"},"title":"Recent Runs","type":"array"},"recommended_request_id":{"title":"Recommended Request Id","type":"string"},"request_count":{"default":0,"title":"Request Count","type":"integer"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"sample_questions":{"items":{"type":"string"},"title":"Sample Questions","type":"array"},"score":{"default":0,"title":"Score","type":"number"},"sql_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql Preview"},"table_refs":{"items":{"type":"string"},"title":"Table Refs","type":"array"},"title":{"title":"Title","type":"string"},"total_latency_ms":{"default":0,"title":"Total Latency Ms","type":"number"},"total_llm_cost_usd":{"default":0,"title":"Total Llm Cost Usd","type":"number"},"total_tokens":{"default":0,"title":"Total Tokens","type":"integer"},"trust_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Trust Confidence"},"trust_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trust Level"}},"required":["id","title","recommended_request_id","eligibility"],"title":"QueryVerificationCandidate","type":"object"},"QueryVerificationCandidateEligibility":{"properties":{"eligible":{"title":"Eligible","type":"boolean"},"reasons":{"items":{"$ref":"#/components/schemas/QueryVerificationCandidateEligibilityReason"},"title":"Reasons","type":"array"},"warnings":{"items":{"$ref":"#/components/schemas/QueryVerificationCandidateEligibilityReason"},"title":"Warnings","type":"array"}},"required":["eligible"],"title":"QueryVerificationCandidateEligibility","type":"object"},"QueryVerificationCandidateEligibilityReason":{"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"QueryVerificationCandidateEligibilityReason","type":"object"},"QueryVerificationCandidateFeedResponse":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/QueryVerificationCandidate"},"title":"Candidates","type":"array"},"generated_at":{"title":"Generated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","generated_at"],"title":"QueryVerificationCandidateFeedResponse","type":"object"},"QueryVerificationCandidateRun":{"properties":{"at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"At"},"eligible":{"default":false,"title":"Eligible","type":"boolean"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"llm_cost_usd":{"default":0,"title":"Llm Cost Usd","type":"number"},"request_id":{"title":"Request Id","type":"string"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"tokens":{"default":0,"title":"Tokens","type":"integer"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"required":["request_id"],"title":"QueryVerificationCandidateRun","type":"object"},"RecordAssessment":{"additionalProperties":false,"properties":{"checks":{"items":{"$ref":"#/components/schemas/AssessmentCheck"},"maxItems":40,"minItems":1,"title":"Checks","type":"array"},"code_revision":{"maxLength":200,"minLength":1,"title":"Code Revision","type":"string"},"policy_revision":{"maxLength":100,"minLength":1,"title":"Policy Revision","type":"string"},"preview":{"default":true,"title":"Preview","type":"boolean"},"scope_fingerprint":{"maxLength":100,"minLength":1,"title":"Scope Fingerprint","type":"string"}},"required":["policy_revision","scope_fingerprint","code_revision","checks"],"title":"RecordAssessment","type":"object"},"RepositoryDbtDetectionResponse":{"properties":{"default_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Branch"},"fixes":{"$ref":"#/components/schemas/RepositoryFixesState"},"projects":{"items":{"$ref":"#/components/schemas/DetectedDbtProjectResponse"},"title":"Projects","type":"array"}},"required":["projects","fixes"],"title":"RepositoryDbtDetectionResponse","type":"object"},"RepositoryFixesState":{"properties":{"dbt_subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dbt Subdirectory"},"edit_paths":{"items":{"type":"string"},"title":"Edit Paths","type":"array"},"enabled":{"title":"Enabled","type":"boolean"},"publish_mode":{"anyOf":[{"enum":["human_approval","isolated_fork"],"type":"string"},{"type":"null"}],"title":"Publish Mode"},"source_id":{"title":"Source Id","type":"string"}},"required":["source_id","enabled"],"title":"RepositoryFixesState","type":"object"},"RepositoryFixesUpdateRequest":{"properties":{"dbt_subdirectory":{"default":"","maxLength":500,"title":"Dbt Subdirectory","type":"string"},"edit_paths":{"items":{"type":"string"},"maxItems":20,"title":"Edit Paths","type":"array"},"enabled":{"title":"Enabled","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","enabled"],"title":"RepositoryFixesUpdateRequest","type":"object"},"RepositoryFixesWorkspaceRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"RepositoryFixesWorkspaceRequest","type":"object"},"RepositoryStarterRequest":{"properties":{"subdirectory":{"default":"dbt","maxLength":200,"minLength":1,"title":"Subdirectory","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"RepositoryStarterRequest","type":"object"},"RepositoryStarterResponse":{"properties":{"branch_name":{"title":"Branch Name","type":"string"},"fixes":{"$ref":"#/components/schemas/RepositoryFixesState"},"pull_request_url":{"title":"Pull Request Url","type":"string"},"subdirectory":{"title":"Subdirectory","type":"string"}},"required":["pull_request_url","branch_name","subdirectory","fixes"],"title":"RepositoryStarterResponse","type":"object"},"Requirement":{"additionalProperties":false,"properties":{"behavior":{"maxLength":4000,"minLength":1,"title":"Behavior","type":"string"},"consent_rule":{"anyOf":[{"$ref":"#/components/schemas/ConsentRule"},{"type":"null"}]},"id":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Id","type":"string"},"open_questions":{"items":{"maxLength":1000,"minLength":1,"type":"string"},"maxItems":20,"title":"Open Questions","type":"array"},"purpose":{"maxLength":1000,"minLength":1,"title":"Purpose","type":"string"},"references":{"items":{"$ref":"#/components/schemas/RequirementReference"},"maxItems":10,"title":"References","type":"array"},"review_status":{"default":"proposed","enum":["proposed","approved"],"title":"Review Status","type":"string"},"scope":{"maxLength":1000,"minLength":1,"title":"Scope","type":"string"},"source_quote":{"maxLength":4000,"minLength":1,"title":"Source Quote","type":"string"},"title":{"maxLength":200,"minLength":1,"title":"Title","type":"string"}},"required":["id","title","source_quote","behavior","scope","purpose"],"title":"Requirement","type":"object"},"RequirementReference":{"additionalProperties":false,"properties":{"title":{"maxLength":200,"minLength":1,"title":"Title","type":"string"},"url":{"maxLength":2000,"minLength":1,"pattern":"^https://","title":"Url","type":"string"}},"required":["title","url"],"title":"RequirementReference","type":"object"},"ResultCapsuleListResponse":{"properties":{"capsules":{"items":{"$ref":"#/components/schemas/ResultCapsuleSummary"},"title":"Capsules","type":"array"},"summary":{"$ref":"#/components/schemas/ResultCapsuleListSummary"}},"title":"ResultCapsuleListResponse","type":"object"},"ResultCapsuleListSummary":{"properties":{"active":{"default":0,"title":"Active","type":"integer"},"demoted_by_feedback":{"default":0,"title":"Demoted By Feedback","type":"integer"},"disabled":{"default":0,"title":"Disabled","type":"integer"},"expired":{"default":0,"title":"Expired","type":"integer"},"probe_failures":{"default":0,"title":"Probe Failures","type":"integer"},"stale":{"default":0,"title":"Stale","type":"integer"},"total":{"default":0,"title":"Total","type":"integer"}},"title":"ResultCapsuleListSummary","type":"object"},"ResultCapsulePromoteRequest":{"properties":{"fresh_for_hours":{"anyOf":[{"maximum":24,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Fresh For Hours"},"name":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"natural_language_pattern":{"anyOf":[{"maxLength":1000,"minLength":1,"type":"string"},{"type":"null"}],"title":"Natural Language Pattern"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"ResultCapsulePromoteRequest","type":"object"},"ResultCapsulePromoteResponse":{"properties":{"capsule":{"$ref":"#/components/schemas/VerifiedQueryResultCapsuleResponse"},"verified_query":{"$ref":"#/components/schemas/VerifiedQueryResponse"}},"required":["verified_query","capsule"],"title":"ResultCapsulePromoteResponse","type":"object"},"ResultCapsuleStatusUpdateRequest":{"properties":{"action":{"enum":["expire","disable","enable","pin","unpin"],"title":"Action","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","action"],"title":"ResultCapsuleStatusUpdateRequest","type":"object"},"ResultCapsuleStatusUpdateResponse":{"properties":{"capsule":{"$ref":"#/components/schemas/ResultCapsuleSummary"}},"required":["capsule"],"title":"ResultCapsuleStatusUpdateResponse","type":"object"},"ResultCapsuleSummary":{"properties":{"approval_source":{"anyOf":[{"enum":["thumbs_up","dashboard_created","manual","trust_policy"],"type":"string"},{"type":"null"}],"title":"Approval Source"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"fresh_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fresh Until"},"hit_count":{"default":0,"title":"Hit Count","type":"integer"},"id":{"title":"Id","type":"string"},"last_hit_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Hit At"},"last_probe_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Probe At"},"last_probe_status":{"anyOf":[{"enum":["passed","failed","error","skipped"],"type":"string"},{"type":"null"}],"title":"Last Probe Status"},"last_verified_result_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Verified Result At"},"negative_feedback_count":{"default":0,"title":"Negative Feedback Count","type":"integer"},"pinned":{"default":false,"title":"Pinned","type":"boolean"},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refreshed At"},"row_count":{"default":0,"title":"Row Count","type":"integer"},"stale_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stale At"},"status":{"title":"Status","type":"string"},"status_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Reason"},"ttl_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ttl Hours"},"verification_failure_count":{"default":0,"title":"Verification Failure Count","type":"integer"},"verified_query_id":{"title":"Verified Query Id","type":"string"}},"required":["id","verified_query_id","status"],"title":"ResultCapsuleSummary","type":"object"},"ReviewProject":{"additionalProperties":false,"properties":{"decision":{"enum":["approved","changes_requested"],"title":"Decision","type":"string"},"evaluation_id":{"maxLength":100,"minLength":1,"title":"Evaluation Id","type":"string"},"expected_revision":{"maxLength":100,"minLength":1,"title":"Expected Revision","type":"string"},"rationale":{"maxLength":2000,"minLength":1,"title":"Rationale","type":"string"}},"required":["expected_revision","evaluation_id","decision","rationale"],"title":"ReviewProject","type":"object"},"RevokeAccessRequestRequest":{"properties":{"comment":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Comment"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"RevokeAccessRequestRequest","type":"object"},"RunLogLine":{"properties":{"attempt":{"default":1,"title":"Attempt","type":"integer"},"level":{"enum":["info","warn","error"],"title":"Level","type":"string"},"logged_at":{"format":"date-time","title":"Logged At","type":"string"},"message":{"title":"Message","type":"string"},"seq":{"title":"Seq","type":"integer"},"step":{"title":"Step","type":"string"}},"required":["seq","logged_at","level","step","message"],"title":"RunLogLine","type":"object"},"RunLogPage":{"properties":{"lines":{"items":{"$ref":"#/components/schemas/RunLogLine"},"title":"Lines","type":"array"},"next_after":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Pass as `after` to read lines written since this page.","title":"Next After"}},"required":["lines"],"title":"RunLogPage","type":"object"},"RunNode":{"description":"One node of the run's dbt graph: an input table, the model, or a test.","properties":{"depends_on":{"description":"Ids of the nodes it reads.","items":{"type":"string"},"title":"Depends On","type":"array"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"failures":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Rows a test returned.","title":"Failures"},"id":{"description":"`source.<table>`, `model.<name>` or `test.<name>`.","title":"Id","type":"string"},"kind":{"enum":["source","model","test"],"title":"Kind","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"What dbt said when the node did not succeed.","title":"Message"},"name":{"title":"Name","type":"string"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The node's file in `files`.","title":"Path"},"status":{"anyOf":[{"enum":["succeeded","failed","warned","skipped","running","pending"],"type":"string"},{"type":"null"}],"description":"The node's own outcome. Input tables, and nodes whose outcome was never recorded, have none.","title":"Status"}},"required":["id","kind","name"],"title":"RunNode","type":"object"},"RunOutput":{"properties":{"columns":{"items":{"$ref":"#/components/schemas/RunOutputColumn"},"title":"Columns","type":"array"},"preview":{"items":{"additionalProperties":true,"type":"object"},"title":"Preview","type":"array"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows_affected":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Affected"},"table":{"title":"Table","type":"string"}},"required":["table","columns","preview"],"title":"RunOutput","type":"object"},"RunOutputColumn":{"properties":{"name":{"title":"Name","type":"string"},"nullable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Nullable"},"type":{"title":"Type","type":"string"}},"required":["name","type"],"title":"RunOutputColumn","type":"object"},"RunQueryTotals":{"properties":{"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Estimated warehouse cost in US dollars at Athena's on-demand price of $5 per TB scanned: each query rounded up to the megabyte with a 10 MB minimum, failed queries free. Null when no query's scan was recorded.","title":"Cost Usd"},"count":{"title":"Count","type":"integer"},"engine_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Engine Ms"},"queue_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Ms"}},"required":["count"],"title":"RunQueryTotals","type":"object"},"RunRequest":{"additionalProperties":false,"description":"Options for a run started by hand.\n\nA model without a schedule runs once as one of the owner's API keys; a\nscheduled model always runs as its schedule's key.","properties":{"api_key_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Api Key Id"},"backfill":{"anyOf":[{"$ref":"#/components/schemas/BackfillWindow"},{"type":"null"}]},"full_refresh":{"default":false,"title":"Full Refresh","type":"boolean"},"variables":{"default":{},"maxProperties":20,"patternProperties":{"^[a-z_][a-z0-9_]{0,62}$":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}]}},"title":"Variables","type":"object"},"version_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Build and publish this earlier version's code instead of the active code: a rollback.","title":"Version Id"}},"title":"RunRequest","type":"object"},"RunSettings":{"properties":{"pause_after_failures":{"description":"Pause the schedule after this many failed runs in a row; 0 never pauses.","title":"Pause After Failures","type":"integer"},"retries":{"description":"Times a run whose build or tests fail is tried again.","title":"Retries","type":"integer"},"timeout_minutes":{"description":"A run attempt that takes longer stops and fails.","title":"Timeout Minutes","type":"integer"},"with_upstream":{"default":false,"description":"Also run, first and in dependency order, the managed models it reads from.","title":"With Upstream","type":"boolean"}},"required":["retries","timeout_minutes","pause_after_failures"],"title":"RunSettings","type":"object"},"RunStep":{"properties":{"attempt":{"default":1,"title":"Attempt","type":"integer"},"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"name":{"title":"Name","type":"string"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows_affected":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Affected"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"tests_failed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tests Failed"},"tests_passed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tests Passed"},"tests_warned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tests Warned"}},"required":["name","status"],"title":"RunStep","type":"object"},"RunTestCounts":{"properties":{"failed":{"title":"Failed","type":"integer"},"passed":{"title":"Passed","type":"integer"},"total":{"title":"Total","type":"integer"},"warned":{"title":"Warned","type":"integer"}},"required":["passed","failed","warned","total"],"title":"RunTestCounts","type":"object"},"RunTestResult":{"properties":{"execution_time":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Execution Time"},"failures":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failures"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"name":{"title":"Name","type":"string"},"status":{"title":"Status","type":"string"}},"required":["name","status"],"title":"RunTestResult","type":"object"},"RunUser":{"properties":{"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"title":"User Id","type":"string"}},"required":["user_id"],"title":"RunUser","type":"object"},"RunUserList":{"properties":{"users":{"description":"Everyone runs have run as, most recent first.","items":{"$ref":"#/components/schemas/RunUser"},"title":"Users","type":"array"}},"required":["users"],"title":"RunUserList","type":"object"},"RunVariable":{"properties":{"default":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Default"},"name":{"title":"Name","type":"string"}},"required":["name"],"title":"RunVariable","type":"object"},"SCIMTokenCreateResponse":{"properties":{"token":{"title":"Token","type":"string"},"token_metadata":{"$ref":"#/components/schemas/SCIMTokenResponse"}},"required":["token","token_metadata"],"title":"SCIMTokenCreateResponse","type":"object"},"SCIMTokenResponse":{"properties":{"created_at":{"title":"Created At","type":"string"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"id":{"title":"Id","type":"string"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"name":{"title":"Name","type":"string"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"token_prefix":{"title":"Token Prefix","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","token_prefix","created_at"],"title":"SCIMTokenResponse","type":"object"},"SampleRowsRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"limit":{"default":5,"maximum":25,"minimum":1,"title":"Limit","type":"integer"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"table_name":{"minLength":1,"title":"Table Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","schema_name","table_name"],"title":"SampleRowsRequest","type":"object"},"SamplingSpec":{"additionalProperties":false,"properties":{"columns":{"items":{"type":"string"},"maxItems":50,"title":"Columns","type":"array"},"enabled":{"default":false,"title":"Enabled","type":"boolean"},"mask":{"$ref":"#/components/schemas/MaskingPolicy"},"max_rows":{"default":10,"maximum":50,"minimum":1,"title":"Max Rows","type":"integer"},"ttl_days":{"default":7,"maximum":30,"minimum":1,"title":"Ttl Days","type":"integer"}},"title":"SamplingSpec","type":"object"},"SaveAutomaticRequests":{"additionalProperties":false,"properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean"},"expected_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Revision"},"expires_at_column":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"title":"Expires At Column"},"purpose_column":{"anyOf":[{"maxLength":255,"minLength":1,"type":"string"},{"type":"null"}],"title":"Purpose Column"},"purpose_value":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Purpose Value"},"source_object_id":{"format":"uuid","title":"Source Object Id","type":"string"},"status_column":{"maxLength":255,"minLength":1,"title":"Status Column","type":"string"},"subject_column":{"maxLength":255,"minLength":1,"title":"Subject Column","type":"string"},"withdrawn_value":{"maxLength":200,"minLength":1,"title":"Withdrawn Value","type":"string"}},"required":["source_object_id","subject_column","status_column","withdrawn_value"],"title":"SaveAutomaticRequests","type":"object"},"SaveDeletionConfiguration":{"additionalProperties":false,"properties":{"expected_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Revision"},"targets":{"items":{"$ref":"#/components/schemas/DeletionTarget"},"maxItems":10,"minItems":1,"title":"Targets","type":"array"}},"required":["targets"],"title":"SaveDeletionConfiguration","type":"object"},"SaveProject":{"additionalProperties":false,"properties":{"checks":{"items":{"$ref":"#/components/schemas/ProjectCheck"},"maxItems":40,"title":"Checks","type":"array"},"code_revision":{"default":"","maxLength":200,"title":"Code Revision","type":"string"},"data_revision":{"default":"","maxLength":200,"title":"Data Revision","type":"string"},"expected_revision":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"title":"Expected Revision"},"freshness_minutes":{"default":60,"maximum":1440,"minimum":5,"title":"Freshness Minutes","type":"integer"},"key":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Key","type":"string"},"object_ids":{"items":{"format":"uuid","type":"string"},"maxItems":10,"title":"Object Ids","type":"array"},"owner":{"default":"","maxLength":200,"title":"Owner","type":"string"},"policy_ids":{"items":{"format":"uuid","type":"string"},"maxItems":10,"title":"Policy Ids","type":"array"},"purpose":{"maxLength":200,"minLength":1,"title":"Purpose","type":"string"},"reviewer_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Reviewer Id"},"title":{"maxLength":200,"minLength":1,"title":"Title","type":"string"},"verify_input":{"default":false,"title":"Verify Input","type":"boolean"}},"required":["key","title","purpose"],"title":"SaveProject","type":"object"},"SaveRequirements":{"additionalProperties":false,"properties":{"content":{"maxLength":50000,"minLength":1,"title":"Content","type":"string"},"expected_revision":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}],"title":"Expected Revision"},"key":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Key","type":"string"},"object_ids":{"items":{"format":"uuid","type":"string"},"maxItems":40,"title":"Object Ids","type":"array"},"preview":{"default":true,"title":"Preview","type":"boolean"},"requirements":{"items":{"$ref":"#/components/schemas/Requirement"},"maxItems":40,"title":"Requirements","type":"array"},"source_url":{"anyOf":[{"maxLength":2000,"pattern":"^https?://","type":"string"},{"type":"null"}],"title":"Source Url"},"title":{"maxLength":200,"minLength":1,"title":"Title","type":"string"}},"required":["key","title","content"],"title":"SaveRequirements","type":"object"},"SavedReportCreate":{"additionalProperties":false,"properties":{"definition":{"$ref":"#/components/schemas/SavedReportDefinition"},"description":{"default":"","maxLength":1000,"title":"Description","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"}},"required":["name","definition"],"title":"SavedReportCreate","type":"object"},"SavedReportDefinition":{"additionalProperties":false,"properties":{"chart":{"default":"line","enum":["line","bar"],"title":"Chart","type":"string"},"compare":{"default":false,"title":"Compare","type":"boolean"},"query":{"$ref":"#/components/schemas/ProductAnalyticsQueryRequest"},"relative_days":{"default":30,"enum":[7,14,30,90],"title":"Relative Days","type":"integer"}},"required":["query"],"title":"SavedReportDefinition","type":"object"},"SavedReportList":{"properties":{"count":{"title":"Count","type":"integer"},"results":{"items":{"$ref":"#/components/schemas/SavedReportSummary"},"title":"Results","type":"array"}},"required":["results","count"],"title":"SavedReportList","type":"object"},"SavedReportResponse":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"created_by":{"format":"uuid","title":"Created By","type":"string"},"definition":{"$ref":"#/components/schemas/SavedReportDefinition"},"description":{"title":"Description","type":"string"},"environment":{"title":"Environment","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"is_favorite":{"default":false,"title":"Is Favorite","type":"boolean"},"kind":{"enum":["trends","funnels","retention","people"],"title":"Kind","type":"string"},"name":{"title":"Name","type":"string"},"owner_name":{"title":"Owner Name","type":"string"},"project_id":{"title":"Project Id","type":"string"},"revision":{"title":"Revision","type":"integer"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["id","workspace_id","project_id","environment","name","description","kind","created_by","owner_name","created_at","updated_at","revision","definition"],"title":"SavedReportResponse","type":"object"},"SavedReportSummary":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"created_by":{"format":"uuid","title":"Created By","type":"string"},"description":{"title":"Description","type":"string"},"environment":{"title":"Environment","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"is_favorite":{"default":false,"title":"Is Favorite","type":"boolean"},"kind":{"enum":["trends","funnels","retention","people"],"title":"Kind","type":"string"},"name":{"title":"Name","type":"string"},"owner_name":{"title":"Owner Name","type":"string"},"project_id":{"title":"Project Id","type":"string"},"revision":{"title":"Revision","type":"integer"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string"}},"required":["id","workspace_id","project_id","environment","name","description","kind","created_by","owner_name","created_at","updated_at","revision"],"title":"SavedReportSummary","type":"object"},"SavedReportUpdate":{"additionalProperties":false,"properties":{"definition":{"$ref":"#/components/schemas/SavedReportDefinition"},"description":{"default":"","maxLength":1000,"title":"Description","type":"string"},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"revision":{"minimum":1,"title":"Revision","type":"integer"}},"required":["name","definition","revision"],"title":"SavedReportUpdate","type":"object"},"ScheduleRequest":{"additionalProperties":false,"description":"A schedule set from the product API. Recurring runs use one of the owner's API keys.","properties":{"api_key_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Api Key Id"},"cron":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"title":"Cron"},"frequency":{"description":"after_sources: run when the tables it reads change, after their sources finish syncing or the pipelines that build them publish.","enum":["hourly","daily","cron","after_sources","on_request"],"title":"Frequency","type":"string"},"min_interval_minutes":{"anyOf":[{"description":"Start runs at least this long apart.","maximum":1440,"minimum":15,"type":"integer"},{"type":"null"}],"title":"Min Interval Minutes"},"model_id":{"format":"uuid","title":"Model Id","type":"string"},"pause_after_failures":{"anyOf":[{"maximum":10,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Pause After Failures"},"retries":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Retries"},"timeout_minutes":{"anyOf":[{"maximum":360,"minimum":5,"type":"integer"},{"type":"null"}],"title":"Timeout Minutes"},"timezone":{"default":"UTC","maxLength":128,"minLength":1,"title":"Timezone","type":"string"},"wait_for":{"anyOf":[{"enum":["any","all"],"type":"string"},{"type":"null"}],"description":"any: run when any table it reads changes. all: also wait until every table it reads has synced since its last run.","title":"Wait For"},"with_upstream":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"With Upstream"}},"required":["model_id","frequency"],"title":"ScheduleRequest","type":"object"},"SchemaChangeAttentionItem":{"properties":{"change_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Severity"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"schema_change","default":"schema_change","title":"Kind","type":"string"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"SchemaChangeAttentionItem","type":"object"},"SchemaColumn":{"additionalProperties":false,"properties":{"character_maximum_length":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"title":"Character Maximum Length"},"name":{"title":"Name","type":"string"},"native_type":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Native Type"},"nullable":{"default":true,"title":"Nullable","type":"boolean"},"type":{"default":"any","maxLength":255,"minLength":1,"title":"Type","type":"string"}},"required":["name"],"title":"SchemaColumn","type":"object"},"SchemaContract":{"additionalProperties":false,"properties":{"allow_extra_columns":{"default":false,"title":"Allow Extra Columns","type":"boolean"},"allow_other_column_order":{"default":false,"title":"Allow Other Column Order","type":"boolean"},"columns":{"items":{"$ref":"#/components/schemas/SchemaColumn"},"maxItems":1000,"title":"Columns","type":"array"},"enabled":{"default":false,"title":"Enabled","type":"boolean"}},"title":"SchemaContract","type":"object"},"SemanticDiscoveryDebugRequest":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"prompt":{"maxLength":4000,"minLength":1,"title":"Prompt","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","prompt"],"title":"SemanticDiscoveryDebugRequest","type":"object"},"SemanticDiscoveryDebugResponse":{"properties":{"prompt_context_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Context Preview"},"retrieval_evidence":{"additionalProperties":true,"title":"Retrieval Evidence","type":"object"},"semantic_model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Semantic Model Id"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"SemanticDiscoveryDebugResponse","type":"object"},"SemanticEmbeddingReindexRequest":{"properties":{"limit":{"anyOf":[{"maximum":5000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Limit"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"SemanticEmbeddingReindexRequest","type":"object"},"SemanticEmbeddingReindexResponse":{"properties":{"document_count":{"title":"Document Count","type":"integer"},"embedding_model":{"title":"Embedding Model","type":"string"},"indexed_count":{"title":"Indexed Count","type":"integer"},"limited":{"default":false,"title":"Limited","type":"boolean"},"semantic_model_id":{"title":"Semantic Model Id","type":"string"}},"required":["semantic_model_id","embedding_model","document_count","indexed_count"],"title":"SemanticEmbeddingReindexResponse","type":"object"},"SemanticEntityResponse":{"properties":{"base_table_ref":{"additionalProperties":true,"title":"Base Table Ref","type":"object"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"display_name":{"title":"Display Name","type":"string"},"entity_key":{"title":"Entity Key","type":"string"},"entity_type":{"enum":["fact","dimension","bridge","derived"],"title":"Entity Type","type":"string"},"id":{"title":"Id","type":"string"},"verified":{"default":false,"title":"Verified","type":"boolean"}},"required":["id","entity_key","display_name","entity_type"],"title":"SemanticEntityResponse","type":"object"},"SemanticJoinResponse":{"properties":{"cardinality":{"title":"Cardinality","type":"string"},"confidence_source":{"title":"Confidence Source","type":"string"},"id":{"title":"Id","type":"string"},"is_default_path":{"default":false,"title":"Is Default Path","type":"boolean"},"join_type":{"title":"Join Type","type":"string"},"relationship_name":{"title":"Relationship Name","type":"string"},"source_entity_key":{"title":"Source Entity Key","type":"string"},"target_entity_key":{"title":"Target Entity Key","type":"string"},"verified":{"default":false,"title":"Verified","type":"boolean"}},"required":["id","relationship_name","source_entity_key","target_entity_key","join_type","cardinality","confidence_source"],"title":"SemanticJoinResponse","type":"object"},"SemanticMetricResponse":{"properties":{"aggregation_type":{"title":"Aggregation Type","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"display_name":{"title":"Display Name","type":"string"},"expression_sql":{"title":"Expression Sql","type":"string"},"id":{"title":"Id","type":"string"},"metric_key":{"title":"Metric Key","type":"string"},"verified":{"default":false,"title":"Verified","type":"boolean"}},"required":["id","metric_key","display_name","aggregation_type","expression_sql"],"title":"SemanticMetricResponse","type":"object"},"SemanticModelBootstrapRequest":{"properties":{"activate":{"default":true,"title":"Activate","type":"boolean"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"SemanticModelBootstrapRequest","type":"object"},"SemanticModelDetailResponse":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"title":"Created At","type":"string"},"embedding_count":{"default":0,"title":"Embedding Count","type":"integer"},"entities":{"items":{"$ref":"#/components/schemas/SemanticEntityResponse"},"title":"Entities","type":"array"},"entity_count":{"default":0,"title":"Entity Count","type":"integer"},"id":{"title":"Id","type":"string"},"join_count":{"default":0,"title":"Join Count","type":"integer"},"joins":{"items":{"$ref":"#/components/schemas/SemanticJoinResponse"},"title":"Joins","type":"array"},"metric_count":{"default":0,"title":"Metric Count","type":"integer"},"metrics":{"items":{"$ref":"#/components/schemas/SemanticMetricResponse"},"title":"Metrics","type":"array"},"name":{"title":"Name","type":"string"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"source_scope":{"additionalProperties":true,"title":"Source Scope","type":"object"},"status":{"enum":["draft","active","archived"],"title":"Status","type":"string"},"term_count":{"default":0,"title":"Term Count","type":"integer"},"terms":{"items":{"$ref":"#/components/schemas/SemanticTermResponse"},"title":"Terms","type":"array"},"updated_at":{"title":"Updated At","type":"string"},"version":{"default":1,"title":"Version","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","status","created_at","updated_at"],"title":"SemanticModelDetailResponse","type":"object"},"SemanticModelResponse":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"title":"Created At","type":"string"},"embedding_count":{"default":0,"title":"Embedding Count","type":"integer"},"entity_count":{"default":0,"title":"Entity Count","type":"integer"},"id":{"title":"Id","type":"string"},"join_count":{"default":0,"title":"Join Count","type":"integer"},"metric_count":{"default":0,"title":"Metric Count","type":"integer"},"name":{"title":"Name","type":"string"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"source_scope":{"additionalProperties":true,"title":"Source Scope","type":"object"},"status":{"enum":["draft","active","archived"],"title":"Status","type":"string"},"term_count":{"default":0,"title":"Term Count","type":"integer"},"updated_at":{"title":"Updated At","type":"string"},"version":{"default":1,"title":"Version","type":"integer"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","status","created_at","updated_at"],"title":"SemanticModelResponse","type":"object"},"SemanticTermResponse":{"properties":{"id":{"title":"Id","type":"string"},"normalized_term":{"title":"Normalized Term","type":"string"},"target_key":{"title":"Target Key","type":"string"},"target_type":{"title":"Target Type","type":"string"},"term":{"title":"Term","type":"string"},"term_source":{"title":"Term Source","type":"string"},"weight":{"default":0,"title":"Weight","type":"integer"}},"required":["id","term","normalized_term","target_type","target_key","term_source"],"title":"SemanticTermResponse","type":"object"},"SemanticView":{"additionalProperties":false,"properties":{"access_evidence":{"items":{"$ref":"#/components/schemas/EvidenceRef"},"title":"Access Evidence","type":"array"},"aliases":{"items":{"type":"string"},"title":"Aliases","type":"array"},"assumptions":{"items":{"type":"string"},"title":"Assumptions","type":"array"},"bindings":{"items":{"$ref":"#/components/schemas/WarehouseBinding"},"title":"Bindings","type":"array"},"conflicts":{"items":{"type":"string"},"title":"Conflicts","type":"array"},"dependencies":{"items":{"$ref":"#/components/schemas/DefinitionRef"},"maxItems":20,"title":"Dependencies","type":"array"},"dimensions":{"items":{"$ref":"#/components/schemas/BusinessMeasure"},"title":"Dimensions","type":"array"},"domain":{"maxLength":100,"minLength":1,"title":"Domain","type":"string"},"entities":{"items":{"type":"string"},"title":"Entities","type":"array"},"evidence":{"items":{"$ref":"#/components/schemas/EvidenceRef"},"minItems":1,"title":"Evidence","type":"array"},"exclusions":{"items":{"type":"string"},"title":"Exclusions","type":"array"},"grain":{"minLength":1,"title":"Grain","type":"string"},"joins":{"items":{"type":"string"},"title":"Joins","type":"array"},"key":{"pattern":"^[a-z][a-z0-9_]{1,100}$","title":"Key","type":"string"},"meaning":{"minLength":1,"title":"Meaning","type":"string"},"metrics":{"items":{"$ref":"#/components/schemas/BusinessMeasure"},"minItems":1,"title":"Metrics","type":"array"},"time_rules":{"title":"Time Rules","type":"string"},"title":{"maxLength":160,"minLength":1,"title":"Title","type":"string"}},"required":["key","title","domain","meaning","grain","time_rules","metrics","evidence"],"title":"SemanticView","type":"object"},"SharedConversationSnapshotResponse":{"properties":{"conversation":{"$ref":"#/components/schemas/ConversationResponse"},"messages":{"items":{"$ref":"#/components/schemas/ConversationMessageResponse"},"title":"Messages","type":"array"},"queries":{"items":{"$ref":"#/components/schemas/QueryHistoryItemResponse"},"title":"Queries","type":"array"},"share":{"$ref":"#/components/schemas/ConversationShareResponse"}},"required":["share","conversation"],"title":"SharedConversationSnapshotResponse","type":"object"},"SloSpec":{"additionalProperties":false,"properties":{"target":{"exclusiveMinimum":0,"maximum":1,"title":"Target","type":"number"},"window_days":{"maximum":3660,"minimum":1,"title":"Window Days","type":"integer"}},"required":["target","window_days"],"title":"SloSpec","type":"object"},"SourceOAuthAbandonRequest":{"properties":{"connector_id":{"maxLength":64,"minLength":1,"title":"Connector Id","type":"string"},"state":{"maxLength":512,"minLength":1,"title":"State","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","state"],"title":"SourceOAuthAbandonRequest","type":"object"},"SourceOAuthAbandonResponse":{"properties":{"abandoned":{"title":"Abandoned","type":"boolean"},"connector_id":{"title":"Connector Id","type":"string"}},"required":["connector_id","abandoned"],"title":"SourceOAuthAbandonResponse","type":"object"},"SourceOAuthStartRequest":{"properties":{"connector_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"},"mode":{"default":"live","maxLength":50,"minLength":1,"title":"Mode","type":"string"},"name":{"maxLength":160,"minLength":1,"title":"Name","type":"string"},"provider_options":{"additionalProperties":true,"title":"Provider Options","type":"object"},"return_to":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Return To"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name"],"title":"SourceOAuthStartRequest","type":"object"},"SourceOAuthStartResponse":{"properties":{"authorization_url":{"title":"Authorization Url","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"flow_binding":{"title":"Flow Binding","type":"string"},"mode":{"title":"Mode","type":"string"},"provider":{"title":"Provider","type":"string"}},"required":["provider","mode","connector_id","authorization_url","flow_binding"],"title":"SourceOAuthStartResponse","type":"object"},"SuggestAnnotationsRequest":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"force":{"default":false,"title":"Force","type":"boolean"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"table_name":{"minLength":1,"title":"Table Name","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","schema_name","table_name"],"title":"SuggestAnnotationsRequest","type":"object"},"SupabasePreflightCheck":{"properties":{"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"},"status":{"enum":["passed","warning"],"title":"Status","type":"string"}},"required":["key","status","label"],"title":"SupabasePreflightCheck","type":"object"},"SupabasePreflightCredentials":{"additionalProperties":false,"properties":{"database":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Database"},"database_url":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Database Url"},"host":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"Host"},"password":{"anyOf":[{"format":"password","type":"string","writeOnly":true},{"type":"null"}],"title":"Password"},"port":{"anyOf":[{"maximum":65535,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Port"},"sslmode":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}],"title":"Sslmode"},"user":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"User"}},"title":"SupabasePreflightCredentials","type":"object"},"SupabasePreflightRequest":{"properties":{"credentials":{"$ref":"#/components/schemas/SupabasePreflightCredentials"},"endpoint":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Endpoint"},"schemas":{"items":{"type":"string"},"maxItems":100,"title":"Schemas","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","credentials"],"title":"SupabasePreflightRequest","type":"object"},"SupabasePreflightResponse":{"properties":{"available_scopes":{"items":{"additionalProperties":true,"type":"object"},"title":"Available Scopes","type":"array"},"checks":{"items":{"$ref":"#/components/schemas/SupabasePreflightCheck"},"title":"Checks","type":"array"},"connection_mode":{"enum":["session_pooler","transaction_pooler"],"title":"Connection Mode","type":"string"},"connector_kind":{"const":"supabase","default":"supabase","title":"Connector Kind","type":"string"},"credential_project_ref":{"title":"Credential Project Ref","type":"string"},"current_database":{"title":"Current Database","type":"string"},"current_role":{"title":"Current Role","type":"string"},"current_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Schema"},"ok":{"default":true,"title":"Ok","type":"boolean"},"postgres_major_version":{"minimum":1,"title":"Postgres Major Version","type":"integer"},"postgres_version":{"title":"Postgres Version","type":"string"},"project_ref":{"title":"Project Ref","type":"string"},"rls_notice":{"title":"Rls Notice","type":"string"},"warnings":{"items":{"type":"string"},"title":"Warnings","type":"array"}},"required":["project_ref","credential_project_ref","connection_mode","current_database","current_role","postgres_version","postgres_major_version","rls_notice"],"title":"SupabasePreflightResponse","type":"object"},"SupabaseProjectChoice":{"properties":{"connectable":{"default":true,"title":"Connectable","type":"boolean"},"name":{"title":"Name","type":"string"},"ref":{"title":"Ref","type":"string"},"region":{"title":"Region","type":"string"},"status":{"default":"","title":"Status","type":"string"}},"required":["ref","name","region"],"title":"SupabaseProjectChoice","type":"object"},"SupabaseProjectChoiceRequest":{"properties":{"choice":{"maxLength":128,"minLength":1,"title":"Choice","type":"string"},"project_ref":{"maxLength":64,"minLength":1,"title":"Project Ref","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","choice","project_ref"],"title":"SupabaseProjectChoiceRequest","type":"object"},"SupabaseProjectChoiceResponse":{"properties":{"redirect_to":{"title":"Redirect To","type":"string"}},"required":["redirect_to"],"title":"SupabaseProjectChoiceResponse","type":"object"},"SupabaseProjectChoicesResponse":{"properties":{"connector_id":{"title":"Connector Id","type":"string"},"projects":{"items":{"$ref":"#/components/schemas/SupabaseProjectChoice"},"title":"Projects","type":"array"}},"required":["connector_id","projects"],"title":"SupabaseProjectChoicesResponse","type":"object"},"SyncSchemaRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"index_semantic":{"default":true,"title":"Index Semantic","type":"boolean"},"mode":{"default":"incremental","enum":["full","incremental"],"title":"Mode","type":"string"},"schemas":{"items":{"type":"string"},"title":"Schemas","type":"array"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"SyncSchemaRequest","type":"object"},"TableAnnotationUpsertRequest":{"properties":{"business_purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Purpose"},"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"do_not_use":{"default":false,"title":"Do Not Use","type":"boolean"},"do_not_use_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Do Not Use Reason"},"freshness_sla_minutes":{"anyOf":[{"maximum":525600,"minimum":1,"type":"integer"},{"type":"null"}],"description":"Longest the table may go without new data before the catalog reports it late.","title":"Freshness Sla Minutes"},"grain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grain"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"schema_name":{"minLength":1,"title":"Schema Name","type":"string"},"synonyms":{"items":{"type":"string"},"title":"Synonyms","type":"array"},"table_name":{"minLength":1,"title":"Table Name","type":"string"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"verified":{"default":false,"title":"Verified","type":"boolean"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id","schema_name","table_name"],"title":"TableAnnotationUpsertRequest","type":"object"},"TableMonitorAttentionItem":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"table_monitor","default":"table_monitor","title":"Kind","type":"string"},"last_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Status"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"table_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Ref"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"TableMonitorAttentionItem","type":"object"},"TableScoutReportAttentionItem":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"event_id":{"title":"Event Id","type":"string"},"href":{"title":"Href","type":"string"},"id":{"title":"Id","type":"string"},"kind":{"const":"table_scout_report","default":"table_scout_report","title":"Kind","type":"string"},"report_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Id"},"report_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Severity"},"severity":{"default":"info","enum":["info","warning","critical"],"title":"Severity","type":"string"},"table_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Ref"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"title":{"title":"Title","type":"string"}},"required":["id","event_id","title","href"],"title":"TableScoutReportAttentionItem","type":"object"},"TelemetryGapPrApprovalRequest":{"properties":{"base_branch":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Base Branch"},"github_app_config_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github App Config Id"},"github_installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Installation Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"provider":{"anyOf":[{"enum":["github","gitlab"],"type":"string"},{"type":"null"}],"title":"Provider"},"repository_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository Url"},"subdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdirectory"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"TelemetryGapPrApprovalRequest","type":"object"},"TelemetryGapPrApprovalResponse":{"properties":{"fallback_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Prompt"},"pull_request":{"anyOf":[{"$ref":"#/components/schemas/AgentProjectPullRequestResponse"},{"type":"null"}]},"run":{"$ref":"#/components/schemas/ToolRunResponse"}},"required":["run"],"title":"TelemetryGapPrApprovalResponse","type":"object"},"ToolRunResponse":{"properties":{"action_budget":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Budget"},"approval_decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Approval Decision"},"completed_actions":{"default":0,"title":"Completed Actions","type":"integer"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"created_at":{"title":"Created At","type":"string"},"current_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Action"},"dispatch_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispatch Error"},"dispatch_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispatch Status"},"id":{"title":"Id","type":"string"},"input_payload":{"additionalProperties":true,"title":"Input Payload","type":"object"},"orchestration_version":{"default":"v1","enum":["v1","v2"],"title":"Orchestration Version","type":"string"},"output_payload":{"additionalProperties":true,"title":"Output Payload","type":"object"},"parent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Run Id"},"progress_percent":{"default":0,"title":"Progress Percent","type":"integer"},"projection_version":{"default":1,"title":"Projection Version","type":"integer"},"requested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"},"requested_by_profile":{"anyOf":[{"$ref":"#/components/schemas/UserProfileSummary"},{"type":"null"}]},"run_kind":{"anyOf":[{"enum":["pipeline_cloud_review","pipeline_optimization"],"type":"string"},{"type":"null"}],"title":"Run Kind"},"source_base_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Base Sha"},"source_handoff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Handoff Id"},"source_intent_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Intent Hash"},"source_local_review_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Local Review Version"},"source_snapshot_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Snapshot Expires At"},"source_snapshot_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Snapshot Hash"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"status":{"enum":["awaiting_approval","running","completed","failed","rejected","cancelled"],"title":"Status","type":"string"},"task_type":{"title":"Task Type","type":"string"},"temporal_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporal Run Id"},"temporal_workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporal Workflow Id"},"temporary_schema_cleaned_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporary Schema Cleaned At"},"temporary_schema_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temporary Schema Expires At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","task_type","status","created_at"],"title":"ToolRunResponse","type":"object"},"ToolRunStepResponse":{"properties":{"approval_decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Approval Decision"},"awaiting_confirmation":{"default":false,"title":"Awaiting Confirmation","type":"boolean"},"confirmed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed At"},"correction_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction Text"},"created_at":{"title":"Created At","type":"string"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"id":{"title":"Id","type":"string"},"label":{"title":"Label","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"status":{"enum":["queued","running","completed","failed","skipped"],"title":"Status","type":"string"},"step_key":{"title":"Step Key","type":"string"},"tool_run_id":{"title":"Tool Run Id","type":"string"},"updated_at":{"title":"Updated At","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","tool_run_id","workspace_id","step_key","label","status","created_at","updated_at"],"title":"ToolRunStepResponse","type":"object"},"TriggerAccessSyncRequest":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"TriggerAccessSyncRequest","type":"object"},"TriggerClassificationScanRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","connector_id"],"title":"TriggerClassificationScanRequest","type":"object"},"TriggerInput":{"properties":{"kind":{"description":"table: a table synced from a source; pipeline: another pipeline's published table.","enum":["table","pipeline"],"title":"Kind","type":"string"},"name":{"description":"`database.schema.table`.","title":"Name","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The source a synced table comes from.","title":"Source"}},"required":["kind","name"],"title":"TriggerInput","type":"object"},"TriggerSpec":{"additionalProperties":false,"properties":{"interval_minutes":{"anyOf":[{"maximum":10080,"minimum":15,"type":"integer"},{"type":"null"}],"title":"Interval Minutes"},"type":{"default":"manual","enum":["manual","scheduled","pipeline"],"title":"Type","type":"string"}},"title":"TriggerSpec","type":"object"},"UndoClassificationFindingRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UndoClassificationFindingRequest","type":"object"},"UnifiedContextEdgeResponse":{"properties":{"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"authority_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authority Score"},"confidence":{"default":1,"title":"Confidence","type":"number"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"edge_family":{"default":"semantic","enum":["structural","semantic","taxonomy","analytical","evidence_trust","governance","lineage"],"title":"Edge Family","type":"string"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"generated_by":{"default":"system","title":"Generated By","type":"string"},"id":{"title":"Id","type":"string"},"inverse_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inverse Label"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"relationship":{"title":"Relationship","type":"string"},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"source_object_id":{"title":"Source Object Id","type":"string"},"status":{"default":"active","title":"Status","type":"string"},"target_object_id":{"title":"Target Object Id","type":"string"},"truth_kind":{"default":"semantic_claim","enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"title":"Truth Kind","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"verification_status":{"default":"observed","title":"Verification Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","source_object_id","target_object_id","relationship"],"title":"UnifiedContextEdgeResponse","type":"object"},"UnifiedContextObjectResponse":{"properties":{"authority":{"additionalProperties":true,"title":"Authority","type":"object"},"authority_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Authority Score"},"confidence":{"default":1,"title":"Confidence","type":"number"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"evidence_ids":{"items":{"type":"string"},"title":"Evidence Ids","type":"array"},"generated_by":{"default":"system","title":"Generated By","type":"string"},"id":{"title":"Id","type":"string"},"incoming_edge_ids":{"items":{"type":"string"},"title":"Incoming Edge Ids","type":"array"},"match":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Match"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"object_type":{"title":"Object Type","type":"string"},"outgoing_edge_ids":{"items":{"type":"string"},"title":"Outgoing Edge Ids","type":"array"},"path_ids":{"items":{"type":"string"},"title":"Path Ids","type":"array"},"source":{"anyOf":[{"$ref":"#/components/schemas/ContextSourceResponse"},{"type":"null"}]},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"stable_key":{"title":"Stable Key","type":"string"},"status":{"default":"active","title":"Status","type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"title":{"title":"Title","type":"string"},"total_degree":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Degree"},"truth_kind":{"default":"semantic_claim","enum":["physical_anchor","semantic_claim","evidence","observation","runtime_trace"],"title":"Truth Kind","type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"verification_status":{"default":"observed","title":"Verification Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","object_type","stable_key","title"],"title":"UnifiedContextObjectResponse","type":"object"},"UpdateAccessFindingStatusRequest":{"properties":{"status":{"enum":["open","acknowledged"],"title":"Status","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","status"],"title":"UpdateAccessFindingStatusRequest","type":"object"},"UpdateAccessSettingsRequest":{"properties":{"access_request_notify_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Request Notify Channel Id"},"enforcement_write_back_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enforcement Write Back Enabled"},"platform_grant_enforcement":{"anyOf":[{"enum":["off","advisory","enforce","strict"],"type":"string"},{"type":"null"}],"title":"Platform Grant Enforcement"},"unmapped_principal_fallback":{"anyOf":[{"enum":["allow","deny"],"type":"string"},{"type":"null"}],"title":"Unmapped Principal Fallback"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpdateAccessSettingsRequest","type":"object"},"UpdateGovernancePolicyRequest":{"properties":{"classification_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Classification Tags"},"column_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column Name"},"effect":{"anyOf":[{"enum":["allow","deny","mask"],"type":"string"},{"type":"null"}],"title":"Effect"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"masking_strategy":{"anyOf":[{"enum":["null","redact","hash","last4"],"type":"string"},{"type":"null"}],"title":"Masking Strategy"},"name":{"anyOf":[{"maxLength":160,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"principal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Id"},"principal_type":{"anyOf":[{"enum":["role","group"],"type":"string"},{"type":"null"}],"title":"Principal Type"},"role":{"anyOf":[{"enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"type":"string"},{"type":"null"}],"title":"Role"},"row_filter_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Row Filter Sql"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"sensitivity_levels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sensitivity Levels"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpdateGovernancePolicyRequest","type":"object"},"UpdateGovernanceSettingsRequest":{"properties":{"auto_classification_confidence_threshold":{"anyOf":[{"maximum":1,"minimum":0.5,"type":"number"},{"type":"null"}],"title":"Auto Classification Confidence Threshold"},"auto_classification_mode":{"anyOf":[{"enum":["off","review","auto"],"type":"string"},{"type":"null"}],"title":"Auto Classification Mode"},"hipaa_aws_baa_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hipaa Aws Baa Verified"},"hipaa_inference_mode":{"anyOf":[{"enum":["disabled","bedrock"],"type":"string"},{"type":"null"}],"title":"Hipaa Inference Mode"},"hipaa_mode_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hipaa Mode Enabled"},"hipaa_supabase_baa_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hipaa Supabase Baa Verified"},"hipaa_temporal_baa_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hipaa Temporal Baa Verified"},"low_trust_answer_action":{"anyOf":[{"enum":["warn","require_approval","block"],"type":"string"},{"type":"null"}],"title":"Low Trust Answer Action"},"persona_observation_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Persona Observation Enabled"},"policy_enforcement_mode":{"anyOf":[{"enum":["observe","enforce"],"type":"string"},{"type":"null"}],"title":"Policy Enforcement Mode"},"require_trust_report":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Trust Report"},"result_cache_auto_promotion_threshold":{"anyOf":[{"maximum":1,"minimum":0.7,"type":"number"},{"type":"null"}],"title":"Result Cache Auto Promotion Threshold"},"result_cache_promotion_mode":{"anyOf":[{"enum":["automatic","manual"],"type":"string"},{"type":"null"}],"title":"Result Cache Promotion Mode"},"risky_run_action":{"anyOf":[{"enum":["warn","require_approval","block"],"type":"string"},{"type":"null"}],"title":"Risky Run Action"},"sensitive_data_action":{"anyOf":[{"enum":["warn","require_approval","block"],"type":"string"},{"type":"null"}],"title":"Sensitive Data Action"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpdateGovernanceSettingsRequest","type":"object"},"UpdateNotebookRequest":{"properties":{"change_summary":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Change Summary"},"create_version":{"default":false,"title":"Create Version","type":"boolean"},"description":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Description"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"path":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Path"},"title":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Title"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpdateNotebookRequest","type":"object"},"UpdateWorkspaceUsageLimitsRequest":{"additionalProperties":true,"properties":{"daily_ingestion_bytes_limit":{"anyOf":[{"maximum":9223372036854776000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Daily Ingestion Bytes Limit"},"daily_ingestion_rows_limit":{"anyOf":[{"maximum":9223372036854776000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Daily Ingestion Rows Limit"},"daily_scan_bytes_limit":{"anyOf":[{"maximum":9223372036854776000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Daily Scan Bytes Limit"},"daily_spend_usd_limit":{"anyOf":[{"exclusiveMaximum":10000000000,"minimum":0,"type":"number"},{"type":"null"}],"title":"Daily Spend Usd Limit"},"enforcement_mode":{"default":"block","enum":["observe","block"],"title":"Enforcement Mode","type":"string"},"expensive_scan_row_threshold":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Expensive Scan Row Threshold"},"expensive_scans_per_hour":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Expensive Scans Per Hour"},"max_rows_per_request":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Rows Per Request"},"monthly_llm_cost_usd":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"title":"Monthly Llm Cost Usd"},"monthly_llm_token_limit":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Monthly Llm Token Limit"},"monthly_row_limit":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Monthly Row Limit"},"monthly_scout_warehouse_cost_usd":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"title":"Monthly Scout Warehouse Cost Usd"},"monthly_spend_usd_limit":{"anyOf":[{"exclusiveMaximum":10000000000,"minimum":0,"type":"number"},{"type":"null"}],"title":"Monthly Spend Usd Limit"},"notify_only_safety_caps":{"anyOf":[{"items":{"enum":["daily_scan_bytes","daily_spend_usd","monthly_spend_usd","daily_ingestion_rows","daily_ingestion_bytes"],"type":"string"},"type":"array"},{"type":"null"}],"title":"Notify Only Safety Caps"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpdateWorkspaceUsageLimitsRequest","type":"object"},"UpsertAccessMappingRequest":{"properties":{"principal_id":{"minLength":1,"title":"Principal Id","type":"string"},"unlinked":{"default":false,"title":"Unlinked","type":"boolean"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","principal_id"],"title":"UpsertAccessMappingRequest","type":"object"},"UpsertConnectorCredentialsRequest":{"properties":{"credentials":{"additionalProperties":true,"title":"Credentials","type":"object"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"schemas":{"items":{"type":"string"},"maxItems":100,"title":"Schemas","type":"array"},"scope":{"default":"workspace","enum":["workspace","user"],"title":"Scope","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"UpsertConnectorCredentialsRequest","type":"object"},"UsageSavingsAcceleration":{"properties":{"fast_path":{"$ref":"#/components/schemas/UsageSavingsFastPathAcceleration"},"prompt_cache":{"$ref":"#/components/schemas/UsageSavingsPromptCacheAcceleration"},"semantic_matching":{"$ref":"#/components/schemas/UsageSavingsSemanticMatchingAcceleration"}},"title":"UsageSavingsAcceleration","type":"object"},"UsageSavingsBucketRow":{"properties":{"bucket_start":{"title":"Bucket Start","type":"string"},"cold_path":{"default":0,"title":"Cold Path","type":"integer"},"median_time_saved_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Time Saved Ms"},"observed_time_saved_ms":{"default":0,"title":"Observed Time Saved Ms","type":"number"},"plan_reused":{"default":0,"title":"Plan Reused","type":"integer"},"questions_answered":{"default":0,"title":"Questions Answered","type":"integer"},"result_reused":{"default":0,"title":"Result Reused","type":"integer"},"safe_fallback":{"default":0,"title":"Safe Fallback","type":"integer"},"saved_llm_cost_usd":{"default":0,"title":"Saved Llm Cost Usd","type":"number"},"saved_total_cost_usd":{"default":0,"title":"Saved Total Cost Usd","type":"number"},"saved_warehouse_cost_usd":{"default":0,"title":"Saved Warehouse Cost Usd","type":"number"},"time_saved_request_count":{"default":0,"title":"Time Saved Request Count","type":"integer"},"tokens_avoided":{"default":0,"title":"Tokens Avoided","type":"integer"}},"required":["bucket_start"],"title":"UsageSavingsBucketRow","type":"object"},"UsageSavingsFastPathAcceleration":{"properties":{"eligible_requests":{"default":0,"title":"Eligible Requests","type":"integer"},"median_served_latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Served Latency Ms"},"p95_served_latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Served Latency Ms"},"reasoning_bypassed_requests":{"default":0,"title":"Reasoning Bypassed Requests","type":"integer"},"served_rate":{"default":0,"title":"Served Rate","type":"number"},"served_requests":{"default":0,"title":"Served Requests","type":"integer"},"sql_generation_bypassed_requests":{"default":0,"title":"Sql Generation Bypassed Requests","type":"integer"},"warehouse_executions_avoided":{"default":0,"title":"Warehouse Executions Avoided","type":"integer"}},"title":"UsageSavingsFastPathAcceleration","type":"object"},"UsageSavingsFilters":{"properties":{"bucket":{"default":"day","enum":["day","week"],"title":"Bucket","type":"string"},"compare":{"default":false,"title":"Compare","type":"boolean"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"end_date":{"title":"End Date","type":"string"},"start_date":{"title":"Start Date","type":"string"},"surface":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id","start_date","end_date"],"title":"UsageSavingsFilters","type":"object"},"UsageSavingsMetricDelta":{"properties":{"delta":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta"},"delta_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta Percent"},"direction":{"default":"unknown","enum":["up","down","flat","unknown"],"title":"Direction","type":"string"},"previous_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Previous Value"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"}},"required":["value"],"title":"UsageSavingsMetricDelta","type":"object"},"UsageSavingsOpportunity":{"properties":{"action_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Label"},"description":{"title":"Description","type":"string"},"estimated_monthly_savings_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Monthly Savings Usd"},"id":{"title":"Id","type":"string"},"impact_label":{"default":"medium","enum":["high","medium","low"],"title":"Impact Label","type":"string"},"scope":{"const":"workspace","default":"workspace","title":"Scope","type":"string"},"title":{"title":"Title","type":"string"},"type":{"enum":["improve_semantic_definition","create_materialization","tune_cache_ttl","add_verified_query","improve_source_freshness","complete_cost_metadata","reduce_scanned_rows"],"title":"Type","type":"string"}},"required":["id","type","title","description"],"title":"UsageSavingsOpportunity","type":"object"},"UsageSavingsPromptCacheAcceleration":{"properties":{"cache_read_calls":{"default":0,"title":"Cache Read Calls","type":"integer"},"cache_write_calls":{"default":0,"title":"Cache Write Calls","type":"integer"},"cache_write_input_tokens":{"default":0,"title":"Cache Write Input Tokens","type":"integer"},"cached_input_tokens":{"default":0,"title":"Cached Input Tokens","type":"integer"},"call_hit_rate":{"default":0,"title":"Call Hit Rate","type":"number"},"llm_calls":{"default":0,"title":"Llm Calls","type":"integer"},"prompt_input_tokens":{"default":0,"title":"Prompt Input Tokens","type":"integer"},"token_reuse_rate":{"default":0,"title":"Token Reuse Rate","type":"number"}},"title":"UsageSavingsPromptCacheAcceleration","type":"object"},"UsageSavingsRequestPathBreakdown":{"properties":{"segments":{"items":{"$ref":"#/components/schemas/UsageSavingsRequestPathSegment"},"title":"Segments","type":"array"},"total_requests":{"title":"Total Requests","type":"integer"}},"required":["total_requests"],"title":"UsageSavingsRequestPathBreakdown","type":"object"},"UsageSavingsRequestPathSegment":{"properties":{"count":{"title":"Count","type":"integer"},"label":{"title":"Label","type":"string"},"observed_time_saved_ms":{"default":0,"title":"Observed Time Saved Ms","type":"number"},"path":{"enum":["result_reused","plan_reused","safe_fallback","cold_path"],"title":"Path","type":"string"},"percent":{"title":"Percent","type":"number"}},"required":["path","label","count","percent"],"title":"UsageSavingsRequestPathSegment","type":"object"},"UsageSavingsResponse":{"properties":{"acceleration":{"$ref":"#/components/schemas/UsageSavingsAcceleration"},"buckets":{"items":{"$ref":"#/components/schemas/UsageSavingsBucketRow"},"title":"Buckets","type":"array"},"filters":{"$ref":"#/components/schemas/UsageSavingsFilters"},"generated_at":{"title":"Generated At","type":"string"},"opportunities":{"items":{"$ref":"#/components/schemas/UsageSavingsOpportunity"},"title":"Opportunities","type":"array"},"request_paths":{"$ref":"#/components/schemas/UsageSavingsRequestPathBreakdown"},"summary":{"$ref":"#/components/schemas/UsageSavingsSummary"},"top_patterns":{"items":{"$ref":"#/components/schemas/UsageSavingsTopPattern"},"title":"Top Patterns","type":"array"},"top_surfaces":{"items":{"$ref":"#/components/schemas/UsageSavingsTopSurface"},"title":"Top Surfaces","type":"array"},"top_users":{"items":{"$ref":"#/components/schemas/UsageSavingsTopUser"},"title":"Top Users","type":"array"},"warnings":{"items":{"$ref":"#/components/schemas/UsageSavingsWarning"},"title":"Warnings","type":"array"}},"required":["filters","summary","request_paths","generated_at"],"title":"UsageSavingsResponse","type":"object"},"UsageSavingsSemanticMatchingAcceleration":{"properties":{"eligible_rate":{"default":0,"title":"Eligible Rate","type":"number"},"eligible_requests":{"default":0,"title":"Eligible Requests","type":"integer"},"enabled_eligible_requests":{"default":0,"title":"Enabled Eligible Requests","type":"integer"},"enabled_evaluated_requests":{"default":0,"title":"Enabled Evaluated Requests","type":"integer"},"equivalent_requests":{"default":0,"title":"Equivalent Requests","type":"integer"},"error_count":{"default":0,"title":"Error Count","type":"integer"},"evaluated_requests":{"default":0,"title":"Evaluated Requests","type":"integer"},"match_rate":{"default":0,"title":"Match Rate","type":"number"},"matched_requests":{"default":0,"title":"Matched Requests","type":"integer"},"median_lookup_latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Lookup Latency Ms"},"mode":{"default":"off","enum":["off","shadow","enabled","mixed"],"title":"Mode","type":"string"},"p95_lookup_latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Lookup Latency Ms"},"reasoner_agreed_requests":{"default":0,"title":"Reasoner Agreed Requests","type":"integer"},"reasoner_agreement_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reasoner Agreement Rate"},"reasoner_observed_requests":{"default":0,"title":"Reasoner Observed Requests","type":"integer"},"shadow_eligible_requests":{"default":0,"title":"Shadow Eligible Requests","type":"integer"},"shadow_evaluated_requests":{"default":0,"title":"Shadow Evaluated Requests","type":"integer"},"validated_precision":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Validated Precision"},"validated_requests":{"default":0,"title":"Validated Requests","type":"integer"},"would_bypass_requests":{"default":0,"title":"Would Bypass Requests","type":"integer"}},"title":"UsageSavingsSemanticMatchingAcceleration","type":"object"},"UsageSavingsSummary":{"properties":{"cache_hit_rate":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"},"dollars_saved":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"},"median_time_saved_ms":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"},"observed_time_saved_ms":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"},"questions_answered":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"},"time_saved_request_count":{"default":0,"title":"Time Saved Request Count","type":"integer"},"time_saved_source_mix":{"items":{"$ref":"#/components/schemas/UsageSavingsTimeSavedSourceMixRow"},"title":"Time Saved Source Mix","type":"array"},"tokens_avoided":{"$ref":"#/components/schemas/UsageSavingsMetricDelta"}},"required":["questions_answered","cache_hit_rate","dollars_saved","tokens_avoided","median_time_saved_ms","observed_time_saved_ms"],"title":"UsageSavingsSummary","type":"object"},"UsageSavingsTimeSavedSourceMixRow":{"properties":{"observed_time_saved_ms":{"default":0,"title":"Observed Time Saved Ms","type":"number"},"request_count":{"default":0,"title":"Request Count","type":"integer"},"source":{"enum":["actual_pair","matched_result_pattern","phase_observed","unavailable"],"title":"Source","type":"string"}},"required":["source"],"title":"UsageSavingsTimeSavedSourceMixRow","type":"object"},"UsageSavingsTopPattern":{"properties":{"id":{"title":"Id","type":"string"},"reuse_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reuse Rate"},"run_details":{"items":{"$ref":"#/components/schemas/UsageSavingsTopPatternRun"},"title":"Run Details","type":"array"},"runs":{"default":0,"title":"Runs","type":"integer"},"saved_time_median_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Saved Time Median Ms"},"saved_total_cost_usd":{"default":0,"title":"Saved Total Cost Usd","type":"number"},"scope":{"const":"workspace","default":"workspace","title":"Scope","type":"string"},"title":{"title":"Title","type":"string"},"trend":{"items":{"type":"integer"},"title":"Trend","type":"array"}},"required":["id","title"],"title":"UsageSavingsTopPattern","type":"object"},"UsageSavingsTopPatternRun":{"properties":{"at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"At"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"llm_cost_usd":{"default":0,"title":"Llm Cost Usd","type":"number"},"request_id":{"title":"Request Id","type":"string"},"tokens":{"default":0,"title":"Tokens","type":"integer"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"required":["request_id"],"title":"UsageSavingsTopPatternRun","type":"object"},"UsageSavingsTopSurface":{"properties":{"cache_hit_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cache Hit Rate"},"label":{"title":"Label","type":"string"},"questions":{"default":0,"title":"Questions","type":"integer"},"saved_total_cost_usd":{"default":0,"title":"Saved Total Cost Usd","type":"number"},"surface":{"title":"Surface","type":"string"}},"required":["surface","label"],"title":"UsageSavingsTopSurface","type":"object"},"UsageSavingsTopUser":{"properties":{"cache_hit_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cache Hit Rate"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"label":{"title":"Label","type":"string"},"questions":{"default":0,"title":"Questions","type":"integer"},"saved_total_cost_usd":{"default":0,"title":"Saved Total Cost Usd","type":"number"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"required":["label"],"title":"UsageSavingsTopUser","type":"object"},"UsageSavingsWarning":{"properties":{"code":{"enum":["missing_cost_metadata","estimated_savings","incomplete_attribution","optional_table_missing","partial_backfill","time_saved_unavailable","time_saved_partial"],"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"UsageSavingsWarning","type":"object"},"UsedQueryResponse":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"connector_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Name"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"execution_metadata":{"additionalProperties":true,"title":"Execution Metadata","type":"object"},"label":{"title":"Label","type":"string"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"purpose":{"title":"Purpose","type":"string"},"result_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Note"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows_omitted":{"default":false,"title":"Rows Omitted","type":"boolean"},"rows_preview":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows Preview","type":"array"},"sql":{"title":"Sql","type":"string"},"status":{"enum":["completed","failed","skipped"],"title":"Status","type":"string"},"surface_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface Id"},"warehouse_dialect":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse Dialect"}},"required":["label","purpose","sql","status"],"title":"UsedQueryResponse","type":"object"},"UserProfileSummary":{"properties":{"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"title":"User Id","type":"string"}},"required":["user_id"],"title":"UserProfileSummary","type":"object"},"ValidationError":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"VerifiedQueryCreateRequest":{"properties":{"golden_result_contract":{"additionalProperties":true,"title":"Golden Result Contract","type":"object"},"match_policy":{"additionalProperties":true,"title":"Match Policy","type":"object"},"name":{"maxLength":200,"minLength":1,"title":"Name","type":"string"},"natural_language_pattern":{"maxLength":1000,"minLength":1,"title":"Natural Language Pattern","type":"string"},"parameter_schema":{"additionalProperties":true,"title":"Parameter Schema","type":"object"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"sql_template":{"minLength":1,"title":"Sql Template","type":"string"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"verification_status":{"default":"draft","enum":["draft","verified","stale"],"title":"Verification Status","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","name","natural_language_pattern","sql_template"],"title":"VerifiedQueryCreateRequest","type":"object"},"VerifiedQueryResponse":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"dependency_signature":{"additionalProperties":true,"title":"Dependency Signature","type":"object"},"dependency_signature_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dependency Signature Hash"},"golden_result_contract":{"additionalProperties":true,"title":"Golden Result Contract","type":"object"},"id":{"title":"Id","type":"string"},"invalidated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invalidated At"},"invalidation_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invalidation Reason"},"last_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Verified At"},"match_policy":{"additionalProperties":true,"title":"Match Policy","type":"object"},"name":{"title":"Name","type":"string"},"natural_language_pattern":{"title":"Natural Language Pattern","type":"string"},"parameter_schema":{"additionalProperties":true,"title":"Parameter Schema","type":"object"},"semantic_model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Semantic Model Id"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"sql_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql Template"},"success_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Success Rate"},"tags":{"items":{"type":"string"},"title":"Tags","type":"array"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"use_count":{"default":0,"title":"Use Count","type":"integer"},"verification_status":{"default":"draft","enum":["draft","verified","stale"],"title":"Verification Status","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","name","natural_language_pattern"],"title":"VerifiedQueryResponse","type":"object"},"VerifiedQueryResultCapsuleResponse":{"properties":{"approval_source":{"anyOf":[{"enum":["thumbs_up","dashboard_created","manual","trust_policy"],"type":"string"},{"type":"null"}],"title":"Approval Source"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"created_from_query_request_id":{"title":"Created From Query Request Id","type":"string"},"final_answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Answer"},"fresh_until":{"title":"Fresh Until","type":"string"},"governance_signature_hash":{"title":"Governance Signature Hash","type":"string"},"hit_count":{"default":0,"title":"Hit Count","type":"integer"},"id":{"title":"Id","type":"string"},"last_hit_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Hit At"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refreshed At"},"result_rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Result Rows","type":"array"},"role_scope":{"title":"Role Scope","type":"string"},"row_count":{"title":"Row Count","type":"integer"},"semantic_plan":{"additionalProperties":true,"title":"Semantic Plan","type":"object"},"source_signature":{"additionalProperties":true,"title":"Source Signature","type":"object"},"source_signature_hash":{"title":"Source Signature Hash","type":"string"},"sql":{"title":"Sql","type":"string"},"stale_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stale At"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"user_id":{"title":"User Id","type":"string"},"verified_query_id":{"title":"Verified Query Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","verified_query_id","workspace_id","user_id","role_scope","sql","row_count","source_signature_hash","governance_signature_hash","fresh_until","created_from_query_request_id"],"title":"VerifiedQueryResultCapsuleResponse","type":"object"},"VerifiedQueryUpdateRequest":{"properties":{"golden_result_contract":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Golden Result Contract"},"match_policy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Match Policy"},"name":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"natural_language_pattern":{"anyOf":[{"maxLength":1000,"minLength":1,"type":"string"},{"type":"null"}],"title":"Natural Language Pattern"},"parameter_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameter Schema"},"semantic_plan":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Semantic Plan"},"sql_template":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Sql Template"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"verification_status":{"anyOf":[{"enum":["draft","verified","stale"],"type":"string"},{"type":"null"}],"title":"Verification Status"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"VerifiedQueryUpdateRequest","type":"object"},"VerifyWorkspaceEmailDomainRequest":{"properties":{"domain":{"maxLength":253,"minLength":1,"title":"Domain","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","domain"],"title":"VerifyWorkspaceEmailDomainRequest","type":"object"},"VersionDetail":{"properties":{"cleanup_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cleanup Reason"},"files":{"additionalProperties":{"type":"string"},"title":"Files","type":"object"},"id":{"format":"uuid","title":"Id","type":"string"},"source":{"additionalProperties":true,"title":"Source","type":"object"},"status":{"title":"Status","type":"string"},"storage_state":{"default":"live","title":"Storage State","type":"string"},"validation":{"additionalProperties":true,"title":"Validation","type":"object"}},"required":["id","status","files","validation"],"title":"VersionDetail","type":"object"},"VisualDocumentV1":{"properties":{"as_of":{"title":"As Of","type":"string"},"cache_status":{"title":"Cache Status","type":"string"},"chart":{"additionalProperties":true,"title":"Chart","type":"object"},"cost_provenance":{"additionalProperties":true,"title":"Cost Provenance","type":"object"},"lineage":{"additionalProperties":true,"title":"Lineage","type":"object"},"source":{"additionalProperties":true,"title":"Source","type":"object"},"supported_views":{"items":{"enum":["auto","stat","line","bar","area","pie","scatter","table","lineage","health_timeline"],"type":"string"},"title":"Supported Views","type":"array"},"table":{"additionalProperties":true,"title":"Table","type":"object"},"title":{"title":"Title","type":"string"},"truncation":{"additionalProperties":true,"title":"Truncation","type":"object"},"trust_level":{"title":"Trust Level","type":"string"},"version":{"const":"1","default":"1","title":"Version","type":"string"},"view":{"enum":["auto","stat","line","bar","area","pie","scatter","table","lineage","health_timeline"],"title":"View","type":"string"}},"required":["title","view","supported_views","as_of","trust_level","cache_status"],"title":"VisualDocumentV1","type":"object"},"VisualResolveRequest":{"properties":{"row_limit":{"default":100,"maximum":250,"minimum":1,"title":"Row Limit","type":"integer"},"source":{"$ref":"#/components/schemas/VisualSource"},"view":{"default":"auto","enum":["auto","stat","line","bar","area","pie","scatter","table","lineage","health_timeline"],"title":"View","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","source"],"title":"VisualResolveRequest","type":"object"},"VisualSource":{"properties":{"catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"default","title":"Catalog Name"},"chart_spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chart Spec"},"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"investigation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Investigation"},"kind":{"enum":["query","table","notebook","insight","schema_change","run","investigation"],"title":"Kind","type":"string"},"relation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"},"rows":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Rows"},"schema_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["kind"],"title":"VisualSource","type":"object"},"WarehouseBinding":{"additionalProperties":false,"properties":{"authoritative_source":{"title":"Authoritative Source","type":"string"},"base_sql":{"title":"Base Sql","type":"string"},"checks":{"items":{"$ref":"#/components/schemas/Check"},"title":"Checks","type":"array"},"connector_id":{"format":"uuid","title":"Connector Id","type":"string"},"dialect":{"title":"Dialect","type":"string"},"dimensions":{"items":{"$ref":"#/components/schemas/Dimension"},"title":"Dimensions","type":"array"},"metrics":{"items":{"$ref":"#/components/schemas/Metric"},"minItems":1,"title":"Metrics","type":"array"},"parameters":{"additionalProperties":{"$ref":"#/components/schemas/Parameter"},"title":"Parameters","type":"object"},"replica_policy":{"title":"Replica Policy","type":"string"},"schema_fingerprint":{"default":"","title":"Schema Fingerprint","type":"string"},"table_refs":{"items":{"type":"string"},"minItems":1,"title":"Table Refs","type":"array"},"validation_parameters":{"additionalProperties":true,"title":"Validation Parameters","type":"object"}},"required":["connector_id","dialect","table_refs","base_sql","metrics","checks","authoritative_source","replica_policy"],"title":"WarehouseBinding","type":"object"},"WarehouseCapabilitiesResponse":{"properties":{"custom_schemas":{"default":false,"title":"Custom Schemas","type":"boolean"},"default_schema":{"const":"default","default":"default","title":"Default Schema","type":"string"},"external_catalogs":{"default":false,"title":"External Catalogs","type":"boolean"},"ingestion":{"default":true,"title":"Ingestion","type":"boolean"},"ingestion_engines":{"items":{"type":"string"},"title":"Ingestion Engines","type":"array"},"maintenance":{"$ref":"#/components/schemas/MaintenanceCapabilities"},"query_execution":{"default":true,"title":"Query Execution","type":"boolean"},"read_sql_dialects":{"items":{"type":"string"},"title":"Read Sql Dialects","type":"array"},"relation_types":{"items":{"type":"string"},"title":"Relation Types","type":"array"},"sql_dialect":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"athena","title":"Sql Dialect"},"transactions":{"default":false,"title":"Transactions","type":"boolean"},"write_operations":{"items":{"type":"string"},"title":"Write Operations","type":"array"}},"title":"WarehouseCapabilitiesResponse","type":"object"},"WarehouseDatabaseCreateRequest":{"properties":{"name":{"maxLength":128,"minLength":1,"title":"Name","type":"string"}},"required":["name"],"title":"WarehouseDatabaseCreateRequest","type":"object"},"WarehouseDatabaseDropProgress":{"properties":{"active":{"default":false,"title":"Active","type":"boolean"},"dropped_tables":{"default":0,"title":"Dropped Tables","type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"total_tables":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Tables"}},"title":"WarehouseDatabaseDropProgress","type":"object"},"WarehouseDatabaseDropResponse":{"properties":{"database":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"},"dropped_tables":{"title":"Dropped Tables","type":"integer"}},"required":["database","dropped_tables"],"title":"WarehouseDatabaseDropResponse","type":"object"},"WarehouseDatabaseResponse":{"properties":{"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"drop_progress":{"anyOf":[{"$ref":"#/components/schemas/WarehouseDatabaseDropProgress"},{"type":"null"}]},"dropped_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Dropped At"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"ownership":{"default":"embrasure","enum":["embrasure","external"],"title":"Ownership","type":"string"},"recoverable_until":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Recoverable Until"},"status":{"title":"Status","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"warehouse_id":{"title":"Warehouse Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","warehouse_id","workspace_id","name","status"],"title":"WarehouseDatabaseResponse","type":"object"},"WarehouseDatabaseRestoreFailure":{"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"},"table":{"title":"Table","type":"string"}},"required":["table","code","message"],"title":"WarehouseDatabaseRestoreFailure","type":"object"},"WarehouseDatabaseUndropResponse":{"properties":{"database":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"},"failed_tables":{"items":{"$ref":"#/components/schemas/WarehouseDatabaseRestoreFailure"},"title":"Failed Tables","type":"array"},"restored_tables":{"title":"Restored Tables","type":"integer"}},"required":["database","restored_tables"],"title":"WarehouseDatabaseUndropResponse","type":"object"},"WarehouseFlowProgressResponse":{"properties":{"captured_durable_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Captured Durable Lsn"},"caught_up_to_capture":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether the captured prefix was materialized at observation time. Does not imply zero source WAL lag; null when stale or unknown.","title":"Caught Up To Capture"},"freshness":{"default":"unavailable","enum":["current","stale","unavailable"],"title":"Freshness","type":"string"},"journal_durable_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Journal Durable Lsn"},"materialized_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Materialized Lsn"},"observed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Observed At"},"pending_transactions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pending Transactions"},"received_lsn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Received Lsn"},"sample_age_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sample Age Seconds"}},"title":"WarehouseFlowProgressResponse","type":"object"},"WarehouseFlowSourceActivityResponse":{"properties":{"lagging_tables":{"default":0,"title":"Lagging Tables","type":"integer"},"last_source_change_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Source Change At"},"quiet_since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"No source change was observed since this time (when tracking began if no change was ever observed).","title":"Quiet Since"},"state":{"default":"unknown","description":"quiet: healthy and caught up, but no source table changed for 24 hours; lagging: catching up or a table is at least five minutes behind its source.","enum":["active","quiet","lagging","unknown"],"title":"State","type":"string"},"tracked_tables":{"default":0,"title":"Tracked Tables","type":"integer"}},"title":"WarehouseFlowSourceActivityResponse","type":"object"},"WarehouseFlowStatusResponse":{"properties":{"cleanup_pending":{"title":"Cleanup Pending","type":"boolean"},"deletion_pending":{"default":false,"title":"Deletion Pending","type":"boolean"},"progress":{"$ref":"#/components/schemas/WarehouseFlowProgressResponse"},"provisioned":{"title":"Provisioned","type":"boolean"},"resync_pause_acknowledged":{"title":"Resync Pause Acknowledged","type":"boolean"},"resync_pending":{"title":"Resync Pending","type":"boolean"},"source_activity":{"$ref":"#/components/schemas/WarehouseFlowSourceActivityResponse"}},"required":["provisioned","resync_pending","resync_pause_acknowledged","cleanup_pending"],"title":"WarehouseFlowStatusResponse","type":"object"},"WarehouseIngestionBackfillRequest":{"properties":{"column":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Column"},"end":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"End"},"start":{"format":"date-time","title":"Start","type":"string"},"table_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Table Id"}},"required":["start"],"title":"WarehouseIngestionBackfillRequest","type":"object"},"WarehouseIngestionBackfillResponse":{"properties":{"column":{"title":"Column","type":"string"},"end":{"format":"date-time","title":"End","type":"string"},"requested_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Requested At"},"rows_read":{"default":0,"title":"Rows Read","type":"integer"},"start":{"format":"date-time","title":"Start","type":"string"}},"required":["start","end","column"],"title":"WarehouseIngestionBackfillResponse","type":"object"},"WarehouseIngestionConnectionCreateRequest":{"properties":{"auto_add_new_tables":{"default":true,"title":"Auto Add New Tables","type":"boolean"},"auto_discovery_schema_scope":{"default":"all_visible_source","maxLength":64,"minLength":1,"title":"Auto Discovery Schema Scope","type":"string"},"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"ingestion_engine":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Ingestion Engine"},"name":{"maxLength":128,"minLength":1,"title":"Name","type":"string"},"publication_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Advanced: an existing publication created by a database administrator, for Postgres continuous sync with Embrasure Flow. Matched exactly (case-sensitive). Contrast never creates or alters it.","title":"Publication Name"},"schedule_interval_minutes":{"anyOf":[{"maximum":10080,"minimum":15,"type":"integer"},{"type":"null"}],"title":"Schedule Interval Minutes"},"source_kind":{"maxLength":32,"minLength":1,"title":"Source Kind","type":"string"},"source_options":{"additionalProperties":true,"title":"Source Options","type":"object"},"tables":{"items":{"$ref":"#/components/schemas/WarehouseIngestionTableSelectionRequest"},"minItems":1,"title":"Tables","type":"array"},"warehouse_database_id":{"minLength":1,"title":"Warehouse Database Id","type":"string"}},"required":["name","connector_id","warehouse_database_id","source_kind","tables"],"title":"WarehouseIngestionConnectionCreateRequest","type":"object"},"WarehouseIngestionConnectionDeleteResponse":{"properties":{"connection_id":{"title":"Connection Id","type":"string"},"data_retained":{"default":true,"title":"Data Retained","type":"boolean"},"deletion_pending":{"default":false,"title":"Deletion Pending","type":"boolean"},"ok":{"title":"Ok","type":"boolean"},"retained_replication_slots":{"items":{"type":"string"},"title":"Retained Replication Slots","type":"array"},"retained_source_objects":{"items":{"type":"string"},"title":"Retained Source Objects","type":"array"}},"required":["ok","connection_id"],"title":"WarehouseIngestionConnectionDeleteResponse","type":"object"},"WarehouseIngestionConnectionResponse":{"properties":{"auto_add_new_tables":{"default":true,"title":"Auto Add New Tables","type":"boolean"},"auto_discovery_schema_scope":{"default":"all_visible_source","title":"Auto Discovery Schema Scope","type":"string"},"connector_id":{"title":"Connector Id","type":"string"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"destination_database":{"title":"Destination Database","type":"string"},"failed_tables_count":{"default":0,"title":"Failed Tables Count","type":"integer"},"final_reconciliation":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionFinalReconciliationResponse"},{"type":"null"}]},"flow_status":{"anyOf":[{"$ref":"#/components/schemas/WarehouseFlowStatusResponse"},{"type":"null"}]},"id":{"title":"Id","type":"string"},"ingestion_engine":{"title":"Ingestion Engine","type":"string"},"lag_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lag Seconds"},"last_batch_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Batch Run Id"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Code"},"last_error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Message"},"last_schema_discovery_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Schema Discovery At"},"last_synced_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Synced At"},"name":{"title":"Name","type":"string"},"namespace_mode":{"default":"mirror_source_schema","title":"Namespace Mode","type":"string"},"next_sync_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Next Sync At"},"paused_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Paused At"},"paused_tables_count":{"default":0,"title":"Paused Tables Count","type":"integer"},"phase":{"title":"Phase","type":"string"},"pk_policy":{"title":"Pk Policy","type":"string"},"publication_blocked_tables_count":{"default":0,"title":"Publication Blocked Tables Count","type":"integer"},"recent_events":{"items":{"$ref":"#/components/schemas/WarehouseIngestionEventResponse"},"title":"Recent Events","type":"array"},"recent_runs":{"items":{"$ref":"#/components/schemas/WarehouseIngestionRunResponse"},"title":"Recent Runs","type":"array"},"rows_deleted":{"default":0,"title":"Rows Deleted","type":"integer"},"rows_inserted":{"default":0,"title":"Rows Inserted","type":"integer"},"rows_updated":{"default":0,"title":"Rows Updated","type":"integer"},"schedule_interval_minutes":{"default":60,"title":"Schedule Interval Minutes","type":"integer"},"schema_changes_applied":{"default":0,"title":"Schema Changes Applied","type":"integer"},"schema_changes_need_review":{"default":0,"title":"Schema Changes Need Review","type":"integer"},"schema_changes_total":{"default":0,"title":"Schema Changes Total","type":"integer"},"schema_drift_policy":{"title":"Schema Drift Policy","type":"string"},"setup_guidance":{"additionalProperties":true,"title":"Setup Guidance","type":"object"},"source_kind":{"title":"Source Kind","type":"string"},"stalled_tables_count":{"default":0,"title":"Stalled Tables Count","type":"integer"},"status":{"title":"Status","type":"string"},"sync_mode":{"title":"Sync Mode","type":"string"},"table_count":{"default":0,"title":"Table Count","type":"integer"},"tables":{"items":{"$ref":"#/components/schemas/WarehouseIngestionTableResponse"},"title":"Tables","type":"array"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"warehouse_database_id":{"title":"Warehouse Database Id","type":"string"},"warehouse_id":{"title":"Warehouse Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","warehouse_id","warehouse_database_id","connector_id","name","source_kind","destination_database","ingestion_engine","phase","status","sync_mode","pk_policy","schema_drift_policy"],"title":"WarehouseIngestionConnectionResponse","type":"object"},"WarehouseIngestionConnectionUpdateRequest":{"properties":{"name":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"schedule_interval_minutes":{"anyOf":[{"maximum":10080,"minimum":15,"type":"integer"},{"type":"null"}],"title":"Schedule Interval Minutes"}},"title":"WarehouseIngestionConnectionUpdateRequest","type":"object"},"WarehouseIngestionEventResponse":{"properties":{"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"event_type":{"title":"Event Type","type":"string"},"id":{"title":"Id","type":"string"},"message":{"title":"Message","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"severity":{"title":"Severity","type":"string"},"table_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Id"}},"required":["id","event_type","severity","message"],"title":"WarehouseIngestionEventResponse","type":"object"},"WarehouseIngestionFinalReconciliationResponse":{"properties":{"completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Completed At"},"last_error_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Error At"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Code"},"last_error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Message"},"plan_complete":{"default":false,"title":"Plan Complete","type":"boolean"},"planned_batch_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Planned Batch Count"},"public_state_frozen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Public State Frozen At"},"repair_attempts":{"default":0,"title":"Repair Attempts","type":"integer"},"run_id":{"title":"Run Id","type":"string"},"status":{"title":"Status","type":"string"}},"required":["run_id","status"],"title":"WarehouseIngestionFinalReconciliationResponse","type":"object"},"WarehouseIngestionPreflightRequest":{"properties":{"connector_id":{"minLength":1,"title":"Connector Id","type":"string"},"ingestion_engine":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Ingestion Engine"},"publication_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Advanced: an existing publication created by a database administrator, for Postgres continuous sync with Embrasure Flow. Matched exactly (case-sensitive). Contrast never creates or alters it.","title":"Publication Name"},"source_kind":{"maxLength":32,"minLength":1,"title":"Source Kind","type":"string"},"tables":{"items":{"$ref":"#/components/schemas/WarehouseIngestionTableSelectionRequest"},"title":"Tables","type":"array"},"warehouse_database_id":{"minLength":1,"title":"Warehouse Database Id","type":"string"}},"required":["connector_id","warehouse_database_id","source_kind"],"title":"WarehouseIngestionPreflightRequest","type":"object"},"WarehouseIngestionPreflightResponse":{"properties":{"instructions":{"items":{"type":"string"},"title":"Instructions","type":"array"},"ok":{"title":"Ok","type":"boolean"},"summary":{"$ref":"#/components/schemas/WarehouseIngestionPreflightSummaryResponse"},"tables":{"items":{"$ref":"#/components/schemas/WarehouseIngestionPreflightTableResponse"},"title":"Tables","type":"array"}},"required":["ok","summary"],"title":"WarehouseIngestionPreflightResponse","type":"object"},"WarehouseIngestionPreflightSummaryResponse":{"properties":{"blocked":{"title":"Blocked","type":"integer"},"ready":{"title":"Ready","type":"integer"},"total":{"title":"Total","type":"integer"},"warnings":{"title":"Warnings","type":"integer"}},"required":["total","ready","blocked","warnings"],"title":"WarehouseIngestionPreflightSummaryResponse","type":"object"},"WarehouseIngestionPreflightTableResponse":{"properties":{"blocking_reasons":{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"title":"Blocking Reasons","type":"array"},"column_sync_report":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Column Sync Report"},"cursor_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor Column"},"cursor_index":{"additionalProperties":true,"title":"Cursor Index","type":"object"},"delete_semantics":{"title":"Delete Semantics","type":"string"},"detected_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detected Cursor"},"detected_primary_key_columns":{"items":{"type":"string"},"title":"Detected Primary Key Columns","type":"array"},"identity":{"additionalProperties":true,"title":"Identity","type":"object"},"incremental_strategy":{"default":"cursor","title":"Incremental Strategy","type":"string"},"label":{"title":"Label","type":"string"},"recommended_selection":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionTableSelectionRequest"},{"type":"null"}]},"requested_primary_key_columns":{"items":{"type":"string"},"title":"Requested Primary Key Columns","type":"array"},"row_estimate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Estimate"},"selected_columns_count":{"title":"Selected Columns Count","type":"integer"},"source_columns_count":{"title":"Source Columns Count","type":"integer"},"source_identity":{"additionalProperties":true,"title":"Source Identity","type":"object"},"status":{"title":"Status","type":"string"},"warnings":{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"title":"Warnings","type":"array"}},"required":["identity","status","label","delete_semantics","selected_columns_count","source_columns_count"],"title":"WarehouseIngestionPreflightTableResponse","type":"object"},"WarehouseIngestionResyncDeletionDecisionRequest":{"properties":{"review_id":{"maxLength":64,"minLength":1,"title":"Review Id","type":"string"}},"required":["review_id"],"title":"WarehouseIngestionResyncDeletionDecisionRequest","type":"object"},"WarehouseIngestionResyncDeletionReviewResponse":{"properties":{"approved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"detected_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Detected At"},"engine":{"default":"batch","description":"`batch` withholds a sweep and keeps syncing; `flow` keeps the current tables, frozen, and holds the switch to the full resync copy. Flow approval covers every table of the sync.","enum":["batch","flow"],"title":"Engine","type":"string"},"id":{"title":"Id","type":"string"},"limit":{"description":"The most rows a full resync removes without approval.","title":"Limit","type":"integer"},"live_rows":{"description":"Live rows in the destination table when the sweep was withheld.","title":"Live Rows","type":"integer"},"new_rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Flow: rows in the full resync copy.","title":"New Rows"},"old_rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Flow: live rows in the current table.","title":"Old Rows"},"rows_exact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Flow: false when row counts are conservative bounds or unavailable.","title":"Rows Exact"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"stale_rows":{"description":"Rows the full resync did not return; they are kept until approved.","title":"Stale Rows","type":"integer"},"started_at":{"description":"Frozen resync start; only rows not refreshed since then are removed.","title":"Started At","type":"string"},"status":{"description":"`approved` batch deletions run with the next sync; an approved continuous (`flow`) review switches every table to the replacement copy after a final count check.","enum":["pending","approved"],"title":"Status","type":"string"},"verification_pending":{"default":false,"description":"Flow: row counts could not be verified; approval retries the check and never bypasses it.","title":"Verification Pending","type":"boolean"}},"required":["id","status","stale_rows","live_rows","limit","started_at"],"title":"WarehouseIngestionResyncDeletionReviewResponse","type":"object"},"WarehouseIngestionResyncRequest":{"properties":{"table_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Table Id"}},"title":"WarehouseIngestionResyncRequest","type":"object"},"WarehouseIngestionRunResponse":{"properties":{"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"failed_table_ids":{"items":{"type":"string"},"title":"Failed Table Ids","type":"array"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"id":{"title":"Id","type":"string"},"lag_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lag Seconds"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Code"},"last_error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Message"},"phase":{"title":"Phase","type":"string"},"rows_deleted":{"default":0,"title":"Rows Deleted","type":"integer"},"rows_inserted":{"default":0,"title":"Rows Inserted","type":"integer"},"rows_updated":{"default":0,"title":"Rows Updated","type":"integer"},"run_type":{"title":"Run Type","type":"string"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Started At"},"status":{"title":"Status","type":"string"},"table_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Id"},"trigger_kind":{"title":"Trigger Kind","type":"string"}},"required":["id","run_type","status","phase","trigger_kind"],"title":"WarehouseIngestionRunResponse","type":"object"},"WarehouseIngestionSchemaChangeResolveRequest":{"properties":{"column_actions":{"items":{"additionalProperties":true,"type":"object"},"title":"Column Actions","type":"array"},"new_cursor_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Cursor Column"},"new_primary_key_columns":{"items":{"type":"string"},"title":"New Primary Key Columns","type":"array"},"resolution":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Resolution"}},"title":"WarehouseIngestionSchemaChangeResolveRequest","type":"object"},"WarehouseIngestionSchemaChangeResolveResponse":{"properties":{"connection":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"},"ok":{"title":"Ok","type":"boolean"},"operation_status":{"title":"Operation Status","type":"string"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"schema_change":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionSchemaChangeResponse"},{"type":"null"}]}},"required":["ok","operation_status","connection"],"title":"WarehouseIngestionSchemaChangeResolveResponse","type":"object"},"WarehouseIngestionSchemaChangeResponse":{"properties":{"actions_applied":{"items":{"additionalProperties":true,"type":"object"},"title":"Actions Applied","type":"array"},"change_status":{"title":"Change Status","type":"string"},"change_summary":{"additionalProperties":true,"title":"Change Summary","type":"object"},"classification":{"title":"Classification","type":"string"},"connection_id":{"title":"Connection Id","type":"string"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"destination_snapshot":{"additionalProperties":true,"title":"Destination Snapshot","type":"object"},"id":{"title":"Id","type":"string"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"},"resolved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Resolved At"},"resolved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolved By"},"review_options":{"items":{"additionalProperties":true,"type":"object"},"title":"Review Options","type":"array"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"source_snapshot":{"additionalProperties":true,"title":"Source Snapshot","type":"object"},"summary_dismissed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Summary Dismissed At"},"summary_dismissed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary Dismissed By"},"table_id":{"title":"Table Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","connection_id","table_id","change_status","classification"],"title":"WarehouseIngestionSchemaChangeResponse","type":"object"},"WarehouseIngestionSourceDefinitionResponse":{"properties":{"aliases":{"items":{"type":"string"},"title":"Aliases","type":"array"},"auth_strategy":{"enum":["credentials","oauth","custom"],"title":"Auth Strategy","type":"string"},"availability":{"enum":["available","coming_soon"],"title":"Availability","type":"string"},"batch_interval_minutes":{"default":60,"title":"Batch Interval Minutes","type":"integer"},"category":{"enum":["database","application","custom"],"title":"Category","type":"string"},"connect_href":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connect Href"},"connectable":{"title":"Connectable","type":"boolean"},"connection_methods":{"items":{"$ref":"#/components/schemas/WarehouseSourceConnectionMethodResponse"},"title":"Connection Methods","type":"array"},"default_engine":{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"title":"Default Engine","type":"string"},"delete_semantics":{"title":"Delete Semantics","type":"string"},"delete_semantics_instruction":{"title":"Delete Semantics Instruction","type":"string"},"delete_semantics_label":{"title":"Delete Semantics Label","type":"string"},"description":{"title":"Description","type":"string"},"full_resync_mode":{"default":"merge","enum":["merge","replace"],"title":"Full Resync Mode","type":"string"},"gcp_cloud_sql_onboarding":{"default":false,"title":"Gcp Cloud Sql Onboarding","type":"boolean"},"guide_href":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guide Href"},"incremental_strategies":{"items":{"enum":["cursor","postgres_xmin","cdc"],"type":"string"},"title":"Incremental Strategies","type":"array"},"kind":{"title":"Kind","type":"string"},"label":{"title":"Label","type":"string"},"listed":{"default":true,"title":"Listed","type":"boolean"},"network_setup":{"anyOf":[{"$ref":"#/components/schemas/PostgresNetworkSetup"},{"type":"null"}]},"oauth_modes":{"items":{"type":"string"},"title":"Oauth Modes","type":"array"},"release_stage":{"default":"stable","enum":["stable","in_progress"],"title":"Release Stage","type":"string"},"setup_href":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Href"},"setup_options":{"items":{"$ref":"#/components/schemas/WarehouseIngestionSourceSetupOptionResponse"},"title":"Setup Options","type":"array"},"setup_steps":{"items":{"type":"string"},"title":"Setup Steps","type":"array"},"setup_title":{"default":"","title":"Setup Title","type":"string"},"supported_engines":{"items":{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"type":"string"},"title":"Supported Engines","type":"array"},"transport":{"enum":["database_pull","api_pull","batch_export"],"title":"Transport","type":"string"}},"required":["kind","label","description","category","transport","auth_strategy","availability","connectable","aliases","supported_engines","default_engine","incremental_strategies","oauth_modes","delete_semantics","delete_semantics_label","delete_semantics_instruction"],"title":"WarehouseIngestionSourceDefinitionResponse","type":"object"},"WarehouseIngestionSourceSetupChoiceResponse":{"properties":{"description":{"default":"","title":"Description","type":"string"},"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"string"}},"required":["value","label"],"title":"WarehouseIngestionSourceSetupChoiceResponse","type":"object"},"WarehouseIngestionSourceSetupOptionResponse":{"properties":{"choices":{"items":{"$ref":"#/components/schemas/WarehouseIngestionSourceSetupChoiceResponse"},"title":"Choices","type":"array"},"control":{"enum":["select","multi_select"],"title":"Control","type":"string"},"default":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Default"},"description":{"title":"Description","type":"string"},"key":{"title":"Key","type":"string"},"label":{"title":"Label","type":"string"}},"required":["key","label","description","control","choices","default"],"title":"WarehouseIngestionSourceSetupOptionResponse","type":"object"},"WarehouseIngestionTableActivityResponse":{"properties":{"commits":{"default":0,"description":"Warehouse commits for this table since tracking_since.","title":"Commits","type":"integer"},"lag_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lag Bytes"},"lag_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lag Seconds"},"last_source_change_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When Flow first saw this table's source position advance; null when no change was observed since tracking_since.","title":"Last Source Change At"},"observed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Observed At"},"tracking_since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Tracking Since"}},"title":"WarehouseIngestionTableActivityResponse","type":"object"},"WarehouseIngestionTableActivityWindowResponse":{"properties":{"commits":{"default":0,"title":"Commits","type":"integer"},"complete":{"default":false,"description":"Whether retained history covers the whole window. When false, counts start at `since` (the oldest retained commit), not at the window start.","title":"Complete","type":"boolean"},"rows_removed":{"default":0,"description":"Rows deleted or replaced: position and equality delete markers, plus the rows of explicit delete commits. Copy-on-write rewrites are not counted.","title":"Rows Removed","type":"integer"},"rows_written":{"default":0,"description":"Rows added by ingest commits (Iceberg added-records).","title":"Rows Written","type":"integer"},"since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"Start of the counted period.","title":"Since"},"window":{"enum":["24h","7d"],"title":"Window","type":"string"}},"required":["window"],"title":"WarehouseIngestionTableActivityWindowResponse","type":"object"},"WarehouseIngestionTablePauseRequest":{"properties":{"reason":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Reason"}},"title":"WarehouseIngestionTablePauseRequest","type":"object"},"WarehouseIngestionTableRecentActivityResponse":{"properties":{"available":{"title":"Available","type":"boolean"},"history_complete":{"default":false,"description":"Whether retained history covers the whole 7-day window.","title":"History Complete","type":"boolean"},"history_start":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"Oldest retained ingest commit; windows before it are partial.","title":"History Start"},"last_commit_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Commit At"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"table_id":{"title":"Table Id","type":"string"},"windows":{"items":{"$ref":"#/components/schemas/WarehouseIngestionTableActivityWindowResponse"},"title":"Windows","type":"array"}},"required":["table_id","available"],"title":"WarehouseIngestionTableRecentActivityResponse","type":"object"},"WarehouseIngestionTableResponse":{"properties":{"active_schema_change_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Schema Change Id"},"activity":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionTableActivityResponse"},{"type":"null"}]},"backfill":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionBackfillResponse"},{"type":"null"}]},"batch_checkpoint":{"additionalProperties":true,"title":"Batch Checkpoint","type":"object"},"batch_size":{"default":5000,"title":"Batch Size","type":"integer"},"cdc_disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cdc Disabled Reason"},"cdc_supported":{"title":"Cdc Supported","type":"boolean"},"column_selection_mode":{"default":"explicit","title":"Column Selection Mode","type":"string"},"column_sync_report":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Column Sync Report"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"cursor_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor Column"},"destination_schema":{"title":"Destination Schema","type":"string"},"destination_table":{"title":"Destination Table","type":"string"},"id":{"title":"Id","type":"string"},"incremental_strategy":{"default":"cursor","title":"Incremental Strategy","type":"string"},"lag_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lag Seconds"},"last_batch_s3_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Batch S3 Prefix"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Code"},"last_error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Message"},"last_schema_reconciled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Schema Reconciled At"},"last_synced_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Synced At"},"logical_schema":{"title":"Logical Schema","type":"string"},"logical_table":{"title":"Logical Table","type":"string"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"paused":{"default":false,"title":"Paused","type":"boolean"},"paused_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Paused At"},"paused_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paused By"},"paused_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paused Reason"},"pending_schema_change":{"additionalProperties":true,"title":"Pending Schema Change","type":"object"},"primary_key_columns":{"items":{"type":"string"},"title":"Primary Key Columns","type":"array"},"resync_deletion_review":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionResyncDeletionReviewResponse"},{"type":"null"}]},"review_options":{"items":{"additionalProperties":true,"type":"object"},"title":"Review Options","type":"array"},"rows_deleted":{"default":0,"title":"Rows Deleted","type":"integer"},"rows_inserted":{"default":0,"title":"Rows Inserted","type":"integer"},"rows_updated":{"default":0,"title":"Rows Updated","type":"integer"},"schema_change_policy":{"default":"compatible_auto_review_breaking","title":"Schema Change Policy","type":"string"},"schema_change_status":{"default":"none","title":"Schema Change Status","type":"string"},"schema_change_summary":{"additionalProperties":true,"title":"Schema Change Summary","type":"object"},"schema_change_summary_dismissed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Schema Change Summary Dismissed At"},"schema_drift_status":{"title":"Schema Drift Status","type":"string"},"schema_paused_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Schema Paused At"},"selected_columns":{"items":{"type":"string"},"title":"Selected Columns","type":"array"},"source_schema":{"title":"Source Schema","type":"string"},"source_schema_changes":{"items":{"additionalProperties":true,"type":"object"},"title":"Source Schema Changes","type":"array"},"source_table":{"title":"Source Table","type":"string"},"status":{"title":"Status","type":"string"},"sync_mode":{"title":"Sync Mode","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["id","source_schema","source_table","logical_schema","logical_table","destination_schema","destination_table","sync_mode","status","cdc_supported","schema_drift_status"],"title":"WarehouseIngestionTableResponse","type":"object"},"WarehouseIngestionTableSelectionRequest":{"properties":{"cursor_column":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Cursor Column"},"destination_table":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Destination Table"},"incremental_strategy":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Incremental Strategy"},"primary_key_columns":{"items":{"type":"string"},"title":"Primary Key Columns","type":"array"},"selected_columns":{"items":{"type":"string"},"title":"Selected Columns","type":"array"},"source_schema":{"maxLength":128,"minLength":1,"title":"Source Schema","type":"string"},"source_table":{"maxLength":128,"minLength":1,"title":"Source Table","type":"string"}},"required":["source_schema","source_table"],"title":"WarehouseIngestionTableSelectionRequest","type":"object"},"WarehouseIngestionTableUpdateRequest":{"properties":{"selected_columns":{"items":{"type":"string"},"minItems":1,"title":"Selected Columns","type":"array"}},"required":["selected_columns"],"title":"WarehouseIngestionTableUpdateRequest","type":"object"},"WarehouseQueryCreateRequest":{"properties":{"default_database":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Default Database"},"execution_policy":{"anyOf":[{"enum":["standard","shadow","accelerated"],"type":"string"},{"type":"null"}],"title":"Execution Policy"},"include_results":{"default":false,"title":"Include Results","type":"boolean"},"max_result_rows":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Max Result Rows"},"source_connection_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Source Connection Id"},"sql":{"maxLength":262144,"minLength":1,"title":"Sql","type":"string"},"sql_dialect":{"anyOf":[{"const":"duckdb","type":"string"},{"type":"null"}],"description":"The dialect `sql` is written in, when not the warehouse's own. A `duckdb` read runs as written on DuckDB, with no translation; the capabilities response lists the dialects offered in `read_sql_dialects`.","title":"Sql Dialect"},"timeout_seconds":{"default":120,"maximum":3600,"minimum":1,"title":"Timeout Seconds","type":"integer"}},"required":["sql"],"title":"WarehouseQueryCreateRequest","type":"object"},"WarehouseQueryHistoryItemResponse":{"properties":{"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"database":{"title":"Database","type":"string"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"execution_details":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Execution Details"},"execution_engine":{"default":"athena","title":"Execution Engine","type":"string"},"id":{"title":"Id","type":"string"},"initial_results":{"anyOf":[{"$ref":"#/components/schemas/WarehouseQueryResultPageResponse"},{"type":"null"}]},"last_polled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Polled At"},"max_result_rows":{"anyOf":[{"type":"integer"},{"type":"string"}],"title":"Max Result Rows"},"routing":{"anyOf":[{"$ref":"#/components/schemas/QueryRoutingDetails"},{"type":"null"}]},"scan_cap_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Scan Cap Bytes"},"sql":{"title":"Sql","type":"string"},"statement_type":{"title":"Statement Type","type":"string"},"status":{"title":"Status","type":"string"},"submitted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Submitted At"},"terminal_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Reason"},"timeout_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Timeout At"},"timeout_seconds":{"title":"Timeout Seconds","type":"integer"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"warehouse_id":{"title":"Warehouse Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","warehouse_id","workspace_id","database","statement_type","status","max_result_rows","timeout_seconds","sql"],"title":"WarehouseQueryHistoryItemResponse","type":"object"},"WarehouseQueryResponse":{"properties":{"bytes_scanned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes Scanned"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"database":{"title":"Database","type":"string"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"execution_details":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Execution Details"},"execution_engine":{"default":"athena","title":"Execution Engine","type":"string"},"id":{"title":"Id","type":"string"},"initial_results":{"anyOf":[{"$ref":"#/components/schemas/WarehouseQueryResultPageResponse"},{"type":"null"}]},"last_polled_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Polled At"},"max_result_rows":{"anyOf":[{"type":"integer"},{"type":"string"}],"title":"Max Result Rows"},"routing":{"anyOf":[{"$ref":"#/components/schemas/QueryRoutingDetails"},{"type":"null"}]},"scan_cap_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Scan Cap Bytes"},"statement_type":{"title":"Statement Type","type":"string"},"status":{"title":"Status","type":"string"},"submitted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Submitted At"},"terminal_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal Reason"},"timeout_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Timeout At"},"timeout_seconds":{"title":"Timeout Seconds","type":"integer"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"warehouse_id":{"title":"Warehouse Id","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","warehouse_id","workspace_id","database","statement_type","status","max_result_rows","timeout_seconds"],"title":"WarehouseQueryResponse","type":"object"},"WarehouseQueryResultPageResponse":{"properties":{"column_types":{"additionalProperties":{"type":"string"},"title":"Column Types","type":"object"},"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"next_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Token"},"rows":{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"title":"Rows","type":"array"},"truncated":{"default":false,"title":"Truncated","type":"boolean"}},"required":["columns","rows"],"title":"WarehouseQueryResultPageResponse","type":"object"},"WarehouseQueryResultsResponse":{"properties":{"column_types":{"additionalProperties":{"type":"string"},"title":"Column Types","type":"object"},"columns":{"items":{"type":"string"},"title":"Columns","type":"array"},"next_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Token"},"query":{"$ref":"#/components/schemas/WarehouseQueryResponse"},"rows":{"items":{"additionalProperties":true,"type":"object"},"title":"Rows","type":"array"},"truncated":{"default":false,"title":"Truncated","type":"boolean"}},"required":["query","columns","rows"],"title":"WarehouseQueryResultsResponse","type":"object"},"WarehouseResponse":{"properties":{"connector_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"databases":{"items":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"},"title":"Databases","type":"array"},"id":{"title":"Id","type":"string"},"status":{"title":"Status","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","status"],"title":"WarehouseResponse","type":"object"},"WarehouseSetupRunResponse":{"properties":{"completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Completed At"},"connectors":{"additionalProperties":{"type":"string"},"title":"Connectors","type":"object"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"id":{"title":"Id","type":"string"},"ingestion_connections":{"additionalProperties":{"type":"string"},"title":"Ingestion Connections","type":"object"},"selected_sources":{"items":{"type":"string"},"title":"Selected Sources","type":"array"},"selected_table_keys":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"title":"Selected Table Keys","type":"object"},"source_options":{"additionalProperties":{"additionalProperties":true,"type":"object"},"title":"Source Options","type":"object"},"stage":{"title":"Stage","type":"string"},"status":{"title":"Status","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"warehouse_database_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse Database Id"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["id","workspace_id","status","stage"],"title":"WarehouseSetupRunResponse","type":"object"},"WarehouseSetupRunUpdateRequest":{"properties":{"connector_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"},"connector_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Kind"},"error_message":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Error Message"},"ingestion_connection_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Ingestion Connection Id"},"ingestion_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ingestion Kind"},"selected_sources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Sources"},"selected_table_keys":{"anyOf":[{"additionalProperties":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Selected Table Keys"},"source_options":{"anyOf":[{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},{"type":"null"}],"title":"Source Options"},"stage":{"anyOf":[{"enum":["warehouse","sources","review","starting","ready"],"type":"string"},{"type":"null"}],"title":"Stage"},"warehouse_database_id":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Warehouse Database Id"}},"title":"WarehouseSetupRunUpdateRequest","type":"object"},"WarehouseSourceConnectionMethodResponse":{"properties":{"method":{"enum":["direct","ssh"],"title":"Method","type":"string"},"setup_instructions":{"title":"Setup Instructions","type":"string"},"supported_engines":{"items":{"enum":["worker_batch","aws_dms_firehose","embrasure_flow"],"type":"string"},"title":"Supported Engines","type":"array"}},"required":["method","supported_engines","setup_instructions"],"title":"WarehouseSourceConnectionMethodResponse","type":"object"},"WarehouseTableColumnResponse":{"properties":{"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"name":{"title":"Name","type":"string"},"type":{"title":"Type","type":"string"}},"required":["name","type"],"title":"WarehouseTableColumnResponse","type":"object"},"WarehouseTableHealthResponse":{"description":"What the latest commit did, read from the current Iceberg snapshot summary only.","properties":{"last_committed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Committed At"},"last_operation":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Iceberg operation; replace means compaction (no data change).","title":"Last Operation"},"net_row_change":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Rows the last commit added minus rows it removed.","title":"Net Row Change"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"row_count_exact":{"description":"False when delete files exist; row_count is then an estimate.","title":"Row Count Exact","type":"boolean"},"schema_changed_since_last_commit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Schema Changed Since Last Commit"}},"required":["row_count_exact"],"title":"WarehouseTableHealthResponse","type":"object"},"WarehouseTableListResponse":{"properties":{"database":{"title":"Database","type":"string"},"next_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Token"},"tables":{"items":{"$ref":"#/components/schemas/WarehouseTableResponse"},"title":"Tables","type":"array"},"unsupported_relations":{"items":{"type":"string"},"title":"Unsupported Relations","type":"array"}},"required":["database","tables"],"title":"WarehouseTableListResponse","type":"object"},"WarehouseTableResponse":{"properties":{"catalog_name":{"title":"Catalog Name","type":"string"},"columns":{"items":{"$ref":"#/components/schemas/WarehouseTableColumnResponse"},"title":"Columns","type":"array"},"created_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Created At"},"database":{"title":"Database","type":"string"},"health":{"anyOf":[{"$ref":"#/components/schemas/WarehouseTableHealthResponse"},{"type":"null"}]},"iceberg_table_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iceberg Table Uuid"},"logical_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logical Schema"},"logical_table":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logical Table"},"name":{"title":"Name","type":"string"},"query_name":{"title":"Query Name","type":"string"},"relation_type":{"const":"table","default":"table","title":"Relation Type","type":"string"},"schema_name":{"title":"Schema Name","type":"string"},"source_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Schema"},"source_table":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Table"},"table_name":{"title":"Table Name","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["database","name","catalog_name","schema_name","table_name","query_name"],"title":"WarehouseTableResponse","type":"object"},"WarehouseWasteFindingStatusRequest":{"properties":{"status":{"enum":["open","acknowledged","dismissed"],"title":"Status","type":"string"},"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id","status"],"title":"WarehouseWasteFindingStatusRequest","type":"object"},"WarehouseWasteScanRequest":{"properties":{"workspace_id":{"minLength":1,"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"WarehouseWasteScanRequest","type":"object"},"WebFilter":{"additionalProperties":false,"description":"Keep sessions whose value matches. Paths match any pageview; other dimensions the entry pageview.","properties":{"dimension":{"enum":["path","entry_path","exit_path","channel","referring_domain","utm_source","utm_medium","utm_campaign","device_type","browser","os","country"],"title":"Dimension","type":"string"},"value":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Value"}},"required":["dimension"],"title":"WebFilter","type":"object"},"WorkspaceEmailDomainResponse":{"properties":{"domain":{"title":"Domain","type":"string"},"record_name":{"title":"Record Name","type":"string"},"record_type":{"const":"TXT","default":"TXT","title":"Record Type","type":"string"},"record_value":{"title":"Record Value","type":"string"},"status":{"enum":["verified","unverified"],"title":"Status","type":"string"},"verification_method":{"anyOf":[{"enum":["dns_txt","legacy"],"type":"string"},{"type":"null"}],"title":"Verification Method"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified At"}},"required":["domain","status","record_name","record_value"],"title":"WorkspaceEmailDomainResponse","type":"object"},"WorkspaceMilestonesResponse":{"properties":{"first_dashboard_created":{"title":"First Dashboard Created","type":"boolean"},"first_query_run":{"title":"First Query Run","type":"boolean"},"mcp_connected":{"title":"Mcp Connected","type":"boolean"}},"required":["first_query_run","first_dashboard_created","mcp_connected"],"title":"WorkspaceMilestonesResponse","type":"object"},"WorkspaceResponse":{"properties":{"allow_personal_access_tokens":{"default":false,"title":"Allow Personal Access Tokens","type":"boolean"},"created_at":{"title":"Created At","type":"string"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"role":{"enum":["owner","admin","security_admin","editor","billing_admin","viewer"],"title":"Role","type":"string"}},"required":["id","name","role","created_at"],"title":"WorkspaceResponse","type":"object"},"WorkspaceSafetyCapUsage":{"properties":{"action":{"default":"block","description":"block pauses new usage when the limit is reached; notify only tells admins.","enum":["block","notify"],"title":"Action","type":"string"},"cap":{"enum":["daily_scan_bytes","daily_spend_usd","monthly_spend_usd","daily_ingestion_rows","daily_ingestion_bytes"],"title":"Cap","type":"string"},"limit":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Null means unlimited.","title":"Limit"},"resets_at":{"title":"Resets At","type":"string"},"used":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Usage in the current UTC window; null when unavailable.","title":"Used"},"window":{"enum":["day","month"],"title":"Window","type":"string"}},"required":["cap","window","resets_at"],"title":"WorkspaceSafetyCapUsage","type":"object"},"WorkspaceSafetyLimitNotice":{"properties":{"blocked":{"description":"Whether reaching the limit pauses new usage.","title":"Blocked","type":"boolean"},"cap":{"enum":["daily_scan_bytes","daily_spend_usd","monthly_spend_usd","daily_ingestion_rows","daily_ingestion_bytes"],"title":"Cap","type":"string"},"created_at":{"title":"Created At","type":"string"},"limit":{"title":"Limit","type":"number"},"resets_at":{"title":"Resets At","type":"string"},"threshold":{"enum":[80,100],"title":"Threshold","type":"integer"},"used":{"title":"Used","type":"number"},"window":{"enum":["day","month"],"title":"Window","type":"string"},"window_start":{"title":"Window Start","type":"string"}},"required":["cap","window","threshold","used","limit","blocked","window_start","resets_at","created_at"],"title":"WorkspaceSafetyLimitNotice","type":"object"},"WorkspaceSafetyLimitNoticesResponse":{"description":"Safety limits at 80% or 100% in their current window.","properties":{"notices":{"items":{"$ref":"#/components/schemas/WorkspaceSafetyLimitNotice"},"title":"Notices","type":"array"}},"title":"WorkspaceSafetyLimitNoticesResponse","type":"object"},"WorkspaceUsageLimits":{"properties":{"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"daily_ingestion_bytes_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Ingestion Bytes Limit"},"daily_ingestion_rows_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Ingestion Rows Limit"},"daily_scan_bytes_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Scan Bytes Limit"},"daily_spend_usd_limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Daily Spend Usd Limit"},"enforcement_mode":{"default":"block","enum":["observe","block"],"title":"Enforcement Mode","type":"string"},"expensive_scan_row_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expensive Scan Row Threshold"},"expensive_scans_per_hour":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expensive Scans Per Hour"},"max_concurrent_pipeline_runs":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Pipeline model runs that may build at once. Scheduled runs over it wait for a slot; runs started by hand are refused. Null means unlimited.","title":"Max Concurrent Pipeline Runs"},"max_rows_per_request":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Rows Per Request"},"monthly_llm_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Llm Cost Usd"},"monthly_llm_token_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Llm Token Limit"},"monthly_row_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Row Limit"},"monthly_scout_warehouse_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Scout Warehouse Cost Usd"},"monthly_spend_usd_limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Spend Usd Limit"},"notify_only_safety_caps":{"description":"Safety caps that only notify when reached instead of pausing usage.","items":{"enum":["daily_scan_bytes","daily_spend_usd","monthly_spend_usd","daily_ingestion_rows","daily_ingestion_bytes"],"type":"string"},"title":"Notify Only Safety Caps","type":"array"},"safety_caps":{"items":{"$ref":"#/components/schemas/WorkspaceSafetyCapUsage"},"title":"Safety Caps","type":"array"},"safety_caps_enabled":{"default":true,"title":"Safety Caps Enabled","type":"boolean"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"WorkspaceUsageLimits","type":"object"},"WorkspaceUsageSummaryResponse":{"properties":{"by_connector":{"items":{"additionalProperties":true,"type":"object"},"title":"By Connector","type":"array"},"by_event_kind":{"items":{"additionalProperties":true,"type":"object"},"title":"By Event Kind","type":"array"},"by_model":{"items":{"additionalProperties":true,"type":"object"},"title":"By Model","type":"array"},"by_purpose":{"items":{"additionalProperties":true,"type":"object"},"title":"By Purpose","type":"array"},"by_query_request":{"items":{"additionalProperties":true,"type":"object"},"title":"By Query Request","type":"array"},"by_run":{"items":{"additionalProperties":true,"type":"object"},"title":"By Run","type":"array"},"by_surface":{"items":{"additionalProperties":true,"type":"object"},"title":"By Surface","type":"array"},"by_user":{"items":{"additionalProperties":true,"type":"object"},"title":"By User","type":"array"},"daily":{"items":{"additionalProperties":true,"type":"object"},"title":"Daily","type":"array"},"limits":{"additionalProperties":true,"title":"Limits","type":"object"},"summary":{"additionalProperties":true,"title":"Summary","type":"object"},"window":{"default":"month_to_date","enum":["month_to_date","7d","30d","90d"],"title":"Window","type":"string"},"workspace_id":{"title":"Workspace Id","type":"string"}},"required":["workspace_id"],"title":"WorkspaceUsageSummaryResponse","type":"object"}}},"externalDocs":{"description":"Contrast API reference","url":"https://docs.contrastdb.com/api-reference/overview"},"info":{"description":"The Contrast product API. All product endpoints live under `/v1` and require\na bearer token: a Supabase session JWT (browser and CLI sign-in) or a\nworkspace-enabled personal access token. SCIM provisioning lives under\n`/scim/v2` with its own token type and error schema.\n\nErrors use one envelope: `{\"detail\": {\"message\", \"code\", \"hint\",\n\"request_id\"}}` — see docs/api-error-codes.md in the repository. Every\nresponse echoes an `x-request-id` header.\n\nStable product endpoints use the `/v1` URL namespace. The versioning,\ndeprecation, sunset, and retry policy is published at\nhttps://docs.contrastdb.com/api-reference/versioning. Operations with a concrete quota\npublish `RateLimit-Policy` and `RateLimit`; throttled responses include\n`Retry-After`.\n","title":"contrast-api","version":"0.1.0"},"openapi":"3.1.0","paths":{"/health":{"get":{"description":"Check whether the Contrast API process is responding. No authentication is required. This is a process health check, not a warehouse or connector health check.","operationId":"api_health","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"environment":{"type":"string"},"ok":{"type":"boolean"}},"required":["ok","environment"],"type":"object"}}},"description":"Successful Response"}},"summary":"Health"}},"/plugins/claude-code":{"get":{"description":"Claude Code Plugin Manifest.\n\nContrast REST operation: `GET /plugins/claude-code`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"plugins_claude_code_plugin_manifest","responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"}},"summary":"Claude Code Plugin Manifest","tags":["plugins"]}},"/plugins/codex":{"get":{"description":"Codex Plugin Manifest.\n\nContrast REST operation: `GET /plugins/codex`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"plugins_codex_plugin_manifest","responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"}},"summary":"Codex Plugin Manifest","tags":["plugins"]}},"/plugins/cursor":{"get":{"description":"Cursor Plugin Manifest.\n\nContrast REST operation: `GET /plugins/cursor`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"plugins_cursor_plugin_manifest","responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"}},"summary":"Cursor Plugin Manifest","tags":["plugins"]}},"/scim/v2/{workspace_id}/Groups":{"get":{"description":"List Groups.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Groups`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_list_groups","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"startIndex","required":false,"schema":{"default":1,"minimum":1,"title":"Startindex","type":"integer"}},{"in":"query","name":"count","required":false,"schema":{"default":100,"maximum":200,"minimum":0,"title":"Count","type":"integer"}},{"in":"query","name":"filter","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Groups","tags":["scim"]},"post":{"description":"Create Group.\n\nContrast REST operation: `POST /scim/v2/{workspace_id}/Groups`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_create_group","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"201":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Group","tags":["scim"]}},"/scim/v2/{workspace_id}/Groups/{group_id}":{"delete":{"description":"Delete Group.\n\nContrast REST operation: `DELETE /scim/v2/{workspace_id}/Groups/{group_id}`.\n\nRequired parameters: `workspace_id` (path), `group_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_delete_group","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"group_id","required":true,"schema":{"title":"Group Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Group","tags":["scim"]},"get":{"description":"Get Group.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Groups/{group_id}`.\n\nRequired parameters: `workspace_id` (path), `group_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_get_group","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"group_id","required":true,"schema":{"title":"Group Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Group","tags":["scim"]},"patch":{"description":"Patch Group.\n\nContrast REST operation: `PATCH /scim/v2/{workspace_id}/Groups/{group_id}`.\n\nRequired parameters: `workspace_id` (path), `group_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_patch_group","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"group_id","required":true,"schema":{"title":"Group Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Patch Group","tags":["scim"]},"put":{"description":"Replace Group.\n\nContrast REST operation: `PUT /scim/v2/{workspace_id}/Groups/{group_id}`.\n\nRequired parameters: `workspace_id` (path), `group_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_replace_group","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"group_id","required":true,"schema":{"title":"Group Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Replace Group","tags":["scim"]}},"/scim/v2/{workspace_id}/ResourceTypes":{"get":{"description":"List Resource Types.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/ResourceTypes`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_list_resource_types","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Resource Types","tags":["scim"]}},"/scim/v2/{workspace_id}/ResourceTypes/{resource_type_id}":{"get":{"description":"Get Resource Type.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/ResourceTypes/{resource_type_id}`.\n\nRequired parameters: `workspace_id` (path), `resource_type_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_get_resource_type","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"resource_type_id","required":true,"schema":{"title":"Resource Type Id","type":"string"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Resource Type","tags":["scim"]}},"/scim/v2/{workspace_id}/Schemas":{"get":{"description":"List Schemas.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Schemas`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_list_schemas","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Schemas","tags":["scim"]}},"/scim/v2/{workspace_id}/Schemas/{schema_id}":{"get":{"description":"Get Schema.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Schemas/{schema_id}`.\n\nRequired parameters: `workspace_id` (path), `schema_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_get_schema","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"schema_id","required":true,"schema":{"title":"Schema Id","type":"string"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Schema","tags":["scim"]}},"/scim/v2/{workspace_id}/ServiceProviderConfig":{"get":{"description":"Service Provider Config.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/ServiceProviderConfig`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_service_provider_config","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Service Provider Config","tags":["scim"]}},"/scim/v2/{workspace_id}/Users":{"get":{"description":"List Users.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Users`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_list_users","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"startIndex","required":false,"schema":{"default":1,"minimum":1,"title":"Startindex","type":"integer"}},{"in":"query","name":"count","required":false,"schema":{"default":100,"maximum":200,"minimum":0,"title":"Count","type":"integer"}},{"in":"query","name":"filter","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Users","tags":["scim"]},"post":{"description":"Create User.\n\nContrast REST operation: `POST /scim/v2/{workspace_id}/Users`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_create_user","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"201":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create User","tags":["scim"]}},"/scim/v2/{workspace_id}/Users/{user_id}":{"delete":{"description":"Delete User.\n\nContrast REST operation: `DELETE /scim/v2/{workspace_id}/Users/{user_id}`.\n\nRequired parameters: `workspace_id` (path), `user_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_delete_user","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"user_id","required":true,"schema":{"title":"User Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete User","tags":["scim"]},"get":{"description":"Get User.\n\nContrast REST operation: `GET /scim/v2/{workspace_id}/Users/{user_id}`.\n\nRequired parameters: `workspace_id` (path), `user_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_get_user","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"user_id","required":true,"schema":{"title":"User Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get User","tags":["scim"]},"patch":{"description":"Patch User.\n\nContrast REST operation: `PATCH /scim/v2/{workspace_id}/Users/{user_id}`.\n\nRequired parameters: `workspace_id` (path), `user_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_patch_user","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"user_id","required":true,"schema":{"title":"User Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Patch User","tags":["scim"]},"put":{"description":"Replace User.\n\nContrast REST operation: `PUT /scim/v2/{workspace_id}/Users/{user_id}`.\n\nRequired parameters: `workspace_id` (path), `user_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"scim_replace_user","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"user_id","required":true,"schema":{"title":"User Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/scim+json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Replace User","tags":["scim"]}},"/v1/access/agent-audit":{"get":{"description":"List Access Agent Audit.\n\nContrast REST operation: `GET /v1/access/agent-audit`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_agent_audit","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"decision","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"client_source","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Source"}},{"in":"query","name":"object_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Name"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Agent Audit","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Agent Audit","tags":["access"]}},"/v1/access/agent-audit/export":{"get":{"description":"CSV export of the agent access audit for compliance handoff.","operationId":"access_export_access_agent_audit","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"decision","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"client_source","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Source"}},{"in":"query","name":"object_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Name"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Export Access Agent Audit","tags":["access"]}},"/v1/access/catalog-permissions":{"get":{"description":"Get Catalog Permissions.\n\nContrast REST operation: `GET /v1/access/catalog-permissions`.\n\nRequired parameters: `workspace_id` (query), `connector_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_catalog_permissions","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"minLength":1,"title":"Connector Id","type":"string"}},{"in":"query","name":"level","required":false,"schema":{"default":"object","enum":["catalog","schema","object"],"title":"Level","type":"string"}},{"in":"query","name":"catalog_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"object_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Name"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_resolved","required":false,"schema":{"default":false,"title":"Include Resolved","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Catalog Permissions","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Permissions","tags":["access"]}},"/v1/access/enforcement/actions":{"get":{"description":"List Enforcement Actions.\n\nContrast REST operation: `GET /v1/access/enforcement/actions`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_enforcement_actions","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"finding_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Id"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Enforcement Actions","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Enforcement Actions","tags":["access"]}},"/v1/access/enforcement/actions/{action_id}":{"get":{"description":"Get Enforcement Action.\n\nContrast REST operation: `GET /v1/access/enforcement/actions/{action_id}`.\n\nRequired parameters: `action_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_enforcement_action","parameters":[{"in":"path","name":"action_id","required":true,"schema":{"title":"Action Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Enforcement Action","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Enforcement Action","tags":["access"]}},"/v1/access/enforcement/actions/{action_id}/cancel":{"post":{"description":"Cancel Enforcement.\n\nContrast REST operation: `POST /v1/access/enforcement/actions/{action_id}/cancel`.\n\nRequired parameters: `action_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_cancel_enforcement","parameters":[{"in":"path","name":"action_id","required":true,"schema":{"title":"Action Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelEnforcementActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Cancel Enforcement","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Enforcement","tags":["access"]}},"/v1/access/enforcement/actions/{action_id}/execute":{"post":{"description":"Execute Enforcement.\n\nContrast REST operation: `POST /v1/access/enforcement/actions/{action_id}/execute`.\n\nRequired parameters: `action_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_execute_enforcement","parameters":[{"in":"path","name":"action_id","required":true,"schema":{"title":"Action Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteEnforcementActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Execute Enforcement","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Execute Enforcement","tags":["access"]}},"/v1/access/enforcement/plan":{"post":{"description":"Plan Enforcement.\n\nContrast REST operation: `POST /v1/access/enforcement/plan`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_plan_enforcement","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanEnforcementActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Plan Enforcement","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Plan Enforcement","tags":["access"]}},"/v1/access/findings":{"get":{"description":"List Access Findings.\n\nContrast REST operation: `GET /v1/access/findings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_findings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"finding_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Type"}},{"in":"query","name":"severity","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Findings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Findings","tags":["access"]}},"/v1/access/findings/{finding_id}/status":{"post":{"description":"Update Access Finding Status.\n\nContrast REST operation: `POST /v1/access/findings/{finding_id}/status`.\n\nRequired parameters: `finding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_update_access_finding_status","parameters":[{"in":"path","name":"finding_id","required":true,"schema":{"title":"Finding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccessFindingStatusRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Update Access Finding Status","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Access Finding Status","tags":["access"]}},"/v1/access/grants":{"get":{"description":"List Access Grants.\n\nContrast REST operation: `GET /v1/access/grants`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_grants","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"principal_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Id"}},{"in":"query","name":"securable_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Securable Id"}},{"in":"query","name":"privilege","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privilege"}},{"in":"query","name":"include_deleted","required":false,"schema":{"default":false,"title":"Include Deleted","type":"boolean"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Grants","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Grants","tags":["access"]}},"/v1/access/mappings":{"get":{"description":"List Access Mappings.\n\nContrast REST operation: `GET /v1/access/mappings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_mappings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Mappings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Mappings","tags":["access"]},"put":{"description":"Upsert Access Mapping.\n\nContrast REST operation: `PUT /v1/access/mappings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_upsert_access_mapping","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertAccessMappingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Upsert Access Mapping","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Access Mapping","tags":["access"]}},"/v1/access/mappings/{principal_id}":{"delete":{"description":"Delete Access Mapping.\n\nContrast REST operation: `DELETE /v1/access/mappings/{principal_id}`.\n\nRequired parameters: `principal_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_delete_access_mapping","parameters":[{"in":"path","name":"principal_id","required":true,"schema":{"title":"Principal Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Delete Access Mapping","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Access Mapping","tags":["access"]}},"/v1/access/objects":{"get":{"description":"List Access Objects.\n\nContrast REST operation: `GET /v1/access/objects`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_objects","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"securable_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Securable Type"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"privilege","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privilege"}},{"in":"query","name":"matched","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Matched"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Objects","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Objects","tags":["access"]}},"/v1/access/objects/{securable_id}/access":{"get":{"description":"Get Access Object Entries.\n\nContrast REST operation: `GET /v1/access/objects/{securable_id}/access`.\n\nRequired parameters: `securable_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_access_object_entries","parameters":[{"in":"path","name":"securable_id","required":true,"schema":{"title":"Securable Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_resolved","required":false,"schema":{"default":false,"title":"Include Resolved","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Access Object Entries","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Access Object Entries","tags":["access"]}},"/v1/access/principals":{"get":{"description":"List Access Principals.\n\nContrast REST operation: `GET /v1/access/principals`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_principals","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"principal_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Principal Type"}},{"in":"query","name":"mapped","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Mapped"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access Principals","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access Principals","tags":["access"]}},"/v1/access/principals/{principal_id}":{"get":{"description":"Get Access Principal Detail.\n\nContrast REST operation: `GET /v1/access/principals/{principal_id}`.\n\nRequired parameters: `principal_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_access_principal_detail","parameters":[{"in":"path","name":"principal_id","required":true,"schema":{"title":"Principal Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_resolved","required":false,"schema":{"default":false,"title":"Include Resolved","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Access Principal Detail","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Access Principal Detail","tags":["access"]}},"/v1/access/requests":{"get":{"description":"List Requests.\n\nContrast REST operation: `GET /v1/access/requests`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_requests","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"mine","required":false,"schema":{"default":false,"title":"Mine","type":"boolean"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Requests","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Requests","tags":["access"]},"post":{"description":"Create Request.\n\nContrast REST operation: `POST /v1/access/requests`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_create_request","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccessRequestRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Create Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Request","tags":["access"]}},"/v1/access/requests/count":{"get":{"description":"Count Requests.\n\nContrast REST operation: `GET /v1/access/requests/count`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_count_requests","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Count Requests","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Count Requests","tags":["access"]}},"/v1/access/requests/{request_id}":{"get":{"description":"Get Request.\n\nContrast REST operation: `GET /v1/access/requests/{request_id}`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Request","tags":["access"]}},"/v1/access/requests/{request_id}/cancel":{"post":{"description":"Cancel Request.\n\nContrast REST operation: `POST /v1/access/requests/{request_id}/cancel`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_cancel_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelAccessRequestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Cancel Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Request","tags":["access"]}},"/v1/access/requests/{request_id}/decide":{"post":{"description":"Decide Request.\n\nContrast REST operation: `POST /v1/access/requests/{request_id}/decide`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_decide_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideAccessRequestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Decide Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Decide Request","tags":["access"]}},"/v1/access/requests/{request_id}/extend":{"post":{"description":"Extend Request.\n\nContrast REST operation: `POST /v1/access/requests/{request_id}/extend`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_extend_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendAccessRequestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Extend Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Extend Request","tags":["access"]}},"/v1/access/requests/{request_id}/revoke":{"post":{"description":"Revoke Request.\n\nContrast REST operation: `POST /v1/access/requests/{request_id}/revoke`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_revoke_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeAccessRequestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Revoke Request","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Request","tags":["access"]}},"/v1/access/settings":{"get":{"description":"Get Access Settings.\n\nContrast REST operation: `GET /v1/access/settings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_access_settings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Access Settings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Access Settings","tags":["access"]},"put":{"description":"Update Access Settings.\n\nContrast REST operation: `PUT /v1/access/settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_update_access_settings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccessSettingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Update Access Settings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Access Settings","tags":["access"]}},"/v1/access/summary":{"get":{"description":"Get Access Summary.\n\nContrast REST operation: `GET /v1/access/summary`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_access_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Access Summary","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Access Summary","tags":["access"]}},"/v1/access/sync":{"post":{"description":"Trigger Access Sync.\n\nContrast REST operation: `POST /v1/access/sync`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_trigger_access_sync","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerAccessSyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Trigger Access Sync","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Trigger Access Sync","tags":["access"]}},"/v1/access/sync/status":{"get":{"description":"Get Access Sync Status.\n\nContrast REST operation: `GET /v1/access/sync/status`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_get_access_sync_status","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access Get Access Sync Status","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Access Sync Status","tags":["access"]}},"/v1/access/user-mappings":{"get":{"description":"List Access User Mappings.\n\nContrast REST operation: `GET /v1/access/user-mappings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"access_list_access_user_mappings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Access List Access User Mappings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Access User Mappings","tags":["access"]}},"/v1/agent-checks":{"get":{"description":"List Agent Checks Route.\n\nContrast REST operation: `GET /v1/agent-checks`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_checks_list_agent_checks_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCheckListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Checks Route","tags":["agent_checks"]},"post":{"description":"Create Agent Check Route.\n\nContrast REST operation: `POST /v1/agent-checks`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_checks_create_agent_check_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCheckCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCheckResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Agent Check Route","tags":["agent_checks"]}},"/v1/agent-checks/{agent_check_id}":{"delete":{"description":"Delete Agent Check Route.\n\nContrast REST operation: `DELETE /v1/agent-checks/{agent_check_id}`.\n\nRequired parameters: `agent_check_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_checks_delete_agent_check_route","parameters":[{"in":"path","name":"agent_check_id","required":true,"schema":{"format":"uuid","title":"Agent Check Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Agent Check Route","tags":["agent_checks"]},"patch":{"description":"Update Agent Check Route.\n\nContrast REST operation: `PATCH /v1/agent-checks/{agent_check_id}`.\n\nRequired parameters: `agent_check_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_checks_update_agent_check_route","parameters":[{"in":"path","name":"agent_check_id","required":true,"schema":{"format":"uuid","title":"Agent Check Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCheckPatchRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCheckResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Agent Check Route","tags":["agent_checks"]}},"/v1/agent/cloud-handoffs":{"post":{"description":"Create Cloud Pipeline Handoff.\n\nContrast REST operation: `POST /v1/agent/cloud-handoffs`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"cloud_pipelines_create_cloud_pipeline_handoff","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelineHandoffRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelineHandoffResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Cloud Pipeline Handoff","tags":["cloud-review"]}},"/v1/agent/context":{"get":{"description":"Get Agent Context.\n\nContrast REST operation: `GET /v1/agent/context`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_get_agent_context","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentContextResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Agent Context","tags":["agent"]}},"/v1/agent/dispatch":{"post":{"description":"Dispatch Agent.\n\nContrast REST operation: `POST /v1/agent/dispatch`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_dispatch_agent","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dispatch Agent","tags":["agent"]}},"/v1/agent/github-app/configs":{"get":{"description":"List Agent Github App Configs.\n\nContrast REST operation: `GET /v1/agent/github-app/configs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_github_app_configs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppConfigListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Github App Configs","tags":["agent"]},"post":{"description":"Upsert Agent Github App Config.\n\nContrast REST operation: `POST /v1/agent/github-app/configs`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_upsert_agent_github_app_config","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppConfigRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Agent Github App Config","tags":["agent"]}},"/v1/agent/github-app/configs/{config_id}":{"delete":{"description":"Delete Agent Github App Config.\n\nContrast REST operation: `DELETE /v1/agent/github-app/configs/{config_id}`.\n\nRequired parameters: `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_delete_agent_github_app_config","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Agent Github App Config","tags":["agent"]}},"/v1/agent/github-app/configs/{config_id}/validate":{"post":{"description":"Validate Agent Github App Config.\n\nContrast REST operation: `POST /v1/agent/github-app/configs/{config_id}/validate`.\n\nRequired parameters: `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_validate_agent_github_app_config","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppConfigValidationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Validate Agent Github App Config","tags":["agent"]}},"/v1/agent/github-app/installations":{"get":{"description":"List Agent Github App Installations.\n\nContrast REST operation: `GET /v1/agent/github-app/installations`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_github_app_installations","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Github App Installations","tags":["agent"]}},"/v1/agent/github-app/installations/callback":{"post":{"description":"Complete Agent Github App Installation Callback.\n\nContrast REST operation: `POST /v1/agent/github-app/installations/callback`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_complete_agent_github_app_installation_callback","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationCallbackRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Complete Agent Github App Installation Callback","tags":["agent"]}},"/v1/agent/github-app/installations/link":{"post":{"description":"Link Agent Github App Installations.\n\nContrast REST operation: `POST /v1/agent/github-app/installations/link`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_link_agent_github_app_installations","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationLinkRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationLinkResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Link Agent Github App Installations","tags":["agent"]}},"/v1/agent/github-app/installations/start":{"post":{"description":"Start Agent Github App Installation.\n\nContrast REST operation: `POST /v1/agent/github-app/installations/start`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_start_agent_github_app_installation","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationStartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationStartResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Agent Github App Installation","tags":["agent"]}},"/v1/agent/github-app/installations/{installation_id}/refresh":{"post":{"description":"Refresh Agent Github App Installation.\n\nContrast REST operation: `POST /v1/agent/github-app/installations/{installation_id}/refresh`.\n\nRequired parameters: `installation_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_refresh_agent_github_app_installation","parameters":[{"in":"path","name":"installation_id","required":true,"schema":{"title":"Installation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentGithubAppInstallationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Refresh Agent Github App Installation","tags":["agent"]}},"/v1/agent/github-app/installations/{installation_id}/repositories":{"get":{"description":"List Agent Github App Installation Repositories.\n\nContrast REST operation: `GET /v1/agent/github-app/installations/{installation_id}/repositories`.\n\nRequired parameters: `installation_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_github_app_installation_repositories","parameters":[{"in":"path","name":"installation_id","required":true,"schema":{"title":"Installation Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Q"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectRepositoryListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Github App Installation Repositories","tags":["agent"]}},"/v1/agent/github-app/webhook":{"post":{"description":"Github App Webhook.\n\nContrast REST operation: `POST /v1/agent/github-app/webhook`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_github_app_webhook","parameters":[{"in":"header","name":"x-github-event","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Github-Event"}},{"in":"header","name":"x-hub-signature-256","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Hub-Signature-256"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Github App Webhook","tags":["agent"]}},"/v1/agent/project-connectors":{"get":{"description":"List Agent Project Connectors.\n\nContrast REST operation: `GET /v1/agent/project-connectors`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_project_connectors","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectConnectorListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Project Connectors","tags":["agent"]},"post":{"description":"Upsert Agent Project Connector.\n\nContrast REST operation: `POST /v1/agent/project-connectors`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_upsert_agent_project_connector","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectConnectorRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectConnectorResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Agent Project Connector","tags":["agent"]}},"/v1/agent/project-connectors/{provider}/repositories":{"get":{"description":"List Agent Project Connector Repositories.\n\nContrast REST operation: `GET /v1/agent/project-connectors/{provider}/repositories`.\n\nRequired parameters: `provider` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_project_connector_repositories","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Q"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectRepositoryListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Project Connector Repositories","tags":["agent"]}},"/v1/agent/projects":{"get":{"description":"List Agent Projects.\n\nContrast REST operation: `GET /v1/agent/projects`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_projects","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"compact","required":false,"schema":{"default":false,"title":"Compact","type":"boolean"}},{"in":"query","name":"project_type","required":false,"schema":{"anyOf":[{"enum":["dbt","application"],"type":"string"},{"type":"null"}],"title":"Project Type"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Projects","tags":["agent"]}},"/v1/agent/projects/sync":{"post":{"description":"Sync Agent Project.\n\nContrast REST operation: `POST /v1/agent/projects/sync`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_sync_agent_project","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectSyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectSourceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Agent Project","tags":["agent"]}},"/v1/agent/projects/{project_id}/env-vars":{"get":{"description":"List Agent Project Env Vars.\n\nContrast REST operation: `GET /v1/agent/projects/{project_id}/env-vars`.\n\nRequired parameters: `project_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_project_env_vars","parameters":[{"in":"path","name":"project_id","required":true,"schema":{"title":"Project Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectEnvVarsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Project Env Vars","tags":["agent"]},"put":{"description":"Upsert Agent Project Env Vars.\n\nContrast REST operation: `PUT /v1/agent/projects/{project_id}/env-vars`.\n\nRequired parameters: `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_upsert_agent_project_env_vars","parameters":[{"in":"path","name":"project_id","required":true,"schema":{"title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectEnvVarsUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectEnvVarsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Agent Project Env Vars","tags":["agent"]}},"/v1/agent/projects/{project_id}/git-credentials":{"put":{"description":"Upsert Agent Project Git Credentials.\n\nContrast REST operation: `PUT /v1/agent/projects/{project_id}/git-credentials`.\n\nRequired parameters: `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_upsert_agent_project_git_credentials","parameters":[{"in":"path","name":"project_id","required":true,"schema":{"title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectGitCredentialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectGitCredentialResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Agent Project Git Credentials","tags":["agent"]}},"/v1/agent/projects/{project_id}/settings":{"patch":{"description":"Update Agent Project Settings.\n\nContrast REST operation: `PATCH /v1/agent/projects/{project_id}/settings`.\n\nRequired parameters: `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_update_agent_project_settings","parameters":[{"in":"path","name":"project_id","required":true,"schema":{"title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectSettingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectSourceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Agent Project Settings","tags":["agent"]}},"/v1/agent/runs/{run_id}/branch":{"get":{"description":"Get Agent Run Branch.\n\nContrast REST operation: `GET /v1/agent/runs/{run_id}/branch`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"branching_get_agent_run_branch","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunBranchResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Agent Run Branch","tags":["branching"]}},"/v1/agent/runs/{run_id}/cloud-summary":{"get":{"description":"Read Cloud Pipeline Run.\n\nContrast REST operation: `GET /v1/agent/runs/{run_id}/cloud-summary`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"cloud_pipelines_read_cloud_pipeline_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Cloud Pipelines Read Cloud Pipeline Run","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Cloud Pipeline Run","tags":["cloud-review"]}},"/v1/agent/runs/{run_id}/optimizations":{"post":{"description":"Create Cloud Pipeline Optimization.\n\nContrast REST operation: `POST /v1/agent/runs/{run_id}/optimizations`.\n\nRequired parameters: `run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"cloud_pipelines_create_cloud_pipeline_optimization","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelineOptimizationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelineOptimizationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Cloud Pipeline Optimization","tags":["cloud-review"]}},"/v1/agent/runs/{run_id}/pull-request":{"post":{"description":"Create Cloud Pipeline Pull Request.\n\nContrast REST operation: `POST /v1/agent/runs/{run_id}/pull-request`.\n\nRequired parameters: `run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"cloud_pipelines_create_cloud_pipeline_pull_request","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelinePullRequestCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProjectPullRequestResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Cloud Pipeline Pull Request","tags":["cloud-review"]}},"/v1/agent/runs/{run_id}/pull-request/preview":{"post":{"description":"Preview Cloud Pipeline Pull Request.\n\nContrast REST operation: `POST /v1/agent/runs/{run_id}/pull-request/preview`.\n\nRequired parameters: `run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"cloud_pipelines_preview_cloud_pipeline_pull_request","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelinePullRequestPreviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudPipelinePullRequestPreviewResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preview Cloud Pipeline Pull Request","tags":["cloud-review"]}},"/v1/agent/runs/{tool_run_id}":{"get":{"description":"Get Authoring Run.\n\nContrast REST operation: `GET /v1/agent/runs/{tool_run_id}`.\n\nRequired parameters: `tool_run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_get_authoring_run","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Authoring Run","tags":["agent"]}},"/v1/agent/tables":{"get":{"description":"List Agent Tables.\n\nContrast REST operation: `GET /v1/agent/tables`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_agent_tables","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_usage","required":false,"schema":{"default":"context","enum":["context","warehouse_ingestion","all"],"title":"Connector Usage","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTablePickerResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Tables","tags":["agent"]}},"/v1/agent/telemetry-gaps/monitor-prs":{"post":{"description":"Monitor Telemetry Gap Pull Requests.\n\nContrast REST operation: `POST /v1/agent/telemetry-gaps/monitor-prs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_monitor_telemetry_gap_pull_requests","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"x-contrast-worker-secret","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Worker-Secret"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Monitor Telemetry Gap Pull Requests","tags":["agent"]}},"/v1/agent/telemetry-gaps/{tool_run_id}/approve-pr":{"post":{"description":"Approve Telemetry Gap Pull Request.\n\nContrast REST operation: `POST /v1/agent/telemetry-gaps/{tool_run_id}/approve-pr`.\n\nRequired parameters: `tool_run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_approve_telemetry_gap_pull_request","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryGapPrApprovalRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryGapPrApprovalResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Approve Telemetry Gap Pull Request","tags":["agent"]}},"/v1/airflow/connections":{"get":{"description":"List Airflow Connections.\n\nContrast REST operation: `GET /v1/airflow/connections`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"airflow_list_airflow_connections","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AirflowConnectionResponse"},"title":"Response Airflow List Airflow Connections","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Airflow Connections","tags":["airflow"]},"post":{"description":"Create Airflow Connection.\n\nContrast REST operation: `POST /v1/airflow/connections`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"airflow_create_airflow_connection","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AirflowConnectionCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AirflowConnectionCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Airflow Connection","tags":["airflow"]}},"/v1/airflow/connections/{connection_id}":{"delete":{"description":"Disable Airflow Connection.\n\nContrast REST operation: `DELETE /v1/airflow/connections/{connection_id}`.\n\nRequired parameters: `connection_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"airflow_disable_airflow_connection","parameters":[{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AirflowConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Disable Airflow Connection","tags":["airflow"]}},"/v1/airflow/connections/{connection_id}/dags":{"get":{"description":"List Airflow Dags.\n\nContrast REST operation: `GET /v1/airflow/connections/{connection_id}/dags`.\n\nRequired parameters: `connection_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"airflow_list_airflow_dags","parameters":[{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"dag_limit","required":false,"schema":{"default":100,"maximum":500,"minimum":0,"title":"Dag Limit","type":"integer"}},{"in":"query","name":"dag_offset","required":false,"schema":{"default":0,"minimum":0,"title":"Dag Offset","type":"integer"}},{"in":"query","name":"task_limit","required":false,"schema":{"default":500,"maximum":1000,"minimum":0,"title":"Task Limit","type":"integer"}},{"in":"query","name":"task_offset","required":false,"schema":{"default":0,"minimum":0,"title":"Task Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AirflowDefinitionsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Airflow Dags","tags":["airflow"]}},"/v1/airflow/connections/{connection_id}/rotate-token":{"post":{"description":"Rotate Airflow Token.\n\nContrast REST operation: `POST /v1/airflow/connections/{connection_id}/rotate-token`.\n\nRequired parameters: `connection_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"airflow_rotate_airflow_token","parameters":[{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AirflowConnectionCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Rotate Airflow Token","tags":["airflow"]}},"/v1/alerting/destinations":{"get":{"description":"List Destinations.\n\nContrast REST operation: `GET /v1/alerting/destinations`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"alerting_list_destinations","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Destinations","tags":["alerting"]}},"/v1/alerting/destinations/{kind}":{"delete":{"description":"Delete Destination.\n\nContrast REST operation: `DELETE /v1/alerting/destinations/{kind}`.\n\nRequired parameters: `kind` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"alerting_delete_destination","parameters":[{"in":"path","name":"kind","required":true,"schema":{"title":"Kind","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Destination","tags":["alerting"]},"put":{"description":"Save Destination.\n\nContrast REST operation: `PUT /v1/alerting/destinations/{kind}`.\n\nRequired parameters: `kind` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"alerting_save_destination","parameters":[{"in":"path","name":"kind","required":true,"schema":{"title":"Kind","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertDestinationUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Destination","tags":["alerting"]}},"/v1/alerting/destinations/{kind}/test":{"post":{"description":"Test Destination.\n\nContrast REST operation: `POST /v1/alerting/destinations/{kind}/test`.\n\nRequired parameters: `kind` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"alerting_test_destination","parameters":[{"in":"path","name":"kind","required":true,"schema":{"title":"Kind","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertDestinationTestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Test Destination","tags":["alerting"]}},"/v1/auth/email-domains":{"get":{"description":"List Email Domains.\n\nContrast REST operation: `GET /v1/auth/email-domains`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_list_email_domains","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorkspaceEmailDomainResponse"},"title":"Response Auth List Email Domains","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Email Domains","tags":["auth"]}},"/v1/auth/email-domains/verify":{"post":{"description":"Verify Email Domain.\n\nContrast REST operation: `POST /v1/auth/email-domains/verify`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_verify_email_domain","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyWorkspaceEmailDomainRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceEmailDomainResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Verify Email Domain","tags":["auth"]}},"/v1/auth/oauth/register":{"post":{"description":"Register Oauth Client.\n\nContrast REST operation: `POST /v1/auth/oauth/register`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_register_oauth_client","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthClientRegistrationRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthClientRegistrationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Register Oauth Client","tags":["auth"]}},"/v1/auth/oauth/validate-client":{"post":{"description":"Validate Oauth Client.\n\nContrast REST operation: `POST /v1/auth/oauth/validate-client`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_validate_oauth_client","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthClientValidationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthClientValidationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Validate Oauth Client","tags":["auth"]}},"/v1/auth/scim-tokens":{"get":{"description":"List Scim Tokens.\n\nContrast REST operation: `GET /v1/auth/scim-tokens`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_list_scim_tokens","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SCIMTokenResponse"},"title":"Response Auth List Scim Tokens","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Scim Tokens","tags":["auth"]},"post":{"description":"Create Scim Token.\n\nContrast REST operation: `POST /v1/auth/scim-tokens`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_create_scim_token","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSCIMTokenRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCIMTokenCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Scim Token","tags":["auth"]}},"/v1/auth/scim-tokens/{token_id}/revoke":{"post":{"description":"Revoke Scim Token.\n\nContrast REST operation: `POST /v1/auth/scim-tokens/{token_id}/revoke`.\n\nRequired parameters: `token_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_revoke_scim_token","parameters":[{"in":"path","name":"token_id","required":true,"schema":{"title":"Token Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCIMTokenResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Scim Token","tags":["auth"]}},"/v1/auth/scim-tokens/{token_id}/rotate":{"post":{"description":"Rotate Scim Token.\n\nContrast REST operation: `POST /v1/auth/scim-tokens/{token_id}/rotate`.\n\nRequired parameters: `token_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_rotate_scim_token","parameters":[{"in":"path","name":"token_id","required":true,"schema":{"title":"Token Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSCIMTokenRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SCIMTokenCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Rotate Scim Token","tags":["auth"]}},"/v1/auth/session/authorize":{"post":{"description":"Authorize Agent Session.\n\nContrast REST operation: `POST /v1/auth/session/authorize`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_authorize_agent_session","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAuthorizationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAuthorizationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Authorize Agent Session","tags":["auth"]}},"/v1/auth/session/refresh":{"post":{"description":"Refresh Agent Session.\n\nContrast REST operation: `POST /v1/auth/session/refresh`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_refresh_agent_session","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionRefreshRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionTokenResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Refresh Agent Session","tags":["auth"]}},"/v1/auth/session/revoke":{"post":{"description":"Revoke Current Agent Session.\n\nContrast REST operation: `POST /v1/auth/session/revoke`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_revoke_current_agent_session","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionRevokeRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Current Agent Session","tags":["auth"]}},"/v1/auth/session/token":{"post":{"description":"Exchange Agent Session Token.\n\nContrast REST operation: `POST /v1/auth/session/token`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_exchange_agent_session_token","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTokenExchangeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionTokenResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Exchange Agent Session Token","tags":["auth"]}},"/v1/auth/sessions":{"get":{"description":"List Workspace Agent Sessions.\n\nContrast REST operation: `GET /v1/auth/sessions`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_list_workspace_agent_sessions","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentSessionResponse"},"title":"Response Auth List Workspace Agent Sessions","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Workspace Agent Sessions","tags":["auth"]}},"/v1/auth/sessions/{session_id}":{"delete":{"description":"Revoke Workspace Agent Session.\n\nContrast REST operation: `DELETE /v1/auth/sessions/{session_id}`.\n\nRequired parameters: `session_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_revoke_workspace_agent_session","parameters":[{"in":"path","name":"session_id","required":true,"schema":{"title":"Session Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Workspace Agent Session","tags":["auth"]}},"/v1/auth/tokens":{"get":{"description":"List Agent Tokens.\n\nContrast REST operation: `GET /v1/auth/tokens`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_list_agent_tokens","parameters":[{"in":"query","name":"workspace_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentTokenResponse"},"title":"Response Auth List Agent Tokens","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Agent Tokens","tags":["auth"]},"post":{"description":"Create Agent Token.\n\nContrast REST operation: `POST /v1/auth/tokens`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_create_agent_token","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentTokenRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTokenCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Agent Token","tags":["auth"]}},"/v1/auth/tokens/{token_id}/revoke":{"post":{"description":"Revoke Agent Token.\n\nContrast REST operation: `POST /v1/auth/tokens/{token_id}/revoke`.\n\nRequired parameters: `token_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_revoke_agent_token","parameters":[{"in":"path","name":"token_id","required":true,"schema":{"title":"Token Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTokenResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Agent Token","tags":["auth"]}},"/v1/auth/whoami":{"get":{"description":"Who Am I.\n\nContrast REST operation: `GET /v1/auth/whoami`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"auth_who_am_i","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthWhoAmIResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Who Am I","tags":["auth"]}},"/v1/bi/{provider}/configs":{"get":{"description":"List Configs.\n\nContrast REST operation: `GET /v1/bi/{provider}/configs`.\n\nRequired parameters: `provider` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_list_configs","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiConfigListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Configs","tags":["bi"]},"post":{"description":"Save Config.\n\nContrast REST operation: `POST /v1/bi/{provider}/configs`.\n\nRequired parameters: `provider` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_save_config","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiConfigRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Config","tags":["bi"]}},"/v1/bi/{provider}/configs/{config_id}":{"delete":{"description":"Delete Config.\n\nContrast REST operation: `DELETE /v1/bi/{provider}/configs/{config_id}`.\n\nRequired parameters: `provider` (path), `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_delete_config","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Config","tags":["bi"]}},"/v1/bi/{provider}/configs/{config_id}/mappings":{"put":{"description":"Save Mappings.\n\nContrast REST operation: `PUT /v1/bi/{provider}/configs/{config_id}/mappings`.\n\nRequired parameters: `provider` (path), `config_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_save_mappings","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiMappingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Mappings","tags":["bi"]}},"/v1/bi/{provider}/configs/{config_id}/scopes":{"get":{"description":"List Scopes.\n\nContrast REST operation: `GET /v1/bi/{provider}/configs/{config_id}/scopes`.\n\nRequired parameters: `provider` (path), `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_list_scopes","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiScopesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Scopes","tags":["bi"]}},"/v1/bi/{provider}/configs/{config_id}/sync":{"post":{"description":"Sync Now.\n\nContrast REST operation: `POST /v1/bi/{provider}/configs/{config_id}/sync`.\n\nRequired parameters: `provider` (path), `config_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_sync_now","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiSyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiSyncResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Now","tags":["bi"]}},"/v1/bi/{provider}/configs/{config_id}/validate":{"post":{"description":"Validate Config.\n\nContrast REST operation: `POST /v1/bi/{provider}/configs/{config_id}/validate`.\n\nRequired parameters: `provider` (path), `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_validate_config","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiValidationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Validate Config","tags":["bi"]}},"/v1/billing":{"get":{"description":"Summary.\n\nContrast REST operation: `GET /v1/billing`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Summary","tags":["billing"]}},"/v1/billing/allowances":{"get":{"description":"Allowances.\n\nContrast REST operation: `GET /v1/billing/allowances`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_allowances","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingAllowancesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Allowances","tags":["billing"]}},"/v1/billing/checkout":{"post":{"description":"Checkout.\n\nContrast REST operation: `POST /v1/billing/checkout`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_checkout","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingCheckoutRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSessionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Checkout","tags":["billing"]}},"/v1/billing/close-test":{"post":{"description":"Close Test.\n\nContrast REST operation: `POST /v1/billing/close-test`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_close_test","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSessionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Close Test","tags":["billing"]}},"/v1/billing/enrollment":{"post":{"description":"Enrollment.\n\nContrast REST operation: `POST /v1/billing/enrollment`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_enrollment","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingEnrollmentRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Enrollment","tags":["billing"]}},"/v1/billing/features":{"get":{"description":"Features.\n\nContrast REST operation: `GET /v1/billing/features`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_features","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingFeaturesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Features","tags":["billing"]}},"/v1/billing/portal":{"post":{"description":"Portal.\n\nContrast REST operation: `POST /v1/billing/portal`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_portal","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPortalRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSessionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Portal","tags":["billing"]}},"/v1/billing/test-enforcement":{"post":{"description":"Test Enforcement.\n\nContrast REST operation: `POST /v1/billing/test-enforcement`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_test_enforcement","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingTestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Test Enforcement","tags":["billing"]}},"/v1/billing/usage":{"get":{"description":"Usage.\n\nContrast REST operation: `GET /v1/billing/usage`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_usage","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"start","required":false,"schema":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Start"}},{"in":"query","name":"end","required":false,"schema":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"End"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingUsageResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Usage","tags":["billing"]}},"/v1/billing/webhook":{"post":{"description":"Webhook.\n\nContrast REST operation: `POST /v1/billing/webhook`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"billing_webhook","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingActionResponse"}}},"description":"Successful Response"}},"summary":"Webhook","tags":["billing"]}},"/v1/branching/sources":{"get":{"description":"List Branch Sources.\n\nContrast REST operation: `GET /v1/branching/sources`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"branching_list_branch_sources","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BranchSourceResponse"},"title":"Response Branching List Branch Sources","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Branch Sources","tags":["branching"]},"post":{"description":"Create Branch Source.\n\nContrast REST operation: `POST /v1/branching/sources`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"branching_create_branch_source","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBranchSourceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchSourceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Branch Source","tags":["branching"]}},"/v1/branching/sources/preflight":{"post":{"description":"Preflight Branch Source.\n\nContrast REST operation: `POST /v1/branching/sources/preflight`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"branching_preflight_branch_source","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchSourcePreflightRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchSourcePreflightResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preflight Branch Source","tags":["branching"]}},"/v1/branching/sources/{source_id}/sync":{"post":{"description":"Sync Branch Source.\n\nContrast REST operation: `POST /v1/branching/sources/{source_id}/sync`.\n\nRequired parameters: `source_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"branching_sync_branch_source","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchSourceSyncResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Branch Source","tags":["branching"]}},"/v1/catalog-sync/jobs":{"get":{"description":"List Jobs.\n\nContrast REST operation: `GET /v1/catalog-sync/jobs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_sync_list_jobs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogSyncJobResponse"},"title":"Response Catalog Sync List Jobs","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Jobs","tags":["catalog_sync"]},"post":{"description":"Enqueue Job.\n\nContrast REST operation: `POST /v1/catalog-sync/jobs`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_sync_enqueue_job","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueCatalogSyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueCatalogSyncResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Enqueue Job","tags":["catalog_sync"]}},"/v1/catalog/annotations":{"get":{"description":"Get Annotations.\n\nContrast REST operation: `GET /v1/catalog/annotations`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_get_annotations","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"catalog_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"table_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Get Annotations","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Annotations","tags":["catalog-annotations"]}},"/v1/catalog/annotations/columns":{"put":{"description":"Upsert Columns.\n\nContrast REST operation: `PUT /v1/catalog/annotations/columns`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_upsert_columns","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ColumnAnnotationUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Upsert Columns","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Columns","tags":["catalog-annotations"]}},"/v1/catalog/annotations/suggest":{"post":{"description":"Suggest Annotations.\n\nContrast REST operation: `POST /v1/catalog/annotations/suggest`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_suggest_annotations","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestAnnotationsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Suggest Annotations","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Suggest Annotations","tags":["catalog-annotations"]}},"/v1/catalog/annotations/suggestions":{"get":{"description":"Get Annotation Suggestions.\n\nContrast REST operation: `GET /v1/catalog/annotations/suggestions`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_get_annotation_suggestions","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"catalog_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"table_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"pattern":"^(pending|applied|dismissed|superseded)$","type":"string"},{"type":"null"}],"default":"pending","title":"Status"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Get Annotation Suggestions","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Annotation Suggestions","tags":["catalog-annotations"]}},"/v1/catalog/annotations/suggestions/apply":{"post":{"description":"Apply Suggestions.\n\nContrast REST operation: `POST /v1/catalog/annotations/suggestions/apply`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_apply_suggestions","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplySuggestionsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Apply Suggestions","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Apply Suggestions","tags":["catalog-annotations"]}},"/v1/catalog/annotations/table":{"put":{"description":"Upsert Table.\n\nContrast REST operation: `PUT /v1/catalog/annotations/table`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_upsert_table","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableAnnotationUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Upsert Table","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Upsert Table","tags":["catalog-annotations"]}},"/v1/catalog/column-profile":{"post":{"description":"Column Profile.\n\nContrast REST operation: `POST /v1/catalog/column-profile`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_column_profile","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ColumnProfileRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ColumnProfileResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Column Profile","tags":["catalog-annotations"]}},"/v1/catalog/sample-rows":{"post":{"description":"Sample Rows.\n\nContrast REST operation: `POST /v1/catalog/sample-rows`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"catalog_annotations_sample_rows","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRowsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Catalog Annotations Sample Rows","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sample Rows","tags":["catalog-annotations"]}},"/v1/catalog/statistics":{"get":{"description":"Measured statistics of one catalog table and its columns.\n\nCounts are catalog metadata. The time span of timestamp columns is a value,\nso on customer warehouses it is returned only to members whose table\ngrants are verified, as for column profiles.","operationId":"catalog_annotations_catalog_table_statistics","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"minLength":1,"title":"Connector Id","type":"string"}},{"in":"query","name":"schema_name","required":true,"schema":{"minLength":1,"title":"Schema Name","type":"string"}},{"in":"query","name":"table_name","required":true,"schema":{"minLength":1,"title":"Table Name","type":"string"}},{"in":"query","name":"catalog_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogTableStatisticsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Catalog Table Statistics","tags":["catalog-annotations"]}},"/v1/catalog/usage":{"get":{"description":"Usage for every table used in the window. Tables absent from the list had no recorded use.","operationId":"catalog_usage_list_catalog_table_usage","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"days","required":false,"schema":{"default":30,"maximum":90,"minimum":1,"title":"Days","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogUsageTablesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Catalog Table Usage","tags":["catalog-usage"]}},"/v1/catalog/usage/table":{"get":{"description":"Usage of one table: totals, channels, a daily series, top users and columns.","operationId":"catalog_usage_get_catalog_table_usage","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"format":"uuid","title":"Connector Id","type":"string"}},{"in":"query","name":"schema_name","required":true,"schema":{"minLength":1,"title":"Schema Name","type":"string"}},{"in":"query","name":"table_name","required":true,"schema":{"minLength":1,"title":"Table Name","type":"string"}},{"in":"query","name":"catalog_name","required":false,"schema":{"default":"default","title":"Catalog Name","type":"string"}},{"in":"query","name":"days","required":false,"schema":{"default":30,"maximum":90,"minimum":1,"title":"Days","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogTableUsageDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Table Usage","tags":["catalog-usage"]}},"/v1/change-events":{"get":{"description":"Most-recent-first change events for a workspace, for verifying ingestion.","operationId":"change_events_list_change_events","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List recorded change events","tags":["change-events"]},"post":{"description":"Ingest a deploy, dbt run, or pipeline run so table-health diagnoses can correlate incidents with the change that caused them. `relation_hints` (schema.table) or `changed_paths` map the event onto lineage; `external_id` makes ingestion idempotent per workspace and kind.","operationId":"change_events_create_change_event","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEventCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Record an external change event","tags":["change-events"]}},"/v1/change-receipts":{"get":{"description":"List Change Receipts Route.\n\nContrast REST operation: `GET /v1/change-receipts`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_list_change_receipts_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"pull_request_number","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Pull Request Number"}},{"in":"query","name":"project_source_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Source Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Change Receipts Route","tags":["schema-changes"]}},"/v1/change-receipts/{receipt_id}":{"get":{"description":"Get Change Receipt Route.\n\nContrast REST operation: `GET /v1/change-receipts/{receipt_id}`.\n\nRequired parameters: `receipt_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_get_change_receipt_route","parameters":[{"in":"path","name":"receipt_id","required":true,"schema":{"title":"Receipt Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Change Receipt Route","tags":["schema-changes"]}},"/v1/change-reviews":{"get":{"description":"List Change Review Scenarios.\n\nContrast REST operation: `GET /v1/change-reviews`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"change_reviews_list_change_review_scenarios","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Change Review Scenarios","tags":["change_reviews"]}},"/v1/change-reviews/dbt-bindings":{"get":{"description":"List Dbt Bindings.\n\nContrast REST operation: `GET /v1/change-reviews/dbt-bindings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"change_reviews_list_dbt_bindings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Dbt Bindings","tags":["change_reviews"]},"post":{"description":"Create Dbt Binding.\n\nContrast REST operation: `POST /v1/change-reviews/dbt-bindings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"change_reviews_create_dbt_binding","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DbtBindingRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Dbt Binding","tags":["change_reviews"]}},"/v1/change-reviews/dbt-bindings/{binding_id}":{"patch":{"description":"Patch Dbt Binding.\n\nContrast REST operation: `PATCH /v1/change-reviews/dbt-bindings/{binding_id}`.\n\nRequired parameters: `binding_id` (path), `workspace_id` (query).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"change_reviews_patch_dbt_binding","parameters":[{"in":"path","name":"binding_id","required":true,"schema":{"title":"Binding Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DbtBindingPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Patch Dbt Binding","tags":["change_reviews"]}},"/v1/change-rule-violations":{"get":{"description":"List Change Rule Violations Route.\n\nContrast REST operation: `GET /v1/change-rule-violations`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_list_change_rule_violations_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"rule_key","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Rule Key"}},{"in":"query","name":"origin","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Origin"}},{"in":"query","name":"severity","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Severity"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Change Rule Violations Route","tags":["schema-changes"]}},"/v1/change-rule-violations/{violation_id}/status":{"post":{"description":"Update Change Rule Violation Status Route.\n\nContrast REST operation: `POST /v1/change-rule-violations/{violation_id}/status`.\n\nRequired parameters: `violation_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_update_change_rule_violation_status_route","parameters":[{"in":"path","name":"violation_id","required":true,"schema":{"title":"Violation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Change Rule Violation Status Route","tags":["schema-changes"]}},"/v1/change-rules":{"get":{"description":"List Change Rules Route.\n\nContrast REST operation: `GET /v1/change-rules`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_list_change_rules_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Change Rules Route","tags":["schema-changes"]}},"/v1/change-rules/simulate":{"post":{"description":"Dry-run rules over recent warehouse activity without persisting anything.\n\nMirrors POST /v1/governance/policies/simulate: the point is to answer \"what\nwould this rule have flagged?\" before a workspace turns it on.","operationId":"schema_changes_simulate_change_rules_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeRuleSimulateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Simulate Change Rules Route","tags":["schema-changes"]}},"/v1/change-rules/{rule_key}":{"patch":{"description":"Update Change Rule Route.\n\nContrast REST operation: `PATCH /v1/change-rules/{rule_key}`.\n\nRequired parameters: `rule_key` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_update_change_rule_route","parameters":[{"in":"path","name":"rule_key","required":true,"schema":{"title":"Rule Key","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeRuleUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Change Rule Route","tags":["schema-changes"]}},"/v1/change-validation-settings":{"get":{"description":"Get Change Validation Settings Route.\n\nContrast REST operation: `GET /v1/change-validation-settings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_get_change_validation_settings_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Change Validation Settings Route","tags":["schema-changes"]},"patch":{"description":"Update Change Validation Settings Route.\n\nContrast REST operation: `PATCH /v1/change-validation-settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_update_change_validation_settings_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeValidationSettingsUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Change Validation Settings Route","tags":["schema-changes"]}},"/v1/change-watch/scan":{"post":{"description":"Run the warehouse change-watch scan now (admin), instead of waiting for the hourly schedule.","operationId":"schema_changes_run_change_watch_scan_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Change Watch Scan Route","tags":["schema-changes"]}},"/v1/changes/created":{"get":{"description":"Datasets created in the warehouse recently, with who created them.\n\nDerived on read from query-history observations rather than a separate\ninventory table: the data is already indexed, and a materialized copy would\nneed a backfill and could drift.","operationId":"schema_changes_list_created_datasets_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"lookback_days","required":false,"schema":{"default":30,"maximum":90,"minimum":1,"title":"Lookback Days","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Created Datasets Route","tags":["schema-changes"]}},"/v1/changes/proposed":{"get":{"description":"Pre-merge schema changes detected in connected repositories' pull requests.","operationId":"schema_changes_list_proposed_changes_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"pull_request_number","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pull Request Number"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Proposed Changes Route","tags":["schema-changes"]}},"/v1/chat/identities/link":{"post":{"description":"Link Chat Identity.\n\nContrast REST operation: `POST /v1/chat/identities/link`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"chat_link_chat_identity","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkChatIdentityRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkChatIdentityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Link Chat Identity","tags":["chat"]}},"/v1/chat/identities/preview":{"post":{"description":"Which chat account a link token would attach to the signed-in account; links nothing.","operationId":"chat_preview_chat_identity","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewChatIdentityRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewChatIdentityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preview Chat Identity","tags":["chat"]}},"/v1/classification/findings":{"get":{"description":"List Classification Findings.\n\nContrast REST operation: `GET /v1/classification/findings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_list_classification_findings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"min_confidence","required":false,"schema":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"title":"Min Confidence"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification List Classification Findings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Classification Findings","tags":["classification"]}},"/v1/classification/findings/bulk":{"post":{"description":"Decide Classification Findings.\n\nContrast REST operation: `POST /v1/classification/findings/bulk`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_decide_classification_findings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationBulkDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification Decide Classification Findings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Decide Classification Findings","tags":["classification"]}},"/v1/classification/findings/{finding_id}/undo":{"post":{"description":"Undo Classification Finding Route.\n\nContrast REST operation: `POST /v1/classification/findings/{finding_id}/undo`.\n\nRequired parameters: `finding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_undo_classification_finding_route","parameters":[{"in":"path","name":"finding_id","required":true,"schema":{"title":"Finding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoClassificationFindingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification Undo Classification Finding Route","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Undo Classification Finding Route","tags":["classification"]}},"/v1/classification/scan":{"post":{"description":"Trigger Classification Scan.\n\nContrast REST operation: `POST /v1/classification/scan`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_trigger_classification_scan","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerClassificationScanRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification Trigger Classification Scan","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Trigger Classification Scan","tags":["classification"]}},"/v1/classification/scan/status":{"get":{"description":"Get Classification Scan Status.\n\nContrast REST operation: `GET /v1/classification/scan/status`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_get_classification_scan_status","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification Get Classification Scan Status","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Classification Scan Status","tags":["classification"]}},"/v1/classification/summary":{"get":{"description":"Get Classification Summary.\n\nContrast REST operation: `GET /v1/classification/summary`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"classification_get_classification_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Classification Get Classification Summary","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Classification Summary","tags":["classification"]}},"/v1/connectors":{"get":{"description":"List Connectors.\n\nContrast REST operation: `GET /v1/connectors`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_list_connectors","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_removed","required":false,"schema":{"default":false,"title":"Include Removed","type":"boolean"}},{"in":"query","name":"connector_usage","required":false,"schema":{"default":"context","enum":["context","warehouse_ingestion","all"],"title":"Connector Usage","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConnectorSummaryResponse"},"title":"Response Connectors List Connectors","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Connectors","tags":["connectors"]},"post":{"description":"Create Connector.\n\nContrast REST operation: `POST /v1/connectors`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_create_connector","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConnectorRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Connector","tags":["connectors"]}},"/v1/connectors/bigquery/managed-identity":{"get":{"description":"Get Managed Bigquery Identity.\n\nContrast REST operation: `GET /v1/connectors/bigquery/managed-identity`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_managed_bigquery_identity","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedBigQueryIdentityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Managed Bigquery Identity","tags":["connectors"]}},"/v1/connectors/databricks/warehouses/discover":{"post":{"description":"List SQL warehouses with transiently forwarded credentials so connector\nsetup can pick an HTTP path instead of hand-typing one. Nothing is stored.","operationId":"connectors_discover_databricks_warehouses","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksWarehouseDiscoveryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabricksWarehouseDiscoveryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Discover Databricks Warehouses","tags":["connectors"]}},"/v1/connectors/google-sheets/managed-identity":{"get":{"description":"Get Google Sheets Managed Identity.\n\nContrast REST operation: `GET /v1/connectors/google-sheets/managed-identity`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_google_sheets_managed_identity","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedGoogleSheetsIdentityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Google Sheets Managed Identity","tags":["connectors"]}},"/v1/connectors/kinds":{"get":{"description":"Every registered connector kind with its derived capabilities.\n\nThe payload is registry-derived and workspace-independent, so this is\nauthenticated but not workspace-scoped.","operationId":"connectors_list_connector_kinds","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorKindsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Connector Kinds","tags":["connectors"]}},"/v1/connectors/supabase/preflight":{"post":{"description":"Preflight Supabase Connector.\n\nContrast REST operation: `POST /v1/connectors/supabase/preflight`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_preflight_supabase_connector","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupabasePreflightRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupabasePreflightResponse"}}},"description":"Successful Response","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"code":{"type":"string"},"hint":{"type":["string","null"]},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["message","code","hint","request_id"],"type":"object"}},"required":["detail"],"type":"object"}}},"description":"Connector check quota exhausted. Wait for Retry-After before retrying.","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying; takes precedence over RateLimit timing hints.","schema":{"minimum":1,"type":"integer"}}}}},"summary":"Preflight Supabase Connector","tags":["connectors"]}},"/v1/connectors/{connector_id}":{"delete":{"description":"Delete Connector.\n\nContrast REST operation: `DELETE /v1/connectors/{connector_id}`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_delete_connector","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorDeleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Connector","tags":["connectors"]},"patch":{"description":"Rename a saved connection. Credentials and settings change through their own routes.","operationId":"connectors_update_connector","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Connector","tags":["connectors"]}},"/v1/connectors/{connector_id}/agent-availability":{"patch":{"description":"Update Connector Agent Availability.\n\nContrast REST operation: `PATCH /v1/connectors/{connector_id}/agent-availability`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_update_connector_agent_availability","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorAgentAvailabilityRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Connector Agent Availability","tags":["connectors"]}},"/v1/connectors/{connector_id}/autonomous-run-identity":{"patch":{"description":"Admin control for the identity autonomous and scheduled runs use on this\nconnector. ``user_scoped`` enforces the run owner's own credential like\ninteractive agent queries; ``workspace_shared`` lets autonomous runs use\nthe shared workspace credential even under strict platform-grant enforcement.","operationId":"connectors_update_connector_autonomous_run_identity","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorAutonomousRunIdentityRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Connector Autonomous Run Identity","tags":["connectors"]}},"/v1/connectors/{connector_id}/capabilities/check":{"post":{"description":"Check Connector Capabilities.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/capabilities/check`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_check_connector_capabilities","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCapabilityCheckRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCapabilityCheckResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Check Connector Capabilities","tags":["connectors"]}},"/v1/connectors/{connector_id}/cost-enrichment":{"patch":{"description":"Update Connector Cost Enrichment.\n\nContrast REST operation: `PATCH /v1/connectors/{connector_id}/cost-enrichment`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_update_connector_cost_enrichment","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCostEnrichmentConfigRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCostEnrichmentConfigResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Connector Cost Enrichment","tags":["connectors"]}},"/v1/connectors/{connector_id}/cost-enrichment/run":{"post":{"description":"Trigger Connector Cost Enrichment.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/cost-enrichment/run`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_trigger_connector_cost_enrichment","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCostEnrichmentTriggerRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCostEnrichmentTriggerResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Trigger Connector Cost Enrichment","tags":["connectors"]}},"/v1/connectors/{connector_id}/credential-mode":{"patch":{"description":"Update Connector Credential Mode.\n\nContrast REST operation: `PATCH /v1/connectors/{connector_id}/credential-mode`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_update_connector_credential_mode","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorCredentialModeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Connector Credential Mode","tags":["connectors"]}},"/v1/connectors/{connector_id}/credentials":{"post":{"description":"Upsert Connector Credentials.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/credentials`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_upsert_connector_credentials","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConnectorCredentialsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"code":{"type":"string"},"hint":{"type":["string","null"]},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["message","code","hint","request_id"],"type":"object"}},"required":["detail"],"type":"object"}}},"description":"Connector check quota exhausted. Wait for Retry-After before retrying.","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying; takes precedence over RateLimit timing hints.","schema":{"minimum":1,"type":"integer"}}}}},"summary":"Upsert Connector Credentials","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation":{"get":{"description":"Get Connector Identity Federation.\n\nContrast REST operation: `GET /v1/connectors/{connector_id}/identity-federation`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_connector_identity_federation","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorIdentityFederationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Connector Identity Federation","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/account-detection":{"post":{"description":"Detect Connector Databricks Account.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/identity-federation/account-detection`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_detect_connector_databricks_account","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorDatabricksAccountDetectionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorDatabricksAccountDetectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Detect Connector Databricks Account","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/actions":{"post":{"description":"Identity Federation Action.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/identity-federation/actions`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_identity_federation_action","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityFederationActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Identity Federation Action","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/enforcement":{"put":{"description":"Set Identity Federation Enforcement.\n\nContrast REST operation: `PUT /v1/connectors/{connector_id}/identity-federation/enforcement`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_set_identity_federation_enforcement","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityFederationEnforcementRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Set Identity Federation Enforcement","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/migration":{"get":{"description":"Get Identity Federation Migration.\n\nContrast REST operation: `GET /v1/connectors/{connector_id}/identity-federation/migration`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_identity_federation_migration","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityFederationMigrationStatus"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Identity Federation Migration","tags":["connectors"]},"post":{"description":"Start Identity Federation Migration.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/identity-federation/migration`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_start_identity_federation_migration","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Identity Federation Migration","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/setup":{"post":{"description":"Setup Connector Identity Federation.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/identity-federation/setup`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_setup_connector_identity_federation","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorIdentityFederationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorIdentityFederationSetupResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Setup Connector Identity Federation","tags":["connectors"]}},"/v1/connectors/{connector_id}/identity-federation/verify":{"post":{"description":"Verify Connector Identity Federation.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/identity-federation/verify`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_verify_connector_identity_federation","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorIdentityFederationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorIdentityFederationVerifyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Verify Connector Identity Federation","tags":["connectors"]}},"/v1/connectors/{connector_id}/keypair-setup":{"post":{"description":"Generate (idempotently) the connector's Snowflake key pair and return\nthe one-paste setup script; the private key never leaves the API.","operationId":"connectors_setup_connector_keypair","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorKeypairSetupRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorKeypairSetupResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Setup Connector Keypair","tags":["connectors"]}},"/v1/connectors/{connector_id}/postgres-connection":{"get":{"description":"Get Postgres Connection.\n\nContrast REST operation: `GET /v1/connectors/{connector_id}/postgres-connection`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_postgres_connection","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostgresConnectionDetails"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Postgres Connection","tags":["connectors"]},"patch":{"description":"Edit Postgres Connection.\n\nContrast REST operation: `PATCH /v1/connectors/{connector_id}/postgres-connection`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_edit_postgres_connection","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostgresConnectionEdit"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostgresConnectionDetails"}}},"description":"Successful Response","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"code":{"type":"string"},"hint":{"type":["string","null"]},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["message","code","hint","request_id"],"type":"object"}},"required":["detail"],"type":"object"}}},"description":"Connector check quota exhausted. Wait for Retry-After before retrying.","headers":{"RateLimit":{"description":"Remaining attempts (r) and seconds until reset (t), after this request. Follows draft-ietf-httpapi-ratelimit-headers-11.","example":"\"connector-preflight\";r=4;t=321","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Connector checks allow 5 attempts per 600-second window per user and workspace. Present only when a check consumed quota.","example":"\"connector-preflight\";q=5;w=600","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying; takes precedence over RateLimit timing hints.","schema":{"minimum":1,"type":"integer"}}}}},"summary":"Edit Postgres Connection","tags":["connectors"]}},"/v1/connectors/{connector_id}/query-history/ingest":{"post":{"description":"Ingest Connector Query History.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/query-history/ingest`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_ingest_connector_query_history","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalQueryHistoryIngestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalQueryHistoryIngestResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Ingest Connector Query History","tags":["connectors"]}},"/v1/connectors/{connector_id}/user-credential":{"get":{"description":"Get Connector User Credential.\n\nContrast REST operation: `GET /v1/connectors/{connector_id}/user-credential`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_connector_user_credential","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Connector User Credential","tags":["connectors"]}},"/v1/connectors/{connector_id}/user-oauth-integration":{"get":{"description":"Get Connector User Oauth Integration.\n\nContrast REST operation: `GET /v1/connectors/{connector_id}/user-oauth-integration`.\n\nRequired parameters: `connector_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_connector_user_oauth_integration","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Connector User Oauth Integration","tags":["connectors"]},"put":{"description":"Configure Connector User Oauth.\n\nContrast REST operation: `PUT /v1/connectors/{connector_id}/user-oauth-integration`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_configure_connector_user_oauth","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorUserOAuthIntegrationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Configure Connector User Oauth","tags":["connectors"]}},"/v1/connectors/{connector_id}/user-oauth/revoke":{"post":{"description":"Revoke Connector User Oauth.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/user-oauth/revoke`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_revoke_connector_user_oauth","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorUserOAuthRevokeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Connector User Oauth","tags":["connectors"]}},"/v1/connectors/{connector_id}/user-oauth/start":{"post":{"description":"Start Connector User Oauth.\n\nContrast REST operation: `POST /v1/connectors/{connector_id}/user-oauth/start`.\n\nRequired parameters: `connector_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_start_connector_user_oauth","parameters":[{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorUserOAuthStartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Connector User Oauth","tags":["connectors"]}},"/v1/connectors/{connector_kind}/sync-schema":{"post":{"description":"Sync Connector Schema.\n\nContrast REST operation: `POST /v1/connectors/{connector_kind}/sync-schema`.\n\nRequired parameters: `connector_kind` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_sync_connector_schema","parameters":[{"in":"path","name":"connector_kind","required":true,"schema":{"title":"Connector Kind","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncSchemaRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueCatalogSyncResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Connector Schema","tags":["connectors"]}},"/v1/connectors/{connector_kind}/verify":{"post":{"description":"Verify Connector.\n\nContrast REST operation: `POST /v1/connectors/{connector_kind}/verify`.\n\nRequired parameters: `connector_kind` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_verify_connector","parameters":[{"in":"path","name":"connector_kind","required":true,"schema":{"title":"Connector Kind","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncSchemaRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorVerificationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Verify Connector","tags":["connectors"]}},"/v1/context":{"delete":{"description":"Delete Unified Context.\n\nContrast REST operation: `DELETE /v1/context`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_delete_unified_context","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"source_id","required":false,"schema":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Source Id"}},{"in":"query","name":"confirm","required":false,"schema":{"default":false,"title":"Confirm","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextDeleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Unified Context","tags":["context"]}},"/v1/context/assertions/bulk":{"post":{"description":"Bulk Context Assertion Action.\n\nContrast REST operation: `POST /v1/context/assertions/bulk`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_bulk_context_assertion_action","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextAssertionBulkActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextAssertionBulkActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Bulk Context Assertion Action","tags":["context"]}},"/v1/context/assertions/reconcile":{"post":{"description":"Reconcile Pending Context Assertions.\n\nContrast REST operation: `POST /v1/context/assertions/reconcile`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_reconcile_pending_context_assertions","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextAssertionReconcileRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextAssertionReconcileResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reconcile Pending Context Assertions","tags":["context"]}},"/v1/context/edges/{edge_id}/verification":{"post":{"description":"Set Unified Context Edge Verification.\n\nContrast REST operation: `POST /v1/context/edges/{edge_id}/verification`.\n\nRequired parameters: `edge_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_set_unified_context_edge_verification","parameters":[{"in":"path","name":"edge_id","required":true,"schema":{"title":"Edge Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextVerificationActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextVerificationActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Set Unified Context Edge Verification","tags":["context"]}},"/v1/context/graph/overview":{"get":{"description":"Get Unified Context Graph Overview.\n\nContrast REST operation: `GET /v1/context/graph/overview`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_unified_context_graph_overview","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"max_objects","required":false,"schema":{"default":80,"maximum":200,"minimum":1,"title":"Max Objects","type":"integer"}},{"in":"query","name":"max_edges","required":false,"schema":{"default":140,"maximum":400,"minimum":0,"title":"Max Edges","type":"integer"}},{"in":"query","name":"fresh","required":false,"schema":{"default":false,"title":"Fresh","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Unified Context Graph Overview","tags":["context"]}},"/v1/context/inferred-joins/reviews":{"get":{"description":"List Inferred Join Reviews.\n\nContrast REST operation: `GET /v1/context/inferred-joins/reviews`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_list_inferred_join_reviews","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"table_stable_key","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Stable Key"}},{"in":"query","name":"include_retracted","required":false,"schema":{"default":true,"title":"Include Retracted","type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"default":500,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferredJoinReviewListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Inferred Join Reviews","tags":["context"]},"post":{"description":"Apply Inferred Join Review.\n\nContrast REST operation: `POST /v1/context/inferred-joins/reviews`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_apply_inferred_join_review","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferredJoinReviewDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferredJoinReviewApplyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Apply Inferred Join Review","tags":["context"]}},"/v1/context/objects":{"get":{"description":"List Unified Context Objects.\n\nContrast REST operation: `GET /v1/context/objects`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_list_unified_context_objects","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"object_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"}},{"in":"query","name":"verification_status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Status"}},{"in":"query","name":"generated_by","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated By"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"min_confidence","required":false,"schema":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"title":"Min Confidence"}},{"in":"query","name":"issue","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"sort","required":false,"schema":{"default":"updated_at","title":"Sort","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextObjectListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Unified Context Objects","tags":["context"]}},"/v1/context/objects/{object_id}":{"get":{"description":"Get Unified Context Object.\n\nContrast REST operation: `GET /v1/context/objects/{object_id}`.\n\nRequired parameters: `object_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_unified_context_object","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextObjectDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Unified Context Object","tags":["context"]}},"/v1/context/objects/{object_id}/correct":{"post":{"description":"Correct Unified Context Object.\n\nContrast REST operation: `POST /v1/context/objects/{object_id}/correct`.\n\nRequired parameters: `object_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_correct_unified_context_object","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextObjectCorrectionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextObjectCorrectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Correct Unified Context Object","tags":["context"]}},"/v1/context/objects/{object_id}/usage":{"get":{"description":"Get Unified Context Object Usage.\n\nContrast REST operation: `GET /v1/context/objects/{object_id}/usage`.\n\nRequired parameters: `object_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_unified_context_object_usage","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextObjectUsageResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Unified Context Object Usage","tags":["context"]}},"/v1/context/objects/{object_id}/verification":{"post":{"description":"Set Unified Context Object Verification.\n\nContrast REST operation: `POST /v1/context/objects/{object_id}/verification`.\n\nRequired parameters: `object_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_set_unified_context_object_verification","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextVerificationActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextVerificationActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Set Unified Context Object Verification","tags":["context"]}},"/v1/context/ontology/health":{"get":{"description":"Get Context Ontology Health.\n\nContrast REST operation: `GET /v1/context/ontology/health`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_context_ontology_health","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"record_observation","required":false,"schema":{"default":false,"title":"Record Observation","type":"boolean"}},{"in":"query","name":"fresh","required":false,"schema":{"default":false,"title":"Fresh","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyHealthResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Context Ontology Health","tags":["context"]}},"/v1/context/ontology/objects":{"get":{"description":"List Context Ontology Objects.\n\nContrast REST operation: `GET /v1/context/ontology/objects`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_list_context_ontology_objects","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"object_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"}},{"in":"query","name":"ontology_kind","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ontology Kind"}},{"in":"query","name":"ontology_scope","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ontology Scope"}},{"in":"query","name":"verification_status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Status"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"sort","required":false,"schema":{"default":"updated_at","title":"Sort","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"cleanup","required":false,"schema":{"default":true,"title":"Cleanup","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyObjectListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Context Ontology Objects","tags":["context"]}},"/v1/context/ontology/objects/{object_id}":{"get":{"description":"Get Context Ontology Object.\n\nContrast REST operation: `GET /v1/context/ontology/objects/{object_id}`.\n\nRequired parameters: `object_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_context_ontology_object","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyObjectDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Context Ontology Object","tags":["context"]}},"/v1/context/ontology/objects/{object_id}/confirm":{"post":{"description":"Confirm Context Ontology Object.\n\nContrast REST operation: `POST /v1/context/ontology/objects/{object_id}/confirm`.\n\nRequired parameters: `object_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_confirm_context_ontology_object","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyObjectActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextVerificationActionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Confirm Context Ontology Object","tags":["context"]}},"/v1/context/ontology/objects/{object_id}/duplicates/dismiss":{"post":{"description":"Dismiss Context Ontology Duplicate Candidate.\n\nContrast REST operation: `POST /v1/context/ontology/objects/{object_id}/duplicates/dismiss`.\n\nRequired parameters: `object_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_dismiss_context_ontology_duplicate_candidate","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyObjectActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dismiss Context Ontology Duplicate Candidate","tags":["context"]}},"/v1/context/ontology/objects/{object_id}/merge":{"post":{"description":"Merge Context Ontology Object.\n\nContrast REST operation: `POST /v1/context/ontology/objects/{object_id}/merge`.\n\nRequired parameters: `object_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_merge_context_ontology_object","parameters":[{"in":"path","name":"object_id","required":true,"schema":{"title":"Object Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyObjectActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Merge Context Ontology Object","tags":["context"]}},"/v1/context/ontology/proposals/generate":{"post":{"description":"Generate Context Ontology Proposals.\n\nContrast REST operation: `POST /v1/context/ontology/proposals/generate`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_generate_context_ontology_proposals","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyProposalGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OntologyProposalGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Generate Context Ontology Proposals","tags":["context"]}},"/v1/context/query":{"post":{"description":"Query Unified Context.\n\nContrast REST operation: `POST /v1/context/query`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_query_unified_context","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Query Unified Context","tags":["context"]}},"/v1/context/settings":{"get":{"description":"Get Unified Context Settings.\n\nContrast REST operation: `GET /v1/context/settings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_unified_context_settings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Unified Context Settings","tags":["context"]},"patch":{"description":"Patch Unified Context Settings.\n\nContrast REST operation: `PATCH /v1/context/settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_patch_unified_context_settings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextSettingsUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Patch Unified Context Settings","tags":["context"]}},"/v1/context/sources/repositories":{"get":{"description":"List Context Repository Sources.\n\nContrast REST operation: `GET /v1/context/sources/repositories`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_list_context_repository_sources","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Context Repository Sources","tags":["context"]},"post":{"description":"Create Context Repository Source.\n\nContrast REST operation: `POST /v1/context/sources/repositories`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_create_context_repository_source","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Context Repository Source","tags":["context"]}},"/v1/context/sources/repositories/{source_id}":{"delete":{"description":"Delete Context Repository Source.\n\nContrast REST operation: `DELETE /v1/context/sources/repositories/{source_id}`.\n\nRequired parameters: `source_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_delete_context_repository_source","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextDeleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Context Repository Source","tags":["context"]},"patch":{"description":"Update Context Repository Source.\n\nContrast REST operation: `PATCH /v1/context/sources/repositories/{source_id}`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_update_context_repository_source","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Context Repository Source","tags":["context"]}},"/v1/context/sources/repositories/{source_id}/dbt-projects/detect":{"post":{"description":"Detect Repository Dbt Projects.\n\nContrast REST operation: `POST /v1/context/sources/repositories/{source_id}/dbt-projects/detect`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_detect_repository_dbt_projects","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryFixesWorkspaceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryDbtDetectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Detect Repository Dbt Projects","tags":["context"]}},"/v1/context/sources/repositories/{source_id}/dbt-projects/starter":{"post":{"description":"Open Repository Dbt Starter.\n\nContrast REST operation: `POST /v1/context/sources/repositories/{source_id}/dbt-projects/starter`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_open_repository_dbt_starter","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryStarterRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryStarterResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Open Repository Dbt Starter","tags":["context"]}},"/v1/context/sources/repositories/{source_id}/fixes":{"put":{"description":"Update Repository Fixes.\n\nContrast REST operation: `PUT /v1/context/sources/repositories/{source_id}/fixes`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_update_repository_fixes","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryFixesUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryFixesState"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Repository Fixes","tags":["context"]}},"/v1/context/sources/repositories/{source_id}/ingest":{"post":{"description":"Ingest Context Repository Source.\n\nContrast REST operation: `POST /v1/context/sources/repositories/{source_id}/ingest`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_ingest_context_repository_source","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceIngestRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceIngestResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Ingest Context Repository Source","tags":["context"]}},"/v1/context/sources/repositories/{source_id}/verify":{"post":{"description":"Verify Context Repository Source.\n\nContrast REST operation: `POST /v1/context/sources/repositories/{source_id}/verify`.\n\nRequired parameters: `source_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_verify_context_repository_source","parameters":[{"in":"path","name":"source_id","required":true,"schema":{"title":"Source Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceVerifyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRepositorySourceVerifyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Verify Context Repository Source","tags":["context"]}},"/v1/context/stats":{"get":{"description":"Get Unified Context Graph Stats.\n\nContrast REST operation: `GET /v1/context/stats`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_get_unified_context_graph_stats","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"source_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"}},{"in":"query","name":"fresh","required":false,"schema":{"default":false,"title":"Fresh","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextGraphStatsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Unified Context Graph Stats","tags":["context"]}},"/v1/context/write":{"post":{"description":"Write Unified Context.\n\nContrast REST operation: `POST /v1/context/write`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"context_write_unified_context","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextWriteRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextWriteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Write Unified Context","tags":["context"]}},"/v1/contrast/answers/{run_id}":{"get":{"description":"Get Answer.\n\nContrast REST operation: `GET /v1/contrast/answers/{run_id}`.\n\nRequired parameters: `run_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_answer","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"format":"uuid","title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastAnswerResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Answer","tags":["contrast"]}},"/v1/contrast/slack/events":{"post":{"description":"Slack Events.\n\nContrast REST operation: `POST /v1/contrast/slack/events`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_contrast_slack_events","responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"}},"summary":"Slack Events","tags":["contrast","slack"]}},"/v1/contrast/slack/install":{"get":{"description":"Slack Install.\n\nContrast REST operation: `GET /v1/contrast/slack/install`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_contrast_slack_install","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"return_to","required":false,"schema":{"anyOf":[{"enum":["ask","connect","setup"],"type":"string"},{"type":"null"}],"title":"Return To"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Slack Install","tags":["contrast","slack"]}},"/v1/contrast/slack/interactions":{"post":{"description":"Slack Interactions.\n\nContrast REST operation: `POST /v1/contrast/slack/interactions`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_contrast_slack_interactions","responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"}},"summary":"Slack Interactions","tags":["contrast","slack"]}},"/v1/contrast/slack/oauth/callback":{"get":{"description":"Slack OAuth Callback.\n\nContrast REST operation: `GET /v1/contrast/slack/oauth/callback`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_contrast_slack_oauth_callback","parameters":[{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"state","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"in":"query","name":"error","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Slack OAuth Callback","tags":["contrast","slack"]}},"/v1/contrast/workspaces/{workspace_id}/company-research":{"post":{"description":"Read the company's public website once; safe to call on every visit.","operationId":"contrast_start_contrast_company_research","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastCompanyResearch"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Company Research","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/data-sources/onboarding":{"post":{"description":"Start Source Onboarding.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/data-sources/onboarding`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_start_contrast_source","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSourceOnboardingRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSourceOnboardingResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Source Onboarding","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/data-sources/postgres":{"post":{"description":"Start Postgres Onboarding.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/data-sources/postgres`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_start_contrast_postgres","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastPostgresOnboardingRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastPostgresOnboardingResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Postgres Onboarding","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/github":{"delete":{"description":"Disconnect Connection.\n\nContrast REST operation: `DELETE /v1/contrast/workspaces/{workspace_id}/github`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_disconnect_connection","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Disconnect Connection","tags":["contrast"]},"get":{"description":"Get Connection.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/github`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_connection","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Connection","tags":["contrast"]},"post":{"description":"Save Connection.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/github`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_save_connection","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubSaveRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Connection","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/github/repositories":{"post":{"description":"List Repositories.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/github/repositories`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_list_repositories","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubRepositoriesRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubRepositoriesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Repositories","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/installation":{"delete":{"description":"Delete Slack Installation.\n\nContrast REST operation: `DELETE /v1/contrast/workspaces/{workspace_id}/installation`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_delete_contrast_installation","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastDeleteInstallationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Slack Installation","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/memory/graph":{"get":{"description":"Graph.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/memory/graph`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_graph_2","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"default":"","maxLength":300,"title":"Search","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"selected","required":false,"schema":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Selected"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":80,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"edge_limit","required":false,"schema":{"default":140,"maximum":400,"minimum":1,"title":"Edge Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastMemoryGraph"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Graph","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/memory/neighborhoods/{key}":{"get":{"description":"Neighborhood.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/memory/neighborhoods/{key}`.\n\nRequired parameters: `workspace_id` (path), `key` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_neighborhood","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":80,"maximum":200,"minimum":2,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastMemoryGraph"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Neighborhood","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/memory/objects/{key}":{"get":{"description":"Detail.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/memory/objects/{key}`.\n\nRequired parameters: `workspace_id` (path), `key` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastMemoryDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Detail","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/memory/search":{"get":{"description":"Graph.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/memory/search`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_graph","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"default":"","maxLength":300,"title":"Search","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"selected","required":false,"schema":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Selected"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":80,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"edge_limit","required":false,"schema":{"default":140,"maximum":400,"minimum":1,"title":"Edge Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastMemoryGraph"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Graph","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/memory/status":{"get":{"description":"Status.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/memory/status`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_status","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastMemoryStatus"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Status","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/onboarding":{"get":{"description":"Get Onboarding.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/onboarding`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_onboarding","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOnboardingResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Onboarding","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/onboarding/ui":{"patch":{"description":"Update Onboarding UI.\n\nContrast REST operation: `PATCH /v1/contrast/workspaces/{workspace_id}/onboarding/ui`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_update_contrast_onboarding_ui","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOnboardingUiRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOnboardingResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Onboarding UI","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/operator/activity":{"get":{"description":"Tool calls made through MCP and the CLI, with the warehouse SQL each query ran.\n\nEveryone sees their own calls; security admins can review the whole workspace.","operationId":"contrast_list_contrast_operator_activity","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"query","name":"kind","required":false,"schema":{"default":"queries","enum":["all","queries"],"title":"Kind","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"default":"all","enum":["all","succeeded","failed"],"title":"Status","type":"string"}},{"in":"query","name":"surface","required":false,"schema":{"default":"all","enum":["all","mcp","cli"],"title":"Surface","type":"string"}},{"in":"query","name":"days","required":false,"schema":{"anyOf":[{"maximum":366,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Days"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"tz","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Tz"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorActivityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Operator Activity","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/operator/setup":{"post":{"description":"Set Up Operator.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/operator/setup`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_setup_contrast_operator","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorSetupRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorSetupResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Set Up Operator","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/operator/source-handoffs":{"post":{"description":"Create Operator Source Handoff.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/operator/source-handoffs`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_create_contrast_operator_source_handoff","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorSourceHandoffRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorSourceHandoffResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Operator Source Handoff","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/operator/status":{"get":{"description":"Get Operator Status.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/operator/status`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_operator_status","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastOperatorStatusResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Operator Status","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/persona":{"put":{"description":"Save what this person does and what Contrast should watch for them.","operationId":"contrast_save_contrast_persona","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastPersonaRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastPersona"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Persona","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/sample-workspace":{"delete":{"description":"Remove the sample (tables, source, reports, findings) or stop one being drafted.","operationId":"contrast_delete_contrast_sample_workspace","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Sample Workspace","tags":["contrast"]},"get":{"description":"Get Sample Workspace.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/sample-workspace`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_sample_workspace","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSampleWorkspaceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Sample Workspace","tags":["contrast"]},"post":{"description":"Start drafting a sample shaped like this person's business and role.","operationId":"contrast_create_contrast_sample_workspace","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSampleWorkspaceRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSampleWorkspaceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Sample Workspace","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/sample-workspace/retry":{"post":{"description":"Try a failed sample again: redraft a failed or stalled request, or reload a failed source.","operationId":"contrast_retry_contrast_sample_workspace","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSampleWorkspaceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Retry Sample Workspace","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/settings":{"get":{"description":"Get Slack Agent Settings.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/settings`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_settings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWorkspaceSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Slack Agent Settings","tags":["contrast"]},"patch":{"description":"Update Slack Agent Settings.\n\nContrast REST operation: `PATCH /v1/contrast/workspaces/{workspace_id}/settings`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_update_contrast_settings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWorkspaceSettingsUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWorkspaceSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Slack Agent Settings","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/setup-state":{"get":{"description":"Where this workspace is in guided setup, and whether to take this person there.\n\nThe first owner or admin check settles workspaces Home would otherwise keep\nchecking (already set up, or never sent through setup), so later checks\nare a single read. Without the Slack agent the answer is always \"never\".","operationId":"contrast_get_contrast_setup_state","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSetupStateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Setup State","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/setup/finish":{"post":{"description":"Finish guided setup with data. Safe to call from every tab and device.\n\nWithout a source or a sample underway, this starts a sample (and a\ndefault persona if needed) unless ``connect_later`` is set. It returns once\nthe sample is requested; the sample builds in the background.","operationId":"contrast_finish_contrast_setup","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ContrastSetupFinishRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSetupStateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Finish Setup","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/slack-personal-access":{"delete":{"description":"Revoke Slack Personal Access.\n\nContrast REST operation: `DELETE /v1/contrast/workspaces/{workspace_id}/slack-personal-access`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_revoke_contrast_slack_personal_access","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSlackPersonalAccessResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Slack Personal Access","tags":["contrast"]},"get":{"description":"Get Slack Personal Access.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/slack-personal-access`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_slack_personal_access","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSlackPersonalAccessResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Slack Personal Access","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/slack-personal-access/authorize":{"post":{"description":"Authorize Slack Personal Access.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/slack-personal-access/authorize`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_authorize_contrast_slack_personal_access","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSlackPersonalAccessAuthorizeResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Authorize Slack Personal Access","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/slack/activate":{"post":{"description":"Turn Contrast on in Slack after install, and say hello to the installer once.","operationId":"contrast_activate_contrast_in_slack","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastSlackActivateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Activate In Slack","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/status":{"get":{"description":"Get Slack Agent Status.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/status`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_status","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWorkspaceStatusResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Slack Agent Status","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/team-introductions":{"post":{"description":"Create Team Introductions.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/team-introductions`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_create_contrast_team_introductions","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastTeamIntroductionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Team Introductions","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/web/findings":{"get":{"description":"Findings Contrast delivered in the app, and whether more may still arrive.","operationId":"contrast_list_contrast_web_findings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebFindings"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Web Findings","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/web/questions":{"get":{"description":"The person's recent questions, oldest first, so the channel survives a reload.","operationId":"contrast_list_contrast_web_question_history","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ContrastWebQuestionHistoryItem"},"title":"Response Contrast List Contrast Web Question History","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Web Question History","tags":["contrast"]},"post":{"description":"Ask On The Web.\n\nContrast REST operation: `POST /v1/contrast/workspaces/{workspace_id}/web/questions`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_ask_contrast_on_the_web","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebQuestionRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebQuestionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Ask On The Web","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/web/questions/{run_id}":{"get":{"description":"Get Web Question.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/web/questions/{run_id}`.\n\nRequired parameters: `workspace_id` (path), `run_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_get_contrast_web_question","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebQuestionStatus"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Web Question","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/web/reports":{"get":{"description":"List Web Reports.\n\nContrast REST operation: `GET /v1/contrast/workspaces/{workspace_id}/web/reports`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_list_contrast_web_reports","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ContrastWebReport"},"title":"Response Contrast List Contrast Web Reports","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Web Reports","tags":["contrast"]},"post":{"description":"Schedule a recurring report delivered in the app.","operationId":"contrast_create_contrast_web_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebReportRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebReport"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Web Report","tags":["contrast"]}},"/v1/contrast/workspaces/{workspace_id}/web/reports/{report_id}":{"patch":{"description":"Change Web Report.\n\nContrast REST operation: `PATCH /v1/contrast/workspaces/{workspace_id}/web/reports/{report_id}`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"contrast_change_contrast_web_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContrastWebReportChange"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ContrastWebReport"},{"type":"null"}],"title":"Response Contrast Change Contrast Web Report"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Change Web Report","tags":["contrast"]}},"/v1/conversations":{"get":{"description":"List Conversations.\n\nContrast REST operation: `GET /v1/conversations`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_list_conversations","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConversationResponse"},"title":"Response Conversations List Conversations","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Conversations","tags":["conversations"]},"post":{"description":"Create Conversation.\n\nContrast REST operation: `POST /v1/conversations`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_create_conversation","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Conversation","tags":["conversations"]}},"/v1/conversations/{conversation_id}/events":{"get":{"description":"The member's run events and message changes in one conversation, as they happen.\n\n``run`` carries each run event (a step, the run finishing); ``messages``\ncarries the message count whenever it changes, so a client reloads the\ntranscript once the answer is saved instead of polling for it.","operationId":"conversations_stream_conversation_events","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"title":"Conversation Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"text/event-stream":{"schema":{"type":"string"}}},"description":"Server-sent run and message events."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Stream Conversation Events","tags":["conversations"]}},"/v1/conversations/{conversation_id}/messages":{"get":{"description":"List Conversation Messages.\n\nContrast REST operation: `GET /v1/conversations/{conversation_id}/messages`.\n\nRequired parameters: `conversation_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_list_conversation_messages","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"title":"Conversation Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":200,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConversationMessageResponse"},"title":"Response Conversations List Conversation Messages","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Conversation Messages","tags":["conversations"]}},"/v1/conversations/{conversation_id}/queries":{"get":{"description":"List Conversation Queries.\n\nContrast REST operation: `GET /v1/conversations/{conversation_id}/queries`.\n\nRequired parameters: `conversation_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_list_conversation_queries","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"title":"Conversation Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"include_details","required":false,"schema":{"default":true,"title":"Include Details","type":"boolean"}},{"in":"query","name":"include_rows","required":false,"schema":{"default":true,"title":"Include Rows","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueryHistoryItemResponse"},"title":"Response Conversations List Conversation Queries","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Conversation Queries","tags":["conversations"]}},"/v1/conversations/{conversation_id}/shares":{"post":{"description":"Create Conversation Share.\n\nContrast REST operation: `POST /v1/conversations/{conversation_id}/shares`.\n\nRequired parameters: `conversation_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_create_conversation_share","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationShareRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationShareResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Conversation Share","tags":["conversations"]}},"/v1/conversations/{conversation_id}/state":{"get":{"description":"Get Conversation State.\n\nContrast REST operation: `GET /v1/conversations/{conversation_id}/state`.\n\nRequired parameters: `conversation_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_get_conversation_state","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"title":"Conversation Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"since_revision","required":false,"schema":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Since Revision"}},{"in":"query","name":"after_sequence","required":false,"schema":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"After Sequence"}},{"in":"query","name":"query_limit","required":false,"schema":{"default":12,"maximum":25,"minimum":1,"title":"Query Limit","type":"integer"}},{"in":"query","name":"event_limit","required":false,"schema":{"default":24,"maximum":100,"minimum":1,"title":"Event Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationStateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Conversation State","tags":["conversations"]}},"/v1/coworker-profile":{"get":{"description":"Get Coworker Profile.\n\nContrast REST operation: `GET /v1/coworker-profile`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"coworker_profile_get_coworker_profile","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit_per_family","required":false,"schema":{"default":8,"maximum":25,"minimum":1,"title":"Limit Per Family","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerProfileResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Coworker Profile","tags":["coworker-profile"]}},"/v1/coworker-profile/draft":{"post":{"description":"Contrast's guess at the caller's profile, held as pending suggestions until they confirm it.","operationId":"coworker_profile_draft_coworker_profile","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerProfileDraftRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerProfileDraftResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Draft Coworker Profile","tags":["coworker-profile"]}},"/v1/coworker-profile/draft/confirm":{"post":{"description":"Save the listed draft entries to the caller's personal profile in one step.","operationId":"coworker_profile_confirm_coworker_profile_draft","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerProfileDraftConfirmRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerProfileResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Confirm Coworker Profile Draft","tags":["coworker-profile"]}},"/v1/dashboard-platform/catalog":{"get":{"description":"Get Catalog Dashboard Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/catalog`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_catalog_dashboard_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"include_columns","required":false,"schema":{"default":true,"title":"Include Columns","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Catalog Dashboard Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Dashboard Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/catalog/autocomplete":{"get":{"description":"Get Catalog Autocomplete Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/catalog/autocomplete`.\n\nRequired parameters: `workspace_id` (query), `connector_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_catalog_autocomplete_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"minLength":1,"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Catalog Autocomplete Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Autocomplete Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/catalog/column-search":{"get":{"description":"Get Catalog Column Search Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/catalog/column-search`.\n\nRequired parameters: `workspace_id` (query), `query` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_catalog_column_search_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"query","required":true,"schema":{"maxLength":200,"minLength":1,"title":"Query","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":200,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Catalog Column Search Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Column Search Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/catalog/table-detail":{"get":{"description":"Get Catalog Table Detail Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/catalog/table-detail`.\n\nRequired parameters: `workspace_id` (query), `connector_id` (query), `schema_name` (query), `table_name` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_catalog_table_detail_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"minLength":1,"title":"Connector Id","type":"string"}},{"in":"query","name":"schema_name","required":true,"schema":{"minLength":1,"title":"Schema Name","type":"string"}},{"in":"query","name":"table_name","required":true,"schema":{"minLength":1,"title":"Table Name","type":"string"}},{"in":"query","name":"catalog_name","required":false,"schema":{"default":"default","title":"Catalog Name","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Catalog Table Detail Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Catalog Table Detail Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/connect":{"get":{"description":"Get Connect Dashboard Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/connect`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_connect_dashboard_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Connect Dashboard Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Connect Dashboard Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/context-command-center":{"get":{"description":"Get Context Command Center Data.\n\nContrast REST operation: `GET /v1/dashboard-platform/context-command-center`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_context_command_center_data","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Context Command Center Data","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Context Command Center Data","tags":["dashboard-platform"]}},"/v1/dashboard-platform/context-command-center/progress":{"get":{"description":"Get Context Command Center Progress.\n\nContrast REST operation: `GET /v1/dashboard-platform/context-command-center/progress`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"dashboard_platform_get_context_command_center_progress","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Dashboard Platform Get Context Command Center Progress","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Context Command Center Progress","tags":["dashboard-platform"]}},"/v1/data-contracts":{"get":{"description":"List Contracts.\n\nContrast REST operation: `GET /v1/data-contracts`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_list_contracts","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Contracts","tags":["data-contracts"]},"post":{"description":"Create Contract Version.\n\nContrast REST operation: `POST /v1/data-contracts`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_create_contract_version","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractVersionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Contract Version","tags":["data-contracts"]}},"/v1/data-contracts/import":{"post":{"description":"Import Contract Yaml.\n\nContrast REST operation: `POST /v1/data-contracts/import`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_import_contract_yaml","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractYamlImportRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Import Contract Yaml","tags":["data-contracts"]}},"/v1/data-contracts/verification-runs/{run_id}":{"get":{"description":"Get Verification Run.\n\nContrast REST operation: `GET /v1/data-contracts/verification-runs/{run_id}`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_get_verification_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Verification Run","tags":["data-contracts"]}},"/v1/data-contracts/{contract_id}":{"delete":{"description":"Archive Contract.\n\nContrast REST operation: `DELETE /v1/data-contracts/{contract_id}`.\n\nRequired parameters: `contract_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_archive_contract","parameters":[{"in":"path","name":"contract_id","required":true,"schema":{"title":"Contract Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Archive Contract","tags":["data-contracts"]},"get":{"description":"Get Contract.\n\nContrast REST operation: `GET /v1/data-contracts/{contract_id}`.\n\nRequired parameters: `contract_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_get_contract","parameters":[{"in":"path","name":"contract_id","required":true,"schema":{"title":"Contract Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"version_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Contract","tags":["data-contracts"]}},"/v1/data-contracts/{contract_id}/activate":{"post":{"description":"Activate Contract Version.\n\nContrast REST operation: `POST /v1/data-contracts/{contract_id}/activate`.\n\nRequired parameters: `contract_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_activate_contract_version","parameters":[{"in":"path","name":"contract_id","required":true,"schema":{"title":"Contract Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractActivationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Activate Contract Version","tags":["data-contracts"]}},"/v1/data-contracts/{contract_id}/export":{"get":{"description":"Export Contract.\n\nContrast REST operation: `GET /v1/data-contracts/{contract_id}/export`.\n\nRequired parameters: `contract_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_export_contract","parameters":[{"in":"path","name":"contract_id","required":true,"schema":{"title":"Contract Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"format","required":false,"schema":{"default":"native","enum":["native","soda"],"title":"Format","type":"string"}},{"in":"query","name":"version_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Export Contract","tags":["data-contracts"]}},"/v1/data-contracts/{contract_id}/verify":{"post":{"description":"Verify Contract.\n\nContrast REST operation: `POST /v1/data-contracts/{contract_id}/verify`.\n\nRequired parameters: `contract_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_contracts_verify_contract","parameters":[{"in":"path","name":"contract_id","required":true,"schema":{"title":"Contract Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractVerificationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Verify Contract","tags":["data-contracts"]}},"/v1/data-products":{"get":{"description":"List Data Products.\n\nContrast REST operation: `GET /v1/data-products`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_products_list_data_products","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Data Products","tags":["data-products"]},"post":{"description":"Create Data Product.\n\nContrast REST operation: `POST /v1/data-products`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_products_create_data_product","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductUpsertRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProduct"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Data Product","tags":["data-products"]}},"/v1/data-products/slack-channels":{"get":{"description":"List Data Product Slack Channels.\n\nContrast REST operation: `GET /v1/data-products/slack-channels`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_products_list_data_product_slack_channels","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductSlackChannelsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Data Product Slack Channels","tags":["data-products"]}},"/v1/data-products/{data_product_id}":{"delete":{"description":"Delete Data Product.\n\nContrast REST operation: `DELETE /v1/data-products/{data_product_id}`.\n\nRequired parameters: `data_product_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_products_delete_data_product","parameters":[{"in":"path","name":"data_product_id","required":true,"schema":{"title":"Data Product Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductDeleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Data Product","tags":["data-products"]},"put":{"description":"Update Data Product.\n\nContrast REST operation: `PUT /v1/data-products/{data_product_id}`.\n\nRequired parameters: `data_product_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_products_update_data_product","parameters":[{"in":"path","name":"data_product_id","required":true,"schema":{"title":"Data Product Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProductUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataProduct"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Data Product","tags":["data-products"]}},"/v1/directory/changes/{change_id}":{"get":{"description":"Get Directory Changes.\n\nContrast REST operation: `GET /v1/directory/changes/{change_id}`.\n\nRequired parameters: `change_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_get_directory_changes","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Get Directory Changes","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Directory Changes","tags":["directory"]}},"/v1/directory/changes/{change_id}/approve":{"post":{"description":"Approve Directory Changes.\n\nContrast REST operation: `POST /v1/directory/changes/{change_id}/approve`.\n\nRequired parameters: `change_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_approve_directory_changes","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryReviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Approve Directory Changes","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Approve Directory Changes","tags":["directory"]}},"/v1/directory/changes/{change_id}/reject":{"post":{"description":"Reject Directory Changes.\n\nContrast REST operation: `POST /v1/directory/changes/{change_id}/reject`.\n\nRequired parameters: `change_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_reject_directory_changes","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryReviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Reject Directory Changes","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reject Directory Changes","tags":["directory"]}},"/v1/directory/disconnect":{"post":{"description":"Disconnect Directory.\n\nContrast REST operation: `POST /v1/directory/disconnect`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_disconnect_directory","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryDisconnectRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Disconnect Directory","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Disconnect Directory","tags":["directory"]}},"/v1/directory/entra":{"delete":{"description":"Disconnect Entra Directory Route.\n\nContrast REST operation: `DELETE /v1/directory/entra`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_disconnect_entra_directory_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorySyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Disconnect Entra Directory Route","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Disconnect Entra Directory Route","tags":["directory"]}},"/v1/directory/entra/connect":{"post":{"description":"Connect Entra Directory.\n\nContrast REST operation: `POST /v1/directory/entra/connect`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_connect_entra_directory","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntraDirectoryConnectRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Connect Entra Directory","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Connect Entra Directory","tags":["directory"]}},"/v1/directory/entra/sync":{"post":{"description":"Sync Entra Directory Route.\n\nContrast REST operation: `POST /v1/directory/entra/sync`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_sync_entra_directory_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorySyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Sync Entra Directory Route","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Entra Directory Route","tags":["directory"]}},"/v1/directory/google/callback":{"get":{"description":"Google Directory Oauth Callback.\n\nContrast REST operation: `GET /v1/directory/google/callback`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_google_directory_oauth_callback","parameters":[{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"state","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"in":"query","name":"error","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Google Directory Oauth Callback","tags":["directory"]}},"/v1/directory/google/start":{"post":{"description":"Start Google Directory Oauth.\n\nContrast REST operation: `POST /v1/directory/google/start`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_start_google_directory_oauth","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleDirectoryStartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"title":"Response Directory Start Google Directory Oauth","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Google Directory Oauth","tags":["directory"]}},"/v1/directory/groups":{"get":{"description":"List Directory Groups.\n\nContrast REST operation: `GET /v1/directory/groups`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_list_directory_groups","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory List Directory Groups","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Directory Groups","tags":["directory"]}},"/v1/directory/groups/{group_id}/role":{"put":{"description":"Update Directory Group Role.\n\nContrast REST operation: `PUT /v1/directory/groups/{group_id}/role`.\n\nRequired parameters: `group_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_update_directory_group_role","parameters":[{"in":"path","name":"group_id","required":true,"schema":{"title":"Group Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryGroupRoleRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Update Directory Group Role","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Directory Group Role","tags":["directory"]}},"/v1/directory/settings":{"put":{"description":"Update Directory Settings.\n\nContrast REST operation: `PUT /v1/directory/settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_update_directory_settings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorySettingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Update Directory Settings","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Directory Settings","tags":["directory"]}},"/v1/directory/status":{"get":{"description":"Get Directory Status.\n\nContrast REST operation: `GET /v1/directory/status`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_get_directory_status","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Get Directory Status","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Directory Status","tags":["directory"]}},"/v1/directory/sync":{"post":{"description":"Sync Directory.\n\nContrast REST operation: `POST /v1/directory/sync`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_sync_directory","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorySyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Sync Directory","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Directory","tags":["directory"]}},"/v1/directory/users/{directory_user_id}/management":{"put":{"description":"Update Directory User Management.\n\nContrast REST operation: `PUT /v1/directory/users/{directory_user_id}/management`.\n\nRequired parameters: `directory_user_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"directory_update_directory_user_management","parameters":[{"in":"path","name":"directory_user_id","required":true,"schema":{"title":"Directory User Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUserManagementRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Directory Update Directory User Management","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Directory User Management","tags":["directory"]}},"/v1/email-preferences":{"get":{"description":"Get Email Preferences.\n\nContrast REST operation: `GET /v1/email-preferences`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"email_preferences_get_email_preferences","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailPreferencesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Email Preferences","tags":["email-preferences"]},"put":{"description":"Update Email Preference.\n\nContrast REST operation: `PUT /v1/email-preferences`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"email_preferences_update_email_preference","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailPreferenceUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailPreferencesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Email Preference","tags":["email-preferences"]}},"/v1/email-preferences/token":{"get":{"description":"Get Email Token Preference.\n\nContrast REST operation: `GET /v1/email-preferences/token`.\n\nRequired parameters: `token` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"email_preferences_get_email_token_preference","parameters":[{"in":"query","name":"token","required":true,"schema":{"maxLength":2048,"minLength":1,"title":"Token","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTokenPreferenceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Email Token Preference","tags":["email-preferences"]},"post":{"description":"Update Email Token Preference.\n\nContrast REST operation: `POST /v1/email-preferences/token`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"email_preferences_update_email_token_preference","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTokenPreferenceUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTokenPreferenceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Email Token Preference","tags":["email-preferences"]}},"/v1/fivetran/configs":{"get":{"description":"List Configs.\n\nContrast REST operation: `GET /v1/fivetran/configs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_list_configs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Configs","tags":["fivetran"]},"post":{"description":"Save Config.\n\nContrast REST operation: `POST /v1/fivetran/configs`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_save_config","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FivetranConfigRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Config","tags":["fivetran"]}},"/v1/fivetran/configs/{config_id}":{"delete":{"description":"Delete Config.\n\nContrast REST operation: `DELETE /v1/fivetran/configs/{config_id}`.\n\nRequired parameters: `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_delete_config","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Config","tags":["fivetran"]}},"/v1/fivetran/configs/{config_id}/connectors":{"get":{"description":"List Connectors.\n\nContrast REST operation: `GET /v1/fivetran/configs/{config_id}/connectors`.\n\nRequired parameters: `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_list_connectors","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Connectors","tags":["fivetran"]}},"/v1/fivetran/configs/{config_id}/mappings":{"put":{"description":"Save Mappings.\n\nContrast REST operation: `PUT /v1/fivetran/configs/{config_id}/mappings`.\n\nRequired parameters: `config_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_save_mappings","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FivetranMappingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Mappings","tags":["fivetran"]}},"/v1/fivetran/configs/{config_id}/sync":{"post":{"description":"Sync Now.\n\nContrast REST operation: `POST /v1/fivetran/configs/{config_id}/sync`.\n\nRequired parameters: `config_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_sync_now","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FivetranSyncRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Now","tags":["fivetran"]}},"/v1/fivetran/configs/{config_id}/validate":{"post":{"description":"Validate Config.\n\nContrast REST operation: `POST /v1/fivetran/configs/{config_id}/validate`.\n\nRequired parameters: `config_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"fivetran_validate_config","parameters":[{"in":"path","name":"config_id","required":true,"schema":{"title":"Config Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Validate Config","tags":["fivetran"]}},"/v1/governance/answers/{request_id}/trust-report":{"get":{"description":"Get Answer Trust Report.\n\nContrast REST operation: `GET /v1/governance/answers/{request_id}/trust-report`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_get_answer_trust_report","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceTrustReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Answer Trust Report","tags":["governance"]}},"/v1/governance/approvals":{"get":{"description":"List Governance Approvals.\n\nContrast REST operation: `GET /v1/governance/approvals`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_list_governance_approvals","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceApprovalsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Governance Approvals","tags":["governance"]}},"/v1/governance/policies":{"get":{"description":"List Governance Policies.\n\nContrast REST operation: `GET /v1/governance/policies`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_list_governance_policies","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"include_disabled","required":false,"schema":{"default":true,"title":"Include Disabled","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GovernancePolicyResponse"},"title":"Response Governance List Governance Policies","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Governance Policies","tags":["governance"]},"post":{"description":"Create Governance Policy.\n\nContrast REST operation: `POST /v1/governance/policies`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_create_governance_policy","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGovernancePolicyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernancePolicyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Governance Policy","tags":["governance"]}},"/v1/governance/policies/simulate":{"post":{"description":"Simulate Governance Policy.\n\nContrast REST operation: `POST /v1/governance/policies/simulate`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_simulate_governance_policy","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernancePolicySimulationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernancePolicySimulationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Simulate Governance Policy","tags":["governance"]}},"/v1/governance/policies/{policy_id}":{"patch":{"description":"Update Governance Policy.\n\nContrast REST operation: `PATCH /v1/governance/policies/{policy_id}`.\n\nRequired parameters: `policy_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_update_governance_policy","parameters":[{"in":"path","name":"policy_id","required":true,"schema":{"title":"Policy Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGovernancePolicyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernancePolicyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Governance Policy","tags":["governance"]}},"/v1/governance/principals":{"get":{"description":"List Governance Principals.\n\nContrast REST operation: `GET /v1/governance/principals`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_list_governance_principals","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernancePrincipalsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Governance Principals","tags":["governance"]}},"/v1/governance/reveal":{"post":{"description":"Reveal Masked Governed Value.\n\nContrast REST operation: `POST /v1/governance/reveal`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_reveal_masked_governed_value","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceRevealRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceRevealResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reveal Masked Governed Value","tags":["governance"]}},"/v1/governance/settings":{"get":{"description":"Get Governance Settings.\n\nContrast REST operation: `GET /v1/governance/settings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_get_governance_settings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Governance Settings","tags":["governance"]},"patch":{"description":"Update Governance Settings.\n\nContrast REST operation: `PATCH /v1/governance/settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_update_governance_settings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGovernanceSettingsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceSettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Governance Settings","tags":["governance"]}},"/v1/governance/summary":{"get":{"description":"Get Governance Summary.\n\nContrast REST operation: `GET /v1/governance/summary`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"governance_get_governance_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernanceSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Governance Summary","tags":["governance"]}},"/v1/insights/ambient/delta-sweep":{"post":{"description":"Sweep Context Delta Insight Missions.\n\nContrast REST operation: `POST /v1/insights/ambient/delta-sweep`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_sweep_context_delta_insight_missions","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":5,"maximum":5,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"x-contrast-worker-secret","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Worker-Secret"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sweep Context Delta Insight Missions","tags":["insights"]}},"/v1/insights/ambient/latest":{"get":{"description":"Get Latest Ambient Findings.\n\nContrast REST operation: `GET /v1/insights/ambient/latest`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_latest_ambient_findings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"within_hours","required":false,"schema":{"default":36,"title":"Within Hours","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Latest Ambient Findings","tags":["insights"]}},"/v1/insights/ambient/sweep":{"post":{"description":"Sweep Insight Missions.\n\nContrast REST operation: `POST /v1/insights/ambient/sweep`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_sweep_insight_missions","parameters":[{"in":"header","name":"x-contrast-worker-secret","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Worker-Secret"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmbientInsightSweepRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sweep Insight Missions","tags":["insights"]}},"/v1/insights/autonomy/policies":{"get":{"description":"List Autonomy Policies.\n\nContrast REST operation: `GET /v1/insights/autonomy/policies`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_list_autonomy_policies","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutonomyPoliciesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Autonomy Policies","tags":["insights"]},"post":{"description":"Create Autonomy Policy.\n\nContrast REST operation: `POST /v1/insights/autonomy/policies`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_create_autonomy_policy","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutonomyPolicyCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutonomyPolicyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Autonomy Policy","tags":["insights"]}},"/v1/insights/autonomy/policies/{policy_id}":{"delete":{"description":"Delete Autonomy Policy.\n\nContrast REST operation: `DELETE /v1/insights/autonomy/policies/{policy_id}`.\n\nRequired parameters: `policy_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_delete_autonomy_policy","parameters":[{"in":"path","name":"policy_id","required":true,"schema":{"title":"Policy Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Autonomy Policy","tags":["insights"]},"put":{"description":"Update Autonomy Policy.\n\nContrast REST operation: `PUT /v1/insights/autonomy/policies/{policy_id}`.\n\nRequired parameters: `policy_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_update_autonomy_policy","parameters":[{"in":"path","name":"policy_id","required":true,"schema":{"title":"Policy Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutonomyPolicyUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutonomyPolicyResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Autonomy Policy","tags":["insights"]}},"/v1/insights/autonomy/process":{"post":{"description":"Process Autonomy Triggers.\n\nContrast REST operation: `POST /v1/insights/autonomy/process`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_process_autonomy_triggers","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":5,"maximum":5,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"x-contrast-worker-secret","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Worker-Secret"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Process Autonomy Triggers","tags":["insights"]}},"/v1/insights/autonomy/triggers":{"get":{"description":"List Autonomy Triggers.\n\nContrast REST operation: `GET /v1/insights/autonomy/triggers`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_list_autonomy_triggers","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissionTriggersResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Autonomy Triggers","tags":["insights"]}},"/v1/insights/brief":{"get":{"description":"Get Coworker Brief.\n\nContrast REST operation: `GET /v1/insights/brief`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_coworker_brief","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"within_hours","required":false,"schema":{"default":36,"maximum":168,"minimum":1,"title":"Within Hours","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":8,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_pending","required":false,"schema":{"default":false,"title":"Include Pending","type":"boolean"}},{"in":"query","name":"home_only","required":false,"schema":{"default":false,"title":"Home Only","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerBriefResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Coworker Brief","tags":["insights"]}},"/v1/insights/brief/count":{"get":{"description":"Get Coworker Brief Count.\n\nContrast REST operation: `GET /v1/insights/brief/count`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_coworker_brief_count","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"within_hours","required":false,"schema":{"default":36,"maximum":168,"minimum":1,"title":"Within Hours","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":8,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoworkerBriefCountResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Coworker Brief Count","tags":["insights"]}},"/v1/insights/delivery-settings":{"get":{"description":"Get Insight Delivery Settings.\n\nContrast REST operation: `GET /v1/insights/delivery-settings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_insight_delivery_settings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightDeliverySettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Insight Delivery Settings","tags":["insights"]},"put":{"description":"Update Insight Delivery Settings.\n\nContrast REST operation: `PUT /v1/insights/delivery-settings`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_update_insight_delivery_settings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightDeliverySettingsUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightDeliverySettingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Insight Delivery Settings","tags":["insights"]}},"/v1/insights/digest/process-due":{"post":{"description":"Process Due Insight Digests.\n\nContrast REST operation: `POST /v1/insights/digest/process-due`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_process_due_insight_digests","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"x-contrast-worker-secret","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Worker-Secret"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Process Due Insight Digests","tags":["insights"]}},"/v1/insights/discovery":{"post":{"description":"Create Insight Discovery.\n\nContrast REST operation: `POST /v1/insights/discovery`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_create_insight_discovery","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightDiscoveryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightDiscoveryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Insight Discovery","tags":["insights"]}},"/v1/insights/findings":{"get":{"description":"Earlier insights for the Insights page, newest first.","operationId":"insights_list_insight_history","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightHistoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Insight History","tags":["insights"]}},"/v1/insights/findings/{finding_id}":{"get":{"description":"Get Insight Finding Detail.\n\nContrast REST operation: `GET /v1/insights/findings/{finding_id}`.\n\nRequired parameters: `finding_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_insight_finding_detail","parameters":[{"in":"path","name":"finding_id","required":true,"schema":{"title":"Finding Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"view","required":false,"schema":{"default":"full","enum":["full","reader"],"title":"View","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFindingResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Insight Finding Detail","tags":["insights"]}},"/v1/insights/findings/{finding_id}/feedback":{"post":{"description":"Create Insight Finding Feedback.\n\nContrast REST operation: `POST /v1/insights/findings/{finding_id}/feedback`.\n\nRequired parameters: `finding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_create_insight_finding_feedback","parameters":[{"in":"path","name":"finding_id","required":true,"schema":{"title":"Finding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFindingFeedbackRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFindingFeedbackResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Insight Finding Feedback","tags":["insights"]}},"/v1/insights/proactive":{"get":{"description":"List Proactive Insights.\n\nContrast REST operation: `GET /v1/insights/proactive`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_list_proactive_insights","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":6,"maximum":12,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProactiveInsightsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Proactive Insights","tags":["insights"]}},"/v1/insights/runs":{"get":{"description":"List Insight Runs.\n\nContrast REST operation: `GET /v1/insights/runs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_list_insight_runs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Insight Runs","tags":["insights"]},"post":{"description":"Create Insight Run.\n\nContrast REST operation: `POST /v1/insights/runs`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_create_insight_run","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunCreateRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunCreateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Insight Run","tags":["insights"]}},"/v1/insights/runs/{run_id}":{"delete":{"description":"Delete Insight Run.\n\nContrast REST operation: `DELETE /v1/insights/runs/{run_id}`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_delete_insight_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Insight Run","tags":["insights"]},"get":{"description":"Get Insight Run.\n\nContrast REST operation: `GET /v1/insights/runs/{run_id}`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_insight_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"include_execution_details","required":false,"schema":{"default":false,"title":"Include Execution Details","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Insight Run","tags":["insights"]},"patch":{"description":"Update Insight Run.\n\nContrast REST operation: `PATCH /v1/insights/runs/{run_id}`.\n\nRequired parameters: `run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_update_insight_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Insight Run","tags":["insights"]}},"/v1/insights/runs/{run_id}/state":{"get":{"description":"Get Insight Run State.\n\nContrast REST operation: `GET /v1/insights/runs/{run_id}/state`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_get_insight_run_state","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightRunStateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Insight Run State","tags":["insights"]}},"/v1/insights/runs/{run_id}/tick":{"post":{"description":"Tick Insight Run.\n\nContrast REST operation: `POST /v1/insights/runs/{run_id}/tick`.\n\nRequired parameters: `run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"insights_tick_insight_run","parameters":[{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunTickResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Tick Insight Run","tags":["insights"]}},"/v1/investigations":{"post":{"description":"Create Investigation.\n\nContrast REST operation: `POST /v1/investigations`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"investigations_create_investigation","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestigationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestigationBundle"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Investigation","tags":["investigations"]}},"/v1/memories":{"get":{"description":"List Memories.\n\nContrast REST operation: `GET /v1/memories`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_list_memories_2","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"anyOf":[{"enum":["personal","team","workspace"],"type":"string"},{"type":"null"}],"title":"Scope"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentMemoryResponse"},"title":"Response Memories List Memories 2","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Memories","tags":["memories"]},"post":{"description":"Create Memory.\n\nContrast REST operation: `POST /v1/memories`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_create_memory_2","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Memory","tags":["memories"]}},"/v1/memories/embeddings/reindex":{"post":{"description":"Reindex Memory Embeddings.\n\nContrast REST operation: `POST /v1/memories/embeddings/reindex`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_reindex_memory_embeddings","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryEmbeddingReindexRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryEmbeddingReindexResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reindex Memory Embeddings","tags":["memories"]}},"/v1/memories/{memory_id}":{"delete":{"description":"Delete Memory.\n\nContrast REST operation: `DELETE /v1/memories/{memory_id}`.\n\nRequired parameters: `memory_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_delete_memory_2","parameters":[{"in":"path","name":"memory_id","required":true,"schema":{"title":"Memory Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Memory","tags":["memories"]},"patch":{"description":"Update Memory.\n\nContrast REST operation: `PATCH /v1/memories/{memory_id}`.\n\nRequired parameters: `memory_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_update_memory_2","parameters":[{"in":"path","name":"memory_id","required":true,"schema":{"title":"Memory Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Memory","tags":["memories"]}},"/v1/memory-candidates":{"get":{"description":"List Memory Candidates.\n\nContrast REST operation: `GET /v1/memory-candidates`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_candidates_list_memory_candidates","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"enum":["pending","approved","rejected","dismissed","superseded"],"type":"string"},{"type":"null"}],"default":"pending","title":"Status"}},{"in":"query","name":"target_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"}},{"in":"query","name":"target_key","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Key"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentMemoryCandidateResponse"},"title":"Response Memory Candidates List Memory Candidates","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Memory Candidates","tags":["memory-candidates"]}},"/v1/memory-candidates/generate":{"post":{"description":"Generate Candidates.\n\nContrast REST operation: `POST /v1/memory-candidates/generate`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_candidates_generate_candidates","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryCandidateGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentMemoryCandidateResponse"},"title":"Response Memory Candidates Generate Candidates","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Generate Candidates","tags":["memory-candidates"]}},"/v1/memory-candidates/{candidate_id}/approve":{"post":{"description":"Approve Memory Candidate.\n\nContrast REST operation: `POST /v1/memory-candidates/{candidate_id}/approve`.\n\nRequired parameters: `candidate_id` (path), `workspace_id` (query).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_candidates_approve_memory_candidate","parameters":[{"in":"path","name":"candidate_id","required":true,"schema":{"title":"Candidate Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryCandidateApproveRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Approve Memory Candidate","tags":["memory-candidates"]}},"/v1/memory-candidates/{candidate_id}/reject":{"post":{"description":"Reject Memory Candidate.\n\nContrast REST operation: `POST /v1/memory-candidates/{candidate_id}/reject`.\n\nRequired parameters: `candidate_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_candidates_reject_memory_candidate","parameters":[{"in":"path","name":"candidate_id","required":true,"schema":{"title":"Candidate Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryCandidateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reject Memory Candidate","tags":["memory-candidates"]}},"/v1/memory-dreams/items":{"get":{"description":"List Dream Items.\n\nContrast REST operation: `GET /v1/memory-dreams/items`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_dreams_list_dream_items","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"run_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"pattern":"^(pending|auto_saved|queued|applied|dismissed|superseded|failed)$","type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"item_kind","required":false,"schema":{"anyOf":[{"pattern":"^(memory|semantic_context|catalog_annotation)$","type":"string"},{"type":"null"}],"title":"Item Kind"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemoryDreamItemResponse"},"title":"Response Memory Dreams List Dream Items","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Dream Items","tags":["memory-dreams"]}},"/v1/memory-dreams/items/{item_id}/dismiss":{"post":{"description":"Dismiss Dream Item.\n\nContrast REST operation: `POST /v1/memory-dreams/items/{item_id}/dismiss`.\n\nRequired parameters: `item_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_dreams_dismiss_dream_item","parameters":[{"in":"path","name":"item_id","required":true,"schema":{"title":"Item Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryDreamItemDismissResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dismiss Dream Item","tags":["memory-dreams"]}},"/v1/memory-dreams/run":{"post":{"description":"Run Dream.\n\nContrast REST operation: `POST /v1/memory-dreams/run`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_dreams_run_dream","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryDreamRunRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryDreamRunResultResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Dream","tags":["memory-dreams"]}},"/v1/memory-dreams/runs":{"get":{"description":"List Dream Runs.\n\nContrast REST operation: `GET /v1/memory-dreams/runs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_dreams_list_dream_runs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"pattern":"^(queued|running|completed|failed)$","type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemoryDreamRunResponse"},"title":"Response Memory Dreams List Dream Runs","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Dream Runs","tags":["memory-dreams"]}},"/v1/memory-summary":{"get":{"description":"Get Memory Summary.\n\nContrast REST operation: `GET /v1/memory-summary`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memory_dreams_get_memory_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemorySummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Memory Summary","tags":["memory-dreams"]}},"/v1/notebooks":{"get":{"description":"List Notebooks.\n\nContrast REST operation: `GET /v1/notebooks`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_list_notebooks","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_archived","required":false,"schema":{"default":false,"title":"Include Archived","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NotebookResponse"},"title":"Response Notebooks List Notebooks","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Notebooks","tags":["notebooks"]},"post":{"description":"Create Notebook.\n\nContrast REST operation: `POST /v1/notebooks`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_create_notebook","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Notebook","tags":["notebooks"]}},"/v1/notebooks/{notebook_id}":{"delete":{"description":"Archive Notebook.\n\nContrast REST operation: `DELETE /v1/notebooks/{notebook_id}`.\n\nRequired parameters: `notebook_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_archive_notebook","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Archive Notebook","tags":["notebooks"]},"get":{"description":"Get Notebook.\n\nContrast REST operation: `GET /v1/notebooks/{notebook_id}`.\n\nRequired parameters: `notebook_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_get_notebook","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Notebook","tags":["notebooks"]},"patch":{"description":"Update Notebook.\n\nContrast REST operation: `PATCH /v1/notebooks/{notebook_id}`.\n\nRequired parameters: `notebook_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_update_notebook","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNotebookRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Notebook","tags":["notebooks"]}},"/v1/notebooks/{notebook_id}/execute-cell":{"post":{"description":"Execute Notebook Cell.\n\nContrast REST operation: `POST /v1/notebooks/{notebook_id}/execute-cell`.\n\nRequired parameters: `notebook_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_execute_notebook_cell","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookCellExecutionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookCellExecutionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Execute Notebook Cell","tags":["notebooks"]}},"/v1/notebooks/{notebook_id}/export":{"post":{"description":"Export Notebook.\n\nContrast REST operation: `POST /v1/notebooks/{notebook_id}/export`.\n\nRequired parameters: `notebook_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_export_notebook","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookExportRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookExportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Export Notebook","tags":["notebooks"]}},"/v1/notebooks/{notebook_id}/versions":{"get":{"description":"List Notebook Versions.\n\nContrast REST operation: `GET /v1/notebooks/{notebook_id}/versions`.\n\nRequired parameters: `notebook_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_list_notebook_versions","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NotebookVersionResponse"},"title":"Response Notebooks List Notebook Versions","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Notebook Versions","tags":["notebooks"]},"post":{"description":"Create Notebook Version.\n\nContrast REST operation: `POST /v1/notebooks/{notebook_id}/versions`.\n\nRequired parameters: `notebook_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"notebooks_create_notebook_version","parameters":[{"in":"path","name":"notebook_id","required":true,"schema":{"title":"Notebook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookVersionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookVersionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Notebook Version","tags":["notebooks"]}},"/v1/oauth/workspaces/{workspace_id}/jwks.json":{"get":{"description":"Unauthenticated JWKS of every enabled federation public key in a\nworkspace, so a warehouse's external OAuth server can verify minted tokens.","operationId":"connectors_get_workspace_identity_federation_jwks","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Workspace Identity Federation Jwks","tags":["connectors"]}},"/v1/overview/attention":{"get":{"description":"Get Overview Attention.\n\nContrast REST operation: `GET /v1/overview/attention`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"overview_get_overview_attention","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":5,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"include_posture","required":false,"schema":{"default":true,"title":"Include Posture","type":"boolean"}},{"in":"query","name":"include_cards","required":false,"schema":{"default":false,"title":"Include Cards","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverviewAttentionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Overview Attention","tags":["overview"]}},"/v1/overview/feed-items/{event_id}/state":{"patch":{"description":"Update For You Feed Item State.\n\nContrast REST operation: `PATCH /v1/overview/feed-items/{event_id}/state`.\n\nRequired parameters: `event_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"overview_update_for_you_feed_item_state","parameters":[{"in":"path","name":"event_id","required":true,"schema":{"title":"Event Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForYouFeedItemStateUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForYouFeedItemStateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update For You Feed Item State","tags":["overview"]}},"/v1/overview/for-you":{"get":{"description":"Get For You.\n\nContrast REST operation: `GET /v1/overview/for-you`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"overview_get_for_you","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":8,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForYouResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get For You","tags":["overview"]}},"/v1/overview/trends":{"get":{"description":"Daily data stored and rows synced for the Home glance.","operationId":"overview_get_overview_trends","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"days","required":false,"schema":{"default":30,"maximum":90,"minimum":7,"title":"Days","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverviewTrendsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Overview Trends","tags":["overview"]}},"/v1/personas":{"get":{"description":"List Personas.\n\nContrast REST operation: `GET /v1/personas`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"personas_list_personas","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":500,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaDirectoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Personas","tags":["personas"]}},"/v1/personas/refresh":{"post":{"description":"Refresh Personas.\n\nContrast REST operation: `POST /v1/personas/refresh`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"personas_refresh_personas","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaRefreshRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaRefreshResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Refresh Personas","tags":["personas"]}},"/v1/personas/table-audience":{"get":{"description":"Get Persona Table Audience.\n\nContrast REST operation: `GET /v1/personas/table-audience`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"personas_get_persona_table_audience","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"relation_ref","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"catalog_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Name"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"query","name":"table_name","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaTableAudienceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Persona Table Audience","tags":["personas"]}},"/v1/personas/{user_id}":{"get":{"description":"Get Persona.\n\nContrast REST operation: `GET /v1/personas/{user_id}`.\n\nRequired parameters: `user_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"personas_get_persona","parameters":[{"in":"path","name":"user_id","required":true,"schema":{"title":"User Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"affinity_limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Affinity Limit","type":"integer"}},{"in":"query","name":"affinity_offset","required":false,"schema":{"default":0,"minimum":0,"title":"Affinity Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Persona","tags":["personas"]}},"/v1/quality/eval-fixtures":{"get":{"description":"List Eval Fixtures.\n\nContrast REST operation: `GET /v1/quality/eval-fixtures`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"quality_list_eval_fixtures","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EvalFixtureResponse"},"title":"Response Quality List Eval Fixtures","type":"array"}}},"description":"Successful Response"}},"summary":"List Eval Fixtures","tags":["quality"]}},"/v1/quality/observability":{"get":{"description":"Get Quality Observability.\n\nContrast REST operation: `GET /v1/quality/observability`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"quality_get_quality_observability","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"start_date","required":false,"schema":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Start Date"}},{"in":"query","name":"end_date","required":false,"schema":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"End Date"}},{"in":"query","name":"bucket","required":false,"schema":{"default":"day","pattern":"^(day|week)$","title":"Bucket","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"surface","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"compare","required":false,"schema":{"default":false,"title":"Compare","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityObservabilityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Quality Observability","tags":["quality"]}},"/v1/quality/query-requests/{request_id}":{"get":{"description":"Get Query Quality Report.\n\nContrast REST operation: `GET /v1/quality/query-requests/{request_id}`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"quality_get_query_quality_report","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryQualityReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Quality Report","tags":["quality"]}},"/v1/query-insights/analytics":{"get":{"description":"Get Query Analytics.\n\nContrast REST operation: `GET /v1/query-insights/analytics`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_insights_get_query_analytics","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"window","required":false,"schema":{"default":"30d","enum":["month_to_date","7d","30d","90d"],"title":"Window","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAnalyticsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Analytics","tags":["query-insights"]}},"/v1/query-insights/suggestions":{"get":{"description":"Get Query Suggestions.\n\nContrast REST operation: `GET /v1/query-insights/suggestions`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_insights_get_query_suggestions","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySuggestionFeedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Suggestions","tags":["query-insights"]}},"/v1/query-insights/suggestions/scan":{"post":{"description":"Scan Query Suggestions.\n\nContrast REST operation: `POST /v1/query-insights/suggestions/scan`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_insights_scan_query_suggestions","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySuggestionScanRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySuggestionScanResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Scan Query Suggestions","tags":["query-insights"]}},"/v1/query-insights/verification-candidates":{"get":{"description":"Get Query Verification Candidates.\n\nContrast REST operation: `GET /v1/query-insights/verification-candidates`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_insights_get_query_verification_candidates","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"maximum":25,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"within_days","required":false,"schema":{"default":30,"maximum":90,"minimum":7,"title":"Within Days","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryVerificationCandidateFeedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Verification Candidates","tags":["query-insights"]}},"/v1/query-request-events":{"get":{"description":"List Query Request Events.\n\nContrast REST operation: `GET /v1/query-request-events`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_list_query_request_events","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"conversation_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"in":"query","name":"request_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"query","name":"after_sequence","required":false,"schema":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"After Sequence"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueryRequestEventResponse"},"title":"Response Query List Query Request Events","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Query Request Events","tags":["query"]}},"/v1/query-requests":{"get":{"description":"List Query Requests.\n\nContrast REST operation: `GET /v1/query-requests`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_list_query_requests","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"conversation_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"title":"Offset","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"exclude_direct_sql","required":false,"schema":{"default":false,"title":"Exclude Direct Sql","type":"boolean"}},{"in":"query","name":"include_details","required":false,"schema":{"default":false,"title":"Include Details","type":"boolean"}},{"in":"query","name":"include_rows","required":false,"schema":{"default":false,"title":"Include Rows","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueryHistorySummaryResponse"},"title":"Response Query List Query Requests","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Query Requests","tags":["query"]}},"/v1/query-requests/activity":{"get":{"description":"Requests per day over the trailing window, counted like ``/query-requests`` without its status or search.","operationId":"query_query_request_activity","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"query","name":"exclude_direct_sql","required":false,"schema":{"default":false,"title":"Exclude Direct Sql","type":"boolean"}},{"in":"query","name":"days","required":false,"schema":{"default":14,"maximum":90,"minimum":1,"title":"Days","type":"integer"}},{"in":"query","name":"tz","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Tz"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestActivityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Query Request Activity","tags":["query"]}},"/v1/query-requests/{request_id}":{"get":{"description":"Get Query Request.\n\nContrast REST operation: `GET /v1/query-requests/{request_id}`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_get_query_request","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryHistoryItemResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Request","tags":["query"]}},"/v1/query-requests/{request_id}/debug":{"get":{"description":"Get Query Request Debug.\n\nContrast REST operation: `GET /v1/query-requests/{request_id}/debug`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_get_query_request_debug","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestDebugResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Request Debug","tags":["query"]}},"/v1/query-requests/{request_id}/detail":{"get":{"description":"Get Query Request Detail.\n\nContrast REST operation: `GET /v1/query-requests/{request_id}/detail`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_get_query_request_detail","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"mine","enum":["mine","workspace"],"title":"Scope","type":"string"}},{"in":"query","name":"include_debug","required":false,"schema":{"default":false,"title":"Include Debug","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Query Request Detail","tags":["query"]}},"/v1/query-requests/{request_id}/feedback":{"post":{"description":"Record Query Request Feedback.\n\nContrast REST operation: `POST /v1/query-requests/{request_id}/feedback`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_record_query_request_feedback","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestFeedbackRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestFeedbackResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Record Query Request Feedback","tags":["query"]}},"/v1/query-requests/{request_id}/result-capsule":{"post":{"description":"Promote Query Request Result Capsule.\n\nContrast REST operation: `POST /v1/query-requests/{request_id}/result-capsule`.\n\nRequired parameters: `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_promote_query_request_result_capsule","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCapsulePromoteRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCapsulePromoteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Promote Query Request Result Capsule","tags":["query"]}},"/v1/query/sql":{"post":{"description":"Run Sql Query.\n\nContrast REST operation: `POST /v1/query/sql`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_run_sql_query","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySqlRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySqlResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Sql Query","tags":["query"]}},"/v1/result-capsules":{"get":{"description":"List Result Capsules.\n\nContrast REST operation: `GET /v1/result-capsules`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_list_result_capsules","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCapsuleListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Result Capsules","tags":["query"]}},"/v1/result-capsules/{capsule_id}/status":{"post":{"description":"Update Result Capsule Status.\n\nContrast REST operation: `POST /v1/result-capsules/{capsule_id}/status`.\n\nRequired parameters: `capsule_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_update_result_capsule_status","parameters":[{"in":"path","name":"capsule_id","required":true,"schema":{"title":"Capsule Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCapsuleStatusUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCapsuleStatusUpdateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Result Capsule Status","tags":["query"]}},"/v1/schema-changes":{"get":{"description":"List Schema Changes.\n\nContrast REST operation: `GET /v1/schema-changes`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_list_schema_changes","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"relation_ref","required":false,"schema":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Relation Ref"}},{"in":"query","name":"severity","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"in":"query","name":"acknowledged","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acknowledged"}},{"in":"query","name":"actionable_only","required":false,"schema":{"default":false,"title":"Actionable Only","type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Schema Changes","tags":["schema-changes"]}},"/v1/schema-changes/{change_id}":{"get":{"description":"Get Schema Change.\n\nContrast REST operation: `GET /v1/schema-changes/{change_id}`.\n\nRequired parameters: `change_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_get_schema_change","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Schema Change","tags":["schema-changes"]}},"/v1/schema-changes/{change_id}/acknowledge":{"post":{"description":"Acknowledge Schema Change.\n\nContrast REST operation: `POST /v1/schema-changes/{change_id}/acknowledge`.\n\nRequired parameters: `change_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_acknowledge_schema_change","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Acknowledge Schema Change","tags":["schema-changes"]}},"/v1/schema-changes/{change_id}/impact":{"get":{"description":"Get Schema Change Impact.\n\nContrast REST operation: `GET /v1/schema-changes/{change_id}/impact`.\n\nRequired parameters: `change_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"schema_changes_get_schema_change_impact","parameters":[{"in":"path","name":"change_id","required":true,"schema":{"title":"Change Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Schema Change Impact","tags":["schema-changes"]}},"/v1/semantic-models":{"get":{"description":"List Semantic Models.\n\nContrast REST operation: `GET /v1/semantic-models`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_list_semantic_models","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SemanticModelResponse"},"title":"Response Semantic List Semantic Models","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Semantic Models","tags":["semantic"]}},"/v1/semantic-models/bootstrap":{"post":{"description":"Bootstrap Model.\n\nContrast REST operation: `POST /v1/semantic-models/bootstrap`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_bootstrap_model","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticModelBootstrapRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticModelDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Bootstrap Model","tags":["semantic"]}},"/v1/semantic-models/discovery-debug":{"post":{"description":"Debug Semantic Discovery.\n\nContrast REST operation: `POST /v1/semantic-models/discovery-debug`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_debug_semantic_discovery","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticDiscoveryDebugRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticDiscoveryDebugResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Debug Semantic Discovery","tags":["semantic"]}},"/v1/semantic-models/{semantic_model_id}":{"get":{"description":"Get Semantic Model.\n\nContrast REST operation: `GET /v1/semantic-models/{semantic_model_id}`.\n\nRequired parameters: `semantic_model_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_get_semantic_model","parameters":[{"in":"path","name":"semantic_model_id","required":true,"schema":{"title":"Semantic Model Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticModelDetailResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Semantic Model","tags":["semantic"]}},"/v1/semantic-models/{semantic_model_id}/embeddings/reindex":{"post":{"description":"Reindex Model Embeddings.\n\nContrast REST operation: `POST /v1/semantic-models/{semantic_model_id}/embeddings/reindex`.\n\nRequired parameters: `semantic_model_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_reindex_model_embeddings","parameters":[{"in":"path","name":"semantic_model_id","required":true,"schema":{"title":"Semantic Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticEmbeddingReindexRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticEmbeddingReindexResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Reindex Model Embeddings","tags":["semantic"]}},"/v1/semantic-models/{semantic_model_id}/verified-queries":{"get":{"description":"List Verified Queries.\n\nContrast REST operation: `GET /v1/semantic-models/{semantic_model_id}/verified-queries`.\n\nRequired parameters: `semantic_model_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_list_verified_queries","parameters":[{"in":"path","name":"semantic_model_id","required":true,"schema":{"title":"Semantic Model Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":500,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/VerifiedQueryResponse"},"title":"Response Semantic List Verified Queries","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Verified Queries","tags":["semantic"]},"post":{"description":"Create Verified Query.\n\nContrast REST operation: `POST /v1/semantic-models/{semantic_model_id}/verified-queries`.\n\nRequired parameters: `semantic_model_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_create_verified_query","parameters":[{"in":"path","name":"semantic_model_id","required":true,"schema":{"title":"Semantic Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedQueryCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Verified Query","tags":["semantic"]}},"/v1/semantic-models/{semantic_model_id}/verified-queries/{query_id}":{"patch":{"description":"Update Verified Query.\n\nContrast REST operation: `PATCH /v1/semantic-models/{semantic_model_id}/verified-queries/{query_id}`.\n\nRequired parameters: `semantic_model_id` (path), `query_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"semantic_update_verified_query","parameters":[{"in":"path","name":"semantic_model_id","required":true,"schema":{"title":"Semantic Model Id","type":"string"}},{"in":"path","name":"query_id","required":true,"schema":{"title":"Query Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedQueryUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Verified Query","tags":["semantic"]}},"/v1/shared/charts/{request_id}":{"get":{"description":"Get Shared Chart.\n\nContrast REST operation: `GET /v1/shared/charts/{request_id}`.\n\nRequired parameters: `request_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"query_get_shared_chart","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"title":"Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicChartResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Shared Chart","tags":["query"]}},"/v1/shared/conversations/{token}":{"get":{"description":"Get Shared Conversation.\n\nContrast REST operation: `GET /v1/shared/conversations/{token}`.\n\nRequired parameters: `token` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_get_shared_conversation","parameters":[{"in":"path","name":"token","required":true,"schema":{"title":"Token","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedConversationSnapshotResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Shared Conversation","tags":["conversations"]}},"/v1/shared/conversations/{token}/fork":{"post":{"description":"Fork Shared Conversation.\n\nContrast REST operation: `POST /v1/shared/conversations/{token}/fork`.\n\nRequired parameters: `token` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"conversations_fork_shared_conversation","parameters":[{"in":"path","name":"token","required":true,"schema":{"title":"Token","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkSharedConversationResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Fork Shared Conversation","tags":["conversations"]}},"/v1/source-oauth/google_sheets/picker-config":{"get":{"description":"Get Google Sheets Picker Config.\n\nContrast REST operation: `GET /v1/source-oauth/google_sheets/picker-config`.\n\nRequired parameters: `workspace_id` (query), `connector_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_oauth_get_google_sheets_picker_config","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"minLength":1,"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Google Sheets Picker Config","tags":["source-oauth"]}},"/v1/source-oauth/google_sheets/selection":{"post":{"description":"Select Google Sheet.\n\nContrast REST operation: `POST /v1/source-oauth/google_sheets/selection`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_oauth_select_google_sheet","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleSheetsPickerSelectionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleSheetsPickerSelectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Select Google Sheet","tags":["source-oauth"]}},"/v1/source-oauth/providers":{"get":{"description":"List Source Oauth Providers.\n\nContrast REST operation: `GET /v1/source-oauth/providers`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_oauth_list_source_oauth_providers","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Source Oauth Providers","tags":["source-oauth"]}},"/v1/source-oauth/supabase/project-choices":{"get":{"description":"The projects a just-finished Supabase authorization can connect.","operationId":"source_oauth_list_supabase_project_choices","parameters":[{"in":"query","name":"choice","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Choice","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupabaseProjectChoicesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Supabase Project Choices","tags":["source-oauth"]},"post":{"description":"Finish a Supabase authorization with the project the person picked.","operationId":"source_oauth_choose_supabase_project","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupabaseProjectChoiceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupabaseProjectChoiceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Choose Supabase Project","tags":["source-oauth"]}},"/v1/source-oauth/{provider}/abandon":{"post":{"description":"Retire a sign-in the person left (Back, a closed tab) before the provider returned.\n\nSafe to call whenever the app comes back without a result: a callback that\nalready completed, or a reconnect of a real connector, is left untouched.","operationId":"source_oauth_abandon_source_oauth","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOAuthAbandonRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOAuthAbandonResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Abandon Source Oauth","tags":["source-oauth"]}},"/v1/source-oauth/{provider}/callback":{"get":{"description":"Finish Source Oauth.\n\nContrast REST operation: `GET /v1/source-oauth/{provider}/callback`.\n\nRequired parameters: `provider` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_oauth_finish_source_oauth","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"state","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"in":"query","name":"error","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"in":"query","name":"error_description","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Finish Source Oauth","tags":["source-oauth"]}},"/v1/source-oauth/{provider}/start":{"post":{"description":"Start Source Oauth.\n\nContrast REST operation: `POST /v1/source-oauth/{provider}/start`.\n\nRequired parameters: `provider` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_oauth_start_source_oauth","parameters":[{"in":"path","name":"provider","required":true,"schema":{"title":"Provider","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOAuthStartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOAuthStartResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Source Oauth","tags":["source-oauth"]}},"/v1/source-webhooks/attio/{workspace_id}/{connector_id}":{"post":{"description":"Receive Attio Webhook.\n\nContrast REST operation: `POST /v1/source-webhooks/attio/{workspace_id}/{connector_id}`.\n\nRequired parameters: `workspace_id` (path), `connector_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"source_webhooks_receive_attio_webhook","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connector_id","required":true,"schema":{"format":"uuid","title":"Connector Id","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Source Webhooks Receive Attio Webhook","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Receive Attio Webhook","tags":["source-webhooks"]}},"/v1/table-ownership/claims":{"get":{"description":"Ownership claims plus the member roster the UI needs to confirm them.","operationId":"table_ownership_list_table_ownership_claims_route","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"relation_ref","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relation Ref"}},{"in":"query","name":"limit","required":false,"schema":{"default":200,"maximum":500,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Table Ownership Claims Route","tags":["table-ownership"]},"post":{"description":"Create Table Ownership Claim Route.\n\nContrast REST operation: `POST /v1/table-ownership/claims`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"table_ownership_create_table_ownership_claim_route","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableOwnershipClaimRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Table Ownership Claim Route","tags":["table-ownership"]}},"/v1/table-ownership/claims/{claim_id}/confirm":{"post":{"description":"Confirm Table Ownership Claim Route.\n\nContrast REST operation: `POST /v1/table-ownership/claims/{claim_id}/confirm`.\n\nRequired parameters: `claim_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"table_ownership_confirm_table_ownership_claim_route","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmTableOwnershipClaimRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Confirm Table Ownership Claim Route","tags":["table-ownership"]}},"/v1/table-ownership/claims/{claim_id}/dismiss":{"post":{"description":"Dismiss Table Ownership Claim Route.\n\nContrast REST operation: `POST /v1/table-ownership/claims/{claim_id}/dismiss`.\n\nRequired parameters: `claim_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"table_ownership_dismiss_table_ownership_claim_route","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissTableOwnershipClaimRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dismiss Table Ownership Claim Route","tags":["table-ownership"]}},"/v1/team-memories":{"get":{"description":"List Memories.\n\nContrast REST operation: `GET /v1/team-memories`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_list_memories","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"anyOf":[{"enum":["personal","team","workspace"],"type":"string"},{"type":"null"}],"title":"Scope"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentMemoryResponse"},"title":"Response Memories List Memories","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Memories","tags":["memories"]},"post":{"description":"Create Memory.\n\nContrast REST operation: `POST /v1/team-memories`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_create_memory","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Memory","tags":["memories"]}},"/v1/team-memories/{memory_id}":{"delete":{"description":"Delete Memory.\n\nContrast REST operation: `DELETE /v1/team-memories/{memory_id}`.\n\nRequired parameters: `memory_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_delete_memory","parameters":[{"in":"path","name":"memory_id","required":true,"schema":{"title":"Memory Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Memory","tags":["memories"]},"patch":{"description":"Update Memory.\n\nContrast REST operation: `PATCH /v1/team-memories/{memory_id}`.\n\nRequired parameters: `memory_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"memories_update_memory","parameters":[{"in":"path","name":"memory_id","required":true,"schema":{"title":"Memory Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMemoryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Memory","tags":["memories"]}},"/v1/tool-runs":{"get":{"description":"List Tool Runs.\n\nContrast REST operation: `GET /v1/tool-runs`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_list_tool_runs","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"task_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type"}},{"in":"query","name":"conversation_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"in":"query","name":"parent_run_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Parent Run Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"summary","required":false,"schema":{"default":true,"title":"Summary","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ToolRunResponse"},"title":"Response Agent List Tool Runs","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Tool Runs","tags":["agent"]}},"/v1/tool-runs/by-client-request/{client_request_id}/cancel":{"post":{"description":"Cancel a chat run before the original dispatch request has returned.","operationId":"agent_cancel_tool_run_by_client_request","parameters":[{"in":"path","name":"client_request_id","required":true,"schema":{"title":"Client Request Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Tool Run By Client Request","tags":["agent"]}},"/v1/tool-runs/{tool_run_id}":{"get":{"description":"Get Tool Run.\n\nContrast REST operation: `GET /v1/tool-runs/{tool_run_id}`.\n\nRequired parameters: `tool_run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_get_tool_run","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Tool Run","tags":["agent"]}},"/v1/tool-runs/{tool_run_id}/cancel":{"post":{"description":"Cancel Tool Run.\n\nContrast REST operation: `POST /v1/tool-runs/{tool_run_id}/cancel`.\n\nRequired parameters: `tool_run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_cancel_tool_run","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Tool Run","tags":["agent"]}},"/v1/tool-runs/{tool_run_id}/status":{"get":{"description":"Get Chat Run Status.\n\nContrast REST operation: `GET /v1/tool-runs/{tool_run_id}/status`.\n\nRequired parameters: `tool_run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_get_chat_run_status","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRunStatusResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Chat Run Status","tags":["agent"]}},"/v1/tool-runs/{tool_run_id}/steps":{"get":{"description":"Get Tool Run Steps.\n\nContrast REST operation: `GET /v1/tool-runs/{tool_run_id}/steps`.\n\nRequired parameters: `tool_run_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"agent_get_tool_run_steps","parameters":[{"in":"path","name":"tool_run_id","required":true,"schema":{"title":"Tool Run Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ToolRunStepResponse"},"title":"Response Agent Get Tool Run Steps","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Tool Run Steps","tags":["agent"]}},"/v1/visualizations/resolve":{"post":{"description":"Resolve Visualization.\n\nContrast REST operation: `POST /v1/visualizations/resolve`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"investigations_resolve_visualization","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualResolveRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualDocumentV1"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resolve Visualization","tags":["investigations"]}},"/v1/warehouse-waste/findings":{"get":{"description":"List Warehouse Waste Findings.\n\nContrast REST operation: `GET /v1/warehouse-waste/findings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_waste_list_warehouse_waste_findings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"finding_type","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Type"}},{"in":"query","name":"severity","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Warehouse Waste Findings","tags":["warehouse-waste"]}},"/v1/warehouse-waste/findings/{finding_id}/status":{"post":{"description":"Update Warehouse Waste Finding Status.\n\nContrast REST operation: `POST /v1/warehouse-waste/findings/{finding_id}/status`.\n\nRequired parameters: `finding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_waste_update_warehouse_waste_finding_status","parameters":[{"in":"path","name":"finding_id","required":true,"schema":{"title":"Finding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseWasteFindingStatusRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Warehouse Waste Finding Status","tags":["warehouse-waste"]}},"/v1/warehouse-waste/scan":{"post":{"description":"Scan Warehouse Waste.\n\nContrast REST operation: `POST /v1/warehouse-waste/scan`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_waste_scan_warehouse_waste","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseWasteScanRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Scan Warehouse Waste","tags":["warehouse-waste"]}},"/v1/warehouse/cloud-sql-onboarding/callback":{"get":{"description":"Finish Cloud Sql Onboarding Oauth.\n\nContrast REST operation: `GET /v1/warehouse/cloud-sql-onboarding/callback`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_finish_cloud_sql_onboarding_oauth","parameters":[{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"state","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"in":"query","name":"error","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Finish Cloud Sql Onboarding Oauth","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/start":{"post":{"description":"Start Cloud Sql Onboarding.\n\nContrast REST operation: `POST /v1/warehouse/cloud-sql-onboarding/start`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_start_cloud_sql_onboarding","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlStartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlStartResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Cloud Sql Onboarding","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}":{"get":{"description":"Resume Cloud Sql Onboarding.\n\nContrast REST operation: `GET /v1/warehouse/cloud-sql-onboarding/{onboarding_id}`.\n\nRequired parameters: `onboarding_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_resume_cloud_sql_onboarding","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlSessionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resume Cloud Sql Onboarding","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}/complete":{"post":{"description":"Complete Cloud Sql Onboarding.\n\nContrast REST operation: `POST /v1/warehouse/cloud-sql-onboarding/{onboarding_id}/complete`.\n\nRequired parameters: `onboarding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_complete_cloud_sql_onboarding","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlCompleteRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlCompleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Complete Cloud Sql Onboarding","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}/instances":{"get":{"description":"List Cloud Sql Instances.\n\nContrast REST operation: `GET /v1/warehouse/cloud-sql-onboarding/{onboarding_id}/instances`.\n\nRequired parameters: `onboarding_id` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_list_cloud_sql_instances","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlInstancesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Cloud Sql Instances","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}/instances/{instance}/databases":{"get":{"description":"List Cloud Sql Databases.\n\nContrast REST operation: `GET /v1/warehouse/cloud-sql-onboarding/{onboarding_id}/instances/{instance}/databases`.\n\nRequired parameters: `onboarding_id` (path), `instance` (path), `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_list_cloud_sql_databases","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"path","name":"instance","required":true,"schema":{"title":"Instance","type":"string"}},{"in":"query","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlDatabasesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Cloud Sql Databases","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}/prepare":{"post":{"description":"Prepare Cloud Sql Onboarding.\n\nContrast REST operation: `POST /v1/warehouse/cloud-sql-onboarding/{onboarding_id}/prepare`.\n\nRequired parameters: `onboarding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_prepare_cloud_sql_onboarding","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlPrepareRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlPreparedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Prepare Cloud Sql Onboarding","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/warehouse/cloud-sql-onboarding/{onboarding_id}/recheck":{"post":{"description":"Recheck Cloud Sql Onboarding.\n\nContrast REST operation: `POST /v1/warehouse/cloud-sql-onboarding/{onboarding_id}/recheck`.\n\nRequired parameters: `onboarding_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cloud_sql_onboarding_recheck_cloud_sql_onboarding","parameters":[{"in":"path","name":"onboarding_id","required":true,"schema":{"format":"uuid","title":"Onboarding Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlPrepareRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSqlPreparedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Recheck Cloud Sql Onboarding","tags":["warehouse-cloud-sql-onboarding"]}},"/v1/workspace-usage":{"get":{"description":"Get Usage Summary.\n\nContrast REST operation: `GET /v1/workspace-usage`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspace_usage_get_usage_summary","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"window","required":false,"schema":{"default":"month_to_date","enum":["month_to_date","7d","30d","90d"],"title":"Window","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceUsageSummaryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Usage Summary","tags":["workspace-usage"]}},"/v1/workspace-usage/limits":{"get":{"description":"Get Usage Limits.\n\nContrast REST operation: `GET /v1/workspace-usage/limits`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspace_usage_get_usage_limits","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceUsageLimits"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Usage Limits","tags":["workspace-usage"]},"patch":{"description":"Update Usage Limits.\n\nContrast REST operation: `PATCH /v1/workspace-usage/limits`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspace_usage_update_usage_limits","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWorkspaceUsageLimitsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceUsageLimits"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Usage Limits","tags":["workspace-usage"]}},"/v1/workspace-usage/safety-notices":{"get":{"description":"Get Safety Limit Notices.\n\nContrast REST operation: `GET /v1/workspace-usage/safety-notices`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspace_usage_get_safety_limit_notices","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSafetyLimitNoticesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Safety Limit Notices","tags":["workspace-usage"]}},"/v1/workspace-usage/savings":{"get":{"description":"Get Usage Savings.\n\nContrast REST operation: `GET /v1/workspace-usage/savings`.\n\nRequired parameters: `workspace_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspace_usage_get_usage_savings","parameters":[{"in":"query","name":"workspace_id","required":true,"schema":{"minLength":1,"title":"Workspace Id","type":"string"}},{"in":"query","name":"start_date","required":false,"schema":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Start Date"}},{"in":"query","name":"end_date","required":false,"schema":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"End Date"}},{"in":"query","name":"bucket","required":false,"schema":{"default":"day","pattern":"^(day|week)$","title":"Bucket","type":"string"}},{"in":"query","name":"connector_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Id"}},{"in":"query","name":"surface","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"compare","required":false,"schema":{"default":false,"title":"Compare","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSavingsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Usage Savings","tags":["workspace-usage"]}},"/v1/workspaces":{"get":{"description":"List Workspaces.\n\nContrast REST operation: `GET /v1/workspaces`.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspaces_list_workspaces","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorkspaceResponse"},"title":"Response Workspaces List Workspaces","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Workspaces","tags":["workspaces"]},"post":{"description":"Create Workspace.\n\nContrast REST operation: `POST /v1/workspaces`.\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"workspaces_create_workspace","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWorkspaceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Workspace","tags":["workspaces"]}},"/v1/workspaces/{workspace_id}/analytics-hub":{"get":{"description":"Get Analytics Hub.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/analytics-hub`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Analytics hub_get_analytics_hub","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsHub"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Analytics Hub","tags":["Analytics hub"]}},"/v1/workspaces/{workspace_id}/analytics-hub/runs":{"post":{"description":"Start Analytics Hub Run.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/analytics-hub/runs`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Analytics hub_start_analytics_hub_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsHubRunStarted"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Start Analytics Hub Run","tags":["Analytics hub"]}},"/v1/workspaces/{workspace_id}/analytics-hub/settings":{"put":{"description":"Update Analytics Hub Settings.\n\nContrast REST operation: `PUT /v1/workspaces/{workspace_id}/analytics-hub/settings`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Analytics hub_update_analytics_hub_settings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsHubSettings"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsHub"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Analytics Hub Settings","tags":["Analytics hub"]}},"/v1/workspaces/{workspace_id}/analytics/projects":{"get":{"description":"List Projects.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/analytics/projects`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_list_projects","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsProjectListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Projects","tags":["analytics"]},"post":{"description":"Create Project.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/analytics/projects`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_create_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsProjectCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsProjectResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Project","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/analytics/projects/settings":{"get":{"description":"Get Analytics Settings.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/analytics/projects/settings`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_get_analytics_settings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsWorkspaceSettings"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Analytics Settings","tags":["analytics"]},"patch":{"description":"Update Analytics Settings.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/analytics/projects/settings`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_update_analytics_settings","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsWorkspaceSettings"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsWorkspaceSettings"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Analytics Settings","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/analytics/projects/{project_id}":{"delete":{"description":"Delete project configuration, keys, reports and cohorts. Stored warehouse events remain.","operationId":"analytics_delete_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Project","tags":["analytics"]},"patch":{"description":"Update Project.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/analytics/projects/{project_id}`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_update_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsProjectUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsProjectResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Project","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}":{"patch":{"description":"Update Environment.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path), `environment_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_update_environment","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"path","name":"environment_id","required":true,"schema":{"format":"uuid","title":"Environment Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsOriginsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsEnvironmentResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Environment","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}/keys":{"post":{"description":"Create Key.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}/keys`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path), `environment_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_create_key","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"path","name":"environment_id","required":true,"schema":{"format":"uuid","title":"Environment Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsKeyCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsKeyCreatedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Key","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}/keys/{key_id}":{"delete":{"description":"Revoke Key.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/analytics/projects/{project_id}/environments/{environment_id}/keys/{key_id}`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path), `environment_id` (path), `key_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"analytics_revoke_key","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"path","name":"environment_id","required":true,"schema":{"format":"uuid","title":"Environment Id","type":"string"}},{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","title":"Key Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsKeyRevokedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Key","tags":["analytics"]}},"/v1/workspaces/{workspace_id}/bi":{"get":{"description":"Read Bi.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/bi`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_read_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"include_dashboards","required":false,"schema":{"default":true,"title":"Include Dashboards","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiWorkspaceResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Bi","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/credential-check":{"get":{"description":"Check Credential.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/bi/credential-check`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"check_bi_warehouse_credential","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"title":"Response Check Bi Warehouse Credential","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Check Credential","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/dashboards/{dashboard_id}/embed":{"post":{"description":"Embed Bi.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/bi/dashboards/{dashboard_id}/embed`.\n\nRequired parameters: `workspace_id` (path), `dashboard_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_embed_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","title":"Dashboard Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiEmbedResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Embed Bi","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/dashboards/{dashboard_id}/version":{"get":{"description":"Lets an open dashboard notice saved changes, such as an agent's edits, and reload.","operationId":"bi_dashboard_version_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"dashboard_id","required":true,"schema":{"format":"uuid","title":"Dashboard Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiDashboardVersionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dashboard Version Bi","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/editor-session":{"post":{"description":"Editor Session.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/bi/editor-session`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"bi_editor_session","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiEditorRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiEditorResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Editor Session","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/native-dashboards/{dashboard_id}/version":{"get":{"description":"The same, for a dashboard open in the native editor, which names it by its BI ID.","operationId":"bi_native_dashboard_version_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"dashboard_id","required":true,"schema":{"exclusiveMinimum":0,"title":"Dashboard Id","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiDashboardVersionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Native Dashboard Version Bi","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/operate":{"post":{"description":"Operate Bi.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/bi/operate`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"operate_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiOperation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Operate Bi","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Operate Bi","tags":["bi"]}},"/v1/workspaces/{workspace_id}/bi/provision":{"delete":{"description":"Disable.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/bi/provision`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"disable_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiProvisionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Disable","tags":["bi"]},"get":{"description":"Read Provisioning.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/bi/provision`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"read_bi_provisioning","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiProvisionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Provisioning","tags":["bi"]},"post":{"description":"Provision.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/bi/provision`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"provision_bi","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiProvisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiProvisionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Provision","tags":["bi"]}},"/v1/workspaces/{workspace_id}/data-access/reads":{"get":{"description":"List Data Reads.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-access/reads`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_access_list_data_reads","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"period","required":false,"schema":{"default":"7d","enum":["24h","7d","30d","90d"],"title":"Period","type":"string"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"source","required":false,"schema":{"default":"all","enum":["all","agent","sql"],"title":"Source","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"default":"all","enum":["all","succeeded","failed"],"title":"Status","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAccessReadPage"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Data Reads","tags":["data-access"]}},"/v1/workspaces/{workspace_id}/data-access/reads/export":{"get":{"description":"CSV of the filtered data access log, newest first, for compliance handoff.","operationId":"data_access_export_data_reads","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"period","required":false,"schema":{"default":"7d","enum":["24h","7d","30d","90d"],"title":"Period","type":"string"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"source","required":false,"schema":{"default":"all","enum":["all","agent","sql"],"title":"Source","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"default":"all","enum":["all","succeeded","failed"],"title":"Status","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Export Data Reads","tags":["data-access"]}},"/v1/workspaces/{workspace_id}/data-access/summary":{"get":{"description":"Summarize Data Reads.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-access/summary`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_access_summarize_data_reads","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"period","required":false,"schema":{"default":"7d","enum":["24h","7d","30d","90d"],"title":"Period","type":"string"}},{"in":"query","name":"user_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"User Id"}},{"in":"query","name":"source","required":false,"schema":{"default":"all","enum":["all","agent","sql"],"title":"Source","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"default":"all","enum":["all","succeeded","failed"],"title":"Status","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Search"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAccessSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Summarize Data Reads","tags":["data-access"]}},"/v1/workspaces/{workspace_id}/data-policies":{"get":{"description":"List Data Policies.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_list_data_policies","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Data Policies","tags":["data-policies"]},"post":{"description":"Save Data Policy.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_save_data_policy","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveRequirements"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Data Policy","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/assets":{"get":{"description":"List Data Policy Assets.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/assets`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_list_data_policy_assets","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"query","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Query"}},{"in":"query","name":"limit","required":false,"schema":{"default":40,"maximum":80,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Data Policy Assets","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/dataset-governance":{"get":{"description":"Get Dataset Governance.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/dataset-governance`.\n\nRequired parameters: `workspace_id` (path), `connector_id` (query), `schema_name` (query), `table_name` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_get_dataset_governance","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"connector_id","required":true,"schema":{"format":"uuid","title":"Connector Id","type":"string"}},{"in":"query","name":"schema_name","required":true,"schema":{"maxLength":255,"minLength":1,"title":"Schema Name","type":"string"}},{"in":"query","name":"table_name","required":true,"schema":{"maxLength":255,"minLength":1,"title":"Table Name","type":"string"}},{"in":"query","name":"catalog_name","required":false,"schema":{"default":"","maxLength":255,"title":"Catalog Name","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Dataset Governance","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/demo/bootstrap":{"post":{"description":"Bootstrap Data Policy Demo.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/demo/bootstrap`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_bootstrap_data_policy_demo","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Bootstrap Data Policy Demo","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/demo/run":{"post":{"description":"Run Data Policy Demo.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/demo/run`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_run_data_policy_demo","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoRunRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Data Policy Demo","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/demo/scan":{"post":{"description":"Scan Data Policy Demo Consent.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/demo/scan`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_scan_data_policy_demo_consent","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoScanRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Scan Data Policy Demo Consent","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/demo/state":{"get":{"description":"Get Data Policy Demo State.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/demo/state`.\n\nRequired parameters: `workspace_id` (path), `policy_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_get_data_policy_demo_state","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"policy_id","required":true,"schema":{"format":"uuid","title":"Policy Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Data Policy Demo State","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/demo/withdrawal":{"post":{"description":"Record Data Policy Demo Withdrawal.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/demo/withdrawal`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_record_data_policy_demo_withdrawal","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoWithdrawalRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Record Data Policy Demo Withdrawal","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/draft":{"post":{"description":"Draft Data Policy Requirements.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/draft`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_draft_data_policy_requirements","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftRequirementsInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftRequirementsOutput"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Draft Data Policy Requirements","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects":{"get":{"description":"List Policy Projects.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/projects`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_list_policy_projects","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Policy Projects","tags":["data-policies"]},"post":{"description":"Save Policy Project.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_save_policy_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveProject"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Policy Project","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/example":{"post":{"description":"Create Policy Project Example.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects/example`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_create_policy_project_example","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Policy Project Example","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/{project_id}":{"get":{"description":"Get Policy Project.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/projects/{project_id}`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_get_policy_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Policy Project","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/evaluate":{"post":{"description":"Evaluate Policy Project.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/evaluate`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_evaluate_policy_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateProject"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Evaluate Policy Project","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/filtered-example":{"post":{"description":"Filter Policy Project Example.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/filtered-example`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_filter_policy_project_example","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateProject"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Filter Policy Project Example","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/gate":{"post":{"description":"Check Policy Project Gate.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/gate`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_check_policy_project_gate","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GateProject"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Check Policy Project Gate","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/review":{"post":{"description":"Review Policy Project.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/projects/{project_id}/review`.\n\nRequired parameters: `workspace_id` (path), `project_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_review_policy_project","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewProject"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Review Policy Project","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/{policy_id}/assessments":{"post":{"description":"Record Data Policy Assessment.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/data-policies/{policy_id}/assessments`.\n\nRequired parameters: `workspace_id` (path), `policy_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_record_data_policy_assessment","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"policy_id","required":true,"schema":{"format":"uuid","title":"Policy Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordAssessment"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Record Data Policy Assessment","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/data-policies/{policy_id}/context":{"get":{"description":"Get Data Policy Context.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/data-policies/{policy_id}/context`.\n\nRequired parameters: `workspace_id` (path), `policy_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_policies_get_data_policy_context","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"policy_id","required":true,"schema":{"format":"uuid","title":"Policy Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Data Policy Context","tags":["data-policies"]}},"/v1/workspaces/{workspace_id}/deletion/assets":{"get":{"description":"Assets.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/deletion/assets`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_assets","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"query","name":"query","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Query"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Assets","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/automatic-requests":{"get":{"description":"Automatic Requests.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/deletion/automatic-requests`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_automatic_requests","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Automatic Requests","tags":["data-deletion"]},"put":{"description":"Save Automatic Requests.\n\nContrast REST operation: `PUT /v1/workspaces/{workspace_id}/deletion/automatic-requests`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_save_automatic_requests","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveAutomaticRequests"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Automatic Requests","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/automatic-requests/check":{"post":{"description":"Check Automatic Requests.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/deletion/automatic-requests/check`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_check_automatic_requests","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Check Automatic Requests","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/automatic-requests/{request_id}/preview":{"post":{"description":"Preview Automatic Request.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/deletion/automatic-requests/{request_id}/preview`.\n\nRequired parameters: `workspace_id` (path), `request_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_preview_automatic_request","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preview Automatic Request","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/configuration":{"get":{"description":"Configuration.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/deletion/configuration`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_configuration","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Configuration","tags":["data-deletion"]},"put":{"description":"Save Configuration.\n\nContrast REST operation: `PUT /v1/workspaces/{workspace_id}/deletion/configuration`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_save_configuration","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveDeletionConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Save Configuration","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/requests":{"get":{"description":"History.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/deletion/requests`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_history","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"History","tags":["data-deletion"]},"post":{"description":"Preview.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/deletion/requests`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_preview","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewDeletionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preview","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/deletion/requests/{request_id}/execute":{"post":{"description":"Execute.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/deletion/requests/{request_id}/execute`.\n\nRequired parameters: `workspace_id` (path), `request_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"data_deletion_execute","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteDeletionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Execute","tags":["data-deletion"]}},"/v1/workspaces/{workspace_id}/identity-federation/{connector_id}/public-key":{"get":{"description":"Return the federation public key so an admin can wire the Snowflake\nexternal-OAuth security integration. Any workspace member may read it.","operationId":"connectors_get_identity_federation_public_key","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"path","name":"connector_id","required":true,"schema":{"title":"Connector Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Identity Federation Public Key","tags":["connectors"]}},"/v1/workspaces/{workspace_id}/managed-models":{"get":{"description":"List Models.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_list_models","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Models","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/alert-recipients":{"get":{"description":"Workspace members a pipeline can email.","operationId":"Managed models_alert_recipients","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRecipientList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Alert Recipients","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/graph-runs/{graph_run_id}":{"get":{"description":"One graph run: each model's state in run order, with its own run.","operationId":"Managed models_graph_run_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"graph_run_id","required":true,"schema":{"title":"Graph Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphRun"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Graph Run Detail","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/operations/{operation_id}":{"get":{"description":"Operation Detail.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models/operations/{operation_id}`.\n\nRequired parameters: `workspace_id` (path), `operation_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_operation_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"operation_id","required":true,"schema":{"format":"uuid","title":"Operation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Operation Detail","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/operations/{operation_id}/cancel":{"post":{"description":"Cancel Operation.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/managed-models/operations/{operation_id}/cancel`.\n\nRequired parameters: `workspace_id` (path), `operation_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_cancel_operation","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"operation_id","required":true,"schema":{"format":"uuid","title":"Operation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Operation","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/repository":{"post":{"description":"Create Repository Model.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/managed-models/repository`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_create_repository_model","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRepositoryModelRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Repository Model","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/run-by":{"get":{"description":"Everyone the workspace's pipeline runs have run as, for filtering runs by who ran them.","operationId":"Managed models_list_run_users","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunUserList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Run Users","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/runs":{"get":{"description":"Pipeline runs, newest first or by `sort`, filtered by pipeline, outcome, trigger, who ran it, database or name.","operationId":"Managed models_list_runs","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"model_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Model Id"}},{"description":"Only runs with one of these outcomes. Repeat to match several.","in":"query","name":"status","required":false,"schema":{"anyOf":[{"items":{"enum":["succeeded","failed","partial","cancelled","running"],"type":"string"},"type":"array"},{"type":"null"}],"description":"Only runs with one of these outcomes. Repeat to match several.","title":"Status"}},{"in":"query","name":"trigger","required":false,"schema":{"anyOf":[{"enum":["scheduled","manual","sources"],"type":"string"},{"type":"null"}],"title":"Trigger"}},{"description":"Only runs that ran as this user.","in":"query","name":"run_by","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Only runs that ran as this user.","title":"Run By"}},{"description":"Only runs of pipelines in one of these databases. Repeat to match several.","in":"query","name":"database","required":false,"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"description":"Only runs of pipelines in one of these databases. Repeat to match several.","title":"Database"}},{"description":"Only runs whose `database.pipeline` name contains this text.","in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"description":"Only runs whose `database.pipeline` name contains this text.","title":"Q"}},{"description":"Only runs that started before this time.","in":"query","name":"before","required":false,"schema":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"Only runs that started before this time.","title":"Before"}},{"description":"Skip this many runs; the response then counts every match in `total`.","in":"query","name":"offset","required":false,"schema":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"description":"Skip this many runs; the response then counts every match in `total`.","title":"Offset"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"description":"The column to order by. `status` puts failures first and `tests` the most failed tests first; runs without a value go last, and ties are newest first.","in":"query","name":"sort","required":false,"schema":{"default":"started","description":"The column to order by. `status` puts failures first and `tests` the most failed tests first; runs without a value go last, and ties are newest first.","enum":["started","pipeline","status","run_by","rows","tests","duration"],"title":"Sort","type":"string"}},{"in":"query","name":"order","required":false,"schema":{"default":"desc","enum":["asc","desc"],"title":"Order","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRunList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Runs","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/runs/{run_id}":{"get":{"description":"One run: its steps and their timing, tests, output, inputs and code.","operationId":"Managed models_run_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"run_id","required":true,"schema":{"format":"uuid","title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRunDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Detail","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/runs/{run_id}/cancel":{"post":{"description":"Stop a running run. The published table keeps its current version.","operationId":"Managed models_cancel_refresh_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"run_id","required":true,"schema":{"format":"uuid","title":"Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRun"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Refresh Run","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/runs/{run_id}/logs":{"get":{"description":"The run's log, oldest first. Poll with `after` to follow a running run.","operationId":"Managed models_run_logs","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"run_id","required":true,"schema":{"format":"uuid","title":"Run Id","type":"string"}},{"description":"Only lines after this sequence number.","in":"query","name":"after","required":false,"schema":{"default":-1,"description":"Only lines after this sequence number.","minimum":-1,"title":"After","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":500,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunLogPage"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Logs","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}":{"get":{"description":"Model Detail.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models/{model_id}`.\n\nRequired parameters: `workspace_id` (path), `model_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_model_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Model Detail","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/alerts":{"put":{"description":"Choose which of this pipeline's failures, late or long runs, recoveries and successes alert, and where.","operationId":"Managed models_update_alerts","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Alerts","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/alerts/test":{"post":{"description":"Send a test alert to each of the pipeline's saved destinations.","operationId":"Managed models_test_alerts","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertTestResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Test Alerts","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/graph":{"get":{"description":"The models this pipeline would run with its upstream models, in run order.","operationId":"Managed models_model_graph","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineGraph"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Model Graph","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/graph-runs":{"get":{"description":"This pipeline's graph runs, newest first.","operationId":"Managed models_model_graph_runs","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphRunList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Model Graph Runs","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/graph-runs/{graph_run_id}/rerun":{"post":{"description":"Run a model of a graph run and everything downstream of it again; the rest is reused.","operationId":"Managed models_rerun_graph_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"path","name":"graph_run_id","required":true,"schema":{"title":"Graph Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphRerunRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Rerun Graph Run","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/pause":{"post":{"description":"Pause the schedule and keep its cron, timezone and key. Contrast never resumes a manual pause.","operationId":"Managed models_pause","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Pause","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/refresh":{"put":{"description":"Schedule a model to run as one of the owner's API keys, or stop its schedule.","operationId":"Managed models_update_refresh","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Refresh","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/resume":{"post":{"description":"Resume a paused schedule as its saved key, rechecked like a new schedule.","operationId":"Managed models_resume","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resume","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/revisions":{"get":{"description":"Each published version of the model's code, newest first, numbered in publication order.","operationId":"Managed models_model_revision_list","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRevisionList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Model Revision List","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/run-options":{"get":{"description":"Run Options.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models/{model_id}/run-options`.\n\nRequired parameters: `workspace_id` (path), `model_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_run_options","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRunOptions"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Options","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/runs":{"post":{"description":"Start the model's scheduled refresh immediately, under its saved authority,\nor run an unscheduled model once as the chosen API key.\n\n``version_id`` builds an earlier version's code instead of the active code:\nonce it builds and passes its tests the table serves it, and later\nscheduled runs keep building it. A paused schedule may be run by hand and\nstays paused.","operationId":"Managed models_run_now","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RunRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Run Now","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/takeover":{"post":{"description":"A workspace owner or admin becomes the model's owner. Its schedule stops\nuntil they choose one of their own keys.","operationId":"Managed models_take_over","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSummary"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Take Over","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/versions/{version_id}":{"get":{"description":"Version Detail.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models/{model_id}/versions/{version_id}`.\n\nRequired parameters: `workspace_id` (path), `model_id` (path), `version_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_version_detail","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"path","name":"version_id","required":true,"schema":{"format":"uuid","title":"Version Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDetail"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Version Detail","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/managed-models/{model_id}/versions/{version_id}/export":{"get":{"description":"Export Version.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/managed-models/{model_id}/versions/{version_id}/export`.\n\nRequired parameters: `workspace_id` (path), `model_id` (path), `version_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"Managed models_export_version","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"model_id","required":true,"schema":{"format":"uuid","title":"Model Id","type":"string"}},{"in":"path","name":"version_id","required":true,"schema":{"format":"uuid","title":"Version Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Export Version","tags":["Managed models"]}},"/v1/workspaces/{workspace_id}/product-analytics/cohorts":{"get":{"description":"List Cohorts.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/cohorts`.\n\nRequired parameters: `workspace_id` (path), `project_id` (query), `environment` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_list_cohorts","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"project_id","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},{"in":"query","name":"environment","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"maximum":100000,"minimum":0,"title":"Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Cohorts","tags":["product-analytics","product-analytics"]},"post":{"description":"Create Cohort.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-analytics/cohorts`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_create_cohort","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Cohort","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/cohorts/preview":{"post":{"description":"Preview Cohort.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-analytics/cohorts/preview`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_preview_cohort","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortPreviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortPreviewResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preview Cohort","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/cohorts/scopes":{"get":{"description":"List Cohort Scopes.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/cohorts/scopes`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_list_cohort_scopes","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortScopesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Cohort Scopes","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/cohorts/{cohort_id}":{"delete":{"description":"Delete Cohort.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/product-analytics/cohorts/{cohort_id}`.\n\nRequired parameters: `workspace_id` (path), `cohort_id` (path), `project_id` (query), `environment` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_delete_cohort","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"cohort_id","required":true,"schema":{"format":"uuid","title":"Cohort Id","type":"string"}},{"in":"query","name":"project_id","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},{"in":"query","name":"environment","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Cohort","tags":["product-analytics","product-analytics"]},"get":{"description":"Get Cohort.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/cohorts/{cohort_id}`.\n\nRequired parameters: `workspace_id` (path), `cohort_id` (path), `project_id` (query), `environment` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_get_cohort","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"cohort_id","required":true,"schema":{"format":"uuid","title":"Cohort Id","type":"string"}},{"in":"query","name":"project_id","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},{"in":"query","name":"environment","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Cohort","tags":["product-analytics","product-analytics"]},"patch":{"description":"Update Cohort.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/product-analytics/cohorts/{cohort_id}`.\n\nRequired parameters: `workspace_id` (path), `cohort_id` (path), `project_id` (query), `environment` (query).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_update_cohort","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"cohort_id","required":true,"schema":{"format":"uuid","title":"Cohort Id","type":"string"}},{"in":"query","name":"project_id","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Project Id","type":"string"}},{"in":"query","name":"environment","required":true,"schema":{"maxLength":256,"minLength":1,"title":"Environment","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Cohort","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/query":{"post":{"description":"Query Product Analytics.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-analytics/query`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_query_product_analytics","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAnalyticsQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Query Product Analytics","tags":["product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/reports":{"get":{"description":"List Reports.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/reports`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_list_reports","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"default":"","maxLength":120,"title":"Search","type":"string"}},{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"enum":["trends","funnels","retention","people"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"favorites_only","required":false,"schema":{"default":false,"title":"Favorites Only","type":"boolean"}},{"in":"query","name":"project_id","required":false,"schema":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"title":"Project Id"}},{"in":"query","name":"environment","required":false,"schema":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"title":"Environment"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"maximum":100000,"minimum":0,"title":"Offset","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportList"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Reports","tags":["product-analytics","product-analytics"]},"post":{"description":"Create Report.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-analytics/reports`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_create_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportCreate"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Report","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}":{"delete":{"description":"Delete Report.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path), `revision` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_delete_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"query","name":"revision","required":true,"schema":{"minimum":1,"title":"Revision","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Report","tags":["product-analytics","product-analytics"]},"get":{"description":"Get Report.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_get_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Report","tags":["product-analytics","product-analytics"]},"put":{"description":"Update Report.\n\nContrast REST operation: `PUT /v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_update_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Report","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}/favorite":{"delete":{"description":"Unfavorite Report.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}/favorite`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_unfavorite_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Unfavorite Report","tags":["product-analytics","product-analytics"]},"put":{"description":"Favorite Report.\n\nContrast REST operation: `PUT /v1/workspaces/{workspace_id}/product-analytics/reports/{report_id}/favorite`.\n\nRequired parameters: `workspace_id` (path), `report_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_favorite_report","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Favorite Report","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/warehouse":{"get":{"description":"Get Product Analytics Warehouse.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/product-analytics/warehouse`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_get_product_analytics_warehouse","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAnalyticsWarehouseStatus"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Product Analytics Warehouse","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-analytics/warehouse/sync":{"post":{"description":"Sync Product Analytics Warehouse.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-analytics/warehouse/sync`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_analytics_sync_product_analytics_warehouse","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAnalyticsWarehouseSyncStarted"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Product Analytics Warehouse","tags":["product-analytics","product-analytics"]}},"/v1/workspaces/{workspace_id}/product-usage/mcp":{"post":{"description":"Record Mcp Usage.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/product-usage/mcp`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"product_usage_record_mcp_usage","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpUsageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpUsageResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Record Mcp Usage","tags":["product-usage"]}},"/v1/workspaces/{workspace_id}/product-usage/milestones":{"get":{"description":"Which activation milestones this workspace has reached, for the setup checklist.","operationId":"product_usage_read_workspace_milestones","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMilestonesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Workspace Milestones","tags":["product-usage"]}},"/v1/workspaces/{workspace_id}/source-authorizations/me":{"get":{"description":"Get My Source Authorizations.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/source-authorizations/me`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"connectors_get_my_source_authorizations","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Dynamic JSON response. This operation does not yet declare a fixed field-level response contract.","type":["object","array","string","number","boolean","null"]}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get My Source Authorizations","tags":["connectors"]}},"/v1/workspaces/{workspace_id}/warehouse":{"get":{"description":"Get Warehouse.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_get_warehouse","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Warehouse","tags":["warehouse"]},"post":{"description":"Create Warehouse.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_warehouse","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Warehouse","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/capabilities":{"get":{"description":"Warehouse Capabilities.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/capabilities`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_warehouse_capabilities","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseCapabilitiesResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Warehouse Capabilities","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/databases":{"get":{"description":"List Databases.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/databases`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_databases","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"},"title":"Response Warehouse List Databases","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Databases","tags":["warehouse"]},"post":{"description":"Create Database.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/databases`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_database","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDatabaseCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Database","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/databases/{database}":{"delete":{"description":"Start dropping a managed database and return while its tables drop.\n\nThe database is ``dropping`` until every table is gone, then ``dropped``; poll\nit for ``drop_progress``. Its tables stay recoverable with undrop until the\nretention window passes.","operationId":"warehouse_drop_database_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"database","required":true,"schema":{"title":"Database","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDatabaseDropResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Drop Database Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/databases/{database}/tables":{"get":{"description":"List Tables.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/databases/{database}/tables`.\n\nRequired parameters: `workspace_id` (path), `database` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_tables","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"database","required":true,"schema":{"title":"Database","type":"string"}},{"in":"query","name":"max_results","required":false,"schema":{"default":100,"maximum":1000,"minimum":1,"title":"Max Results","type":"integer"}},{"in":"query","name":"next_token","required":false,"schema":{"anyOf":[{"maxLength":4096,"minLength":1,"type":"string"},{"type":"null"}],"title":"Next Token"}},{"in":"query","name":"refresh","required":false,"schema":{"default":false,"title":"Refresh","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseTableListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Tables","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/databases/{database}/tables/{table}":{"get":{"description":"Read Table.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/databases/{database}/tables/{table}`.\n\nRequired parameters: `workspace_id` (path), `database` (path), `table` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_read_table","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"database","required":true,"schema":{"title":"Database","type":"string"}},{"in":"path","name":"table","required":true,"schema":{"title":"Table","type":"string"}},{"in":"query","name":"schema_name","required":false,"schema":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"title":"Schema Name"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseTableResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Table","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/databases/{database}/undrop":{"post":{"description":"Restore a dropped database and every table its drop removed.","operationId":"warehouse_undrop_database_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"database","required":true,"schema":{"title":"Database","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDatabaseUndropResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Undrop Database Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/external-catalogs":{"get":{"description":"List External Catalogs.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/external-catalogs`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_external_catalogs","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExternalCatalogResponse"},"title":"Response Warehouse List External Catalogs","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List External Catalogs","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/databases":{"post":{"description":"Attach External Catalog.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/databases`.\n\nRequired parameters: `workspace_id` (path), `profile_name` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_attach_external_catalog","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"profile_name","required":true,"schema":{"title":"Profile Name","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalCatalogSelectionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDatabaseResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Attach External Catalog","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/namespaces":{"get":{"description":"External Catalog Namespaces.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/namespaces`.\n\nRequired parameters: `workspace_id` (path), `profile_name` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_external_catalog_namespaces","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"profile_name","required":true,"schema":{"title":"Profile Name","type":"string"}},{"in":"query","name":"parent","required":false,"schema":{"default":[],"items":{"type":"string"},"title":"Parent","type":"array"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"items":{"type":"string"},"type":"array"},"title":"Response Warehouse External Catalog Namespaces","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"External Catalog Namespaces","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/tables":{"get":{"description":"External Catalog Tables.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/external-catalogs/{profile_name}/tables`.\n\nRequired parameters: `workspace_id` (path), `profile_name` (path), `namespace` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_external_catalog_tables","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"profile_name","required":true,"schema":{"title":"Profile Name","type":"string"}},{"in":"query","name":"namespace","required":true,"schema":{"items":{"type":"string"},"maxItems":10,"minItems":1,"title":"Namespace","type":"array"}},{"in":"query","name":"max_results","required":false,"schema":{"default":100,"maximum":1000,"minimum":1,"title":"Max Results","type":"integer"}},{"in":"query","name":"next_token","required":false,"schema":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"title":"Next Token"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseTableListResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"External Catalog Tables","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections":{"get":{"description":"List Ingestion Connections Route.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/ingestion-connections`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_ingestion_connections_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"details","required":false,"schema":{"default":true,"title":"Details","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"},"title":"Response Warehouse List Ingestion Connections Route","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Ingestion Connections Route","tags":["warehouse"]},"post":{"description":"Create Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/preflight":{"post":{"description":"Preflight Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/preflight`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_preflight_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionPreflightRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionPreflightResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Preflight Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}":{"delete":{"description":"Delete Ingestion Connection Route.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_delete_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"query","name":"skip_source_cleanup","required":false,"schema":{"default":false,"title":"Skip Source Cleanup","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionDeleteResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Delete Ingestion Connection Route","tags":["warehouse"]},"get":{"description":"Read Ingestion Connection Route.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_read_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Ingestion Connection Route","tags":["warehouse"]},"patch":{"description":"Rename a sync or change a scheduled sync's cadence.\n\nA new cadence takes effect after the last sync. Renaming changes only the label.","operationId":"warehouse_update_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/backfill":{"post":{"description":"Reread source rows whose date column is in [start, end) and merge them by primary key.\n\nThe tables' incremental positions are kept, so regular syncs continue afterwards.\nRows deleted at the source are not removed.","operationId":"warehouse_backfill_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionBackfillRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Backfill Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/discover":{"post":{"description":"Discover Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/discover`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_discover_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Discover Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/pause":{"post":{"description":"Pause Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/pause`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_pause_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Pause Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/resume":{"post":{"description":"Resume Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/resume`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_resume_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resume Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/resync":{"post":{"description":"Recopy every table, or only `table_id` on a scheduled sync, from the start of the source.","operationId":"warehouse_resync_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionResyncRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resync Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/schema-changes":{"get":{"description":"List Ingestion Schema Changes Route.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/schema-changes`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_ingestion_schema_changes_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"query","name":"table_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Table Id"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"activeOnly","required":false,"schema":{"default":false,"title":"Activeonly","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WarehouseIngestionSchemaChangeResponse"},"title":"Response Warehouse List Ingestion Schema Changes Route","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Ingestion Schema Changes Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/sync":{"post":{"description":"Sync Ingestion Connection Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/sync`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_sync_ingestion_connection_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Sync Ingestion Connection Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}":{"patch":{"description":"Update Ingestion Table Route.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path), `table_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_update_ingestion_table_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionTableUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Ingestion Table Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/activity":{"get":{"description":"Rows the sync wrote to this table over the last 24 hours and 7 days.\n\nRead from the destination table's retained Iceberg commits, so counts start\nat ``history_start`` when older commits have expired.","operationId":"warehouse_read_ingestion_table_activity_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionTableRecentActivityResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Ingestion Table Activity Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/pause":{"post":{"description":"Stop syncing one table of a scheduled sync; its other tables keep syncing.\n\nThe table keeps its data, checkpoint and configuration, and resumes from where it\nstopped. Continuous syncs return 400 `warehouse_ingestion_table_pause_unsupported`: they\nreplicate every table together, so pause the whole sync instead.","operationId":"warehouse_pause_ingestion_table_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/WarehouseIngestionTablePauseRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Pause Ingestion Table Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/resume":{"post":{"description":"Sync a paused table again. It continues from its checkpoint on the connection's next run.","operationId":"warehouse_resume_ingestion_table_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionConnectionResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resume Ingestion Table Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/resync-deletions/approve":{"post":{"description":"Remove the rows a full resync withheld for review, bounded by the reviewed count.\n\nFor a continuous (Flow) sync this approves switching every table to the held full\nresync copy; the runner checks the counts again before it switches.","operationId":"warehouse_approve_ingestion_resync_deletions_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionResyncDeletionDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionTableResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Approve Ingestion Resync Deletions Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/resync-deletions/dismiss":{"post":{"description":"Keep the rows a full resync withheld for review.\n\nContinuous (Flow) syncs return 409 `warehouse_flow_resync_deletion_keep_unsupported`:\napprove the switch, or fix the source and request another full resync.","operationId":"warehouse_dismiss_ingestion_resync_deletions_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionResyncDeletionDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionTableResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dismiss Ingestion Resync Deletions Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/schema-changes/{change_id}/dismiss":{"post":{"description":"Dismiss Ingestion Schema Change Summary Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/schema-changes/{change_id}/dismiss`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path), `table_id` (path), `change_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_dismiss_ingestion_schema_change_summary_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"path","name":"change_id","required":true,"schema":{"format":"uuid","title":"Change Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionSchemaChangeResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Dismiss Ingestion Schema Change Summary Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/schema-changes/{change_id}/resolve":{"post":{"description":"Resolve Ingestion Schema Change Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/ingestion-connections/{connection_id}/tables/{table_id}/schema-changes/{change_id}/resolve`.\n\nRequired parameters: `workspace_id` (path), `connection_id` (path), `table_id` (path), `change_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_resolve_ingestion_schema_change_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"connection_id","required":true,"schema":{"format":"uuid","title":"Connection Id","type":"string"}},{"in":"path","name":"table_id","required":true,"schema":{"format":"uuid","title":"Table Id","type":"string"}},{"in":"path","name":"change_id","required":true,"schema":{"format":"uuid","title":"Change Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionSchemaChangeResolveRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseIngestionSchemaChangeResolveResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Resolve Ingestion Schema Change Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/ingestion-sources":{"get":{"description":"List Warehouse Ingestion Sources.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/ingestion-sources`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_warehouse_ingestion_sources","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"preview_source","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Source"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WarehouseIngestionSourceDefinitionResponse"},"title":"Response Warehouse List Warehouse Ingestion Sources","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Warehouse Ingestion Sources","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/queries":{"get":{"description":"List Queries.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/queries`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_queries","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WarehouseQueryHistoryItemResponse"},"title":"Response Warehouse List Queries","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Queries","tags":["warehouse"]},"post":{"description":"Create Query.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/queries`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_query","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Query","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/queries/read-only":{"post":{"description":"Create Readonly Query.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/queries/read-only`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_readonly_query","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Readonly Query","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/queries/{query_id}":{"get":{"description":"Read Query.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/queries/{query_id}`.\n\nRequired parameters: `workspace_id` (path), `query_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_read_query","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"query_id","required":true,"schema":{"format":"uuid","title":"Query Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Query","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/queries/{query_id}/cancel":{"post":{"description":"Cancel Query.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/queries/{query_id}/cancel`.\n\nRequired parameters: `workspace_id` (path), `query_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_cancel_query","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"query_id","required":true,"schema":{"format":"uuid","title":"Query Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Cancel Query","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/queries/{query_id}/results":{"get":{"description":"Read Query Results.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/queries/{query_id}/results`.\n\nRequired parameters: `workspace_id` (path), `query_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_read_query_results","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"query_id","required":true,"schema":{"format":"uuid","title":"Query Id","type":"string"}},{"in":"query","name":"max_results","required":false,"schema":{"default":1000,"maximum":1000,"minimum":1,"title":"Max Results","type":"integer"}},{"in":"query","name":"next_token","required":false,"schema":{"anyOf":[{"maxLength":4096,"minLength":1,"type":"string"},{"type":"null"}],"title":"Next Token"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseQueryResultsResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Read Query Results","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/query-routing/qualifications":{"get":{"description":"List Query Qualifications Route.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/query-routing/qualifications`.\n\nRequired parameters: `workspace_id` (path), `source_connection_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_list_query_qualifications_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"source_connection_id","required":true,"schema":{"format":"uuid","title":"Source Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueryQualification"},"title":"Response Warehouse List Query Qualifications Route","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"List Query Qualifications Route","tags":["warehouse"]},"post":{"description":"Qualify Queries Route.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/query-routing/qualifications`.\n\nRequired parameters: `workspace_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_qualify_queries_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryQualificationCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryQualification"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Qualify Queries Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/query-routing/qualifications/{qualification_id}":{"delete":{"description":"Revoke Query Qualification Route.\n\nContrast REST operation: `DELETE /v1/workspaces/{workspace_id}/warehouse/query-routing/qualifications/{qualification_id}`.\n\nRequired parameters: `workspace_id` (path), `qualification_id` (path), `source_connection_id` (query).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_revoke_query_qualification_route","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"qualification_id","required":true,"schema":{"title":"Qualification Id","type":"string"}},{"in":"query","name":"source_connection_id","required":true,"schema":{"format":"uuid","title":"Source Connection Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Revoke Query Qualification Route","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/setup":{"get":{"description":"Get Managed Warehouse Setup.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/setup`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_get_managed_warehouse_setup","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedWarehouseSetupResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Managed Warehouse Setup","tags":["warehouse"]},"post":{"description":"Setup Managed Warehouse.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/setup`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_setup_managed_warehouse","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedWarehouseSetupResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Setup Managed Warehouse","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/setup-runs":{"post":{"description":"Create Setup Run.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/setup-runs`.\n\nRequired parameters: `workspace_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_create_setup_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"query","name":"resume_completed","required":false,"schema":{"default":false,"title":"Resume Completed","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseSetupRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Create Setup Run","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/setup-runs/{setup_run_id}":{"get":{"description":"Get Setup Run.\n\nContrast REST operation: `GET /v1/workspaces/{workspace_id}/warehouse/setup-runs/{setup_run_id}`.\n\nRequired parameters: `workspace_id` (path), `setup_run_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_get_setup_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"setup_run_id","required":true,"schema":{"format":"uuid","title":"Setup Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseSetupRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Get Setup Run","tags":["warehouse"]},"patch":{"description":"Update Setup Run.\n\nContrast REST operation: `PATCH /v1/workspaces/{workspace_id}/warehouse/setup-runs/{setup_run_id}`.\n\nRequired parameters: `workspace_id` (path), `setup_run_id` (path).\n\nThe request body is required; use its declared media type and schema.\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_update_setup_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"setup_run_id","required":true,"schema":{"format":"uuid","title":"Setup Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseSetupRunUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseSetupRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Update Setup Run","tags":["warehouse"]}},"/v1/workspaces/{workspace_id}/warehouse/setup-runs/{setup_run_id}/complete":{"post":{"description":"Complete Setup Run.\n\nContrast REST operation: `POST /v1/workspaces/{workspace_id}/warehouse/setup-runs/{setup_run_id}/complete`.\n\nRequired parameters: `workspace_id` (path), `setup_run_id` (path).\n\nUse the response status and schema to handle the result. See the Contrast API reference for authentication and errors.","operationId":"warehouse_complete_setup_run","parameters":[{"in":"path","name":"workspace_id","required":true,"schema":{"format":"uuid","title":"Workspace Id","type":"string"}},{"in":"path","name":"setup_run_id","required":true,"schema":{"format":"uuid","title":"Setup Run Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"in":"header","name":"X-Contrast-Client","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client"}},{"in":"header","name":"X-Contrast-Client-Version","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Contrast-Client-Version"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseSetupRunResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"summary":"Complete Setup Run","tags":["warehouse"]}}},"servers":[{"description":"Production","url":"https://api.embrasure.ai"}],"tags":[{"description":"Unified RBAC: grants, findings, sweeps, and enforcement.","name":"access"},{"description":"Data-agent runs, tool calls, and artifacts.","name":"agent"},{"description":"Sessions, personal access tokens, and identity.","name":"auth"},{"description":"Warehouse branch environments and jobs.","name":"branching"},{"description":"Catalog metadata sync jobs.","name":"catalog_sync"},{"description":"Catalog enrichment and annotations.","name":"catalog-annotations"},{"description":"External change events (deploys, dbt and pipeline runs) for incident attribution.","name":"change-events"},{"description":"Chat identity linking for the Contrast Slack app.","name":"chat"},{"description":"Data classification and sensitivity.","name":"classification"},{"description":"Data-source connectors, credentials, and verification.","name":"connectors"},{"description":"The unified context graph: objects, evidence, and writes.","name":"context"},{"description":"Chat conversations and messages.","name":"conversations"},{"description":"The workspace coworker profile and brief.","name":"coworker-profile"},{"description":"Workspace member directory and provisioning.","name":"directory"},{"description":"Approval policies and safeguards.","name":"governance"},{"description":"Insight missions, findings, and delivery.","name":"insights"},{"description":"Durable workspace memories.","name":"memories"},{"description":"Memory candidate review.","name":"memory-candidates"},{"description":"Memory consolidation runs.","name":"memory-dreams"},{"description":"Notebooks and cells.","name":"notebooks"},{"description":"Workspace overview and attention feed.","name":"overview"},{"description":"Observed user personas.","name":"personas"},{"description":"MCP and editor integrations.","name":"plugins"},{"description":"Answer quality and observability.","name":"quality"},{"description":"Natural-language and SQL query execution.","name":"query"},{"description":"Query pattern analysis and suggestions.","name":"query-insights"},{"description":"Source schema-change detection and impact.","name":"schema-changes"},{"description":"SCIM 2.0 provisioning (own auth and error schema).","name":"scim"},{"description":"Semantic models and definitions.","name":"semantic"},{"description":"Managed warehouse, databases, and ingestion.","name":"warehouse"},{"description":"Usage, spend, and limits.","name":"workspace-usage"},{"description":"Workspace lifecycle and settings.","name":"workspaces"}]}