Skip to main content

v0/usage/streams/summary REST API Endpoint

Returns Streams blocks, transferred bytes, and block credits for a time range.

Updated on
Oct 21, 2026
This method is available only to Enterprise accounts. See the Observability overview for more information.

Query Parameters

from
string

ISO 8601 start time. Required together with to when last is omitted.

to
string

ISO 8601 end time. Required together with from when last is omitted.

last
string

Relative time window instead of from and to; for example, 1h for the last hour.

group_by[]
array

Repeat this query parameter for grouping dimensions: stream. Omit it to return totals without a breakdown.

limit
integer

Positive maximum number of results per page; for example, 2.

cursor
string

Opaque next_cursor from the previous response. Keep the same time range, filters, grouping, and limit when requesting subsequent pages.

Returns

data
object | null

Response data. Null when the request fails.

from
string

Effective start of the returned time range, in ISO 8601 format.

to
string

Effective end of the returned time range, in ISO 8601 format.

totals
object

Aggregate totals for the selected time range.

blocks
integer

Number of Streams blocks processed.

bytes
integer

Number of bytes transferred.

block_credits
integer

Credits consumed by Streams blocks.

breakdown
array

Grouped results. Present when grouping is requested; can be empty.

stream
string

Stream identifier. Present when grouping by stream.

blocks
integer

Number of Streams blocks processed.

bytes
integer

Number of bytes transferred.

block_credits
integer

Credits consumed by Streams blocks.

next_cursor
string

Opaque continuation cursor. Present when another page is available. Pass it unchanged as cursor.

error
string | null

Error message on failure; null on success.

Request
Response
1
{
2
"data": {
3
"from": "2026-10-19T19:00:00.000000Z",
4
"to": "2026-10-20T20:00:00.000000Z",
5
"totals": {
6
"blocks": 413141,
7
"bytes": 8873180,
8
"block_credits": 2891987
9
},
10
"breakdown": [
11
{
12
"stream": "00000000-0000-4000-8000-000000000001",
13
"blocks": 413141,
14
"bytes": 8873180,
15
"block_credits": 2891987
16
}
17
]
18
},
19
"error": null
20
}
1
{
2
"data": {
3
"from": "2026-10-19T19:00:00.000000Z",
4
"to": "2026-10-20T20:00:00.000000Z",
5
"totals": {
6
"blocks": 413141,
7
"bytes": 8873180,
8
"block_credits": 2891987
9
},
10
"breakdown": [
11
{
12
"stream": "00000000-0000-4000-8000-000000000001",
13
"blocks": 413141,
14
"bytes": 8873180,
15
"block_credits": 2891987
16
}
17
]
18
},
19
"error": null
20
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free