dots.v2.droplets.autoscale.byAutoscale_pool_id().history.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.droplets.autoscale.byAutoscale_pool_id(autoscale_pool_id).history.get(requestConfiguration?: RequestConfiguration<HistoryRequestBuilderGetQueryParameters>): Promise<undefined | HistoryGetResponse>Description
To list all of the scaling history events of an autoscale pool, send a GET request to /v2/droplets/autoscale/{autoscale_pool_id}/history.
The response body will be a JSON object with a key of history. This will be
set to an array containing objects each representing a history event.
Parameters
Path Parameters
autoscale_pool_idstring requiredExample:
0d3db13e-a604-4944-9827-7ec2642d32acA unique identifier for an autoscale pool.
Query Parameters
perPageinteger optionalExample:
2Number of items returned per page
pageinteger optionalExample:
1Which 'page' of paginated results to return.
Request Sample
Pagination
This method returns paginated results. The response includes a links.pages object with URLs for navigating between pages. To retrieve the next page, parse the next URL and pass the page query parameter:
let response = await client.v2.droplets.autoscale
.byAutoscale_pool_id("0d3db13e-a604-4944-9827-7ec2642d32ac").history.get();
let pages = response?.links?.pages;
while (pages && "next" in pages && typeof pages.next === "string") {
const page = Number(new URL(pages.next).searchParams.get("page"));
response = await client.v2.droplets.autoscale
.byAutoscale_pool_id("0d3db13e-a604-4944-9827-7ec2642d32ac").history.get({
queryParameters: {
page,
},
});
pages = response?.links?.pages;
}Response Example
More Information
See /v2/droplets/autoscale/{autoscale_pool_id}/history in the API reference for additional detail on responses, headers, parameters, and more.