DigitalOcean DoTs TypeScript Library Reference

Generated on 5 Nov 2026 from DoTs version v1.23.0

DoTs is the official TypeScript client library for the DigitalOcean API. It wraps the HTTP API and exposes each API resource through the client created with createDigitalOceanClient. Each call path on these pages mirrors the HTTP route, and path parameters are supplied through selector methods such as byVpc_Id(vpc_Id). Inference operations, such as chat completions and batches, are documented here through InferenceClient, a separate client from the one createDigitalOceanClient returns. For installation and a quickstart, see DoTs.

Resources

DoTs 1-Click Applications

1-Click applications are pre-built Droplet images or Kubernetes apps with software, features, and configuration details already set up for you. They can be found in the DigitalOcean Marketplace.

DoTs Account

Provides information about your current account.

DoTs Action Gateway

Action Gateway gives AI agents governed access to tools over the Model Context Protocol (MCP). The /v2/action-gateway endpoints manage the tool catalog and the resources that control how agents use it:

DoTs Action Gateway Data Plane

The Action Gateway data plane finds and runs tools in a session. These endpoints are the REST forms of the session’s MCP meta tools:

DoTs Actions

Actions are records of events that have occurred on the resources in your account. These can be things like rebooting a Droplet, or transferring an image to a new region.

DoTs Add-Ons

Add-ons are third-party applications that can be added to your DigitalOcean account. They are available through the DigitalOcean Marketplace. Add-ons can be used to enhance the functionality of your existing resources or to provide additional services.

DoTs Agent Inference

DigitalOcean Agent Platform allows you to create multi-agent workflows to power your AI applications. This allows developers to integrate agents into your AI applications.

DoTs Agent Platform API

The API lets you build GPU-powered AI agents with pre-built or custom foundation models, function and agent routes, and RAG pipelines with knowledge bases.

DoTs Apps

App Platform is a Platform-as-a-Service (PaaS) offering from DigitalOcean that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

DoTs Batch Inference

Batch Inference is an asynchronous processing capability designed to help you scale high-volume AI projects more efficiently. Ideal for heavy-duty workloads like large-scale data classification, evaluations, and content enrichment, you can submit thousands or even millions of requests in a single job with a guaranteed results window of 24 hours. By utilizing off-peak GPU capacity, Batch Inference provides high-performance LLM access at a significantly reduced price point compared to standard synchronous APIs, making it a cost-effective choice for non-interactive workloads.

DoTs Billing

The billing endpoints allow you to retrieve your account balance, invoices, billing history, insights, and prepayment information.

DoTs Block Storage

DigitalOcean Block Storage Volumes provide expanded storage capacity for your Droplets and can be moved between Droplets within a specific region.

DoTs Block Storage Actions

Block storage actions are commands that can be given to a DigitalOcean Block Storage Volume. An example would be detaching or attaching a volume from a Droplet. These requests are made on the /v2/volumes/$VOLUME_ID/actions endpoint.

DoTs BYOIP Prefixes

Bring your own IP (BYOIP) lets you provision your own IPv4 network prefixes to your account, then assign those IPs to your DigitalOcean resources. BYOIP supports the following features: * IPv4 addresses * Network sizes of anywhere from /24 (256 addresses) to /18 (16,384 addresses) * Same API and management interface as our existing reserved IPs feature * Assignable to Droplets only

DoTs CDN Endpoints

Content hosted in DigitalOcean’s object storage solution, Spaces, can optionally be served by our globally distributed Content Delivery Network (CDN). By sending requests to /v2/cdn/endpoints, you can list, create, or delete CDN Endpoints as well as purge cached content. To use a custom subdomain to access the CDN Endpoint, provide the ID of a DigitalOcean managed TLS certificate and the fully qualified domain name for the custom subdomain.

DoTs Certificates

In order to perform SSL termination on load balancers, DigitalOcean offers two types of SSL certificate management:

DoTs Container Registries

DigitalOcean now supports up to nine additional registries (for a total maximum of 10) per team if your container registry uses the Professional subscription plan. The storage is shared among the registries. This set of new APIs is backward compatible with /v2/registry. However, if you create more than one registry under a Professional plan, some of the /v2/registry APIs would not work. Hence, it is recommended to use /v2/registries for multiple registries.

DoTs Container Registry

DigitalOcean offers the ability for you to create a private container registry to store your Docker images for use with your Kubernetes clusters. This container registry runs inside the same datacenters as your cluster, ensuring reliable and performant rollout of image deployments.

DoTs Databases

DigitalOcean’s managed database service simplifies the creation and management of highly available database clusters. Currently, it offers support for PostgreSQL, Caching, Valkey, MySQL, MongoDB, and OpenSearch.

