Skip to Content

The AccountRequests type of the TypeScript SDK, which accounts.getRequests take or answer.

type AccountRequests = {
  accountId: string
  estimated: boolean
  range: string
  retentionDays: number
  series: RequestsSeriesPoint[]
  total: number
}

Fields

FieldTypeDescription
accountIdstringAccount ULID identifier
estimatedbooleanTrue if metrics are sampled estimates
rangestringTime range queried
retentionDaysnumberAnalytics retention window in days
seriesRequestsSeriesPoint[]One point per bucket that holds a call, oldest first. A bucket with no call is absent
totalnumberCalls across the window: the series summed

Used by

MethodWhat it does
accounts.getRequestsGet account API call counts

On this page