debugging

Count calls per bucket

Calls per time bucket over a window, split into accepted, accepted then stopped later, and rejected.

get/api/v1/requests/histogram

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/requests/histogram
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

fromstring date-time

Start of the window. The past 24 hours when omitted; 31 days at most.

tostring date-time

End of the window. Now when omitted.

statusinteger[]

Exact status codes to keep.

statusClassstring[]

Status classes to keep.

endpointstring[]

Routes to keep, as routed.

keyNamestring[]

Key names to keep.

searchstring

Matches a request id, a key name or a data point id.

Response

One bucket per interval, with the totals over the window.

projectstring required
fromstring date-time required
tostring date-time required
bucketMinutesinteger nullable

The interval the platform chose.

Changes

No recorded changes to this operation across all 1 revision of this API.