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

Ternary Kubernetes API

Kubernetes cost allocation and pod label management

Ternary Kubernetes API is one of 6 APIs that Ternary publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 2 operations across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.ternary.app.

2 operations 1 paths 2 schemas 1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Server
https://api.ternary.app
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Ternary Kubernetes API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key generated from the Ternary platform settings

Paths & Operations 2

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

Kubernetes 2

Kubernetes cost allocation and pod label management

GET
/v1/kubernetes/pod-labels
List Kubernetes Pod Labels
listKubernetesPodLabels → 200401
PUT
/v1/kubernetes/pod-labels
Update Kubernetes Pod Labels
updateKubernetesPodLabels body → 200401

Schemas 2

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

PodLabelConfig
object
Kubernetes pod label configuration for cost allocation
2 properties
ErrorResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ternary-kubernetes-api-openapi.yml Raw ↑

Other APIs Ternary publishes across the network.

Ternary Anomaly Detection API
Ternary Commitments API
Ternary Cost Allocation API
Ternary Forecasting API
Ternary Reporting API