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 Commitments API

Manage cloud commitment purchases and optimization

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

Tagged areas include Commitments. 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 2 paths, and defines 3 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 2 paths 3 schemas 2 GET

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 Commitments 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 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Commitments 2

Manage cloud commitment purchases and optimization

GET
/v1/commitments
List Commitments
listCommitments 3 params → 200401
GET
/v1/commitments/{commitment_id}
Get Commitment
getCommitment 1 param → 200401404

Schemas 3

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

CommitmentListResponse
object
3 properties
ErrorResponse
object
1 property
Commitment
object
A cloud commitment purchase
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ternary-commitments-api-openapi.yml Raw ↑

Other APIs Ternary publishes across the network.

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