Skip to Content
Event Explorer

Get Event Explorer Histogram

GET
/v0/projects/{idOrSlug}/events-histogram

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Query Parameters

mode?string
Value in"events""errors""vitals""replays""feature-flags"
fromTime?string
toTime?string
snapshotTime?string
customEventsOnly?string
Value in"true""false"
search?string
segment?string|array<string>
excludeSegment?string|array<string>

Response Body

EventExplorerHistogram

application/json
  1. response
from*number|
to*number|
bucketMs*number|
counts*array<number|>
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/events-histogram'
Example Response
{
  "from": 0,
  "to": 0,
  "bucketMs": 0,
  "counts": [
    0
  ]
}