Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.splox.io/llms.txt

Use this file to discover all available pages before exploring further.

Returns daily aggregated spending and usage data for the authenticated user. Useful for building usage dashboards and tracking trends.

Usage

curl "https://app.splox.io/api/v1/activity/daily?days=7" \
  -H "Authorization: Bearer YOUR_TOKEN"

Query Parameters

ParameterTypeDefaultDescription
daysinteger30Number of days to look back

Response

{
  "data": [
    {
      "date": "2026-02-01",
      "total_cost": 0.0,
      "request_count": 0,
      "node_count": 0
    },
    {
      "date": "2026-02-02",
      "total_cost": 7.5756,
      "request_count": 97,
      "node_count": 97
    }
  ],
  "days": 7
}
FieldTypeDescription
dataarrayArray of daily activity objects, sorted by date ascending
data[].datestringDate in YYYY-MM-DD format
data[].total_costnumberTotal cost in USD for the day
data[].request_countintegerNumber of workflow requests
data[].node_countintegerNumber of node executions
daysintegerNumber of days in the response
Days with no activity are included with zero values, so you always get a contiguous date range — perfect for charts and graphs.

Notes

Authentication required. Returns daily data for the authenticated user only.