{"openapi":"3.1.0","x-anyshift-query-language":{"version":"1.22","docsUrl":"https://docs.anyshift.io/pages/product/integration/graph_query_language","grammar":"SELECT <*|count(*)> FROM <table> [WHERE k = v [AND ...]] [LIMIT n] [OFFSET n]","selectors":["*","count(*)"],"selectorAliases":["count(1)"],"valueSyntax":"Values may be bare words or single- or double-quoted strings.","tables":[{"name":"resolve","aliases":["search"],"intent":"resolve","summary":"Resolve a resource name or fragment to ranked current graph resources.","filters":[{"name":"term","type":"string","description":"Resource name or fragment; exactly one of term and resource_id is required."},{"name":"resource_id","type":"string","description":"Exact stable graph or provider id; cannot be combined with term or name qualifiers."},{"name":"resource_type","type":"string","description":"Non-empty term-only exact type qualifier."},{"name":"resource_namespace","type":"string","description":"Non-empty term-only exact namespace qualifier."},{"name":"resource_cluster","type":"string","description":"Non-empty term-only exact cluster qualifier."}],"selector":{"exactlyOneOf":["term","resource_id"],"nonEmpty":["term","resource_id","resource_type","resource_namespace","resource_cluster"],"qualifiers":{"fields":["resource_type","resource_namespace","resource_cluster"],"require":"term","forbidWith":"resource_id","routeExact":true}},"pagination":{"limit":true,"offset":false},"forms":[{"name":"Resolve resources","description":"Return ranked candidates for a resource name or fragment.","example":"SELECT * FROM resolve WHERE term = checkout LIMIT 10"},{"name":"Resolve one qualified resource","description":"Resolve an exact same-named resource without a separate client-side lookup.","example":"SELECT * FROM resolve WHERE term = checkout AND resource_type = K8S_DEPLOYMENT AND resource_cluster = staging LIMIT 10"}]},{"name":"resource_details","aliases":["resource_detail","details"],"intent":"resource","summary":"Read one current graph resource by exact stable ID with safe properties and bounded relationships.","filters":[{"name":"id","type":"string","description":"Exact hashedID or Anyshift ID.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Exact resource details","description":"Return one resource by stable graph identity; names and fuzzy selectors are not accepted.","example":"SELECT * FROM resource_details WHERE id = 'pagerduty/escalation-policy/PQ3UO6W' LIMIT 100"}]},{"name":"events","aliases":["event"],"intent":"events","summary":"Read the infrastructure change-event timeline.","filters":[{"name":"type","type":"string","description":"Event type or type fragment, such as oom or scaling."},{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"target_id","type":"string","description":"Exact stable graph resource id; cannot be combined with target or name qualifiers."},{"name":"target_type","type":"string","description":"Exact resource label used with target."},{"name":"namespace","type":"string","description":"Kubernetes namespace."},{"name":"cluster","type":"string","description":"Exact cluster name used with target."},{"name":"noise","type":"enum","description":"Whether to include noisy events.","values":[{"value":"signal","description":"Return signal events only.","aliases":["false","exclude"]},{"value":"all","description":"Include noisy events.","aliases":["true","include"]}]},{"name":"stats","type":"enum","description":"Whether to calculate exact full-window statistics.","values":[{"value":"exact","description":"Return an exact total and event-type counts."},{"value":"none","description":"Return only the bounded page without calculating full-window statistics."}]},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"from","type":"string","description":"Inclusive absolute RFC3339 lower bound; requires until and excludes since."},{"name":"until","type":"string","description":"Exclusive absolute RFC3339 upper bound; requires from and excludes since."},{"name":"cursor","type":"string","description":"Opaque seek cursor returned by the previous bounded page."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Recent resource events","description":"Read recent events for a resource inside a time window.","example":"SELECT * FROM events WHERE target = checkout AND since = 2h LIMIT 20"},{"name":"Historical incident window","description":"Read only an exact half-open incident interval without scanning back from now.","example":"SELECT * FROM events WHERE target = checkout AND from = '2026-08-30T10:00:00Z' AND until = '2026-08-30T11:00:00Z' AND stats = none LIMIT 20"}]},{"name":"cloud_events","aliases":["cloudevents","cloud_event"],"intent":"cloudevents","summary":"Read evidence-backed AWS, Azure, GCP, and Cloudflare change events without parsing summaries.","filters":[{"name":"provider","type":"enum","description":"Cloud provider.","values":[{"value":"aws","description":"Amazon Web Services."},{"value":"azure","description":"Microsoft Azure."},{"value":"gcp","description":"Google Cloud Platform."},{"value":"cloudflare","description":"Cloudflare."}]},{"name":"scope","type":"string","description":"Provider scope: AWS account, Azure subscription, GCP project, or Cloudflare account."},{"name":"region","type":"string","description":"Cloud region or location."},{"name":"category","type":"enum","description":"Normalized cloud-change category.","values":[{"value":"security","description":"Firewall, encryption, and network-access changes."},{"value":"identity","description":"IAM, trust, role, policy, grant, and credential changes."},{"value":"lifecycle","description":"Resource discovery, recreation, start, stop, and deletion evidence."},{"value":"configuration","description":"Configuration and metadata changes."},{"value":"capacity","description":"Scaling and capacity changes."},{"value":"backup","description":"Backup, restore, and snapshot activity."},{"value":"other","description":"Cloud changes outside the normalized categories."}]},{"name":"type","type":"string","description":"Exact normalized event type. Underscores are preserved."},{"name":"resource","type":"string","description":"Exact ARN, ARM ID, graph id, or unambiguous resource name."},{"name":"actor","type":"string","description":"Actor identity, name, or graph id."},{"name":"correlation","type":"string","description":"Anyshift event-story correlation id."},{"name":"operation","type":"string","description":"Provider-native operation id."},{"name":"stats","type":"enum","description":"Whether to calculate exact full-window statistics.","values":[{"value":"exact","description":"Return an exact total and event-type counts."},{"value":"none","description":"Return only the bounded page without calculating full-window statistics."}]},{"name":"noise","type":"enum","description":"Whether to include high-noise evidence.","values":[{"value":"signal","description":"Return signal events only.","aliases":["false","exclude"]},{"value":"all","description":"Include every stored event.","aliases":["true","include","raw"]}]},{"name":"diff","type":"enum","description":"Whether to include sanitized before/after values.","values":[{"value":"false","description":"Return changed field names only.","aliases":["no","none"]},{"value":"true","description":"Return sanitized before/after values.","aliases":["yes","include"]}]},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"cursor","type":"string","description":"Opaque seek cursor returned by the previous page."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Recent cloud changes","description":"Read a bounded provider-neutral cloud-change timeline.","example":"SELECT * FROM cloud_events WHERE provider = aws AND category = security AND since = 24h LIMIT 50"}]},{"name":"cloud_resources","aliases":["cloudresources","cloud_inventory"],"intent":"cloudresources","summary":"Inspect current or recently deleted AWS, Azure, and GCP resources with freshness and provenance.","filters":[{"name":"provider","type":"enum","description":"Cloud provider.","values":[{"value":"aws","description":"Amazon Web Services."},{"value":"azure","description":"Microsoft Azure."},{"value":"gcp","description":"Google Cloud Platform."}]},{"name":"scope","type":"string","description":"Provider scope: AWS account, Azure subscription, or GCP project."},{"name":"region","type":"string","description":"Cloud region or location."},{"name":"type","type":"string","description":"Provider resource type, such as EC2_INSTANCE or COMPUTE_INSTANCES."},{"name":"resource","type":"string","description":"Exact native id, graph id, or unambiguous resource name."},{"name":"lifecycle","type":"enum","description":"Resource lifecycle. Defaults to alive.","values":[{"value":"alive","description":"Current resources."},{"value":"deleted","description":"Tombstoned resources still inside retention."},{"value":"all","description":"Current and tombstoned resources."}]},{"name":"provenance","type":"enum","description":"IaC provenance status.","values":[{"value":"managed","description":"A STATE resource manages the cloud resource."},{"value":"configured","description":"An ARN pattern configures the cloud resource."},{"value":"unknown","description":"No stored IaC provenance evidence."}]},{"name":"freshness","type":"enum","description":"Freshness verdict relative to max_age.","values":[{"value":"fresh","description":"Observation is inside max_age."},{"value":"stale","description":"Observation is older than max_age."},{"value":"unknown","description":"No parseable observation time is stored."}]},{"name":"max_age","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"cursor","type":"string","description":"Opaque seek cursor returned by the previous page."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Current cloud inventory","description":"List provider resources with explicit freshness and provenance evidence.","example":"SELECT * FROM cloud_resources WHERE provider = aws AND type = EC2_INSTANCE LIMIT 50"}]},{"name":"delivery_events","aliases":["deliveryevents","delivery"],"intent":"deliveryevents","summary":"Read commit, CI, release, and deployment evidence from the delivery graph.","filters":[{"name":"stage","type":"enum","description":"Delivery stage.","values":[{"value":"commit","description":"Source commit events."},{"value":"ci","description":"CI pipeline run events.","aliases":["pipeline"]},{"value":"release","description":"Release publication events."},{"value":"deploy","description":"GitOps, Helm, and workload deployment events.","aliases":["deployment"]}]},{"name":"type","type":"string","description":"Exact event type, such as event_release or argocd_synced."},{"name":"resource","type":"string","description":"Exact graph id or unambiguous target name."},{"name":"actor","type":"string","description":"Actor identity, name, or graph id."},{"name":"source","type":"string","description":"Persisted event source."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"cursor","type":"string","description":"Opaque seek cursor returned by the previous page."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Recent delivery activity","description":"Read a bounded software-delivery timeline without inferring missing actors or commits.","example":"SELECT * FROM delivery_events WHERE stage = release AND since = 7d LIMIT 50"}]},{"name":"provenance","aliases":["release_provenance","delivery_provenance"],"intent":"provenance","summary":"Trace a resource to stored release, commit, and actor evidence.","filters":[{"name":"resource","type":"string","description":"Resource, repository, release, image, or service to trace.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Release provenance","description":"Return only stored release-to-commit-to-actor evidence.","example":"SELECT * FROM provenance WHERE resource = checkout LIMIT 20"}]},{"name":"ownership","aliases":["owners","code_ownership"],"intent":"ownership","summary":"Resolve observed GitHub user or team code ownership and contact identities.","filters":[{"name":"resource","type":"string","description":"Repository or resource whose observed owner is required.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Observed code ownership","description":"Return OWNS_CODE evidence and any linked people; missing edges remain unknown.","example":"SELECT * FROM ownership WHERE resource = anyshift-io/checkout LIMIT 20"}]},{"name":"graph_coverage","aliases":["graphcoverage","source_coverage"],"intent":"graphcoverage","summary":"Inspect current node, relationship, bridge, and event evidence by graph source.","filters":[{"name":"source","type":"enum","description":"Source universe.","values":[{"value":"kubernetes","description":"Kubernetes resource graph.","aliases":["k8s"]},{"value":"cloud","description":"Provider cloud-resource graph."},{"value":"github","description":"GitHub repositories, identities, pipelines, and releases.","aliases":["scm"]},{"value":"datadog","description":"Datadog observability graph."},{"value":"tempo","description":"Grafana Tempo dependency graph."},{"value":"dynatrace","description":"Dynatrace topology and Davis event graph."},{"value":"victoria","description":"VictoriaTraces dependency graph."},{"value":"grafana","description":"Grafana alert-rule graph."}]}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Graph source coverage","description":"Report only observed graph evidence; absent does not imply configuration state.","example":"SELECT * FROM graph_coverage"}]},{"name":"resources","aliases":["resource","inventory"],"intent":"inventory","summary":"Count and sample current resources of one graph resource type.","filters":[{"name":"type","type":"string","description":"Graph resource type, such as service or deployment.","required":true},{"name":"source","type":"enum","description":"Stored inventory provenance. The filter is applied before canonical deduplication.","values":[{"value":"cloud_api","description":"Observed directly through a cloud provider API."},{"value":"terraform_state","description":"Observed in Terraform state, without direct cloud confirmation."},{"value":"evaluation","description":"Stored evaluation, fixture, or test evidence."},{"value":"unknown","description":"No supported stored provenance evidence."}]}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Resource inventory","description":"Return the inventory for one resource type.","example":"SELECT * FROM resources WHERE type = deployment LIMIT 50"}]},{"name":"operational_impact","aliases":["potential_impact"],"intent":"impact","summary":"Find potential operational impact through reviewed directional graph relationships.","filters":[{"name":"resource","type":"string","description":"Root resource whose potential impact to evaluate.","required":true},{"name":"depth","type":"integer","description":"Maximum propagation depth from 1 to 3. Defaults to 2."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Potential operational impact","description":"Return resources reachable through reviewed operational impact relationships.","example":"SELECT * FROM operational_impact WHERE resource = checkout-db AND depth = 2 LIMIT 50"}]},{"name":"connections","aliases":["connection","deps"],"intent":"connections","summary":"Inspect direct upstream and downstream relationships for a resource.","filters":[{"name":"resource","type":"string","description":"Resource name or identifier.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Direct connections","description":"Return the resource and its direct graph neighbors.","example":"SELECT * FROM connections WHERE resource = checkout LIMIT 50"}]},{"name":"hotspots","aliases":["hotspot"],"intent":"hotspots","summary":"Rank noisy resources, namespaces, alert rules, or alerting workloads.","filters":[{"name":"type","type":"string","description":"Event type or type fragment."},{"name":"by","type":"enum","description":"Ranking dimension.","values":[{"value":"resource","description":"Rank resources.","aliases":["resources"]},{"value":"namespace","description":"Rank namespaces.","aliases":["namespaces","ns"]},{"value":"alertrule","description":"Rank firing alert rules.","aliases":["alertrules","rule"]},{"value":"alertworkload","description":"Rank workloads with firing alerts.","aliases":["alertworkloads","workload"]}]},{"name":"namespace","type":"string","description":"Kubernetes namespace scope."},{"name":"noise","type":"enum","description":"Whether to include noisy events.","values":[{"value":"signal","description":"Return signal events only.","aliases":["false","exclude"]},{"value":"all","description":"Include noisy events.","aliases":["true","include"]}]},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Resource hotspots","description":"Rank resources by recent event activity.","example":"SELECT * FROM hotspots WHERE by = resource AND since = 24h LIMIT 10"}]},{"name":"correlations","aliases":["correlation"],"intent":"correlations","summary":"Reconstruct a correlated Anyshift event group around a target or correlation identifier.","filters":[{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"id","type":"string","description":"Correlation identifier."},{"name":"type","type":"string","description":"Optional event type filter."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Correlation by target","description":"At least one of target or id is required; since bounds target resolution.","example":"SELECT * FROM correlations WHERE target = checkout AND since = 2h"},{"name":"Correlation by id","description":"Load one exact correlation group.","example":"SELECT * FROM correlations WHERE id = incident-123"}]},{"name":"incidents","aliases":["incident"],"intent":"incident","summary":"Deprecated alias for correlations. Reconstruct a correlated Anyshift event group around a target or correlation identifier.","deprecated":{"since":"v1","replacement":"correlations"},"filters":[{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"id","type":"string","description":"Correlation identifier."},{"name":"type","type":"string","description":"Optional event type filter."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Incident by target","description":"Deprecated. Prefer correlations. At least one of target or id is required; since bounds target resolution.","example":"SELECT * FROM incidents WHERE target = checkout AND since = 2h"},{"name":"Incident by correlation id","description":"Deprecated. Prefer correlations. Load one exact correlation group.","example":"SELECT * FROM incidents WHERE id = incident-123"}]},{"name":"failures","aliases":[],"intent":"failures","summary":"Read recent failure-class infrastructure events.","filters":[{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"namespace","type":"string","description":"Kubernetes namespace."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Recent failures","description":"Read failures for a target, namespace, or the whole project.","example":"SELECT * FROM failures WHERE namespace = commerce AND since = 2h LIMIT 20"}]},{"name":"deployments","aliases":["deployment","rollouts"],"intent":"deployments","summary":"Read recent workload deployments and image changes.","filters":[{"name":"target","type":"string","description":"Workload name or fragment."},{"name":"namespace","type":"string","description":"Kubernetes namespace."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Recent deployments","description":"Read deployments for a target, namespace, or the whole project.","example":"SELECT * FROM deployments WHERE namespace = commerce AND since = 24h LIMIT 20"}]},{"name":"audit","aliases":["changes"],"intent":"audit","summary":"Read configuration, identity, and infrastructure audit events.","filters":[{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"namespace","type":"string","description":"Kubernetes namespace."},{"name":"type","type":"string","description":"Audit event type or fragment, such as rbac."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"RBAC audit","description":"Read recent RBAC-related changes.","example":"SELECT * FROM audit WHERE type = rbac AND since = 24h LIMIT 20"}]},{"name":"nodes","aliases":["node"],"intent":"nodes","summary":"Read node lifecycle and capacity events.","filters":[{"name":"target","type":"string","description":"Node name or fragment."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Node activity","description":"Read recent node events.","example":"SELECT * FROM nodes WHERE since = 6h LIMIT 20"}]},{"name":"deploy_impact","aliases":["impact","risky"],"intent":"deployimpact","summary":"Join recent deployments to the failures that followed them.","filters":[{"name":"target","type":"string","description":"Workload name or fragment."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"after","type":"duration","description":"Also list failure events on each rollout's workload within this window after the rollout, as unverified temporal candidates (not correlation-attributed). Up to 24h."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Deployment impact","description":"Rank recent deployment fallout or inspect one workload.","example":"SELECT * FROM deploy_impact WHERE target = checkout AND since = 24h LIMIT 10"},{"name":"Deployment impact with temporal candidates","description":"Also surface unattributed failures that followed each rollout, labelled as unverified time-proximity candidates.","example":"SELECT * FROM deploy_impact WHERE since = 24h AND after = 30m"}]},{"name":"common_cause","aliases":["commoncause","cause"],"intent":"commoncause","summary":"Find shared infrastructure or dependencies behind recent failures.","filters":[{"name":"namespace","type":"string","description":"Kubernetes namespace scope."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Shared failure causes","description":"Intersect recent failures by node, workload, datastore, and external dependency.","example":"SELECT * FROM common_cause WHERE namespace = commerce AND since = 2h LIMIT 10"}]},{"name":"blast_radius","aliases":["blast"],"intent":"blast","summary":"Calculate the transitive workloads, pods, and services affected by a resource.","filters":[{"name":"resource","type":"string","description":"Starting resource name; exactly one of resource and resource_id is required."},{"name":"resource_id","type":"string","description":"Exact stable graph or provider id; cannot be combined with resource or name qualifiers."},{"name":"resource_type","type":"string","description":"Non-empty resource-only exact type qualifier."},{"name":"resource_namespace","type":"string","description":"Non-empty resource-only exact namespace qualifier."},{"name":"resource_cluster","type":"string","description":"Non-empty resource-only exact cluster qualifier."}],"selector":{"exactlyOneOf":["resource","resource_id"],"nonEmpty":["resource","resource_id","resource_type","resource_namespace","resource_cluster"],"qualifiers":{"fields":["resource_type","resource_namespace","resource_cluster"],"require":"resource","forbidWith":"resource_id","routeExact":true}},"pagination":{"limit":true,"offset":false},"forms":[{"name":"Resource blast radius","description":"Walk impact outward from one resource.","example":"SELECT * FROM blast_radius WHERE resource = shared-runtime-sa LIMIT 100"},{"name":"Qualified resource blast radius","description":"Select one same-named resource by stable id or exact name qualifiers.","example":"SELECT * FROM blast_radius WHERE resource = checkout AND resource_type = K8S_DEPLOYMENT AND resource_cluster = staging LIMIT 100"}]},{"name":"spof","aliases":["spofs"],"intent":"spof","summary":"Rank highly shared ConfigMaps, service accounts, or nodes by fan-in.","filters":[{"name":"kind","type":"enum","description":"Resource kind to rank. Defaults to configmap.","values":[{"value":"configmap","description":"Rank ConfigMaps.","aliases":["configmaps","cm"]},{"value":"serviceaccount","description":"Rank Kubernetes service accounts.","aliases":["serviceaccounts","sa"]},{"value":"node","description":"Rank Kubernetes nodes.","aliases":["nodes"]}]},{"name":"namespace","type":"string","description":"Kubernetes namespace scope."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Shared service accounts","description":"Rank service accounts by dependent workloads and pods.","example":"SELECT * FROM spof WHERE kind = serviceaccount LIMIT 10"}]},{"name":"orphans","aliases":["orphan","unused","dangling"],"intent":"orphans","summary":"Find unused or dangling Kubernetes resources.","filters":[{"name":"kind","type":"enum","description":"Resource kind to inspect. Defaults to configmap.","values":[{"value":"configmap","description":"Find orphaned ConfigMaps.","aliases":["configmaps","cm"]},{"value":"serviceaccount","description":"Find orphaned service accounts.","aliases":["serviceaccounts","sa"]},{"value":"role","description":"Find orphaned roles.","aliases":["roles"]},{"value":"replicaset","description":"Find orphaned ReplicaSets.","aliases":["replicasets","rs"]}]},{"name":"namespace","type":"string","description":"Kubernetes namespace scope."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Orphaned roles","description":"Find roles with no observed consumers.","example":"SELECT * FROM orphans WHERE kind = role AND namespace = commerce LIMIT 20"}]},{"name":"coverage","aliases":["blindspots","unmonitored","uncovered"],"intent":"coverage","summary":"Find service, monitor, or metrics coverage gaps.","filters":[{"name":"kind","type":"enum","description":"Coverage dimension. Defaults to service.","values":[{"value":"service","description":"Find services without monitoring presence.","aliases":["services","workload","workloads"]},{"value":"monitor","description":"Find monitored services without monitors.","aliases":["monitors"]},{"value":"metrics","description":"Find metrics shipping gaps.","aliases":["metric"]}]},{"name":"namespace","type":"string","description":"Kubernetes namespace scope."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Monitoring gaps","description":"Find unmonitored services in one namespace.","example":"SELECT * FROM coverage WHERE kind = service AND namespace = commerce LIMIT 20"}]},{"name":"access","aliases":["rbac","permissions"],"intent":"access","summary":"Inspect RBAC reach or rank over-privileged service accounts.","filters":[{"name":"resource","type":"string","description":"Subject or role name in reach mode; optional namespace scope in privileged mode."},{"name":"mode","type":"enum","description":"Access analysis mode. Defaults to reach.","values":[{"value":"reach","description":"Inspect what one subject can reach."},{"value":"privileged","description":"Rank broadly privileged service accounts."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Subject reach","description":"Reach mode requires resource.","example":"SELECT * FROM access WHERE resource = ci-deployer"},{"name":"Privileged identities","description":"Privileged mode can optionally scope resource to a namespace.","example":"SELECT * FROM access WHERE mode = privileged LIMIT 10"}]},{"name":"exposure","aliases":["exposed","attack_surface"],"intent":"exposure","summary":"Trace bidirectional stored public-exposure routes and attached controls for one resource.","filters":[{"name":"resource","type":"string","description":"Non-empty resource name or FQDN; exactly one of resource and resource_id is required."},{"name":"resource_id","type":"string","description":"Non-empty stable graph or provider id; cannot be combined with resource or name qualifiers."},{"name":"resource_type","type":"string","description":"Non-empty name-only qualifier; requires resource and sets exact selection."},{"name":"resource_namespace","type":"string","description":"Non-empty name-only qualifier; requires resource and sets exact selection."},{"name":"resource_cluster","type":"string","description":"Non-empty name-only qualifier; requires resource and sets exact selection."},{"name":"cursor","type":"string","description":"Non-empty opaque seek cursor bound to the subject and perspective of the previous exposure page."}],"selector":{"exactlyOneOf":["resource","resource_id"],"nonEmpty":["resource","resource_id","resource_type","resource_namespace","resource_cluster","cursor"],"qualifiers":{"fields":["resource_type","resource_namespace","resource_cluster"],"require":"resource","forbidWith":"resource_id","routeExact":true}},"pagination":{"limit":true,"offset":false},"forms":[{"name":"Public exposure by name","description":"Resolve one name or FQDN and select the traversal perspective from that subject.","example":"SELECT * FROM exposure WHERE resource = api.example.com"},{"name":"Public exposure by stable id","description":"Bypass name resolution with one stable graph or provider identity.","example":"SELECT * FROM exposure WHERE resource_id = 'cf://accounts/a/zones/z/hostnames/api.example.com'"},{"name":"Qualified exact public exposure","description":"Use name-only qualifiers to force exact typed subject selection.","example":"SELECT * FROM exposure WHERE resource = checkout AND resource_type = K8S_SERVICE AND resource_namespace = payments"}]},{"name":"tenancy","aliases":["colocation","colocated","neighbors"],"intent":"tenancy","summary":"Find workloads co-located with a resource on the same node.","filters":[{"name":"resource","type":"string","description":"Workload, pod, or node name.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Noisy neighbors","description":"Inspect resources sharing a node with the target.","example":"SELECT * FROM tenancy WHERE resource = checkout LIMIT 20"}]},{"name":"sharedconfig","aliases":["shared_config","configsiblings","config_siblings","configcoupled"],"intent":"sharedconfig","summary":"Find workloads coupled through shared configuration.","filters":[{"name":"resource","type":"string","description":"Workload or configuration resource name.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Shared configuration","description":"Find workloads sharing configuration with the target.","example":"SELECT * FROM sharedconfig WHERE resource = checkout LIMIT 20"}]},{"name":"path","aliases":["paths"],"intent":"path","summary":"Find the shortest infrastructure or operational path between two resources; both scopes include reviewed Cloudflare traffic edges.","filters":[{"name":"from","type":"string","description":"Starting resource name. Required unless from_id is supplied."},{"name":"from_exact","type":"string","description":"Set true for exact-name matching instead of legacy fuzzy resolution."},{"name":"from_id","type":"string","description":"Exact starting hashedID or anyshiftID."},{"name":"from_type","type":"string","description":"Exact starting resource label, such as K8S_DEPLOYMENT."},{"name":"from_namespace","type":"string","description":"Exact starting Kubernetes namespace."},{"name":"from_cluster","type":"string","description":"Exact starting cluster name."},{"name":"to","type":"string","description":"Destination resource name. Required unless to_id is supplied."},{"name":"to_exact","type":"string","description":"Set true for exact-name matching instead of legacy fuzzy resolution."},{"name":"to_id","type":"string","description":"Exact destination hashedID or anyshiftID."},{"name":"to_type","type":"string","description":"Exact destination resource label, such as TEMPO_DATASTORE."},{"name":"to_namespace","type":"string","description":"Exact destination Kubernetes namespace."},{"name":"to_cluster","type":"string","description":"Exact destination cluster name."},{"name":"scope","type":"enum","description":"Relationships available to the path traversal. Defaults to infrastructure.","values":[{"value":"infrastructure","description":"Traverse infrastructure structure, including reviewed Cloudflare traffic edges."},{"value":"operational","description":"Also traverse APM identity, calls, datastores, and messaging dependencies."}]}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Shortest path","description":"Each endpoint requires a name or id. Typed selectors resolve same-named resources deterministically.","example":"SELECT * FROM path WHERE from = checkout-api AND from_type = K8S_DEPLOYMENT AND to = postgresql AND to_type = TEMPO_DATASTORE AND scope = operational"}]},{"name":"cascade","aliases":["cascades"],"intent":"cascade","summary":"Trace an incident correlation group in propagation order.","filters":[{"name":"target","type":"string","description":"Resource name or fragment."},{"name":"id","type":"string","description":"Correlation identifier."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Cascade by target","description":"At least one of target or id is required; since bounds target resolution.","example":"SELECT * FROM cascade WHERE target = checkout AND since = 2h"},{"name":"Cascade by correlation id","description":"Trace one exact correlation group.","example":"SELECT * FROM cascade WHERE id = incident-123"}]},{"name":"alert_impact","aliases":["alertimpact"],"intent":"alertimpact","summary":"Find monitors and SLOs affected by a resource failure.","filters":[{"name":"resource","type":"string","description":"Infrastructure resource name.","required":true}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Alert impact","description":"Map an infrastructure resource to affected observability objects.","example":"SELECT * FROM alert_impact WHERE resource = checkout"}]},{"name":"monitor","aliases":["monitors"],"intent":"monitor","summary":"Resolve a monitor to the infrastructure it observes.","filters":[{"name":"target","type":"string","description":"Monitor name or fragment.","required":true}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Monitor infrastructure","description":"Map one monitor to its service, workload, and node.","example":"SELECT * FROM monitor WHERE target = checkout-latency"}]},{"name":"datastore","aliases":["datastores"],"intent":"datastore","summary":"Inspect datastore dependencies or rank widely used datastores.","filters":[{"name":"target","type":"string","description":"Service or datastore name."},{"name":"source","type":"enum","description":"APM dependency source. Defaults to auto.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first topology resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Rank datastores","description":"Omit target to rank datastore fan-in.","example":"SELECT * FROM datastore LIMIT 10"},{"name":"Datastore dependencies","description":"Inspect services connected to one datastore or datastores used by one service.","example":"SELECT * FROM datastore WHERE target = checkout-postgres"}]},{"name":"flow","aliases":["flows","stream"],"intent":"flow","summary":"Inspect stream producers and consumers or rank busy streams.","filters":[{"name":"target","type":"string","description":"Service, topic, queue, or stream name."},{"name":"source","type":"enum","description":"APM dependency source. Defaults to auto.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first topology resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Stream dependencies","description":"Inspect producers and consumers for a stream.","example":"SELECT * FROM flow WHERE target = checkout-events"}]},{"name":"external_dep","aliases":["externaldep","external"],"intent":"externaldep","summary":"Inspect external dependencies or rank high-fan-in external hosts.","filters":[{"name":"target","type":"string","description":"Service or external dependency name."},{"name":"source","type":"enum","description":"APM dependency source. Defaults to auto.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first topology resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"External dependencies","description":"Inspect services depending on one external host.","example":"SELECT * FROM external_dep WHERE target = payments.example.com"}]},{"name":"alerts","aliases":["alert","firing"],"intent":"alerts","summary":"List normalized operational alerts while retaining legacy Datadog firing-monitor fields.","filters":[{"name":"target","type":"string","description":"Legacy Datadog service or workload name."},{"name":"provider","type":"enum","description":"Operational evidence provider.","values":[{"value":"pagerduty","description":"PagerDuty operational evidence.","aliases":["pd"]},{"value":"datadog","description":"Datadog operational evidence.","aliases":["dd"]},{"value":"grafana","description":"Grafana operational evidence."},{"value":"victoria","description":"VictoriaMetrics operational evidence."},{"value":"dynatrace","description":"Dynatrace operational evidence."},{"value":"newrelic","description":"New Relic operational evidence.","aliases":["new_relic"]},{"value":"incidentio","description":"incident.io operational evidence.","aliases":["incident_io"]}]},{"name":"status","type":"enum","description":"Canonical alert state. Defaults to firing.","values":[{"value":"firing","description":"Currently firing alerts.","aliases":["open","triggered"]},{"value":"recovered","description":"Recovered alerts.","aliases":["resolved"]},{"value":"suppressed","description":"Suppressed alerts."},{"value":"unknown","description":"Alerts whose provider state is not recognized."},{"value":"all","description":"All stored alert states."}]},{"name":"severity","type":"enum","description":"Canonical alert severity.","values":[{"value":"critical","description":"Critical alerts."},{"value":"warning","description":"Warning alerts."},{"value":"info","description":"Informational alerts."},{"value":"unknown","description":"Unknown provider severity."}]},{"name":"service_id","type":"string","description":"Exact stable identity of a canonical graph service."},{"name":"service","type":"string","description":"Exact canonical graph service name."},{"name":"service_type","type":"string","description":"Exact canonical graph service label."},{"name":"service_namespace","type":"string","description":"Exact canonical service namespace."},{"name":"service_cluster","type":"string","description":"Exact canonical service cluster."},{"name":"provider_service_id","type":"string","description":"Exact provider-native service identifier."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"from","type":"string","description":"Absolute RFC3339 lower time bound."},{"name":"to","type":"string","description":"Absolute RFC3339 upper time bound."},{"name":"at","type":"string","description":"Absolute RFC3339 point in time, or now."},{"name":"cursor","type":"string","description":"Opaque keyset cursor returned by a previous page."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Current alerts","description":"List firing operational alerts; legacy Datadog fields remain additive siblings.","example":"SELECT * FROM alerts WHERE status = firing LIMIT 20"}]},{"name":"response_incidents","aliases":["response_incident"],"intent":"responseincidents","summary":"List provider-neutral response incidents that coordinate alert handling.","filters":[{"name":"provider","type":"enum","description":"Operational evidence provider.","values":[{"value":"pagerduty","description":"PagerDuty operational evidence.","aliases":["pd"]},{"value":"datadog","description":"Datadog operational evidence.","aliases":["dd"]},{"value":"grafana","description":"Grafana operational evidence."},{"value":"victoria","description":"VictoriaMetrics operational evidence."},{"value":"dynatrace","description":"Dynatrace operational evidence."},{"value":"newrelic","description":"New Relic operational evidence.","aliases":["new_relic"]},{"value":"incidentio","description":"incident.io operational evidence.","aliases":["incident_io"]}]},{"name":"status","type":"enum","description":"Canonical response-incident state. Defaults to open and acknowledged.","values":[{"value":"active","description":"Open or acknowledged incidents."},{"value":"open","description":"Triggered or otherwise open incidents.","aliases":["triggered"]},{"value":"acknowledged","description":"Acknowledged incidents.","aliases":["acked"]},{"value":"resolved","description":"Resolved incidents.","aliases":["closed"]},{"value":"unknown","description":"Incidents whose provider state is not recognized."},{"value":"all","description":"All stored incident states."}]},{"name":"service_id","type":"string","description":"Exact stable identity of a canonical graph service."},{"name":"service","type":"string","description":"Exact canonical graph service name."},{"name":"service_type","type":"string","description":"Exact canonical graph service label."},{"name":"service_namespace","type":"string","description":"Exact canonical service namespace."},{"name":"service_cluster","type":"string","description":"Exact canonical service cluster."},{"name":"provider_service_id","type":"string","description":"Exact provider-native service identifier."},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."},{"name":"from","type":"string","description":"Absolute RFC3339 lower time bound."},{"name":"to","type":"string","description":"Absolute RFC3339 upper time bound."},{"name":"at","type":"string","description":"Absolute RFC3339 point in time, or now."},{"name":"cursor","type":"string","description":"Opaque keyset cursor returned by a previous page."},{"name":"responder","type":"string","description":"Exact display name, canonical person ID or email, or provider user ID."},{"name":"urgency","type":"string","description":"Provider urgency value; preserved as provider-specific evidence."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Active response incidents","description":"List open or acknowledged incidents from stored graph evidence.","example":"SELECT * FROM response_incidents WHERE provider = pagerduty LIMIT 50"}]},{"name":"oncall","aliases":["on_call","oncalls"],"intent":"oncall","summary":"List effective on-call responsibility for a point in time or bounded window.","filters":[{"name":"provider","type":"enum","description":"Operational evidence provider.","values":[{"value":"pagerduty","description":"PagerDuty operational evidence.","aliases":["pd"]},{"value":"datadog","description":"Datadog operational evidence.","aliases":["dd"]},{"value":"grafana","description":"Grafana operational evidence."},{"value":"victoria","description":"VictoriaMetrics operational evidence."},{"value":"dynatrace","description":"Dynatrace operational evidence."},{"value":"newrelic","description":"New Relic operational evidence.","aliases":["new_relic"]},{"value":"incidentio","description":"incident.io operational evidence.","aliases":["incident_io"]}]},{"name":"status","type":"enum","description":"Canonical on-call window state.","values":[{"value":"scheduled","description":"Future on-call windows."},{"value":"active","description":"Windows effective at the selected point in time."},{"value":"ended","description":"Past on-call windows."},{"value":"all","description":"All stored window states."}]},{"name":"service_id","type":"string","description":"Exact stable identity of a canonical graph service."},{"name":"service","type":"string","description":"Exact canonical graph service name."},{"name":"service_type","type":"string","description":"Exact canonical graph service label."},{"name":"service_namespace","type":"string","description":"Exact canonical service namespace."},{"name":"service_cluster","type":"string","description":"Exact canonical service cluster."},{"name":"provider_service_id","type":"string","description":"Exact provider-native service identifier."},{"name":"from","type":"string","description":"Absolute RFC3339 lower time bound."},{"name":"to","type":"string","description":"Absolute RFC3339 upper time bound."},{"name":"at","type":"string","description":"Absolute RFC3339 point in time, or now."},{"name":"cursor","type":"string","description":"Opaque keyset cursor returned by a previous page."},{"name":"person","type":"string","description":"Exact source identity or canonical person identity."},{"name":"schedule","type":"string","description":"Exact provider schedule identifier."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Current on-call","description":"List effective on-call windows at the selected point in time.","example":"SELECT * FROM oncall WHERE at = now LIMIT 50"}]},{"name":"incident_context","aliases":["incidentcontext"],"intent":"incidentcontext","summary":"Group stored incident, alert, service, on-call, responder, and reviewed history hops without live provider calls.","filters":[{"name":"id","type":"string","description":"Exact provider incident ID or Anyshift incident ID."},{"name":"target","type":"string","description":"Exact canonical resource name, Anyshift ID, hashed ID, or provider service identity."},{"name":"provider","type":"enum","description":"Operational evidence provider.","values":[{"value":"pagerduty","description":"PagerDuty operational evidence.","aliases":["pd"]},{"value":"datadog","description":"Datadog operational evidence.","aliases":["dd"]},{"value":"grafana","description":"Grafana operational evidence."},{"value":"victoria","description":"VictoriaMetrics operational evidence."},{"value":"dynatrace","description":"Dynatrace operational evidence."},{"value":"newrelic","description":"New Relic operational evidence.","aliases":["new_relic"]},{"value":"incidentio","description":"incident.io operational evidence.","aliases":["incident_io"]}]},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":false},"selector":{"exactlyOneOf":["id","target"],"nonEmpty":["id","target"]},"forms":[{"name":"Incident context by provider id","description":"Exactly one of id or target is required. History uses stored similar incidents and reviewed resolution evidence.","example":"SELECT * FROM incident_context WHERE id = Q2Q5QBE019PJM5 LIMIT 10"},{"name":"Incident context by mapped service","description":"Resolve the latest stored incident that AFFECTS a PagerDuty service with RESOLVES_TO the named resource.","example":"SELECT * FROM incident_context WHERE target = checkout AND since = 30d LIMIT 10"}]},{"name":"alert_noise","aliases":["alertnoise","noise","flapping","noisy"],"intent":"alertnoise","summary":"Rank flapping or stuck monitors.","filters":[{"name":"target","type":"string","description":"Monitor or service name."},{"name":"kind","type":"enum","description":"Noise pattern.","values":[{"value":"flapping","description":"Repeated alert and recovery transitions.","aliases":["flap"]},{"value":"stuck","description":"Long-running firing state."}]},{"name":"since","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Flapping alerts","description":"Rank recently flapping monitors.","example":"SELECT * FROM alert_noise WHERE kind = flapping AND since = 1d LIMIT 10"}]},{"name":"calls","aliases":["call","callgraph"],"intent":"calls","summary":"Inspect APM service callers, callees, and HTTP route evidence or rank call-graph fan-in.","filters":[{"name":"target","type":"string","description":"Service name."},{"name":"source","type":"enum","description":"APM dependency source. Defaults to auto.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first topology resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Service calls","description":"Inspect callers, callees, and available templated HTTP operations for one service.","example":"SELECT * FROM calls WHERE target = checkout"}]},{"name":"servicetree","aliases":["service_tree","footprint"],"intent":"servicetree","summary":"Expand a service's downstream services, datastores, and external dependencies.","filters":[{"name":"target","type":"string","description":"Root service name."},{"name":"source","type":"enum","description":"APM dependency source. Defaults to auto.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first topology resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."}]}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Service tree","description":"Expand the downstream footprint of one service.","example":"SELECT * FROM servicetree WHERE target = checkout LIMIT 50"}]},{"name":"alert_cause","aliases":["alertcause","rootcause"],"intent":"alertcause","summary":"Find topology-bound change candidates inside an explicit alert interval.","filters":[{"name":"target","type":"string","description":"Workload name; exactly one of target or target_id is required. Use namespace or cluster when names repeat."},{"name":"target_id","type":"string","description":"Exact stable workload graph id; exactly one of target or target_id is required."},{"name":"target_type","type":"string","description":"Exact workload resource label used with target."},{"name":"namespace","type":"string","description":"Exact workload namespace used with target."},{"name":"cluster","type":"string","description":"Exact workload cluster used with target."},{"name":"alert","type":"string","description":"Alert or monitor name reported in the evidence."},{"name":"from","type":"string","description":"Inclusive RFC3339 alert start time.","required":true},{"name":"to","type":"string","description":"Exclusive RFC3339 alert end time.","required":true}],"selector":{"exactlyOneOf":["target","target_id"],"nonEmpty":["target","target_id","target_type","namespace","cluster"],"qualifiers":{"fields":["target_type","namespace","cluster"],"require":"target","forbidWith":"target_id","routeExact":true}},"pagination":{"limit":true,"offset":false},"forms":[{"name":"Alert cause","description":"Find topology-bound candidate changes inside one exact alert interval.","example":"SELECT * FROM alert_cause WHERE target = checkout AND namespace = payments AND cluster = staging AND from = '2026-08-30T10:00:00Z' AND to = '2026-08-30T11:00:00Z' LIMIT 20"}]},{"name":"slo","aliases":["slos"],"intent":"slo","summary":"Inspect one SLO or rank breaching and at-risk SLOs.","filters":[{"name":"target","type":"string","description":"SLO name or fragment."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"SLO health","description":"Inspect one SLO by name.","example":"SELECT * FROM slo WHERE target = 'checkout availability'"}]},{"name":"alertrules","aliases":["alert_rules","grafana","victoria"],"intent":"alertrules","summary":"Inspect Grafana and VictoriaMetrics alert-rule coverage and inventory.","filters":[{"name":"subject","type":"enum","description":"Alert-rule view. Defaults to coverage.","values":[{"value":"coverage","description":"Find targets without alert rules."},{"value":"inventory","description":"List alert rules.","aliases":["inventories"]},{"value":"target","description":"Inspect rules for one target.","aliases":["targets"]}]},{"name":"namespace","type":"string","description":"Namespace scope for coverage or inventory."},{"name":"target","type":"string","description":"Service or workload name. Required when subject is target."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Alert-rule coverage","description":"Find services or workloads without alert rules.","example":"SELECT * FROM alertrules WHERE subject = coverage AND namespace = commerce LIMIT 20"},{"name":"Rules for a target","description":"Target subject requires target.","example":"SELECT * FROM alertrules WHERE subject = target AND target = checkout"}]},{"name":"iac","aliases":["terraform","iac_provenance"],"intent":"iac","summary":"Inspect Terraform code-to-state-to-cloud provenance and linkage coverage.","filters":[{"name":"resource","type":"string","description":"Terraform address or Terraform, state, or cloud graph identifier."},{"name":"status","type":"enum","description":"IaC linkage status.","values":[{"value":"managed","description":"One Terraform-to-state-to-cloud chain remains in the selected scope and its cloud evidence is fresh."},{"value":"unlinked","description":"Terraform resource has no state match."},{"value":"missing_cloud","description":"Terraform state resource has no cloud match.","aliases":["missingcloud","state_only"]},{"value":"ambiguous","description":"More than one state or cloud relationship remains after exact-identity scoping."},{"value":"stale","description":"The linked cloud observation exceeds the freshness threshold."},{"value":"invalid","description":"A direct Terraform-to-cloud INSTANTIATES edge bypasses state."}]},{"name":"freshness","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"IaC coverage","description":"Summarize Terraform code-to-state-to-cloud linkage and return a bounded resource page.","example":"SELECT * FROM iac LIMIT 50"},{"name":"Resource provenance","description":"Show one resource's Terraform, state, and cloud evidence. Exact state/cloud identifiers select their relationship chain; a generic Terraform declaration keeps all instances.","example":"SELECT * FROM iac WHERE resource = aws_instance.api_server"},{"name":"IaC linkage gaps","description":"List resources with one evidence-backed linkage status.","example":"SELECT * FROM iac WHERE status = unlinked LIMIT 50"}]},{"name":"iac_drift","aliases":["terraform_drift","drift"],"intent":"iacdrift","summary":"Compare last-applied Terraform state with fresh observed cloud properties.","filters":[{"name":"resource","type":"string","description":"Terraform address or Terraform, state, or cloud graph identifier."},{"name":"status","type":"enum","description":"Drift verdict.","values":[{"value":"drifted","description":"At least one supported property differs."},{"value":"in_sync","description":"Every supported property matches.","aliases":["insync","synced"]},{"value":"unknown","description":"Linkage, support, or freshness is insufficient for a verdict."}]},{"name":"freshness","type":"duration","description":"Relative lookback such as 30m, 2h, 1d, or today."}],"pagination":{"limit":true,"offset":true},"forms":[{"name":"Current IaC drift","description":"List supported state-to-cloud differences, excluding unknown evidence by default.","example":"SELECT * FROM iac_drift WHERE status = drifted LIMIT 50"},{"name":"Resource drift","description":"Evaluate one Terraform resource using its state and cloud evidence.","example":"SELECT * FROM iac_drift WHERE resource = aws_instance.api_server"}]},{"name":"gitops","aliases":["argocd","gitops_drift","argocd_drift"],"intent":"gitops","summary":"Inspect GitOps drift, unmanaged workloads, or resource ownership.","filters":[{"name":"subject","type":"enum","description":"GitOps view. Defaults to drift.","values":[{"value":"drift","description":"Find drifted applications.","aliases":["drifted"]},{"value":"unmanaged","description":"Find workloads without GitOps ownership."},{"value":"owner","description":"Find the application and repository owning one resource.","aliases":["ownership"]}]},{"name":"namespace","type":"string","description":"Namespace scope for drift or unmanaged views."},{"name":"resource","type":"string","description":"Workload name. Required when subject is owner."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"GitOps drift","description":"List drifted applications, optionally scoped to a namespace.","example":"SELECT * FROM gitops WHERE subject = drift AND namespace = commerce LIMIT 20"},{"name":"Resource owner","description":"Owner subject requires resource.","example":"SELECT * FROM gitops WHERE subject = owner AND resource = checkout"}]},{"name":"image","aliases":["images","containers"],"intent":"image","summary":"Inspect image usage, workload containers, or container hygiene gaps.","filters":[{"name":"target","type":"string","description":"Image, service, or workload name."},{"name":"workload","type":"string","description":"Workload whose container resources should be inspected."},{"name":"digest","type":"string","description":"Exact running image digest (sha256, repository digest, or runtime image ID)."},{"name":"kind","type":"enum","description":"Container hygiene scan.","values":[{"value":"nomemlimit","description":"Containers without a memory limit.","aliases":["no_mem_limit","nomemorylimit"]},{"value":"nocpurequest","description":"Containers without a CPU request.","aliases":["no_cpu_request"]},{"value":"skew","description":"Workloads running multiple image versions.","aliases":["versionskew","version_skew"]}]},{"name":"namespace","type":"string","description":"Namespace scope for a hygiene scan."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Runtime digest usage","description":"Find live containers and owning workloads running an exact image digest.","example":"SELECT * FROM image WHERE digest = 'sha256:776129790f01a675bb6e98447c2a28d43a07144d5410691823dbf9a21d256b1e' LIMIT 50"},{"name":"Image usage","description":"Inspect who runs an image or what image a target runs.","example":"SELECT * FROM image WHERE target = checkout"},{"name":"Container hygiene","description":"Kind selects a hygiene scan and namespace optionally scopes it.","example":"SELECT * FROM image WHERE kind = nomemlimit AND namespace = commerce LIMIT 20"}]},{"name":"netpol","aliases":["netpols","networkpolicy","segmentation","defaultallow"],"intent":"netpol","summary":"Inspect NetworkPolicy coverage, policies, or east-west reach.","filters":[{"name":"mode","type":"enum","description":"Network policy view. Defaults to uncovered.","values":[{"value":"uncovered","description":"Find default-allow namespaces.","aliases":["coverage","default_allow","defaultallow"]},{"value":"policy","description":"Inspect policies for a target or namespace.","aliases":["policies"]},{"value":"segmentation","description":"Model workloads that could reach a target.","aliases":["segment"]}]},{"name":"namespace","type":"string","description":"Namespace scope for uncovered or policy views."},{"name":"target","type":"string","description":"Workload or policy name. Required for segmentation."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"NetworkPolicy gaps","description":"Find default-allow namespaces.","example":"SELECT * FROM netpol WHERE mode = uncovered LIMIT 20"},{"name":"East-west reach","description":"Segmentation mode requires target.","example":"SELECT * FROM netpol WHERE mode = segmentation AND target = checkout"}]},{"name":"priority","aliases":["priorityclass","preemption","nopriority"],"intent":"priority","summary":"Inspect scheduling priority gaps, the class ladder, or one target's priority.","filters":[{"name":"kind","type":"enum","description":"Priority view.","values":[{"value":"nopriority","description":"Find workloads without a priority class.","aliases":["unprioritized","none"]},{"value":"ladder","description":"List the observed priority class ladder.","aliases":["classes","class"]}]},{"name":"namespace","type":"string","description":"Namespace scope for missing-priority checks."},{"name":"target","type":"string","description":"Workload or pod name whose priority should be inspected."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Missing priority classes","description":"Find workloads without a priority class.","example":"SELECT * FROM priority WHERE kind = nopriority AND namespace = commerce LIMIT 20"},{"name":"Target priority","description":"Inspect the priority class for one workload or pod.","example":"SELECT * FROM priority WHERE target = checkout"}]},{"name":"storage","aliases":["volumes","pv","pvc","storageclass"],"intent":"storage","summary":"Inspect workload storage and find orphaned or unclaimed volumes.","filters":[{"name":"mode","type":"enum","description":"Storage view. Defaults to footprint.","values":[{"value":"footprint","description":"Trace a workload's PVC, PV, and StorageClass chain.","aliases":["workload"]},{"value":"orphanpv","description":"Find orphaned persistent volumes.","aliases":["orphanpvs","orphaned","orphan"]},{"value":"unclaimedpvc","description":"Find unclaimed persistent volume claims.","aliases":["unclaimedpvcs","unclaimed"]},{"value":"byclass","description":"Group or filter storage by StorageClass.","aliases":["class","storageclass"]}]},{"name":"workload","type":"string","description":"Workload or pod name. Required in footprint mode."},{"name":"resource","type":"string","description":"Alias for workload in footprint mode."},{"name":"class","type":"string","description":"StorageClass filter for orphanpv or byclass mode."},{"name":"namespace","type":"string","description":"Namespace scope for unclaimedpvc mode."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Workload storage","description":"Footprint mode requires workload or resource.","example":"SELECT * FROM storage WHERE workload = checkout"},{"name":"Unclaimed PVCs","description":"Find unclaimed claims, optionally scoped to a namespace.","example":"SELECT * FROM storage WHERE mode = unclaimedpvc AND namespace = commerce LIMIT 20"}]},{"name":"pdb","aliases":["pdbs","unprotected","disruption"],"intent":"pdb","summary":"Find workloads without PodDisruptionBudgets or inspect one workload or PDB.","filters":[{"name":"target","type":"string","description":"Workload or PDB name."},{"name":"workload","type":"string","description":"Workload name."},{"name":"pdb","type":"string","description":"PodDisruptionBudget name."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"PDB coverage gaps","description":"Omit filters to list workloads without PDB protection.","example":"SELECT * FROM pdb LIMIT 20"},{"name":"Target PDB coverage","description":"Inspect one workload or PDB by target, workload, or pdb.","example":"SELECT * FROM pdb WHERE workload = checkout"}]},{"name":"scaling","aliases":["hpa","hpas","autoscaling","autoscalers"],"intent":"scaling","summary":"Find workloads without HPAs, list autoscaled workloads, or inspect one target.","filters":[{"name":"mode","type":"enum","description":"Autoscaling view. Defaults to nohpa.","values":[{"value":"nohpa","description":"Find workloads without an HPA.","aliases":["no_hpa","unscaled","fixed","coverage"]},{"value":"autoscaled","description":"List workloads with an HPA.","aliases":["hpa","scaled"]},{"value":"target","description":"Inspect one workload or HPA."}]},{"name":"namespace","type":"string","description":"Namespace scope for nohpa or autoscaled views."},{"name":"target","type":"string","description":"Workload or HPA name. Required in target mode."}],"pagination":{"limit":true,"offset":false},"forms":[{"name":"Autoscaling gaps","description":"Find workloads without HPAs.","example":"SELECT * FROM scaling WHERE mode = nohpa AND namespace = commerce LIMIT 20"},{"name":"Target autoscaling","description":"Target mode requires target.","example":"SELECT * FROM scaling WHERE target = checkout"}]},{"name":"topology","aliases":["diagram","c4"],"intent":"topology","summary":"Build a typed service topology at a selected level.","filters":[{"name":"service","type":"string","description":"Service or workload name.","required":true},{"name":"level","type":"enum","description":"Topology level. Defaults to container.","values":[{"value":"context","description":"Service and direct collaborators."},{"value":"container","description":"Runtime containers, workloads, datastores, queues, and external dependencies."},{"value":"component","description":"Deeper component and configuration detail."},{"value":"dynamic","description":"Ordered call flow suitable for a sequence diagram."}]},{"name":"source","type":"enum","description":"Topology evidence source. Defaults to auto-discovered APM evidence.","values":[{"value":"auto","description":"Use every supported APM source, preserving Datadog-first resolution."},{"value":"datadog","description":"Use Datadog service and dependency nodes only."},{"value":"tempo","description":"Use Grafana Tempo service and dependency nodes only."},{"value":"dynatrace","description":"Use Dynatrace service and dependency nodes only."},{"value":"configuration","description":"Use explicit ECS task-definition endpoint evidence only."}]},{"name":"endpoint","type":"string","description":"Explicit endpoint alias used to prove a configured dependency."},{"name":"dependency","type":"string","description":"Catalog service name represented by the endpoint alias."}],"pagination":{"limit":false,"offset":false},"forms":[{"name":"Service topology","description":"Service is required; level selects the topology depth.","example":"SELECT * FROM topology WHERE service = checkout AND level = context"}]}]},"info":{"title":"Anyshift Graph API","version":"1.0.0","description":"Read-only API for querying Anyshift infrastructure graphs by project."},"servers":[{"url":"https://graph.anyshift.io"}],"tags":[{"name":"Graph","description":"Ask natural-language questions or run deterministic graph queries."}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"opaque"}},"parameters":{"ProjectId":{"name":"projectId","in":"path","required":true,"schema":{"type":"string"},"description":"Anyshift project id whose graph should be queried."},"GraphCapabilities":{"name":"x-anyshift-graph-capabilities","in":"header","required":false,"schema":{"type":"string"},"description":"Comma-separated fixed capability tokens. exposure-inventory-state-v1 enables ExposureGap.inventoryState; inventory-provenance-v1 enables InventoryResult.bySource and sample provenance fields; hotspots-bounded-scan-v1 enables HotspotsResult.scan window and sampling metadata; deploy-impact-temporal-candidates-v1 enables DeployImpactResult.temporalCandidates (opt-in after= window)."}},"schemas":{"ErrorEnvelope":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unauthorized","bad_request","project_required","forbidden","not_found","payload_too_large","timeout","project_graph_unconfigured","project_events_graph_unconfigured","internal"]},"message":{"type":"string"},"timeoutSource":{"type":"string","enum":["statement","request"],"description":"Present for Graph API-owned timeouts; absent on an upstream gateway timeout."},"selectionCode":{"type":"string","enum":["ambiguous_resource"],"description":"Present when a resource term has multiple equally authoritative candidates."},"candidates":{"type":"array","maxItems":10,"description":"Bounded retry candidates for an ambiguous resource term.","items":{"type":"object","required":["id","anyshiftID","name","type","namespace","cluster"],"properties":{"id":{"type":"string"},"anyshiftID":{"type":["string","null"]},"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}}}}}}}},"QueryRequest":{"type":"object","properties":{"sql":{"type":"string","minLength":1,"description":"SELECT <*|count(*)> FROM <table> [WHERE k = v [AND ...]] [LIMIT n] [OFFSET n]"}},"required":["sql"],"additionalProperties":false},"AskRequest":{"type":"object","properties":{"question":{"type":"string","minLength":1,"description":"Natural-language graph question"}},"required":["question"],"additionalProperties":false},"Page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false},"GraphNode":{"type":"object","properties":{"id":{"type":"string"},"anyshiftID":{"type":["string","null"]},"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"image":{"type":["string","null"]}},"required":["id","anyshiftID","name","type","namespace"],"additionalProperties":false},"GraphEdge":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"type":{"type":"string"},"direction":{"type":"string","enum":["upstream","downstream"]},"semantic":{"type":"string","enum":["dependency","ownership","identity","connectivity","context","plumbing","unknown"]},"impact":{"type":"boolean"},"source":{"type":"string","enum":["datadog","tempo","dynatrace"]},"observedAt":{"type":"string"},"operations":{"type":"array","items":{"type":"object","properties":{"method":{"type":["string","null"]},"pathTemplate":{"type":["string","null"]}},"required":["method","pathTemplate"],"additionalProperties":false}},"evidence":{"type":"object","properties":{"source":{"type":"string","enum":["configuration"]},"key":{"type":["string","null"]},"resourceId":{"type":["string","null"]},"endpoint":{"type":["string","null"]}},"required":["source","key","resourceId","endpoint"],"additionalProperties":false}},"required":["from","to","type","direction","semantic","impact"],"additionalProperties":false},"ResolveResult":{"type":"object","properties":{"term":{"type":"string"},"candidates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"anyshiftID":{"type":["string","null"]},"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["id","anyshiftID","name","type","namespace","cluster"],"additionalProperties":false}}},"required":["term","candidates"],"additionalProperties":false},"ResourceDetails":{"type":"object","properties":{"selector":{"type":"string"},"status":{"type":"string","enum":["found","not_found"]},"resource":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"name":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"properties":{"type":"object","additionalProperties":{}}},"required":["hashedID","anyshiftID","name","labels","properties"],"additionalProperties":false},{"type":"null"}]},"relationshipsOut":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"targetHashedID":{"type":"string"},"targetAnyshiftID":{"type":["string","null"]},"targetLabels":{"type":"array","items":{"type":"string"}}},"required":["type","targetHashedID","targetAnyshiftID","targetLabels"],"additionalProperties":false}},"relationshipsIn":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"targetHashedID":{"type":"string"},"targetAnyshiftID":{"type":["string","null"]},"targetLabels":{"type":"array","items":{"type":"string"}}},"required":["type","targetHashedID","targetAnyshiftID","targetLabels"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"outgoingTruncated":{"type":"boolean"},"incomingTruncated":{"type":"boolean"}},"required":["limit","outgoingTruncated","incomingTruncated"],"additionalProperties":false},"partial":{"type":"boolean"}},"required":["selector","status","resource","relationshipsOut","relationshipsIn","page","partial"],"additionalProperties":false},"InventoryResult":{"type":"object","properties":{"type":{"type":"string"},"total":{"type":"integer","minimum":0},"byNamespace":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["namespace","count"],"additionalProperties":false}},"sample":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"resourceId":{"type":["string","null"]},"externalId":{"type":["string","null"]},"source":{"type":"string","enum":["cloud_api","terraform_state","evaluation","unknown"]},"observedAt":{"type":["string","null"]},"duplicateCount":{"type":"integer","minimum":0}},"required":["name","namespace","resourceId","externalId"],"additionalProperties":false}},"bySource":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["cloud_api","terraform_state","evaluation","unknown"]},"count":{"type":"integer","minimum":0}},"required":["source","count"],"additionalProperties":false}},"availableTypes":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["label","count"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["type","total","byNamespace","sample","availableTypes","page"],"additionalProperties":false},"EventsResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"eventType":{"type":"string"},"target":{"type":"string"},"namespace":{"type":"string"},"includeNoise":{"type":"boolean"}},"required":["eventType","target","namespace","includeNoise"],"additionalProperties":false},"total":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"statistics":{"type":"object","properties":{"mode":{"type":"string","enum":["exact","none"]},"exact":{"type":"boolean"}},"required":["mode","exact"],"additionalProperties":false},"window":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","const":"all"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"absolute"},"from":{"type":"string"},"until":{"type":"string"}},"required":["mode","from","until"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"graph_relative"},"sinceHours":{"type":"number","exclusiveMinimum":0},"cutoff":{"type":["string","null"]},"anchor":{"type":["string","null"]}},"required":["mode","sinceHours","cutoff","anchor"],"additionalProperties":false}]},"recent":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"nextCursor":{"type":["string","null"]}},"required":["limit","offset","hasMore","nextOffset","nextCursor"],"additionalProperties":false}},"required":["filter","total","byType","statistics","window","recent","page"],"additionalProperties":false},"CloudEventsResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"provider":{"type":"string"},"scope":{"type":"string"},"region":{"type":"string"},"category":{"type":"string"},"type":{"type":"string"},"resource":{"type":"string"},"actor":{"type":"string"},"correlation":{"type":"string"},"operation":{"type":"string"},"includeNoise":{"type":"boolean"},"includeDiff":{"type":"boolean"},"sinceHours":{"type":"number","exclusiveMinimum":0}},"required":["provider","scope","region","category","type","resource","actor","correlation","operation","includeNoise","includeDiff","sinceHours"],"additionalProperties":false},"availability":{"type":"object","properties":{"targetIdentity":{"type":"string","enum":["available","partial","unavailable"]},"actor":{"type":"string","enum":["available","partial","unavailable"]},"source":{"type":"string","enum":["available","partial","unavailable"]},"status":{"type":"string","enum":["available","partial","unavailable"]}},"required":["targetIdentity","actor","source","status"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string"}},"total":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"statistics":{"type":"object","properties":{"mode":{"type":"string","enum":["exact","none"]},"exact":{"type":"boolean"}},"required":["mode","exact"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"},"category":{"type":"string","enum":["security","identity","lifecycle","configuration","capacity","backup","other"]},"summary":{"type":["string","null"]},"provider":{"type":"string","enum":["aws","azure","gcp","cloudflare"]},"scope":{"type":"string"},"region":{"type":["string","null"]},"target":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["hashedID","id","name","kind"],"additionalProperties":false},"actor":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["hashedID","id","name","kind"],"additionalProperties":false},{"type":"null"}]},"change":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"before":{"type":["string","null"]},"after":{"type":["string","null"]}},"required":["field","before","after"],"additionalProperties":false}}},"required":["fields","details"],"additionalProperties":false},"evidence":{"type":"object","properties":{"source":{"type":"string","enum":["audit","snapshot","reconciliation","unknown"]},"status":{"type":"string","enum":["success","failed","unknown"]}},"required":["source","status"],"additionalProperties":false},"correlation":{"type":"object","properties":{"id":{"type":["string","null"]},"providerOperationId":{"type":["string","null"]},"isRoot":{"type":"boolean"},"reason":{"type":["string","null"]},"confidence":{"type":["string","null"]}},"required":["id","providerOperationId","isRoot","reason","confidence"],"additionalProperties":false},"noiseClass":{"type":["string","null"]},"provenance":{"type":"object","properties":{"status":{"type":"string","enum":["managed","configured","unknown"]},"references":{"type":"array","items":{"type":"string"}}},"required":["status","references"],"additionalProperties":false}},"required":["id","timestamp","type","category","summary","provider","scope","region","target","actor","change","evidence","correlation","noiseClass","provenance"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false}},"required":["filter","availability","warnings","total","byType","statistics","items","page"],"additionalProperties":false},"CloudResourcesResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"provider":{"type":"string"},"scope":{"type":"string"},"region":{"type":"string"},"type":{"type":"string"},"resource":{"type":"string"},"lifecycle":{"type":"string","enum":["alive","deleted","all"]},"provenance":{"type":"string","enum":["","managed","configured","unknown"]},"freshness":{"type":"string","enum":["","fresh","stale","unknown"]},"freshnessHours":{"type":"number","exclusiveMinimum":0}},"required":["provider","scope","region","type","resource","lifecycle","provenance","freshness","freshnessHours"],"additionalProperties":false},"availability":{"type":"object","properties":{"source":{"type":"string","enum":["available","partial","unavailable"]},"identity":{"type":"string","enum":["available","partial","unavailable"]},"freshness":{"type":"string","enum":["available","partial","unavailable"]},"provenance":{"type":"string","enum":["available","partial","unavailable"]}},"required":["source","identity","freshness","provenance"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string"}},"counts":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"fresh":{"type":"integer","minimum":0},"stale":{"type":"integer","minimum":0},"unknown":{"type":"integer","minimum":0}},"required":["total","fresh","stale","unknown"],"additionalProperties":false},"byProvider":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["aws","azure","gcp"]},"count":{"type":"integer","minimum":0}},"required":["provider","count"],"additionalProperties":false}},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"items":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]},"provider":{"type":"string","enum":["aws","azure","gcp"]},"scope":{"type":"string"},"region":{"type":["string","null"]},"lifecycle":{"type":"string","enum":["alive","deleted"]},"observedAt":{"type":["string","null"]},"freshness":{"type":"string","enum":["fresh","stale","unknown"]},"provenance":{"type":"object","properties":{"status":{"type":"string","enum":["managed","configured","unknown"]},"references":{"type":"array","items":{"type":"string"}}},"required":["status","references"],"additionalProperties":false},"relationshipCount":{"type":"integer","minimum":0}},"required":["hashedID","id","name","kind","provider","scope","region","lifecycle","observedAt","freshness","provenance","relationshipCount"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false}},"required":["filter","availability","warnings","counts","byProvider","byType","items","page"],"additionalProperties":false},"DeliveryEventsResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"stage":{"type":"string","enum":["","commit","ci","release","deploy"]},"type":{"type":"string"},"resource":{"type":"string"},"actor":{"type":"string"},"source":{"type":"string"},"sinceHours":{"type":"number","exclusiveMinimum":0}},"required":["stage","type","resource","actor","source","sinceHours"],"additionalProperties":false},"availability":{"type":"object","properties":{"target":{"type":"string","enum":["available","partial","unavailable"]},"actor":{"type":"string","enum":["available","partial","unavailable"]},"commit":{"type":"string","enum":["available","partial","unavailable"]}},"required":["target","actor","commit"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string"}},"total":{"type":"integer","minimum":0},"byStage":{"type":"array","items":{"type":"object","properties":{"stage":{"type":"string","enum":["commit","ci","release","deploy"]},"count":{"type":"integer","minimum":0}},"required":["stage","count"],"additionalProperties":false}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"},"stage":{"type":"string","enum":["commit","ci","release","deploy"]},"source":{"type":["string","null"]},"summary":{"type":["string","null"]},"target":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["hashedID","id","name","kind"],"additionalProperties":false},"actor":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"person":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["hashedID","id","name","person","email"],"additionalProperties":false},{"type":"null"}]},"outcome":{"type":["string","null"]},"commitSha":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"evidence":{"type":"object","properties":{"status":{"type":"string","enum":["observed","partial","unknown"]},"warnings":{"type":"array","items":{"type":"string"}}},"required":["status","warnings"],"additionalProperties":false}},"required":["id","timestamp","type","stage","source","summary","target","actor","outcome","commitSha","correlationId","evidence"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false}},"required":["filter","availability","warnings","total","byStage","items","page"],"additionalProperties":false},"ProvenanceResult":{"type":"object","properties":{"resolved":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"required":["term","hashedID","name","type"],"additionalProperties":false},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"}},"total":{"type":"integer","minimum":0},"items":{"type":"array","items":{"type":"object","properties":{"release":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]},"commitSha":{"type":["string","null"]}},"required":["hashedID","id","name","kind","commitSha"],"additionalProperties":false},"commit":{"anyOf":[{"type":"object","properties":{"sha":{"type":"string"},"timestamp":{"type":["string","null"]},"summary":{"type":["string","null"]}},"required":["sha","timestamp","summary"],"additionalProperties":false},{"type":"null"}]},"actor":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"person":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["hashedID","id","name","person","email"],"additionalProperties":false},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"evidence":{"type":"object","properties":{"status":{"type":"string","enum":["observed","partial","unknown"]},"warnings":{"type":"array","items":{"type":"string"}}},"required":["status","warnings"],"additionalProperties":false}},"required":["release","commit","actor","path","evidence"],"additionalProperties":false}}},"required":["resolved","warnings","total","items"],"additionalProperties":false},"OwnershipResult":{"type":"object","properties":{"resolved":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"required":["term","hashedID","name","type"],"additionalProperties":false},{"type":"null"}]},"status":{"type":"string","enum":["observed","unknown"]},"warnings":{"type":"array","items":{"type":"string"}},"total":{"type":"integer","minimum":0},"items":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":"string"},"kind":{"type":["string","null"]}},"required":["hashedID","id","name","kind"],"additionalProperties":false},"people":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"name":{"type":"string"},"email":{"type":["string","null"]}},"required":["hashedID","name","email"],"additionalProperties":false}},"evidence":{"type":"object","properties":{"relationship":{"type":"string","const":"OWNS_CODE"},"status":{"type":"string","const":"observed"}},"required":["relationship","status"],"additionalProperties":false}},"required":["owner","people","evidence"],"additionalProperties":false}}},"required":["resolved","status","warnings","total","items"],"additionalProperties":false},"GraphCoverageResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"source":{"type":"string"}},"required":["source"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string"}},"totals":{"type":"object","properties":{"sourcesObserved":{"type":"integer","minimum":0},"nodes":{"type":"integer","minimum":0},"relationships":{"type":"integer","minimum":0},"bridges":{"type":"integer","minimum":0},"events":{"type":"integer","minimum":0}},"required":["sourcesObserved","nodes","relationships","bridges","events"],"additionalProperties":false},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["kubernetes","cloud","github","datadog","tempo","dynatrace","victoria","grafana"]},"status":{"type":"string","enum":["observed","absent"]},"nodes":{"type":"integer","minimum":0},"relationships":{"type":"integer","minimum":0},"bridges":{"type":"integer","minimum":0},"events":{"type":"integer","minimum":0}},"required":["source","status","nodes","relationships","bridges","events"],"additionalProperties":false}}},"required":["filter","warnings","totals","sources"],"additionalProperties":false},"HotspotsResult":{"type":"object","properties":{"dimension":{"type":"string","enum":["namespace","resource","alertrule","alertworkload"]},"filter":{"type":"object","properties":{"eventType":{"type":"string"},"namespace":{"type":"string"},"includeNoise":{"type":"boolean"}},"required":["eventType","namespace","includeNoise"],"additionalProperties":false},"scan":{"type":"object","properties":{"bounded":{"type":"boolean","const":true},"limit":{"type":"integer","minimum":0},"maximumRows":{"type":"integer","minimum":0},"streams":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","enum":["events","triggers","recoveries"]},"limit":{"type":"integer","minimum":0}},"required":["name","limit"],"additionalProperties":false},"minItems":1,"maxItems":2},"window":{"type":"object","properties":{"lookbackHours":{"type":"number","exclusiveMinimum":0},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"anchor":{"type":"string","const":"latest_event"}},"required":["lookbackHours","from","to","anchor"],"additionalProperties":false}},"required":["bounded","limit","maximumRows","streams","window"],"additionalProperties":false},"ranking":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"total":{"type":"integer","minimum":0},"namespace":{"type":["string","null"]},"recovers":{"type":"integer","minimum":0},"flap":{"type":"integer","minimum":0}},"required":["key","total","namespace"],"additionalProperties":false}}},"required":["dimension","filter","ranking"],"additionalProperties":false},"CorrelationsResult":{"type":"object","properties":{"correlationId":{"type":["string","null"]},"total":{"type":"integer","minimum":0},"roots":{"type":"integer","minimum":0},"namespaces":{"type":"array","items":{"type":"string"}},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"rootCauses":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}},"chain":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}}},"required":["correlationId","total","roots","namespaces","byType","rootCauses","chain"],"additionalProperties":false},"IncidentResult":{"type":"object","properties":{"correlationId":{"type":["string","null"]},"total":{"type":"integer","minimum":0},"roots":{"type":"integer","minimum":0},"namespaces":{"type":"array","items":{"type":"string"}},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"rootCauses":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}},"chain":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}}},"required":["correlationId","total","roots","namespaces","byType","rootCauses","chain"],"additionalProperties":false},"ResponseIncidentsResult":{"type":"object","properties":{"generatedAt":{"type":"string"},"total":{"type":"integer","minimum":0},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"status":{"type":"string","enum":["available","stale","unavailable","not_configured"]},"observedAt":{"type":"string"}},"required":["provider","status"],"additionalProperties":false}},"partial":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]}},"required":["code","message"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["open","acknowledged","resolved","unknown"]},"responders":{"type":"array","items":{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"providerUserId":{"type":["string","null"]},"candidates":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false},"maxItems":10}},"required":["resolution","personId","name","email","providerUserId","candidates"],"additionalProperties":false}}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","responders"],"additionalProperties":false}}},"required":["generatedAt","total","providers","partial","warnings","page","items"],"additionalProperties":false},"OnCallResult":{"type":"object","properties":{"generatedAt":{"type":"string"},"total":{"type":"integer","minimum":0},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"status":{"type":"string","enum":["available","stale","unavailable","not_configured"]},"observedAt":{"type":"string"}},"required":["provider","status"],"additionalProperties":false}},"partial":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]}},"required":["code","message"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["scheduled","active","ended"]},"person":{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"providerUserId":{"type":["string","null"]},"candidates":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false},"maxItems":10}},"required":["resolution","personId","name","email","providerUserId","candidates"],"additionalProperties":false},"schedule":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"name":{"type":["string","null"]}},"required":["provider","providerId","name"],"additionalProperties":false},{"type":"null"}]},"escalationLevel":{"type":"integer","minimum":0},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","person","schedule","startsAt","endsAt"],"additionalProperties":false}}},"required":["generatedAt","total","providers","partial","warnings","page","items"],"additionalProperties":false},"EventFeedResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"target":{"type":"string"},"sinceHours":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["target","sinceHours"],"additionalProperties":false},"total":{"type":"integer","minimum":0},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"recent":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["filter","total","byType","recent","page"],"additionalProperties":false},"DeploymentsResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"target":{"type":"string"},"namespace":{"type":"string"},"sinceHours":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["target","namespace","sinceHours"],"additionalProperties":false},"total":{"type":"integer","minimum":0},"namespaces":{"type":"array","items":{"type":"string"}},"recent":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"images":{"type":"array","items":{"type":"object","properties":{"from":{"type":["string","null"]},"to":{"type":["string","null"]}},"required":["from","to"],"additionalProperties":false}}},"required":["ts","target","namespace","images"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["filter","total","namespaces","recent","page"],"additionalProperties":false},"DeployImpactResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"filter":{"type":"object","properties":{"target":{"type":"string"},"sinceHours":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["target","sinceHours"],"additionalProperties":false},"ranking":{"type":"array","items":{"type":"object","properties":{"deployed":{"type":"string"},"namespace":{"type":["string","null"]},"rollouts":{"type":"integer","minimum":0},"fallout":{"type":"integer","minimum":0},"effects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}}},"required":["deployed","namespace","rollouts","fallout","effects"],"additionalProperties":false}},"target":{"type":"string"},"rollouts":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"recent":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"targetKind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]},"isRoot":{"type":"boolean"},"noiseClass":{"type":["string","null"]},"cluster":{"type":["string","null"]},"nextJson":{"type":["string","null"]}},"required":["ts","type","summary","targetKind","target","namespace","isRoot","noiseClass","cluster","nextJson"],"additionalProperties":false}},"temporalCandidates":{"type":"object","properties":{"afterMinutes":{"type":"integer","minimum":0},"attribution":{"type":"string","const":"temporal_unverified"},"note":{"type":"string"},"workloads":{"type":"array","items":{"type":"object","properties":{"deployed":{"type":"string"},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]},"rollouts":{"type":"integer","minimum":0},"events":{"type":"integer","minimum":0},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"sample":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"ts":{"type":"string"},"type":{"type":"string"},"target":{"type":"string"},"namespace":{"type":["string","null"]}},"required":["id","ts","type","target","namespace"],"additionalProperties":false}}},"required":["deployed","namespace","cluster","rollouts","events","byType","sample"],"additionalProperties":false}}},"required":["afterMinutes","attribution","note","workloads"],"additionalProperties":false}},"required":["scope","filter","ranking","target","rollouts","total","byType","recent"],"additionalProperties":false},"CommonCauseResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"namespace":{"type":"string"},"sinceHours":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["namespace","sinceHours"],"additionalProperties":false},"failingPods":{"type":"integer","minimum":0},"events":{"type":"integer","minimum":0},"byNode":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}},"byWorkload":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}},"byDatastore":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}},"byExternal":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}}},"required":["filter","failingPods","events","byNode","byWorkload","byDatastore","byExternal"],"additionalProperties":false},"BlastRadiusResult":{"type":"object","properties":{"pods":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}},"services":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"affected":{"type":"integer","minimum":0}},"required":["name","namespace","affected"],"additionalProperties":false}}},"required":["pods","workloads","services"],"additionalProperties":false},"ImpactResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"resource":{"type":"string"},"maxDepth":{"type":"integer","minimum":1,"maximum":3}},"required":["resource","maxDepth"],"additionalProperties":false},"evidence":{"type":"object","properties":{"status":{"type":"string","enum":["observed","not_observed"]},"boundary":{"type":"string","const":"reviewed_operational_edges"},"edgeTypes":{"type":"array","items":{"type":"string"}}},"required":["status","boundary","edgeTypes"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string"}},"total":{"type":"integer","minimum":0},"items":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"kind":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]},"depth":{"type":"integer","exclusiveMinimum":0},"pathCount":{"type":"integer","minimum":0},"path":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"type":{"type":"string"},"semantic":{"type":"string","enum":["dependency","ownership"]},"relationshipDirection":{"type":"string","enum":["forward","reverse"]}},"required":["from","to","type","semantic","relationshipDirection"],"additionalProperties":false}}},"required":["hashedID","id","name","kind","namespace","scope","depth","pathCount","path"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["filter","evidence","warnings","total","items","page"],"additionalProperties":false},"SpofResult":{"type":"object","properties":{"kind":{"type":"string","enum":["configmap","serviceaccount","node"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"}},"required":["namespace"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"workloads":{"type":"integer","minimum":0},"pods":{"type":"integer","minimum":0}},"required":["name","namespace","workloads","pods"],"additionalProperties":false}}},"required":["kind","filter","items"],"additionalProperties":false},"PathResult":{"type":"object","properties":{"from":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"required":["term","name","type"],"additionalProperties":false},{"type":"null"}]},"to":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"required":["term","name","type"],"additionalProperties":false},{"type":"null"}]},"found":{"type":"boolean"},"hops":{"type":"integer","minimum":0},"chain":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]}},"required":["name","type","namespace"],"additionalProperties":false}},"rels":{"type":"array","items":{"type":"string"}}},"required":["from","to","found","hops","chain","rels"],"additionalProperties":false},"CascadeResult":{"type":"object","properties":{"correlationId":{"type":"string"},"root":{"anyOf":[{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"kind":{"type":["string","null"]},"target":{"type":["string","null"]},"namespace":{"type":["string","null"]}},"required":["ts","type","kind","target","namespace"],"additionalProperties":false},{"type":"null"}]},"totalEvents":{"type":"integer","minimum":0},"spanSeconds":{"type":"integer","minimum":0},"byReason":{"type":"array","items":{"type":"object","properties":{"reason":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["reason","count"],"additionalProperties":false}},"steps":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string"},"namespace":{"type":["string","null"]},"firstType":{"type":"string"},"reason":{"type":["string","null"]},"events":{"type":"integer","minimum":0},"offsetSeconds":{"type":"integer","minimum":0}},"required":["resource","namespace","firstType","reason","events","offsetSeconds"],"additionalProperties":false}}},"required":["correlationId","root","totalEvents","spanSeconds","byReason","steps"],"additionalProperties":false},"AlertImpactResult":{"type":"object","properties":{"scope":{"type":"string"},"workloads":{"type":"integer","minimum":0},"services":{"type":"integer","minimum":0},"counts":{"type":"object","properties":{"monitors":{"type":"integer","minimum":0},"slos":{"type":"integer","minimum":0}},"required":["monitors","slos"],"additionalProperties":false},"monitors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"service":{"type":["string","null"]}},"required":["name","service"],"additionalProperties":false}},"slos":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"service":{"type":["string","null"]}},"required":["name","service"],"additionalProperties":false}}},"required":["scope","workloads","services","counts","monitors","slos"],"additionalProperties":false},"MonitorResult":{"type":"object","properties":{"term":{"type":"string"},"matched":{"type":"integer","minimum":0},"monitors":{"type":"array","items":{"type":"string"}},"services":{"type":"array","items":{"type":"string"}},"workloads":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]}},"required":["name","type","namespace"],"additionalProperties":false}},"nodes":{"type":"array","items":{"type":"string"}},"slos":{"type":"array","items":{"type":"string"}}},"required":["term","matched","monitors","services","workloads","nodes","slos"],"additionalProperties":false},"DataStoreResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"services":{"type":"integer","minimum":0}},"required":["name","services"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"services":{"type":"integer","minimum":0},"sample":{"type":"array","items":{"type":"string"}}},"required":["name","services","sample"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"FlowResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"producers":{"type":"integer","minimum":0},"consumers":{"type":"integer","minimum":0}},"required":["name","producers","consumers"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"producers":{"type":"array","items":{"type":"string"}},"consumers":{"type":"array","items":{"type":"string"}}},"required":["name","producers","consumers"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"ExternalDepResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"services":{"type":"integer","minimum":0}},"required":["name","services"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"services":{"type":"integer","minimum":0},"sample":{"type":"array","items":{"type":"string"}}},"required":["name","services","sample"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"AlertsResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"target":{"type":"string"}},"required":["target"],"additionalProperties":false},"total":{"type":"integer","minimum":0},"byState":{"type":"array","items":{"type":"object","properties":{"state":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["state","count"],"additionalProperties":false}},"firing":{"type":"array","items":{"type":"object","properties":{"monitor":{"type":"string"},"state":{"type":"string"},"service":{"type":["string","null"]},"workload":{"type":["string","null"]},"namespace":{"type":["string","null"]}},"required":["monitor","state","service","workload","namespace"],"additionalProperties":false}},"generatedAt":{"type":"string"},"operationalTotal":{"type":"integer","minimum":0},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["firing","recovered","suppressed","unknown"]},"severity":{"type":"string","enum":["critical","warning","info","unknown"]}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","severity"],"additionalProperties":false}},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"status":{"type":"string","enum":["available","stale","unavailable","not_configured"]},"observedAt":{"type":"string"}},"required":["provider","status"],"additionalProperties":false}},"partial":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]}},"required":["code","message"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false}},"required":["filter","total","byState","firing","generatedAt","operationalTotal","items","providers","partial","warnings","page"],"additionalProperties":false},"AlertNoiseResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"filter":{"type":"object","properties":{"noiseKind":{"type":"string"},"window":{"type":"string"}},"required":["noiseKind","window"],"additionalProperties":false},"target":{"type":["string","null"]},"monitors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"fires":{"type":"integer","minimum":0},"recovers":{"type":"integer","minimum":0},"pctSelfResolved":{"type":"number"},"noiseKind":{"type":"string","enum":["flapping","stuck"]}},"required":["name","fires","recovers","pctSelfResolved","noiseKind"],"additionalProperties":false}},"counts":{"type":"object","properties":{"flapping":{"type":"integer","minimum":0},"stuck":{"type":"integer","minimum":0},"totalFires":{"type":"integer","minimum":0}},"required":["flapping","stuck","totalFires"],"additionalProperties":false}},"required":["scope","filter","target","monitors","counts"],"additionalProperties":false},"CallsResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"callers":{"type":"integer","minimum":0}},"required":["name","callers"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"callerCount":{"type":"integer","minimum":0},"calleeCount":{"type":"integer","minimum":0},"callers":{"type":"array","items":{"type":"string"}},"callees":{"type":"array","items":{"type":"string"}},"incoming":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"direction":{"type":"string","enum":["upstream","downstream"]},"source":{"type":"string","enum":["datadog","tempo","dynatrace"]},"observedAt":{"type":"string"},"operations":{"type":"array","items":{"type":"object","properties":{"method":{"type":["string","null"]},"pathTemplate":{"type":["string","null"]}},"required":["method","pathTemplate"],"additionalProperties":false}}},"required":["service","direction","source"],"additionalProperties":false}},"outgoing":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"direction":{"type":"string","enum":["upstream","downstream"]},"source":{"type":"string","enum":["datadog","tempo","dynatrace"]},"observedAt":{"type":"string"},"operations":{"type":"array","items":{"type":"object","properties":{"method":{"type":["string","null"]},"pathTemplate":{"type":["string","null"]}},"required":["method","pathTemplate"],"additionalProperties":false}}},"required":["service","direction","source"],"additionalProperties":false}}},"required":["name","callerCount","calleeCount","callers","callees","incoming","outgoing"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"IncidentContextResult":{"type":"object","properties":{"generatedAt":{"type":"string"},"selector":{"type":"object","properties":{"id":{"type":["string","null"]},"target":{"type":["string","null"]}},"required":["id","target"],"additionalProperties":false},"hops":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"section":{"type":"string","const":"incident"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["open","acknowledged","resolved","unknown"]},"responders":{"type":"array","items":{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"providerUserId":{"type":["string","null"]},"candidates":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false},"maxItems":10}},"required":["resolution","personId","name","email","providerUserId","candidates"],"additionalProperties":false}}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","responders"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"alerts"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["firing","recovered","suppressed","unknown"]},"severity":{"type":"string","enum":["critical","warning","info","unknown"]}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","severity"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"service"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"providerService":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"name":{"type":["string","null"]}},"required":["provider","providerId","name"],"additionalProperties":false},{"type":"null"}]},"canonical":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"resolve":{"anyOf":[{"type":"object","properties":{"source":{"type":"string"},"matchType":{"type":"string"},"confidence":{"type":"string"}},"required":["source","matchType","confidence"],"additionalProperties":false},{"type":"null"}]}},"required":["providerService","canonical","resolve"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"onCall"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"title":{"type":"string"},"service":{"anyOf":[{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"id":{"type":["string","null"]},"name":{"type":["string","null"]},"providerServiceId":{"type":["string","null"]},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]}},"required":["resolution","id","name","type","namespace","cluster"],"additionalProperties":false},{"type":"null"}]},"providerStatus":{"type":"string"},"startedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"observedAt":{"type":"string"},"providerDetails":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","const":"pagerduty"},"urgency":{"type":"string"},"incidentNumber":{"type":"integer","minimum":0},"scheduleId":{"type":"string"},"escalationLevel":{"type":"integer","minimum":0}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"datadog"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"grafana"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"victoria"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"dynatrace"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"newrelic"}},"required":["provider"],"additionalProperties":false},{"type":"object","properties":{"provider":{"type":"string","const":"incidentio"}},"required":["provider"],"additionalProperties":false}]},"status":{"type":"string","enum":["scheduled","active","ended"]},"person":{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"providerUserId":{"type":["string","null"]},"candidates":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false},"maxItems":10}},"required":["resolution","personId","name","email","providerUserId","candidates"],"additionalProperties":false},"schedule":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"providerId":{"type":"string"},"name":{"type":["string","null"]}},"required":["provider","providerId","name"],"additionalProperties":false},{"type":"null"}]},"escalationLevel":{"type":"integer","minimum":0},"startsAt":{"type":"string"},"endsAt":{"type":"string"}},"required":["id","provider","providerId","title","providerStatus","updatedAt","observedAt","providerDetails","status","person","schedule","startsAt","endsAt"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"responders"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"resolution":{"type":"string","enum":["resolved","unresolved","ambiguous"]},"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"providerUserId":{"type":["string","null"]},"candidates":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false},"maxItems":10}},"required":["resolution","personId","name","email","providerUserId","candidates"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"history"},"rels":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"providerId":{"type":"string"},"incidentNumber":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"title":{"type":"string"},"createdAt":{"type":"string"},"resolvedAt":{"type":["string","null"]},"incidentType":{"type":["string","null"]},"similarityReasons":{"type":"array","items":{"type":"string"}},"resolution":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["confirmed_fix","explicit_reference","unknown"]},"pullRequest":{"anyOf":[{"type":"object","properties":{"id":{"type":["string","null"]},"number":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"title":{"type":["string","null"]},"htmlURL":{"type":["string","null"]},"merged":{"type":"boolean"},"mergedAt":{"type":["string","null"]},"mergeCommitSha":{"type":["string","null"]},"incidentReferences":{"type":"array","items":{"type":"string"}}},"required":["id","number","title","htmlURL","merged","mergedAt","mergeCommitSha","incidentReferences"],"additionalProperties":false},{"type":"null"}]},"authors":{"type":"array","items":{"type":"object","properties":{"personId":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["personId","name","email"],"additionalProperties":false}},"noteReferences":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"source":{"type":["string","null"]},"sourceId":{"type":["string","null"]},"referenceType":{"type":["string","null"]},"repository":{"type":["string","null"]},"number":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"commitSha":{"type":["string","null"]},"url":{"type":["string","null"]}},"required":["id","source","sourceId","referenceType","repository","number","commitSha","url"],"additionalProperties":false}}},"required":["classification","pullRequest","authors","noteReferences"],"additionalProperties":false},{"type":"null"}]}},"required":["id","providerId","incidentNumber","title","createdAt","resolvedAt","incidentType","similarityReasons","resolution"],"additionalProperties":false}}},"required":["section","rels","items"],"additionalProperties":false}]}},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]},"status":{"type":"string","enum":["available","stale","unavailable","not_configured"]},"observedAt":{"type":"string"}},"required":["provider","status"],"additionalProperties":false}},"partial":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"provider":{"type":"string","enum":["pagerduty","datadog","grafana","victoria","dynatrace","newrelic","incidentio"]}},"required":["code","message"],"additionalProperties":false}}},"required":["generatedAt","selector","hops","providers","partial","warnings"],"additionalProperties":false},"ServiceTreeResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"serviceCount":{"type":"integer","minimum":0},"leafCount":{"type":"integer","minimum":0},"footprint":{"type":"integer","minimum":0}},"required":["name","serviceCount","leafCount","footprint"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"serviceCount":{"type":"integer","minimum":0},"datastoreCount":{"type":"integer","minimum":0},"externalCount":{"type":"integer","minimum":0},"services":{"type":"array","items":{"type":"string"}},"datastores":{"type":"array","items":{"type":"string"}},"externals":{"type":"array","items":{"type":"string"}},"hasCycle":{"type":"boolean"}},"required":["name","serviceCount","datastoreCount","externalCount","services","datastores","externals","hasCycle"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"AlertCauseResult":{"type":"object","properties":{"target":{"type":"string"},"workload":{"type":["string","null"]},"workloadId":{"type":["string","null"]},"workloadType":{"type":["string","null"]},"namespace":{"type":["string","null"]},"cluster":{"type":["string","null"]},"alert":{"type":"string"},"interval":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false},"status":{"type":"string","enum":["suspected","unknown","incomplete"]},"suspect":{"anyOf":[{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"target":{"type":["string","null"]},"reason":{"type":"string","enum":["direct_resource_change","owned_runtime_change","mounted_configuration_change"]}},"required":["ts","type","summary","target","reason"],"additionalProperties":false},{"type":"null"}]},"reason":{"type":"string"},"firingMonitors":{"type":"array","items":{"type":"string"}},"firingCount":{"type":"integer","minimum":0},"changes":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"summary":{"type":["string","null"]},"target":{"type":["string","null"]},"reason":{"type":"string","enum":["direct_resource_change","owned_runtime_change","mounted_configuration_change"]}},"required":["ts","type","summary","target","reason"],"additionalProperties":false}}},"required":["target","workload","workloadId","workloadType","namespace","cluster","alert","interval","status","suspect","reason","firingMonitors","firingCount","changes"],"additionalProperties":false},"AccessResult":{"type":"object","properties":{"mode":{"type":"string","enum":["reach","privileged"]},"direction":{"type":"string","enum":["subject","object"]},"serviceAccounts":{"type":"array","items":{"type":"string"}},"roles":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string"},"namespace":{"type":["string","null"]},"via":{"type":["string","null"]},"cluster":{"type":"boolean"},"rules":{"type":"array","items":{"type":"object","properties":{"verbs":{"type":"array","items":{"type":"string"}},"resources":{"type":"array","items":{"type":"string"}},"apiGroups":{"type":"array","items":{"type":"string"}}},"required":["verbs","resources","apiGroups"],"additionalProperties":false}},"privileged":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}}},"required":["role","namespace","via","cluster","rules","privileged","reasons"],"additionalProperties":false}},"subjects":{"type":"array","items":{"type":"object","properties":{"serviceAccount":{"type":"string"},"namespace":{"type":["string","null"]},"via":{"type":["string","null"]},"pods":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"string"}}},"required":["serviceAccount","namespace","via","pods","workloads"],"additionalProperties":false}},"privileged":{"type":"array","items":{"type":"object","properties":{"serviceAccount":{"type":"string"},"namespace":{"type":["string","null"]},"pods":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"string"}},"score":{"type":"number"},"reasons":{"type":"array","items":{"type":"string"}},"roles":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string"},"namespace":{"type":["string","null"]},"via":{"type":["string","null"]},"cluster":{"type":"boolean"},"rules":{"type":"array","items":{"type":"object","properties":{"verbs":{"type":"array","items":{"type":"string"}},"resources":{"type":"array","items":{"type":"string"}},"apiGroups":{"type":"array","items":{"type":"string"}}},"required":["verbs","resources","apiGroups"],"additionalProperties":false}},"privileged":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}}},"required":["role","namespace","via","cluster","rules","privileged","reasons"],"additionalProperties":false}}},"required":["serviceAccount","namespace","pods","workloads","score","reasons","roles"],"additionalProperties":false}}},"required":["mode","direction","serviceAccounts","roles","subjects","privileged"],"additionalProperties":false},"ExposureResult":{"type":"object","properties":{"direction":{"type":"string","enum":["ingress","workload"]},"exposed":{"type":"boolean"},"services":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"namespace":{"type":["string","null"]},"pods":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"string"}}},"required":["service","namespace","pods","workloads"],"additionalProperties":false}},"ingresses":{"type":"array","items":{"type":"object","properties":{"ingress":{"type":"string"},"namespace":{"type":["string","null"]},"via":{"type":["string","null"]}},"required":["ingress","namespace","via"],"additionalProperties":false}},"perspective":{"type":"string","enum":["edge_to_workload","workload_to_edge"]},"verdict":{"type":"string","enum":["confirmed","partial","not_observed","unknown"]},"subject":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"provider":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]}},"required":["id","name","type","provider","namespace","scope"],"additionalProperties":false},{"type":"null"}]},"candidates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"provider":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]}},"required":["id","name","type","provider","namespace","scope"],"additionalProperties":false}},"paths":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string","enum":["complete","partial"]},"hops":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"provider":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]}},"required":["id","name","type","provider","namespace","scope"],"additionalProperties":false},"relationship":{"type":["string","null"]},"evidence":{"type":"object","properties":{"class":{"type":"string","enum":["observed","inferred","ambiguous"]},"source":{"type":"string"},"observedAt":{"type":["string","null"]},"confidence":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}]}},"required":["class","source","observedAt","confidence"],"additionalProperties":false}},"required":["resource","relationship","evidence"],"additionalProperties":false}},"controls":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["dns","tls","waf","rate_limit","access","network"]},"hop":{"type":"string","enum":["edge","origin","workload"]},"family":{"type":"string","enum":["dns","edge_tls","origin_tls","waf","rate_limit","access","network"]},"resource":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"provider":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]}},"required":["id","name","type","provider","namespace","scope"],"additionalProperties":false},"relationship":{"type":"string"},"evidence":{"type":"object","properties":{"class":{"type":"string","enum":["observed","inferred","ambiguous"]},"source":{"type":"string"},"observedAt":{"type":["string","null"]},"confidence":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}]}},"required":["class","source","observedAt","confidence"],"additionalProperties":false},"attribution":{"anyOf":[{"type":"string","enum":["applies","possibly_applies"]},{"type":"null"}]},"matchType":{"type":["string","null"]},"summary":{"type":"object","properties":{"count":{"type":"integer","minimum":0},"names":{"type":"array","items":{"type":"string"}},"defaultAllow":{"type":"boolean"}},"required":["count","names"],"additionalProperties":false},"action":{"type":"string"},"phase":{"type":"string"},"enabled":{"type":"boolean"}},"required":["kind","hop","resource","relationship","evidence"],"additionalProperties":false}},"gaps":{"type":"array","items":{"type":"object","properties":{"afterResourceId":{"type":["string","null"]},"affects":{"type":"string","enum":["traffic","control"]},"expectedNext":{"type":"array","items":{"type":"string","enum":["hostname","edge_control","origin","ingress","service","workload"]}},"reason":{"type":"string","enum":["missing_relationship","missing_inventory","ambiguous_target","permission_denied","stale_evidence"]},"inventoryState":{"type":"string","enum":["scanned_empty","inventory_unbound","permission_denied","collection_failed","not_collected"]},"message":{"type":"string"}},"required":["afterResourceId","affects","expectedNext","reason","message"],"additionalProperties":false}},"platform":{"anyOf":[{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"accountId":{"type":["string","null"]},"region":{"type":["string","null"]},"relationship":{"type":"string","const":"HOSTS"},"observedAt":{"type":["string","null"]},"provenance":{"type":"object","properties":{"source":{"type":"string"}},"required":["source"],"additionalProperties":false}},"required":["type","id","name","accountId","region","relationship","observedAt","provenance"],"additionalProperties":false},{"type":"null"}]},"originReachability":{"anyOf":[{"type":"object","properties":{"verdict":{"type":"string","enum":["restricted_to_cloudflare","directly_reachable","unknown","not_applicable"]},"reasons":{"type":"array","items":{"type":"string"}},"advertisedFamilies":{"type":"array","items":{"type":"string","enum":["ipv4","ipv6"]}},"coveringRules":{"type":"array","items":{"type":"object","properties":{"family":{"type":"string","enum":["ipv4","ipv6"]},"cidr":{"type":"string"},"groupId":{"type":["string","null"]},"permissionIndex":{"type":"string"},"fromPort":{"anyOf":[{"type":"number"},{"type":"null"}]},"toPort":{"anyOf":[{"type":"number"},{"type":"null"}]},"protocol":{"type":["string","null"]},"coveredByCloudflare":{"type":"boolean"},"worldOpen":{"type":"boolean"}},"required":["family","cidr","groupId","permissionIndex","fromPort","toPort","protocol","coveredByCloudflare","worldOpen"],"additionalProperties":false}},"uncoveredRules":{"type":"array","items":{"type":"object","properties":{"family":{"type":"string","enum":["ipv4","ipv6"]},"cidr":{"type":"string"},"groupId":{"type":["string","null"]},"permissionIndex":{"type":"string"},"fromPort":{"anyOf":[{"type":"number"},{"type":"null"}]},"toPort":{"anyOf":[{"type":"number"},{"type":"null"}]},"protocol":{"type":["string","null"]},"coveredByCloudflare":{"type":"boolean"},"worldOpen":{"type":"boolean"}},"required":["family","cidr","groupId","permissionIndex","fromPort","toPort","protocol","coveredByCloudflare","worldOpen"],"additionalProperties":false}},"missingEvidence":{"type":"array","items":{"type":"string"}},"cfRanges":{"type":"object","properties":{"version":{"type":"string"},"publishedAt":{"type":"string"},"source":{"type":"string"}},"required":["version","publishedAt","source"],"additionalProperties":false}},"required":["verdict","reasons","advertisedFamilies","coveringRules","uncoveredRules","missingEvidence","cfRanges"],"additionalProperties":false},{"type":"null"}]},"recentChanges":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"string"},"type":{"type":"string"},"eventSource":{"type":"string","enum":["audit","snapshot_diff","unknown"]},"summary":{"type":["string","null"]},"resourceId":{"type":"string"},"resourceType":{"type":["string","null"]},"actor":{"type":["string","null"]},"binding":{"type":"string","const":"hostname"}},"required":["ts","type","eventSource","summary","resourceId","resourceType","actor","binding"],"additionalProperties":false}},"wafImpactSignal":{"type":"object","properties":{"status":{"type":"string","enum":["observed","unavailable"]},"gapReason":{"anyOf":[{"type":"string","enum":["permission_denied","not_configured","backend_unconfigured","lookup_failed"]},{"type":"null"}]},"gapMessage":{"type":["string","null"]},"summary":{"type":["string","null"]},"window":{"anyOf":[{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false},{"type":"null"}]},"current":{"anyOf":[{"type":"object","properties":{"matched":{"type":"integer","minimum":0},"blocked":{"type":"integer","minimum":0},"challenged":{"type":"integer","minimum":0}},"required":["matched","blocked","challenged"],"additionalProperties":false},{"type":"null"}]},"baseline":{"anyOf":[{"type":"object","properties":{"matched":{"type":"integer","minimum":0},"blocked":{"type":"integer","minimum":0},"challenged":{"type":"integer","minimum":0}},"required":["matched","blocked","challenged"],"additionalProperties":false},{"type":"null"}]},"spike":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"message":{"type":"string"}},"required":["label","message"],"additionalProperties":false},{"type":"null"}]}},"required":["status"],"additionalProperties":false}},"required":["status","hops","controls","gaps","platform","originReachability"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["limit","hasMore","nextCursor"],"additionalProperties":false}},"required":["direction","exposed","services","ingresses","perspective","verdict","subject","candidates","paths","page"],"additionalProperties":false},"OrphansResult":{"type":"object","properties":{"kind":{"type":"string","enum":["configmap","serviceaccount","role","replicaset"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"}},"required":["namespace"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]}},"required":["name","namespace"],"additionalProperties":false}}},"required":["kind","filter","items"],"additionalProperties":false},"CoverageResult":{"type":"object","properties":{"kind":{"type":"string","enum":["service","monitor","metrics"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"}},"required":["namespace"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["name","namespace","kind"],"additionalProperties":false}}},"required":["kind","filter","items"],"additionalProperties":false},"SloResult":{"type":"object","properties":{"scope":{"type":"string","enum":["ranked","target"]},"ranking":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"alerting":{"type":"integer","minimum":0},"warning":{"type":"integer","minimum":0},"monitors":{"type":"integer","minimum":0}},"required":["name","status","alerting","warning","monitors"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"alerting":{"type":"integer","minimum":0},"warning":{"type":"integer","minimum":0},"monitors":{"type":"integer","minimum":0},"sample":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"state":{"type":"string"},"service":{"type":["string","null"]}},"required":["name","state","service"],"additionalProperties":false}}},"required":["name","status","alerting","warning","monitors","sample"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","ranking","target"],"additionalProperties":false},"TenancyResult":{"type":"object","properties":{"nodes":{"type":"array","items":{"type":"string"}},"ownPods":{"type":"integer","minimum":0},"neighbors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"type":{"type":["string","null"]},"pods":{"type":"integer","minimum":0},"nodes":{"type":"array","items":{"type":"string"}}},"required":["name","namespace","type","pods","nodes"],"additionalProperties":false}}},"required":["nodes","ownPods","neighbors"],"additionalProperties":false},"SharedConfigResult":{"type":"object","properties":{"configmaps":{"type":"array","items":{"type":"string"}},"ownPods":{"type":"integer","minimum":0},"siblings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"type":{"type":["string","null"]},"pods":{"type":"integer","minimum":0},"configmaps":{"type":"array","items":{"type":"string"}}},"required":["name","namespace","type","pods","configmaps"],"additionalProperties":false}}},"required":["configmaps","ownPods","siblings"],"additionalProperties":false},"AlertRulesResult":{"type":"object","properties":{"subject":{"type":"string","enum":["coverage","inventory","target"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"},"term":{"type":"string"}},"required":["namespace","term"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":"string"},"replicas":{"type":"integer","minimum":0},"hasHpa":{"type":"boolean"},"exposed":{"type":"boolean"}},"required":["name","namespace","kind","replicas","hasHpa","exposed"],"additionalProperties":false}},"inventory":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"uid":{"type":["string","null"]},"ruleGroup":{"type":["string","null"]},"alerts":{"type":"integer","minimum":0},"watched":{"type":"integer","minimum":0},"severities":{"type":"array","items":{"type":"string"}}},"required":["name","uid","ruleGroup","alerts","watched","severities"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":"string"},"rules":{"type":"array","items":{"type":"string"}},"datastores":{"type":"array","items":{"type":"string"}},"destinations":{"type":"array","items":{"type":"string"}}},"required":["name","namespace","kind","rules","datastores","destinations"],"additionalProperties":false},{"type":"null"}]}},"required":["subject","filter","coverage","inventory","target"],"additionalProperties":false},"GitopsResult":{"type":"object","properties":{"subject":{"type":"string","enum":["drift","unmanaged","owner"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"}},"required":["namespace"],"additionalProperties":false},"drift":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"syncStatus":{"type":["string","null"]},"healthStatus":{"type":["string","null"]},"repoUrl":{"type":["string","null"]},"sourcePath":{"type":["string","null"]}},"required":["name","syncStatus","healthStatus","repoUrl","sourcePath"],"additionalProperties":false}},"unmanaged":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":"string"}},"required":["name","namespace","kind"],"additionalProperties":false}},"owner":{"anyOf":[{"type":"object","properties":{"workload":{"type":"string"},"namespace":{"type":["string","null"]},"application":{"type":["string","null"]},"repoUrl":{"type":["string","null"]},"sourcePath":{"type":["string","null"]},"targetRevision":{"type":["string","null"]},"syncStatus":{"type":["string","null"]},"healthStatus":{"type":["string","null"]}},"required":["workload","namespace","application","repoUrl","sourcePath","targetRevision","syncStatus","healthStatus"],"additionalProperties":false},{"type":"null"}]}},"required":["subject","filter","drift","unmanaged","owner"],"additionalProperties":false},"ImageResult":{"type":"object","properties":{"mode":{"type":"string","enum":["ranked","byimage","bydigest","workload","hygiene"]},"ranking":{"type":"array","items":{"type":"object","properties":{"image":{"type":"string"},"containers":{"type":"integer","minimum":0},"pods":{"type":"integer","minimum":0}},"required":["image","containers","pods"],"additionalProperties":false}},"byImage":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"matchedImages":{"type":"array","items":{"type":"string"}},"containers":{"type":"integer","minimum":0},"pods":{"type":"integer","minimum":0},"workloadCount":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["name","namespace","kind"],"additionalProperties":false}}},"required":["term","matchedImages","containers","pods","workloadCount","workloads"],"additionalProperties":false},{"type":"null"}]},"byDigest":{"anyOf":[{"type":"object","properties":{"digest":{"type":"string"},"containers":{"type":"integer","minimum":0},"pods":{"type":"integer","minimum":0},"workloadCount":{"type":"integer","minimum":0},"matchedImageIDs":{"type":"array","items":{"type":"string"}},"matches":{"type":"array","items":{"type":"object","properties":{"containerHashedID":{"type":"string"},"containerName":{"type":["string","null"]},"image":{"type":["string","null"]},"imageID":{"type":"string"},"podHashedID":{"type":"string"},"podName":{"type":["string","null"]},"workloadHashedID":{"type":["string","null"]},"workloadName":{"type":["string","null"]},"workloadKind":{"type":["string","null"]},"namespace":{"type":["string","null"]},"scope":{"type":["string","null"]},"clusterID":{"type":["string","null"]},"clusterName":{"type":["string","null"]},"clusterHashedID":{"type":["string","null"]}},"required":["containerHashedID","containerName","image","imageID","podHashedID","podName","workloadHashedID","workloadName","workloadKind","namespace","scope","clusterID","clusterName","clusterHashedID"],"additionalProperties":false}}},"required":["digest","containers","pods","workloadCount","matchedImageIDs","matches"],"additionalProperties":false},{"type":"null"}]},"workload":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"type":{"type":["string","null"]},"namespace":{"type":["string","null"]},"imageCount":{"type":"integer","minimum":0},"containers":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"image":{"type":"string"},"isInit":{"type":"boolean"},"cpuRequest":{"type":["string","null"]},"memRequest":{"type":["string","null"]},"memLimit":{"type":["string","null"]},"pod":{"type":["string","null"]}},"required":["name","image","isInit","cpuRequest","memRequest","memLimit","pod"],"additionalProperties":false}}},"required":["name","type","namespace","imageCount","containers"],"additionalProperties":false},{"type":"null"}]},"hygiene":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["nomemlimit","nocpurequest","skew"]},"items":{"type":"array","items":{"type":"object","properties":{"workload":{"type":"string"},"namespace":{"type":["string","null"]},"container":{"type":["string","null"]},"image":{"type":"string"},"detail":{"type":["string","null"]}},"required":["workload","namespace","container","image","detail"],"additionalProperties":false}}},"required":["kind","items"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","ranking","byImage","byDigest","workload","hygiene"],"additionalProperties":false},"NetpolResult":{"type":"object","properties":{"mode":{"type":"string","enum":["uncovered","policy","segmentation"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"},"term":{"type":"string"}},"required":["namespace","term"],"additionalProperties":false},"uncovered":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string"},"pods":{"type":"integer","minimum":0},"workloads":{"type":"array","items":{"type":"string"}}},"required":["namespace","pods","workloads"],"additionalProperties":false}},"covered":{"type":"boolean"},"ingressCovered":{"type":"boolean"},"policies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"policyTypes":{"type":"array","items":{"type":"string"}},"ingressRuleCount":{"type":"integer","minimum":0},"egressRuleCount":{"type":"integer","minimum":0},"podSelector":{"type":["string","null"]}},"required":["name","namespace","policyTypes","ingressRuleCount","egressRuleCount","podSelector"],"additionalProperties":false}},"reachers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"type":{"type":["string","null"]},"pods":{"type":"integer","minimum":0}},"required":["name","namespace","type","pods"],"additionalProperties":false}}},"required":["mode","filter","uncovered","covered","ingressCovered","policies","reachers"],"additionalProperties":false},"StorageResult":{"type":"object","properties":{"mode":{"type":"string","enum":["footprint","orphanpv","unclaimedpvc","byclass"]},"filter":{"type":"object","properties":{"term":{"type":"string"}},"required":["term"],"additionalProperties":false},"claims":{"type":"array","items":{"type":"object","properties":{"pvc":{"type":"string"},"pvcNamespace":{"type":["string","null"]},"pv":{"type":["string","null"]},"storageClass":{"type":["string","null"]},"capacity":{"type":["string","null"]},"pods":{"type":"array","items":{"type":"string"}}},"required":["pvc","pvcNamespace","pv","storageClass","capacity","pods"],"additionalProperties":false}},"orphanPvs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"storageClass":{"type":["string","null"]},"capacity":{"type":["string","null"]},"reclaimPolicy":{"type":["string","null"]}},"required":["name","storageClass","capacity","reclaimPolicy"],"additionalProperties":false}},"unclaimedPvcs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"pv":{"type":["string","null"]},"storageClass":{"type":["string","null"]}},"required":["name","namespace","pv","storageClass"],"additionalProperties":false}},"classes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"pvs":{"type":"integer","minimum":0},"pvcs":{"type":"integer","minimum":0}},"required":["name","pvs","pvcs"],"additionalProperties":false}}},"required":["mode","filter","claims","orphanPvs","unclaimedPvcs","classes"],"additionalProperties":false},"PdbResult":{"type":"object","properties":{"scope":{"type":"string","enum":["nopdb","workload","pdb"]},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["name","namespace","kind"],"additionalProperties":false}},"workload":{"anyOf":[{"type":"object","properties":{"totalPods":{"type":"integer","minimum":0},"protectedPods":{"type":"integer","minimum":0},"pdbs":{"type":"array","items":{"type":"string"}}},"required":["totalPods","protectedPods","pdbs"],"additionalProperties":false},{"type":"null"}]},"pdb":{"anyOf":[{"type":"object","properties":{"pods":{"type":"integer","minimum":0},"podSample":{"type":"array","items":{"type":"string"}},"workloads":{"type":"array","items":{"type":"string"}}},"required":["pods","podSample","workloads"],"additionalProperties":false},{"type":"null"}]}},"required":["scope","items","workload","pdb"],"additionalProperties":false},"ScalingResult":{"type":"object","properties":{"mode":{"type":"string","enum":["nohpa","autoscaled","target"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"},"term":{"type":"string"}},"required":["namespace","term"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":["string","null"]},"replicas":{"anyOf":[{"type":"number"},{"type":"null"}]},"hpa":{"type":["string","null"]},"minReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]},"maxReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["name","namespace","kind","replicas","hpa","minReplicas","maxReplicas"],"additionalProperties":false}},"target":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"resolvedKind":{"type":["string","null"]},"minReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]},"maxReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]},"hpas":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"minReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]},"maxReplicas":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["name","namespace","minReplicas","maxReplicas"],"additionalProperties":false}},"scales":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":["string","null"]}},"required":["name","namespace","kind"],"additionalProperties":false}}},"required":["name","namespace","resolvedKind","minReplicas","maxReplicas","hpas","scales"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","filter","items","target"],"additionalProperties":false},"TopologyResult":{"type":"object","properties":{"resolved":{"anyOf":[{"type":"object","properties":{"term":{"type":"string"},"service":{"type":"string"}},"required":["term","service"],"additionalProperties":false},{"type":"null"}]},"level":{"type":"string","enum":["context","container","component","dynamic"]},"nodeCount":{"type":"integer","minimum":0},"edgeCount":{"type":"integer","minimum":0},"byType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":0}},"required":["type","count"],"additionalProperties":false}},"source":{"type":"string","enum":["datadog","tempo","dynatrace","configuration"]},"evidence":{"type":"object","properties":{"status":{"type":"string","enum":["observed","configured","missing"]},"reason":{"type":["string","null"]}},"required":["status","reason"],"additionalProperties":false}},"required":["resolved","level","nodeCount","edgeCount","byType"],"additionalProperties":false},"PriorityResult":{"type":"object","properties":{"kind":{"type":"string","enum":["nopriority","ladder","target"]},"filter":{"type":"object","properties":{"namespace":{"type":"string"},"term":{"type":"string"}},"required":["namespace","term"],"additionalProperties":false},"nopriority":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":["string","null"]},"kind":{"type":"string"},"pods":{"type":"integer","minimum":0}},"required":["name","namespace","kind","pods"],"additionalProperties":false}},"ladder":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"number"},"pods":{"type":"integer","minimum":0}},"required":["name","value","pods"],"additionalProperties":false}},"classes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"number"},"pods":{"type":"integer","minimum":0}},"required":["name","value","pods"],"additionalProperties":false}}},"required":["kind","filter","nopriority","ladder","classes"],"additionalProperties":false},"IacResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"resource":{"type":"string"},"status":{"type":"string"},"freshnessHours":{"type":"number","minimum":0}},"required":["resource","status","freshnessHours"],"additionalProperties":false},"coverage":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"managed":{"type":"integer","minimum":0},"unlinked":{"type":"integer","minimum":0},"missingCloud":{"type":"integer","minimum":0},"ambiguous":{"type":"integer","minimum":0},"stale":{"type":"integer","minimum":0},"invalid":{"type":"integer","minimum":0}},"required":["total","managed","unlinked","missingCloud","ambiguous","stale","invalid"],"additionalProperties":false},"resources":{"type":"array","items":{"type":"object","properties":{"terraform":{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"address":{"type":"string"},"resourceType":{"type":["string","null"]},"resourceName":{"type":["string","null"]},"fileRef":{"type":["string","null"]},"githubUrl":{"type":["string","null"]}},"required":["hashedID","anyshiftID","address","resourceType","resourceName","fileRef","githubUrl"],"additionalProperties":false},"status":{"type":"string","enum":["managed","unlinked","missing_cloud","ambiguous","stale","invalid"]},"states":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"graphType":{"type":["string","null"]},"resourceType":{"type":["string","null"]},"serial":{"anyOf":[{"type":"number"},{"type":"null"}]},"lineage":{"type":["string","null"]},"terraformVersion":{"type":["string","null"]}},"required":["hashedID","anyshiftID","graphType","resourceType","serial","lineage","terraformVersion"],"additionalProperties":false}},"clouds":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"graphType":{"type":["string","null"]},"observedAt":{"type":["string","null"]}},"required":["hashedID","anyshiftID","graphType","observedAt"],"additionalProperties":false}},"directClouds":{"type":"array","items":{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"graphType":{"type":["string","null"]},"observedAt":{"type":["string","null"]}},"required":["hashedID","anyshiftID","graphType","observedAt"],"additionalProperties":false}}},"required":["terraform","status","states","clouds","directClouds"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["filter","coverage","resources","page"],"additionalProperties":false},"IacDriftResult":{"type":"object","properties":{"filter":{"type":"object","properties":{"resource":{"type":"string"},"status":{"type":"string"},"freshnessHours":{"type":"number","minimum":0}},"required":["resource","status","freshnessHours"],"additionalProperties":false},"counts":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"inSync":{"type":"integer","minimum":0},"drifted":{"type":"integer","minimum":0},"unknown":{"type":"integer","minimum":0}},"required":["total","inSync","drifted","unknown"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"terraform":{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"address":{"type":"string"},"resourceType":{"type":["string","null"]},"resourceName":{"type":["string","null"]},"fileRef":{"type":["string","null"]},"githubUrl":{"type":["string","null"]}},"required":["hashedID","anyshiftID","address","resourceType","resourceName","fileRef","githubUrl"],"additionalProperties":false},"state":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"graphType":{"type":["string","null"]},"resourceType":{"type":["string","null"]},"serial":{"anyOf":[{"type":"number"},{"type":"null"}]},"lineage":{"type":["string","null"]},"terraformVersion":{"type":["string","null"]}},"required":["hashedID","anyshiftID","graphType","resourceType","serial","lineage","terraformVersion"],"additionalProperties":false},{"type":"null"}]},"cloud":{"anyOf":[{"type":"object","properties":{"hashedID":{"type":"string"},"anyshiftID":{"type":["string","null"]},"graphType":{"type":["string","null"]},"observedAt":{"type":["string","null"]}},"required":["hashedID","anyshiftID","graphType","observedAt"],"additionalProperties":false},{"type":"null"}]},"status":{"type":"string","enum":["in_sync","drifted","unknown"]},"category":{"type":"string","enum":["none","configuration","existence","linkage","freshness","unsupported"]},"reason":{"type":"string","enum":["compared","unsupported_resource_type","unlinked","missing_cloud","ambiguous","stale_evidence","invalid_direct_link"]},"supported":{"type":"boolean"},"comparedFields":{"type":"integer","minimum":0},"differences":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"lastApplied":{"type":["string","null"]},"observed":{"type":["string","null"]}},"required":["field","lastApplied","observed"],"additionalProperties":false}}},"required":["terraform","state","cloud","status","category","reason","supported","comparedFields","differences"],"additionalProperties":false}},"page":{"type":"object","properties":{"limit":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["limit","offset","hasMore","nextOffset"],"additionalProperties":false}},"required":["filter","counts","items","page"],"additionalProperties":false},"AskResult":{"oneOf":[{"type":"object","required":["question","intent","summary","resolve"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"resolve"},"resolve":{"oneOf":[{"$ref":"#/components/schemas/ResolveResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","resourceDetails"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"resource"},"resourceDetails":{"oneOf":[{"$ref":"#/components/schemas/ResourceDetails"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","resolved","nodes","edges"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"connections"}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","inventory"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"inventory"},"inventory":{"oneOf":[{"$ref":"#/components/schemas/InventoryResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","events"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"events"},"events":{"oneOf":[{"$ref":"#/components/schemas/EventsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","cloudEvents"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"cloudevents"},"cloudEvents":{"oneOf":[{"$ref":"#/components/schemas/CloudEventsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","cloudResources"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"cloudresources"},"cloudResources":{"oneOf":[{"$ref":"#/components/schemas/CloudResourcesResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","deliveryEvents"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"deliveryevents"},"deliveryEvents":{"oneOf":[{"$ref":"#/components/schemas/DeliveryEventsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","provenance"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"provenance"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/ProvenanceResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","ownership"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"ownership"},"ownership":{"oneOf":[{"$ref":"#/components/schemas/OwnershipResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","graphCoverage"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"graphcoverage"},"graphCoverage":{"oneOf":[{"$ref":"#/components/schemas/GraphCoverageResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","hotspots"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"hotspots"},"hotspots":{"oneOf":[{"$ref":"#/components/schemas/HotspotsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","correlations"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"correlations"},"correlations":{"oneOf":[{"$ref":"#/components/schemas/CorrelationsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","incident"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"incident"},"incident":{"oneOf":[{"$ref":"#/components/schemas/IncidentResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","incidents"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"responseincidents"},"incidents":{"oneOf":[{"$ref":"#/components/schemas/ResponseIncidentsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","onCall"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"oncall"},"onCall":{"oneOf":[{"$ref":"#/components/schemas/OnCallResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","failures"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"failures"},"failures":{"oneOf":[{"$ref":"#/components/schemas/EventFeedResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","deployments"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"deployments"},"deployments":{"oneOf":[{"$ref":"#/components/schemas/DeploymentsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","audit"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"audit"},"audit":{"oneOf":[{"$ref":"#/components/schemas/EventFeedResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","nodeEvents"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"nodes"},"nodeEvents":{"oneOf":[{"$ref":"#/components/schemas/EventFeedResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","deployImpact"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"deployimpact"},"deployImpact":{"oneOf":[{"$ref":"#/components/schemas/DeployImpactResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","commonCause"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"commoncause"},"commonCause":{"oneOf":[{"$ref":"#/components/schemas/CommonCauseResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","blastRadius"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"blast"},"blastRadius":{"oneOf":[{"$ref":"#/components/schemas/BlastRadiusResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","impact"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"impact"},"impact":{"oneOf":[{"$ref":"#/components/schemas/ImpactResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","spof"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"spof"},"spof":{"oneOf":[{"$ref":"#/components/schemas/SpofResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","path"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"path"},"path":{"oneOf":[{"$ref":"#/components/schemas/PathResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","cascade"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"cascade"},"cascade":{"oneOf":[{"$ref":"#/components/schemas/CascadeResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","alertImpact"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"alertimpact"},"alertImpact":{"oneOf":[{"$ref":"#/components/schemas/AlertImpactResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","monitor"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"monitor"},"monitor":{"oneOf":[{"$ref":"#/components/schemas/MonitorResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","dataStore"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"datastore"},"dataStore":{"oneOf":[{"$ref":"#/components/schemas/DataStoreResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","flow"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"flow"},"flow":{"oneOf":[{"$ref":"#/components/schemas/FlowResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","externalDep"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"externaldep"},"externalDep":{"oneOf":[{"$ref":"#/components/schemas/ExternalDepResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","alerts"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"alerts"},"alerts":{"oneOf":[{"$ref":"#/components/schemas/AlertsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","alertNoise"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"alertnoise"},"alertNoise":{"oneOf":[{"$ref":"#/components/schemas/AlertNoiseResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","calls"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"calls"},"calls":{"oneOf":[{"$ref":"#/components/schemas/CallsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","incidentContext"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"incidentcontext"},"incidentContext":{"oneOf":[{"$ref":"#/components/schemas/IncidentContextResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","serviceTree"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"servicetree"},"serviceTree":{"oneOf":[{"$ref":"#/components/schemas/ServiceTreeResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","alertCause"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"alertcause"},"alertCause":{"oneOf":[{"$ref":"#/components/schemas/AlertCauseResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","access"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"access"},"access":{"oneOf":[{"$ref":"#/components/schemas/AccessResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","exposure"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"exposure"},"exposure":{"$ref":"#/components/schemas/ExposureResult"}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","orphans"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"orphans"},"orphans":{"oneOf":[{"$ref":"#/components/schemas/OrphansResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","coverage"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"coverage"},"coverage":{"oneOf":[{"$ref":"#/components/schemas/CoverageResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","slo"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"slo"},"slo":{"oneOf":[{"$ref":"#/components/schemas/SloResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","tenancy"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"tenancy"},"tenancy":{"oneOf":[{"$ref":"#/components/schemas/TenancyResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","sharedConfig"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"sharedconfig"},"sharedConfig":{"oneOf":[{"$ref":"#/components/schemas/SharedConfigResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","alertRules"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"alertrules"},"alertRules":{"oneOf":[{"$ref":"#/components/schemas/AlertRulesResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","gitops"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"gitops"},"gitops":{"oneOf":[{"$ref":"#/components/schemas/GitopsResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","image"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"image"},"image":{"oneOf":[{"$ref":"#/components/schemas/ImageResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","netpol"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"netpol"},"netpol":{"oneOf":[{"$ref":"#/components/schemas/NetpolResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","storage"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"storage"},"storage":{"oneOf":[{"$ref":"#/components/schemas/StorageResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","pdb"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"pdb"},"pdb":{"oneOf":[{"$ref":"#/components/schemas/PdbResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","scaling"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"scaling"},"scaling":{"oneOf":[{"$ref":"#/components/schemas/ScalingResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","topology","nodes","edges"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"topology"},"topology":{"oneOf":[{"$ref":"#/components/schemas/TopologyResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","priority"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"priority"},"priority":{"oneOf":[{"$ref":"#/components/schemas/PriorityResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","iac"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"iac"},"iac":{"oneOf":[{"$ref":"#/components/schemas/IacResult"},{"type":"null"}]}},"additionalProperties":false},{"type":"object","required":["question","intent","summary","iacDrift"],"properties":{"question":{"type":"string"},"summary":{"type":"string"},"countOnly":{"type":"boolean"},"elapsedMs":{"type":"integer","minimum":0},"resolved":{"oneOf":[{"type":"object","required":["term","hashedID","name","type"],"properties":{"term":{"type":"string"},"hashedID":{"type":"string"},"name":{"type":"string"},"type":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"}},"intent":{"const":"iacdrift"},"iacDrift":{"oneOf":[{"$ref":"#/components/schemas/IacDriftResult"},{"type":"null"}]}},"additionalProperties":false}],"discriminator":{"propertyName":"intent"}}}},"paths":{"/v1/query":{"post":{"operationId":"queryGraph","tags":["Graph"],"summary":"Run a query-language query (deterministic, no LLM).","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/GraphCapabilities"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequest"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResult"}}}},"400":{"description":"Bad query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"504":{"description":"Query timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{projectId}/query":{"post":{"operationId":"queryProjectGraph","tags":["Graph"],"summary":"Run a deterministic graph query for an Anyshift project","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/ProjectId"},{"$ref":"#/components/parameters/GraphCapabilities"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequest"}}}},"responses":{"200":{"description":"Query result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResult"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Project events graph unconfigured or internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"504":{"description":"Query timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/ask":{"post":{"operationId":"askGraph","tags":["Graph"],"summary":"Ask a natural-language graph question.","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/GraphCapabilities"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskRequest"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResult"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"504":{"description":"Query timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/projects/{projectId}/ask":{"post":{"operationId":"askProjectGraph","tags":["Graph"],"summary":"Ask a natural-language graph question for an Anyshift project","security":[{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/ProjectId"},{"$ref":"#/components/parameters/GraphCapabilities"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskRequest"}}}},"responses":{"200":{"description":"Answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResult"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Project events graph unconfigured or internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"504":{"description":"Query timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}}}