API referenceAnalytics

GET /analytics/heatmap

Duration-band by time-bucket counts over request duration_ms, for a Honeycomb-style latency heatmap. Bands are log-scaled by default (linear on request); the response carries the time buckets, the band edges (loMs/hiMs), the cells ({t, band, count}) and the min/max duration for axis labels.

GET
/analytics/heatmap

Query Parameters

since?string

Window start (RFC3339); defaults to 24h before until

until?string

Window end (RFC3339); defaults to now

bucket?string

Time bucket granularity (default hour)

Value in

  • "minute"
  • "hour"
  • "day"
buckets?integer

Number of duration bands (default 25, max 100)

Formatint64
scale?string

Duration band scale (default log)

Value in

  • "log"
  • "linear"
activityClass?string

Business or system activity; omitted includes all

Value in

  • "business"
  • "system"
  • "all"
source?string

Filter by event source (e.g. gateway)

model?string

Filter by request/response model

provider?string

Filter by model provider

app?string

Filter by app id

channel?string

Filter by channel id

environment?string

Filter by environment id or slug

apiKey?string

Filter by API key id

user?string

Filter by end-user id

filterTagKey?string

Custom-dimension (attribute) key to filter on; pair with filterTagValue

filterTagValue?string

Value for filterTagKey

service?string

Filter by service (resource service.name)

operation?string

Filter by operation / span name

errorType?string

Filter by error type

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/analytics/heatmap"
{  "$schema": "https://example.com/schemas/HeatmapOutputBody.json",  "bucket": "string",  "cells": [    {      "band": 0,      "count": 0,      "t": 0    }  ],  "durationBands": [    {      "hiMs": 0.1,      "loMs": 0.1    }  ],  "maxDurationMs": 0.1,  "minDurationMs": 0.1,  "sampleCount": 0,  "scale": "string",  "timeBuckets": [    "string"  ]}