Account endpoints require a management key, not a regular API key. Management keys are separate credentials with access to account operations. Create one from Dashboard → Management Keys.
Available Endpoints
Usage & Billing
| Method | Path | Description |
|---|---|---|
| GET | /v1/account/balance | Current credit balance |
| GET | /v1/account/activity | Paginated request history with cost per call |
| GET | /v1/account/analytics | Aggregated usage metrics over time |
API Keys
| Method | Path | Description |
|---|---|---|
| GET | /v1/account/keys | List all API keys |
| POST | /v1/account/keys | Create a new API key |
| GET | /v1/account/keys/:id | Get details for a specific key |
| PATCH | /v1/account/keys/:id | Update key settings |
| DELETE | /v1/account/keys/:id | Delete an API key |
Rate Limits
Routeway applies rate limits per endpoint to ensure system stability and fair usage across all users. Each endpoint is governed by two limits:- Burst limit — maximum number of requests allowed within a 10-second window
- Sustained limit — maximum number of requests allowed per minute
429 Too Many Requests response. Clients should implement retry logic with exponential backoff.
| Method | Endpoint | Burst (10s) | Per Minute |
|---|---|---|---|
| GET | /v1/account/balance | 10 | 120 |
| GET | /v1/account/activity | 5 | 60 |
| GET | /v1/account/analytics | 2 | 25 |
| GET | /v1/account/keys | 5 | 60 |
| GET | /v1/account/keys/:id | 5 | 60 |
| POST | /v1/account/keys | 2 | 12 |
| PATCH | /v1/account/keys/:id | 2 | 15 |
Quick Example — Check Your Balance
- Python
- Node.js
- cURL
What’s in This Section
Balance & Usage
Check your credit balance, review request activity logs, and query aggregated analytics to understand spending patterns.
API Key Management
Create, list, update, and delete API keys programmatically. Configure daily limits, minute limits, model whitelists, and subscription settings per key.