DoTs Dedicated Inference

Dedicated Inference delivers scalable production-grade LLM hosting on DigitalOcean. Create, list, get, update, and delete Dedicated Inference instances; manage accelerators, CA certificate, sizes, GPU model config, and access tokens.

DoTs Domain Records

Domain record resources are used to set or retrieve information about the individual DNS records configured for a domain. This allows you to build and manage DNS zone files by adding and modifying individual records for a domain.

DoTs Domains

Domain resources are domain names that you have purchased from a domain name registrar that you are managing through the DigitalOcean DNS interface.

DoTs Droplet Actions

Droplet actions are tasks that can be executed on a Droplet. These can be things like rebooting, resizing, snapshotting, etc.

DoTs Droplet Autoscale Pools

Droplet autoscale pools manage automatic horizontal scaling for your applications based on resource usage (CPU, memory, or both) or a static configuration.

DoTs Droplets

A Droplet is a DigitalOcean virtual machine. By sending requests to the Droplet endpoint, you can list, create, or delete Droplets.

DoTs Firewalls

DigitalOcean Cloud Firewalls provide the ability to restrict network access to and from a Droplet allowing you to define which ports will accept inbound or outbound connections. By sending requests to the /v2/firewalls endpoint, you can list, create, or delete firewalls as well as modify access rules.

DoTs Floating IP Actions

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs. The Reserved IP product’s endpoints function the exact same way as Floating IPs. The only difference is the name change throughout the URLs and fields. For example, the floating_ips field is now the reserved_ips field. The Floating IP endpoints will remain active until fall 2023 before being permanently deprecated.

DoTs Floating IPs

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs. The Reserved IP product’s endpoints function the exact same way as Floating IPs. The only difference is the name change throughout the URLs and fields. For example, the floating_ips field is now the reserved_ips field. The Floating IP endpoints will remain active until fall 2023 before being permanently deprecated.

DoTs Functions

Serverless functions are blocks of code that run on demand without the need to manage any infrastructure. You can develop functions on your local machine and then deploy them to a namespace using doctl, the official DigitalOcean CLI tool.

DoTs Harness Runtime

DigitalOcean Harness Runtime API under /v2/agents. An environment is a reusable configuration that defines what an agent needs to do work; starting a session from an environment provisions an isolated sandbox. Define an environment with a YAML environment spec, or save it as an Environment Config and create sessions from {name, config_id}.

DoTs Harness Runtime Workspaces [Public Preview]

Persistent workspaces (/v2/agents/workspaces) are sets of files that outlive a session. Attach one by passing workspace_id when you create a session from an Environment Config; it mounts at /workspace, a workspace is attached to one session at a time, and its files are saved when the session is removed or checkpointed. Fork and rollback are not available for a session with a workspace. Persistent workspaces are in public preview, free during public preview, and enabled per team; requests from other teams return 403.

DoTs Image Actions

Image actions are commands that can be given to a DigitalOcean image. In general, these requests are made on the actions endpoint of a specific image.

DoTs Images

A DigitalOcean image can be used to create a Droplet and may come in a number of flavors. Currently, there are five types of images: snapshots, backups, applications, distributions, and custom images.

DoTs Insights

The DigitalOcean Insights API provides observability resources for monitoring your infrastructure, including alert rules that evaluate metrics, notification channels that deliver alert events, read-only alert instances that record when alert rules fire, user-defined dashboards, PromQL, logs, spans, and traces query interfaces, and per-resource enablement of the metrics, logs, and traces signals.

DoTs Kubernetes

DigitalOcean Kubernetes allows you to quickly deploy scalable and secure Kubernetes clusters. By sending requests to the /v2/kubernetes/clusters endpoint, you can list, create, or delete clusters as well as scale node pools up and down, recycle individual nodes, and retrieve the kubeconfig file for use with a cluster.

DoTs Load Balancers

DigitalOcean Load Balancers provide a way to distribute traffic across multiple Droplets. By sending requests to the /v2/load_balancers endpoint, you can list, create, or delete load balancers as well as add or remove Droplets, forwarding rules, and other configuration details.

DoTs MicroVMs [Public Preview]

DigitalOcean MicroVMs are lightweight virtual machines that run a linux/amd64 container image in an isolated kernel. A MicroVM pauses automatically when it is idle and resumes on the next HTTP request, command, or console session, with its memory, files, and processes intact. By sending requests to the /v2/microvms endpoints, you can create, list, pause, resume, and delete MicroVMs, run commands and open a console in them, upload and download files, and create checkpoints to start new MicroVMs from a saved state.

DoTs Monitoring

The DigitalOcean Monitoring API makes it possible to programmatically retrieve metrics as well as configure alert policies based on these metrics. The Monitoring API can help you gain insight into how your apps are performing and consuming resources.

