Top topics by data volume (POST)
Changed onIdentical filters and response to GET /billing/usage/top-topics, which is the one to prefer. Use this when the query string would be too long for a URL — typically a parent account naming a hundred sub-accounts. Body values take precedence over query parameters.
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
First day to count, inclusive (YYYY-MM-DD).
Day to stop at, EXCLUSIVE (YYYY-MM-DD) — pass the day after the last day you want counted. For all of June 2026: start_date=2026-06-01, end_date=2026-07-01.
Which side of the pipeline a volume figure describes.
Which direction to rank topics by: 'in' for bytes ingested by your sources, 'out' for bytes delivered to your destinations.
How many topics to list individually (1-50). Everything below that is folded into others.
Comma-separated sub-account tenant IDs to include alongside your own, for a parent account. Each is verified against your tenant tree. Omit to report only your own tenant.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info