HydraCore
API by router

Dashboard

Get Dashboard Chart

GET
/v1/dashboard/chart

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

days?Days
Range7 <= value <= 90
Default30

Response Body

Successful Response

application/json
  1. response

Time-series chart data.

period_label*Period Label
points*array<>
Example Request
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 Onboarding Checklist

GET
/v1/dashboard/onboarding

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response

Computed onboarding checklist — all derived from existing data.

all_done*All Done
completed_count*Completed Count
steps*array<>
total_count*Total Count
Example Request
curl -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 Dashboard Stats

GET
/v1/dashboard/stats

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response

Top-level dashboard stats cards.

end_users_trend_pct*End Users Trend Pct
error_instances*Error Instances
platform_cost_30d*Platform Cost 30D
revenue_trend_pct*Revenue Trend Pct
running_instances*Running Instances
total_end_users*Total End Users
total_instances*Total Instances
total_requests_30d*Total Requests 30D
total_revenue_usd*Total Revenue Usd
total_tokens_30d*Total Tokens 30D
Example Request
curl -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}