DoTs NFS

NFS lets you create fully managed, POSIX-compliant network file storage that delivers secure, high-performance shared storage right inside your VPC. This enables seamless data sharing across Droplets in a VPC.

DoTs NFS Actions

NFS actions are tasks that can be executed on an NFS share. These can be things like resizing, snapshotting, etc.

DoTs Organizations

Organizations group multiple teams under a shared administrative boundary. The Organizations API lets you create teams within an organization and list the teams that belong to it.

DoTs Partner Network Connect

Partner Network Connect lets you establish high-bandwidth, low-latency network connections directly between DigitalOcean VPC networks and other public cloud providers or on-premises datacenters.

DoTs Project Resources

Project Resources are resources that can be grouped into your projects. You can group resources (like Droplets, Spaces, load balancers, domains, and floating IPs) in ways that align with the applications you host on DigitalOcean.

DoTs Projects

Projects allow you to organize your resources into groups that fit the way you work. You can group resources (like Droplets, Spaces, load balancers, domains, and floating IPs) in ways that align with the applications you host on DigitalOcean.

DoTs Regions

Provides information about DigitalOcean data center regions.

DoTs Reserved IP Actions

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs. The Reserved IP product’s endpoints function the exact same way as Floating IPs. The only difference is the name change throughout the URLs and fields. For example, the floating_ips field is now the reserved_ips field. The Floating IP endpoints will remain active until fall 2023 before being permanently deprecated.

DoTs Reserved IPs

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs. The Reserved IP product’s endpoints function the exact same way as Floating IPs. The only difference is the name change throughout the URLs and fields. For example, the floating_ips field is now the reserved_ips field. The Floating IP endpoints will remain active until fall 2023 before being permanently deprecated.

DoTs Reserved IPv6

DigitalOcean Reserved IPv6s are publicly-accessible static IP addresses that can be mapped to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses.

DoTs Reserved IPv6 Actions

Reserved IPv6 actions requests are made on the actions endpoint of a specific reserved IPv6.

DoTs Security

Security endpoints for CSPM scans, scan findings, settings, and Secrets Manager.

DoTs Serverless Inference

DigitalOcean Inference allows access to serverless inference models. You can access models by providing an inference key.

DoTs Signals

The DigitalOcean Signals API provides observability for environment conversations, such as Harness Runtime conversations and Serverless Inference chat completions, detecting behavioral signals such as user disengagement, execution failures, and satisfaction indicators.

DoTs Sizes

The sizes objects represent different packages of hardware resources that can be used for Droplets. When a Droplet is created, a size must be selected so that the correct resources can be allocated.

DoTs Snapshots

Snapshots are saved instances of a Droplet or a block storage volume, which is reflected in the resource_type attribute. In order to avoid problems with compressing filesystems, each defines a min_disk_size attribute which is the minimum size of the Droplet or volume disk when creating a new resource from the saved snapshot.

DoTs Spaces Keys

Spaces keys authenticate requests to DigitalOcean Spaces Buckets. You can create, list, update, or delete Spaces keys by sending requests to to the /v2/spaces/keys endpoint.

DoTs SSH Keys

Manage SSH keys available on your account.

DoTs Tags

A tag is a label that can be applied to a resource (currently Droplets, Images, Volumes, Volume Snapshots, and Database clusters) in order to better organize or facilitate the lookups and actions on it.

DoTs Uptime

DigitalOcean Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they’re slow, unavailable, or SSL certificates are expiring. To interact with Uptime, you will generally send requests to the Uptime endpoint at /v2/uptime/.

DoTs Vector Databases

Vector DB provides APIs for provisioning and managing vector database instances on DigitalOcean. By sending requests to the /v2/vector-databases endpoint, you can list, create, update, resize, and delete vector database instances, manage tags, retrieve admin credentials, and work with backups and restores.

DoTs VPC NAT Gateways

VPC NAT Gateways allow resources in a private VPC to access the public internet without exposing them to incoming traffic.

DoTs VPC Peerings

VPC Peerings join two VPC networks with a secure, private connection. This allows resources in those networks to connect to each other’s private IP addresses as if they were in the same network.

DoTs VPC Routes [Public Preview]

Routes control how traffic from resources in VPC subnets reaches destination networks. VPC-scoped routes are read-only, while customer-managed static routes can be added to individual VPC subnets.

DoTs VPC Subnets [Public Preview]

VPC subnets divide a VPC network into isolated IP ranges. You can create, retrieve, rename, list, and delete subnets within a VPC.

DoTs VPCs

VPCs (virtual private clouds) allow you to create virtual networks containing resources that can communicate with each other in full isolation using private IP addresses.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.