Streams
Get stats for the stream
Get the statistics for a stream.
get/_fabric/{fabric}/_api/streams/{stream}/stats
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
Fabric name of the streams.
streamstring string required
The name of the stream (up to 240 characters). It should start with c8locals. or c8globals..
Query parameters
getPreciseBacklogboolean
If set to true, returns precise backlog
subscriptionBacklogSizeboolean
If set to true, returns backlog size for each subscription.
Note: This requires locking the ledger so be careful not to use it when there's heavy traffic.
Response
Successfully fetched the stream statistics.
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.