API by router
Dashboard
GET
HTTPBearerheader
AuthorizationBearer <token>days?DaysRange
7 <= value <= 90Default
30Successful Response
application/json- response
Time-series chart data.
period_label*Period Labelpoints*array<>curl -X GET 'https://example.com/v1/dashboard/chart'Example Response
{ "period_label": "string", "points": [ { "cost_usd": "string", "date": "string", "end_users": 0, "instances": 0, "requests": 0, "tokens": 0 } ]}GET
HTTPBearerheader
AuthorizationBearer <token>Successful Response
application/json- response
Computed onboarding checklist — all derived from existing data.
all_done*All Donecompleted_count*Completed Countsteps*array<>total_count*Total Countcurl -X GET 'https://example.com/v1/dashboard/onboarding'Example Response200
{ "all_done": true, "completed_count": 0, "steps": [ { "completed": true, "description": "string", "href": "string", "key": "string", "title": "string" } ], "total_count": 0}GET
HTTPBearerheader
AuthorizationBearer <token>Successful Response
application/json- response
Top-level dashboard stats cards.
end_users_trend_pct*End Users Trend Pcterror_instances*Error Instancesplatform_cost_30d*Platform Cost 30Drevenue_trend_pct*Revenue Trend Pctrunning_instances*Running Instancestotal_end_users*Total End Userstotal_instances*Total Instancestotal_requests_30d*Total Requests 30Dtotal_revenue_usd*Total Revenue Usdtotal_tokens_30d*Total Tokens 30Dcurl -X GET 'https://example.com/v1/dashboard/stats'Example Response200
{ "end_users_trend_pct": 0, "error_instances": 0, "platform_cost_30d": "string", "revenue_trend_pct": 0, "running_instances": 0, "total_end_users": 0, "total_instances": 0, "total_requests_30d": 0, "total_revenue_usd": "string", "total_tokens_30d": 0}