Get QStash Stats
Retrieves detailed usage statistics for the QStash account including daily requests, billing, bandwidth, and workflow metrics over time.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
QStash user ID
Query Parameters
Time period for statistics aggregation. Each period returns 60 datapoints with intervals adjusted to the period length.
Exceptionally for 30 days, it returns 240 datapoints with 3-hour intervals for increased granularity.
1h, 3h, 12h, 1d, 3d, 7d, 30d Response
Successful response with usage statistics
Array of day names for the measurement period, typically representing all days in the current month. This includes both past and future dates within the current month, so the array covers the entire month regardless of the current day. Future days are included to align with other daily metrics arrays, allowing for consistent indexing.
Daily request metrics including workflow breakdowns
Daily billing amounts over time
Daily bandwidth usage over time
Request counts for the requested time period If 1h is specified, it shows 60 data points for every 1 minute within the last 1 hour.
Workflow usage metrics for the requested time period If 1h is specified, it shows 60 data points for every 1 minute within the last 1 hour.
QStash message counts broken down by metric identifier for the requested time period. If 1h is specified, it shows 60 data points for every 1 minute within the last 1 hour.
Workflow metrics broken down by metric identifier for the requested time period. If 1h is specified, it shows 60 data points for every 1 minute within the last 1 hour.
Current number of messages in the dead letter queue
0
Bandwidth usage for the requested time period If 1h is specified, it shows 60 data points for every 1 minute within the last 1 hour.
Total billing amount for the current month
5.806