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.configs.get(requestConfiguration?: RequestConfiguration<ConfigsRequestBuilderGetQueryParameters>): Promise<undefined | List_agent_configs_response>
Description
Returns lightweight team-scoped config metadata without loading or returning environment-spec JSON. Soft-deleted configs are excluded.
Parameters
pageSize integer optional
Example: 50
Page size. Defaults to 50 when omitted. Values above 200 are rejected.
Default: 50
Min: 1
Max: 200
pageToken string optional
Opaque keyset cursor returned by the previous page.
search string optional
Example: support
Optional case-insensitive substring filter on config name (contains). Empty or omitted returns the unfiltered page. At most 64 characters.
Max length: 64
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.configs.get();
Response Example
Show Response Example
{
"configs": [
{
"id": "019fb39c-14d9-7080-933e-b9b90e25acda",
"name": "support-agent",
"agentspec_schema_version": "agents.digitalocean.com/v1alpha1",
"content_hash": "75803fef24dc731824ecd4a1853c76153c7d8503534092b94da3ca3f31a882f4",
"created_by": "user-1",
"created_at": "2026-08-01T12:00:00Z",
"updated_at": "2026-08-01T12:00:00Z",
"region": "ric1"
}
],
"next_page_token": ""
}
See /v2/agents/configs in the API reference for additional detail on responses, headers, parameters, and more.