pydo.monitoring.get_droplet_memory_total_metrics()
Generated on 3 Nov 2025
    from pydo version
        
            v0.18.0
        
    
Description
To retrieve total memory metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/memory_total.
Parameters
| Name | Type | Required | Description | Default Value | 
|---|---|---|---|---|
host_id | 
          string | True | The droplet ID. | |
start | 
          string | True | UNIX timestamp to start metric window. | |
end | 
          string | True | UNIX timestamp to end metric window. | 
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.monitoring.get_droplet_memory_total_metrics(host_id="17209102", start="1620683817", end="1620705417")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.