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

Budget forecasting and spend projections

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

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

This API exposes 5 operations across 2 paths, and defines 4 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.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 POST1 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 Forecasting 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 5

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

Forecasting 5

Budget forecasting and spend projections

GET
/v1/budgets
List Budgets
listBudgets 2 params → 200401
POST
/v1/budgets
Create Budget
createBudget body → 201401
GET
/v1/budgets/{budget_id}
Get Budget
getBudget 1 param → 200401404
PUT
/v1/budgets/{budget_id}
Update Budget
updateBudget 1 param body → 200401404
DELETE
/v1/budgets/{budget_id}
Delete Budget
deleteBudget 1 param → 204401404

Schemas 4

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

BudgetRequest
object
6 properties 3 required
Budget
object
A cloud cost budget with spend targets and alerts
11 properties
BudgetListResponse
object
3 properties
ErrorResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ternary-forecasting-api-openapi.yml Raw ↑

Other APIs Ternary publishes across the network.

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