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

Eon billing API

Access billing and usage metering information.

Eon billing API is one of 13 APIs that Eon publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include billing. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 24 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, /.

1 operations 1 paths 24 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://console.eon.io
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Eon billing API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

billing 1

Access billing and usage metering information.

POST
/v1/cost-data
Query Cost Data
queryCostData 2 params body → 2004001XX3XX4XX5XX

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are QueryCostDataRequest (7 properties), CostDataFilters (6 properties), CostDataRecord (4 properties), CostDataRecordDimensions (4 properties). Each schema is shown below with its type and property counts.

TagKeyValuesFilters
object
3 properties
CostDataRecordCost
object
Cost and usage breakdown for a specific billable usage type.
3 properties 3 required
Provider
string
Cloud provider. PROVIDERUNSPECIFIED is supported only in responses.
CostDataRecordDimensions
object
Grouping dimensions that categorize this cost record. Contains metadata about the cloud provider, resource type, resource ID, and source account that generated…
4 properties
MeteringDimension
string
Type of resource usage being metered and billed across different cloud providers. Each dimension represents a specific billable resource type, such as compute…
CostDataFilters
object
6 properties
CostDataGroupBy
string
Dimension to group cost data by in the response.
ResourceTypeFilters
object
2 properties
CostGranularity
string
Time granularity for aggregating cost data.
Error
object
1 property
TagKeysFilters
object
3 properties
CloudProviderFilters
object
2 properties
SourceAccountProviderIdFilters
object
2 properties
QueryCostDataResponse
object
4 properties 4 required
TimeFrame
object
2 properties 2 required
IdFilters
object
2 properties
ResourceType
string
Resource type identifier combining cloud provider and service type. RESOURCETYPEUNSPECIFIED is supported only in responses.
UsageUnit
string
Whether usage is returned in byte-months, raw bytes, operations, or object-months for the specified timeFrame. UNSPECIFIED is supported only in responses.
queryCostData_400_response
object
1 property
Usage
object
Raw usage amount and unit that generated the associated cost.
2 properties 2 required
CostUnit
string
Currency unit for cost amounts. Use CREDITS for Eon credits and USD for U.S. dollars. UNSPECIFIED is supported only in responses.
Cost
object
2 properties 2 required
QueryCostDataRequest
object
7 properties 1 required
CostDataRecord
object
Total cost for this metering dimension in the specified currency unit.
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

eon-billing-api-openapi.yml Raw ↑

Other APIs Eon publishes across the network.

Eon accounts API
Eon actionApprovals API
Eon auth API
Eon backupPolicies API
Eon backups API
Eon dashboard API
Eon databaseSnapshots API
Eon iam API
Eon jobs API
Eon resources API
Eon snapshots API
Eon vaults API