Home / Servers / DigitalOcean API / monitoring_get_lb_droplets_http_session_duration_avg

Get Load Balancer Droplets Average HTTP Session Duration Metrics

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Get Load Balancer Droplets Average HTTP Session Duration Metrics To retrieve Droplets average HTTP session duration in seconds for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg. [GET /v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg]

Name on the gateway: digitalocean_api__monitoring_get_lb_droplets_http_session_duration_avg · read-only.

Parameters

NameTypeDescription
lb_id requiredstringA unique identifier for a load balancer.
start requiredstringUNIX timestamp to start metric window.
end requiredstringUNIX timestamp to end metric window.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__monitoring_get_lb_droplets_http_session_duration_avg",
  "arguments": {
    "lb_id": "…",
    "start": "…",
    "end": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get load balancer droplets average http session duration metrics tool with lb_id set to ….

More from DigitalOcean API