v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Apps

Retrieve App Daily Bandwidth Metrics

Retrieve daily bandwidth usage metrics for a single app.

get/v2/apps/{app_id}/metrics/bandwidth_daily

Path parameters

app_idstring required

The app ID

Query parameters

datestring date-time

Optional day to query. Only the date component of the timestamp will be considered. Default: yesterday.

Response

A JSON object with a app_bandwidth_usage key

datestring date-time

The date for the metrics data.

Example response

{
  "app_bandwidth_usage": [
    {
      "app_id": "4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf",
      "bandwidth_bytes": "513668"
    }
  ],
  "date": "2023-01-17T00:00:00Z"
}