---
title: Unified Usage Metering API — Truto Unified API
slug: usage-metering
canonical: "https://truto.one/unified-apis/usage-metering/"
---

# Usage Metering Unified API

Integrate Usage Metering data across 2 providers with one API. 4 normalized resources, real-time pass-through, fully customizable.

**Base URL:** `https://api.truto.one/unified/usage-metering`  
**Resources:** 4  
**Integrations:** 2

## Resources

### Organizations

Represents the organizations that are using the products. (4 fields)

- `id` (string) — Unique identifier for the organization.
- `name` (string) — Name of the organization.
- `created_at` (string) — Date and time when the organization was created.
- `updated_at` (string) — Date and time when the organization was last updated.

### Products

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

- `id` (string) — Unique identifier for the product.
- `name` (string) — Name of the product.
- `description` (string) — Description for the product.
- `created_at` (string) — Date and time when the product was created.
- `updated_at` (string) — Date and time when the product was last updated.

### Usage

Returns the usage data across products for the organization. (11 fields)

- `id` (string) — Unique identifier for the usage.
- `product` (object) — The product associated with the usage.
- `metric_name` (string) — Name of the metric being charged for
- `resources` (array) — 
- `organization` (object) — The organization associated with the usage.
- `charges` (array) — The amounts charged for the usage.
- `usage` (object) — The usage data for the product.
- `start_date` (string) — The start date for the usage data.
- `end_date` (string) — The end date for the usage data.
- `created_at` (string) — Date and time when the usage data metric was created.
- `updated_at` (string) — Date and time when the usage data metric was last updated.

### Workspaces

 (5 fields)

- `id` (string) — Unique identifier for the workspace.
- `name` (string) — Name of the workspace.
- `organization` (object) — Workspace belongs to this organization
- `created_at` (string) — Date and time when the workspace was created.
- `updated_at` (string) — Date and time when the workspace was last updated.

## Supported integrations

- [Confluent](https://truto.one/integrations/detail/confluent/)
- [Datadog](https://truto.one/integrations/detail/datadog/)
