v1

latestSwagger 2.02026-07-17127100479.5 KB
stats

Get histogram for namespace with precomputed stats

Returns a time-series histogram of precomputed blob statistics (pfb_count or size) for the specified namespace, filtered by timeframe and optional time range.

get/stats/namespace/series/{id}/{name}/{timeframe}

Path parameters

idstring required

Namespace id in hexadecimal

timeframe'hour' | 'day' | 'week' | 'month' | 'year' required

Timeframe

name'pfb_count' | 'size' required

Series name

Query parameters

frominteger

Time from in unix timestamp

tointeger

Time to in unix timestamp

Response

OK

maxstring string
minstring string
timestring date-time
valuestring string

Example response

[
  {
    "max": "0.17632",
    "min": "0.17632",
    "time": "2023-07-04T03:10:57+00:00",
    "value": "0.17632"
  }
]