Observability
Analytics
Query USDC spend and request counts by model, wallet, and team — up to 90 days of history.
Enterprise
Analytics
The analytics endpoints return aggregated spend and request counts for a rolling time window. Use them to build dashboards, detect anomalies, or allocate costs across teams.
All total_cost_usdc values are in USDC (e.g. 4.75 = $4.75 USDC).
Team stats
Returns spend and requests for a single team, broken down by model and by wallet.
Requires member role or higher.
GET /v1/orgs/018f1a2b-.../teams/019c3d4e-.../stats?days=30
Authorization: Bearer <admin-token | solvela_k_...>Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
days | integer | 7 | Rolling window in days. Clamped to 1–90. |
Response — 200 OK
{
"team_id": "019c3d4e-...",
"period_days": 30,
"total_spend_usdc": 142.80,
"total_requests": 4821,
"by_model": [
{
"model": "claude-sonnet-4-5",
"request_count": 2100,
"total_cost_usdc": 94.50
},
{
"model": "gpt-4o-mini",
"request_count": 2721,
"total_cost_usdc": 48.30
}
],
"by_wallet": [
{
"wallet_address": "AgEnTwALLetAddReSs...",
"request_count": 4821,
"total_cost_usdc": 142.80
}
]
}Org stats
Returns spend and requests for the entire organization, broken down by team and by top wallets.
Requires member role or higher.
GET /v1/orgs/018f1a2b-.../stats?days=7
Authorization: Bearer <admin-token | solvela_k_...>Response — 200 OK
{
"org_id": "018f1a2b-...",
"period_days": 7,
"total_spend_usdc": 38.20,
"total_requests": 1104,
"by_team": [
{
"team_id": "019c3d4e-...",
"team_name": "research-agents",
"request_count": 890,
"total_cost_usdc": 30.10
},
{
"team_id": "019e5f6a-...",
"team_name": "prod-agents",
"request_count": 214,
"total_cost_usdc": 8.10
}
],
"top_wallets": [
{
"wallet_address": "AgEnTwALLetAddReSs...",
"request_count": 890,
"total_cost_usdc": 30.10
}
]
}Ready for production?
Solvela Enterprise is $49.99/mo + 5% per route. Includes everything on this page plus the dashboard.
View pricing →