Usage
Usage endpoints help you understand cost and traffic patterns.
Endpoints
Section titled “Endpoints”| Endpoint | Purpose |
|---|---|
GET /v1/usage/summary | Aggregate spend for common windows |
GET /v1/usage/today | Current-day spend by model |
GET /v1/usage/timeseries | Hourly or daily chart data |
GET /v1/usage/budget | Remaining balance and burn rate |
GET /v1/deployments/{id}/billing | Dedicated deployment hourly burn |
Example
Section titled “Example”curl "https://api.parel.cloud/v1/usage/summary?window=7d" \ -H "Authorization: Bearer pk-dev-YOUR_KEY"parel usage summaryparel usage summary --json