AccountRequests
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
| Field | Type | Description |
|---|---|---|
accountId | string | Account ULID identifier |
estimated | boolean | True if metrics are sampled estimates |
range | string | Time range queried |
retentionDays | number | Analytics retention window in days |
series | RequestsSeriesPoint[] | One point per bucket that holds a call, oldest first. A bucket with no call is absent |
total | number | Calls across the window: the series summed |
Used by
| Method | What it does |
|---|---|
accounts.getRequests | Get account API call counts |