Get bandwidth usage breakdown by traffic source
render_get_bandwidth_sourcesGet hourly bandwidth usage data for Render resources, broken down by traffic source: HTTP, WebSocket, NAT, PrivateLink.
Instructions
Get bandwidth usage breakdown by traffic source. Get bandwidth usage for one or more resources broken down by traffic source (HTTP, WebSocket, NAT, PrivateLink). Returns hourly data points with traffic source breakdown. Traffic source data is available from March 9, 2025 onwards. Queries for earlier dates will return a 400 Bad Request error. Calls GET /metrics/bandwidth-sources on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | Epoch/Unix timestamp of end of time range to return. Defaults to `now()`. | |
| service | No | This parameter is deprecated. Please use `resource` instead (deprecated) | |
| resource | No | Service ID to query. When multiple service ids are provided, they are ORed together | |
| startTime | No | Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. |