dots.v2.vectorDatabases.get()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.vectorDatabases.get(requestConfiguration?: RequestConfiguration<VectorDatabasesRequestBuilderGetQueryParameters>): Promise<undefined | VectordbListVectorDBsResponse>

Description

To list all of the vector databases on your account, send a GET request to /v2/vector-databases. Use the page and per_page query parameters to paginate the results. The response body contains a vector_dbs array of vector database objects and a total field with the overall count.

Parameters

page integer optional

Example: 1

perPage integer optional

Example: 1

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.vectorDatabases.get();

Response Example

Show Response Example
{
  "total": 123,
  "vector_dbs": [
    {
      "created_at": "2023-01-01T00:00:00Z",
      "forked_from_id": "123e4567-e89b-12d3-a456-426614174000",
      "id": "example string",
      "last_restore_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "example name",
      "owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "project_id": "123e4567-e89b-12d3-a456-426614174000",
      "region": "tor1",
      "size": "example string",
      "status": "example string",
      "tags": [
        "example string"
      ],
      "updated_at": "2023-01-01T00:00:00Z"
    }
  ]
}

More Information

See /v2/vector-databases in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.