Usage Metrics
Track exactly how your organization and your customers are consuming the Ventryx platform — by endpoint, API key, workflow, and time period — for billing, capacity planning, and product decisions.
Key metrics
| Metric | Granularity | Use case |
|---|---|---|
| API requests | Per minute / hour / day | Capacity planning, billing |
| Workflow runs | Per workflow, per day | Operational health, billing |
| Events emitted | Per type, per hour | Event throughput monitoring |
| Active API keys | Daily active | Security, key lifecycle |
| Rate limit hits | Per key, per window | Quota management, upgrades |
| Storage used | Current snapshot + trend | Data retention decisions |
Usage API
Get daily request counts for current month
GET /v1/analytics/usage?metric=api_requests&group_by=day&from=2026-04-01
Response
{
"data": [
{ "date": "2026-04-01", "count": 42180 },
{ "date": "2026-04-02", "count": 38940 },
{ "date": "2026-04-03", "count": 51220 }
]
}
Usage alerts
Set thresholds on usage metrics to receive alerts before you hit plan limits. Configure alerts in Settings → Alerts or via the API to notify your team when request volume exceeds 80% of the monthly limit, for example.
Customer usage (multi-tenant)
If you're building a product on top of Ventryx, you can track usage per customer API key and use it to drive your own billing logic — connecting usage data to your Stripe metering configuration via the Stripe integration.