dots.v2.vectorDatabases.byId().backups.get()

Generated on 13 Nov 2026 from DoTs version v1.24.0

Usage

client.v2.vectorDatabases.byId(id).backups.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | VectordbListBackupsResponse>

Description

To list the available backups for a vector database, send a GET request to /v2/vector-databases/{id}/backups. Only backups with a status of SUCCESS are returned.

Parameters

id string required

Example: "example string"

Required. ID of the vector database.

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
    .byId("\"example string\"").backups.get();

Response Example

Show Response Example
{
  "backups": [
    {
      "backup_id": "123e4567-e89b-12d3-a456-426614174000",
      "completed_at": "2023-01-01T00:00:00Z",
      "started_at": "2023-01-01T00:00:00Z",
      "status": "example string"
    }
  ]
}

More Information

See /v2/vector-databases/{id}/backups 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.