For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.agents.templates.byTemplate_id(template_id).builds.get(requestConfiguration?: RequestConfiguration<BuildsRequestBuilderGetQueryParameters>): Promise<undefined | List_template_builds_response>
Description
ListTemplateBuilds returns build history for a template.
Parameters
Path Parameters
template_id string required
Example: 11111111-2222-3333-4444-555555555555
The template UUID.
Query Parameters
pageSize integer optional
Example: 50
Page size. Defaults to 50 when omitted or non-positive.
pageToken string optional
Optional pagination cursor (opaque). Empty starts from the beginning.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.agents.templates
.byTemplate_id("11111111-2222-3333-4444-555555555555").builds.get();
Response Example
Show Response Example
{
"builds": [
{
"build_id": "11111111-2222-3333-4444-555555555555",
"template_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "my-custom-template",
"status": "SUCCEEDED",
"error": "",
"created_at": "2026-08-01T12:00:00Z",
"updated_at": "2026-08-01T12:05:00Z"
}
],
"next_page_token": "string"
}
See /v2/agents/templates/{template_id}/builds in the API reference for additional detail on responses, headers, parameters, and more.