canonical: https://jentic.com/apis/revenium.io/revenium

# Revenium Metering API

Revenium Metering API. The API exposes 377 endpoints secured with apiKey authentication.

## For AI agents

Programmatically retrieve a user, update a user. Covers 377 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Retrieve a user
- Update a user
- Delete a User
- Deactivate a user
- Activate a user
- Create a traffic anomaly rule

## Use cases

### Developer Tools Operations

Use the Revenium Metering API to perform developer tools operations programmatically. The API provides 377 endpoints covering core functionality including retrieve a user, update a user, delete a user.

Example prompt: Call GET `/users/{id}` to retrieve a user

### Automated Invoice Reports Management

Automate invoice reports operations by combining multiple Revenium Metering API endpoints. Agents can update a user and then delete a user in a single workflow.

Example prompt: Call PUT `/users/{id}` to update a user, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Revenium Metering API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'retrieve a user', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/users/{id}` | Retrieve a user |
| PUT | `/users/{id}` | Update a user |
| DELETE | `/users/{id}` | Delete a User |
| PUT | `/users/{id}/deactivate` | Deactivate a user |
| PUT | `/users/{id}/activate` | Activate a user |
| POST | `/traffic-anomalies/rules` | Create a traffic anomaly rule |
| PUT | `/traffic-anomalies/rules` | Update a traffic anomaly rule |
| GET | `/tiers/{id}` | Get a tier |

## Key resources

- **Invoice Reports** — Operations related to Invoice Reports
- **Invoices** — Operations related to Invoices
- **Product Keys** — Operations related to Product Keys
- **Products** — Operations related to Products
- **Account Tiers** — Operations related to Account Tiers

## Why Jentic

- **Setup:** Wiring the Revenium Metering API by hand means handling its X-API-KEY header auth, threading that key through every metering call, and managing retries against api.revenium.io yourself. Through Jentic you install once, import the Revenium Metering API from the API Directory, store the API key once, and your agent calls it.
- **Permission scoping:** Revenium puts the user id in the URL path (`/users/{id}`), so a rule can pin your agent to one user: it can read that user and nothing else. You choose the operations it may call, so destructive ones like deleting or deactivating a user are not included unless you add them.
- **Credential handling:** Your Revenium API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'retrieve a user' or 'create a traffic anomaly rule', and Jentic returns the matching Revenium Metering API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the Revenium Metering API use?

The Revenium Metering API uses an API key passed in the `X-API-KEY` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I retrieve a user with the Revenium Metering API?

Yes. Use the GET `/users/{id}` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Revenium Metering API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I retrieve a user through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'retrieve a user'. Jentic returns the matching Revenium Metering API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Revenium Metering API have?

The Revenium Metering API exposes 377 endpoints covering invoice reports, invoices, product keys operations.

### Can I limit what my agent is allowed to do with the Revenium Metering API?

Yes. Because you run Jentic One yourself, your own rules decide which Revenium operations and credentials the agent may use. Since the user id sits in the URL path (GET `/users/{id}`), you can pin the agent to a single user so it reads only that record, and you choose exactly which operations it may call. Destructive calls such as deleting or deactivating a user (DELETE `/users/{id}`, PUT `/users/{id}/deactivate`) stay off unless you add them.
