Skip to content

Unified API

Unified Usage Metering API

One standardized interface to read and write usage metering data across every provider. 4 unified resources, 2 supported integrations, zero provider-specific code.

https://api.truto.one/unified/usage-metering
Start integrating API docs
4

Unified resources

2

Supported integrations

Pass‑through

Real-time, no data storage

Data Model

Usage Metering resources

Every resource is normalized across providers. Use the same schema whether your customer is on Confluent or Datadog.

Organizations

Represents the organizations that are using the products.

4 fields Docs →
Organizations fields
id string
name string
created_at string
updated_at string

Products

Products represent the services or products that are being used by the organization for a particular integration.

5 fields Docs →
Products fields
id string
name string
description string
created_at string
updated_at string

Usage

Returns the usage data across products for the organization.

11 fields Docs →
Usage fields
id string
product object
metric_name string
resources array
organization object
charges array
usage object
start_date string
end_date string
created_at string
updated_at string

Workspaces

5 fields Docs →
Workspaces fields
id string
name string
organization object
created_at string
updated_at string

Integrations

2 integrations, one API

Connect to any of these providers through the Unified Usage Metering API. Same resources, same schema, same code.

How It Works

From zero to integrated

Go live with the Unified Usage Metering API in under an hour. No boilerplate, no maintenance burden.

01

Connect your customer’s account

Use Truto’s pre-built auth flows to connect any usage metering provider. OAuth, API keys, and custom auth — all handled.

02

Query the unified API

Read and write data through a single, normalized REST API. Same endpoints, same schema, regardless of the underlying provider.

03

Customize with JSONata

Need a field the unified model doesn’t cover? Extend the schema with declarative JSONata mappings — no code deploys, no waiting on us.

Unified Usage Metering API

Start building with the Unified Usage Metering API

2 integrations. 4 unified resources. Zero provider-specific code. Ship usage metering integrations in hours, not months.

Talk to us