For Agents
Ingest product usage events, compute billable metrics, manage rate cards and contracts, and produce invoices for consumption-based pricing programs.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Metronome, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Metronome API.
Ingest raw product events into Metronome with POST /v1/ingest for downstream metering
Define billable metrics, products, and rate cards that translate usage into priced line items
Create and update customers including ingest aliases that map your event payloads to Metronome customers
GET STARTED
Use for: I need to ingest a batch of usage events for a customer, Create a new billable metric for API requests, Get the latest invoice for a specific customer, Set up a Stripe billing configuration for downstream collection
Not supported: Does not collect payments, calculate sales tax, or store customer payment methods — use for usage metering, rate card pricing, and invoice generation only.
Metronome is a usage-based billing platform that ingests product events, computes billable metrics, and generates invoices from custom rate cards and contracts. Its API supports the entire lifecycle of consumption pricing — defining billable metrics, registering customers, ingesting events, configuring contracts and credits, issuing invoices, and pushing data to downstream billing providers like Stripe. The API is consumed via 132 bearer-authenticated endpoints organised around customers, billable metrics, usage, products, rate cards, contracts, credits, invoices, and alerts.
Manage contracts, commits, and credits to support negotiated pricing and prepaid balances
Issue invoices, list breakdowns, and push results to Stripe via the bundled billing-config integration
Configure threshold alerts on customer usage and respond when limits are hit
Patterns agents use Metronome API for, with concrete tasks.
★ Usage-Based Billing for SaaS APIs
SaaS teams charging per API call or compute-second emit events to Metronome via /v1/ingest, define billable metrics that aggregate those events, and attach rate cards that price the aggregates. Metronome handles dedup, metering, and invoice generation, then forwards the result to Stripe so customers receive a payable invoice without the team building a metering pipeline.
Create a billable metric for API requests, register a customer with an ingest alias, post 1000 events to /v1/ingest, then GET /v1/customers/{customer_id}/invoices to confirm the line item.
Negotiated Contracts and Prepaid Commits
Sales teams that close usage-based deals with negotiated minimums use the contracts, commits, and credits endpoints to encode the deal — e.g. 100,000 prepaid units expiring in 12 months at a tiered rate. Metronome draws down the commit as usage flows in and exposes remaining balance through customer-alerts, so account managers can prompt renewals before exhaustion.
Create a contract for customer 'cust_42' with a 100k unit commit, then POST /v1/customer-alerts/create at the 80% threshold to notify the account team.
Threshold Alerts and Spend Caps
Finance and operations teams need real-time visibility when customers approach contractual or spend limits. /v1/alerts/create defines a threshold notification, /v1/customer-alerts/list returns the current status per customer, and /v1/customer-alerts/reset re-arms an alert after acknowledgement — useful for rolling monthly caps without rebuilding the rule each cycle.
Create a threshold alert at 90% of a customer's monthly commit, then POST /v1/customer-alerts/get to check whether it has triggered.
Agent-Driven Usage Reporting
An autonomous agent producing customer health reports can query Metronome through Jentic to pull usage and invoice data on demand. The agent searches by intent, loads the schema for /v1/usage or /v1/customers/{customer_id}/invoices, and executes — with the bearer token kept inside the Jentic vault for the entire run.
Search Jentic for 'get customer usage', load POST /v1/usage with grouping by customer, and execute for the last 30 days.
132 endpoints — metronome is a usage-based billing platform that ingests product events, computes billable metrics, and generates invoices from custom rate cards and contracts.
METHOD
PATH
DESCRIPTION
/v1/ingest
Ingest usage events for metering
/v1/billable-metrics
Create a billable metric
/v1/customers
Create a customer
/v1/customers/{customer_id}/invoices
List invoices for a customer
/v1/usage
Get batched usage data
/v1/alerts/create
Create a threshold notification
/v1/client/billing-config/stripe
Configure Stripe as the downstream billing provider
/v1/ingest
Ingest usage events for metering
/v1/billable-metrics
Create a billable metric
/v1/customers
Create a customer
/v1/customers/{customer_id}/invoices
List invoices for a customer
/v1/usage
Get batched usage data
Three things that make agents converge on Jentic-routed access.
Credential isolation
Metronome bearer tokens are stored encrypted in the Jentic vault. Agents access operations through scoped permissions and Jentic sets the Authorization header at execution time, so the raw token never enters the model's context.
Intent-based discovery
Agents search Jentic with intents like 'ingest a usage event' or 'get a customer's invoice' and Jentic returns the matching Metronome operation with its parameter schema, so the agent does not need to navigate the 132-endpoint catalogue.
Time to first call
Direct Metronome integration: 3-7 days to wire ingestion, billable metrics, contract setup, and the Stripe billing-config sync. Through Jentic: under 1 hour for the common ingest, alert, and invoice flows.
Alternatives and complements available in the Jentic catalogue.
Stripe
Payments and subscription management — collects on Metronome-issued invoices
Use Stripe alongside Metronome to actually collect payment on the invoices Metronome generates.
Specific to using Metronome API through Jentic.
What authentication does the Metronome API use?
Metronome uses HTTP bearer authentication — every request needs an Authorization header with your Metronome API token. Through Jentic the token is stored encrypted in the vault and added to requests at execution time.
Can I ingest historical events with the Metronome API?
Yes. POST /v1/ingest accepts events with a timestamp field, so backfills are supported as long as the events fall within Metronome's accepted ingest window. For very old data, contact Metronome to extend the window.
What are the rate limits for the Metronome API?
Metronome documents per-endpoint limits in their docs rather than the OpenAPI spec; ingest endpoints accept high-throughput batched payloads while admin endpoints have lower limits. Inspect 429 responses and back off, and use POST /v1/ingest batches rather than per-event calls.
How do I send a usage event through Jentic?
Search Jentic for 'ingest a usage event into Metronome', load POST /v1/ingest, and execute with an event payload that includes transaction_id, customer_id, event_type, and timestamp. Jentic injects the bearer token from your stored credential.
Does Metronome charge customer credit cards directly?
No — Metronome generates invoices and integrates with billing providers. Use the /v1/client/billing-config/stripe endpoints to push invoices into Stripe, where collection happens. Metronome itself is the metering and invoicing system.
Can I retrieve invoice line-item breakdowns for a customer?
Yes — GET /v1/customers/{customer_id}/invoices/breakdowns returns the per-line breakdown for a customer's invoices, useful for finance reconciliation and customer-facing usage statements.
/v1/alerts/create
Create a threshold notification
/v1/client/billing-config/stripe
Configure Stripe as the downstream billing provider