Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kyverno Results API

Policy result query endpoints

Kyverno Results API is one of 9 APIs that Kyverno publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Results. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and a GitHub repository.

This API exposes 4 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, http://localhost:8080.

4 operations 4 paths 5 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Server
http://localhost:8080
Terms of Service
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Results 4

Policy result query endpoints

GET
/api/v1/namespace-scoped/results
Kyverno List namespace-scoped policy results
listNamespaceScopedResults 10 params → 200400
GET
/api/v1/cluster-scoped/results
Kyverno List cluster-scoped policy results
listClusterScopedResults 9 params → 200400
GET
/api/v1/namespace-scoped/summary
Kyverno Get namespace-scoped result summary
getNamespaceScopedSummary 3 params → 200
GET
/api/v1/cluster-scoped/summary
Kyverno Get cluster-scoped result summary
getClusterScopedSummary 2 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are PolicyResult (11 properties), ResourceReference (5 properties), PolicyResultList (2 properties), Error (1 property). Each schema is shown below with its type and property counts.

PolicyResultList
object
Paginated list of individual policy results
2 properties
PolicyResult
object
An individual policy evaluation result for a specific resource
11 properties
ResourceReference
object
A reference to the Kubernetes resource evaluated by the policy
5 properties
ResultSummary
object
Aggregated summary of policy results
1 property
Error
object
An error response
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kyverno-results-api-openapi.yml Raw ↑

Other APIs Kyverno publishes across the network.

Kyverno CLI
Kyverno ClusterPolicyReports API
Kyverno Health API
Kyverno Namespaces API
Kyverno Policies API
Kyverno PolicyReports API
Kyverno Sources API