# API Overview | DigitalOcean Documentation > The DigitalOcean API lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources with conventional HTTP requests. Official client libraries wrap it for Python (PyDo), Go (Godo), and TypeScript (DoTs). - [How to Create a Personal Access Token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md): Create a personal access token for use with the DigitalOcean API. - [DigitalOcean OAuth API](https://docs.digitalocean.com/reference/api/oauth/index.html.md): Complete reference documentation for the OAuth API, including application registration. - [Spaces API Reference Documentation](https://docs.digitalocean.com/reference/api/spaces/index.html.md): Complete reference documentation for the Spaces RESTful XML API, interoperable with Amazon S3. - [Scopes for API Tokens](https://docs.digitalocean.com/reference/api/scopes/index.html.md): A list of all scopes available for API tokens. ## DigitalOcean Metadata API Reference Complete reference documentation for the Metadata API for Droplets. - [DigitalOcean Metadata API Reference](https://docs.digitalocean.com/reference/api/metadata/index.html.md): Complete reference documentation for the Metadata API for Droplets. - [DNS](https://docs.digitalocean.com/reference/api/metadata/dns/index.html.md): Each Droplet's network configuration contains the IP addresses of DNS resolvers that the Droplet uses to locate and connect to hostnames on the internet. - [Droplet Properties](https://docs.digitalocean.com/reference/api/metadata/droplet-properties/index.html.md): Returns general information about the Droplet, including the Droplet's region, hostname, and ID. - [Features](https://docs.digitalocean.com/reference/api/metadata/features/index.html.md): Droplets have features that can be enabled depending on the Droplet's configuration. - [Floating IPs](https://docs.digitalocean.com/reference/api/metadata/floating-ips/index.html.md): DigitalOcean Reserved IP addresses are publicly-accessible static IP addresses that you can assign to Droplets and instantly remap between other Droplets in the same datacenter. - [Network Interfaces](https://docs.digitalocean.com/reference/api/metadata/network-interfaces/index.html.md): Droplets use public and private network interfaces to connect to the internet and other DigitalOcean resources. Each interface contains various properties, including the Droplet's IP address, ga... - [Reserved IPs](https://docs.digitalocean.com/reference/api/metadata/reserved-ips/index.html.md): DigitalOcean Reserved IP addresses are publicly-accessible static IP addresses that you can assign to Droplets and instantly remap between other Droplets in the same datacenter. - [Tags](https://docs.digitalocean.com/reference/api/metadata/tags/index.html.md): Tags are custom labels you can apply to Droplets and other DigitalOcean resources. - [Virtual IPs](https://docs.digitalocean.com/reference/api/metadata/virtual-ips/index.html.md): Virtual IPs are the IP addresses of the network load balancers a Droplet is attached to. Adding a Droplet to a network load balancer adds that load balancer's IP address to this list.## DigitalOcean API Reference Complete reference documentation for the DigitalOcean API, including request samples in cURL, Python, Go, and Ruby. - [DigitalOcean API Reference](https://docs.digitalocean.com/reference/api/reference/index.html.md): Complete reference documentation for the DigitalOcean API, including request samples in cURL, Python, Go, and Ruby. - [1-Click Applications](https://docs.digitalocean.com/reference/api/reference/1-click-applications/index.html.md): 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. - [Account](https://docs.digitalocean.com/reference/api/reference/account/index.html.md): Provides information about your current account. - [Action Gateway](https://docs.digitalocean.com/reference/api/reference/action-gateway/index.html.md): 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 … - [Action Gateway Data Plane](https://docs.digitalocean.com/reference/api/reference/action-gateway-data-plane/index.html.md): 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: - `POST /tools/search` is `action_search`. - `POST /tools/invoke` … - [Actions](https://docs.digitalocean.com/reference/api/reference/actions/index.html.md): 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. An action object is created … - [Add-Ons](https://docs.digitalocean.com/reference/api/reference/add-ons/index.html.md): 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 … - [Agent Inference](https://docs.digitalocean.com/reference/api/reference/agent-inference/index.html.md): 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. **Note:** The Agent … - [Agent Platform API](https://docs.digitalocean.com/reference/api/reference/agent-platform-api/index.html.md): 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. - [Apps](https://docs.digitalocean.com/reference/api/reference/apps/index.html.md): 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. … - [Batch Inference](https://docs.digitalocean.com/reference/api/reference/batch-inference/index.html.md): 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, … - [Billing](https://docs.digitalocean.com/reference/api/reference/billing/index.html.md): The billing endpoints allow you to retrieve your account balance, invoices, billing history, insights, and prepayment information. **Balance:** By sending requests to the `/v2/customers/my/balance` … - [Block Storage](https://docs.digitalocean.com/reference/api/reference/block-storage/index.html.md): DigitalOcean Block Storage Volumes provide expanded storage capacity for your Droplets and can be moved between Droplets within a specific region. Volumes function as raw block devices, meaning t... - [Block Storage Actions](https://docs.digitalocean.com/reference/api/reference/block-storage-actions/index.html.md): 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 … - [BYOIP Prefixes](https://docs.digitalocean.com/reference/api/reference/byoip-prefixes/index.html.md): 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 … - [CDN Endpoints](https://docs.digitalocean.com/reference/api/reference/cdn-endpoints/index.html.md): 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`, yo... - [Certificates](https://docs.digitalocean.com/reference/api/reference/certificates/index.html.md): In order to perform SSL termination on load balancers, DigitalOcean offers two types of SSL certificate management: * **Custom**: User-generated certificates may be uploaded to D... - [Container Registries](https://docs.digitalocean.com/reference/api/reference/container-registries/index.html.md): 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 … - [Container Registry](https://docs.digitalocean.com/reference/api/reference/container-registry/index.html.md): 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... - [Databases](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md): DigitalOcean's managed database service simplifies the creation and management of highly available database clusters. Currently, it offers support for PostgreSQL - [Dedicated Inference](https://docs.digitalocean.com/reference/api/reference/dedicated-inference/index.html.md): Dedicated Inference delivers scalable production-grade LLM hosting on DigitalOcean. Create, list, get, update, and delete Dedicated Inference instances; manage accelerat... - [Domain Records](https://docs.digitalocean.com/reference/api/reference/domain-records/index.html.md): 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 … - [Domains](https://docs.digitalocean.com/reference/api/reference/domains/index.html.md): Domain resources are domain names that you have purchased from a domain name registrar that you are managing through the DigitalOcean DNS interface. This resource establishes top-level con... - [Droplet Actions](https://docs.digitalocean.com/reference/api/reference/droplet-actions/index.html.md): Droplet actions are tasks that can be executed on a Droplet. These can be things like rebooting, resizing, snapshotting, etc. Droplet action requests are generally targeted at one of the "actions" … - [Droplet Autoscale Pools](https://docs.digitalocean.com/reference/api/reference/droplet-autoscale-pools/index.html.md): Droplet autoscale pools manage automatic horizontal scaling for your applications based on resource usage (CPU, memory, or both) or a static configuration. - [Droplets](https://docs.digitalocean.com/reference/api/reference/droplets/index.html.md): A Droplet is a DigitalOcean virtual machine. By sending requests to the Droplet endpoint, you can list, create, or delete Droplets. Some of the attributes will have an object value. The `region`... - [Embeddings](https://docs.digitalocean.com/reference/api/reference/embeddings/index.html.md): Text embedding vectors via `POST /v1/embeddings` on the Serverless Inference base URL ` (bearer model access key). - [Firewalls](https://docs.digitalocean.com/reference/api/reference/firewalls/index.html.md): 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 se... - [Floating IP Actions](https://docs.digitalocean.com/reference/api/reference/floating-ip-actions/index.html.md): 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 … - [Floating IPs](https://docs.digitalocean.com/reference/api/reference/floating-ips/index.html.md): 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 … - [Functions](https://docs.digitalocean.com/reference/api/reference/functions/index.html.md): 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... - [Harness Runtime](https://docs.digitalocean.com/reference/api/reference/harness-runtime/index.html.md): 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 … - [Harness Runtime Workspaces [Public Preview]](https://docs.digitalocean.com/reference/api/reference/harness-runtime-workspaces-public-preview/index.html.md): 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 … - [Image Actions](https://docs.digitalocean.com/reference/api/reference/image-actions/index.html.md): 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. An image action object is returned. These objects … - [Images](https://docs.digitalocean.com/reference/api/reference/images/index.html.md): 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 imag... - [Insights](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md): The DigitalOcean Insights API provides observability resources for monitoring your infrastructure, including alert rules that evaluate metrics, notification channels that deliver alert events, … - [Kubernetes](https://docs.digitalocean.com/reference/api/reference/kubernetes/index.html.md): 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 clus... - [Load Balancers](https://docs.digitalocean.com/reference/api/reference/load-balancers/index.html.md): 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 delet... - [MicroVMs [Public Preview]](https://docs.digitalocean.com/reference/api/reference/microvms-public-preview/index.html.md): 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 ... - [Monitoring](https://docs.digitalocean.com/reference/api/reference/monitoring/index.html.md): 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 … - [NFS](https://docs.digitalocean.com/reference/api/reference/nfs/index.html.md): 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 … - [NFS Actions](https://docs.digitalocean.com/reference/api/reference/nfs-actions/index.html.md): NFS actions are tasks that can be executed on an NFS share. These can be things like resizing, snapshotting, etc. - [Organizations](https://docs.digitalocean.com/reference/api/reference/organizations/index.html.md): 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. These endpoints must … - [Partner Network Connect](https://docs.digitalocean.com/reference/api/reference/partner-network-connect/index.html.md): 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. - [Project Resources](https://docs.digitalocean.com/reference/api/reference/project-resources/index.html.md): 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 … - [Projects](https://docs.digitalocean.com/reference/api/reference/projects/index.html.md): 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 … - [Regions](https://docs.digitalocean.com/reference/api/reference/regions/index.html.md): Provides information about DigitalOcean data center regions. - [Reserved IP Actions](https://docs.digitalocean.com/reference/api/reference/reserved-ip-actions/index.html.md): 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 … - [Reserved IPs](https://docs.digitalocean.com/reference/api/reference/reserved-ips/index.html.md): 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 … - [Reserved IPv6](https://docs.digitalocean.com/reference/api/reference/reserved-ipv6/index.html.md): 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 … - [Reserved IPv6 Actions](https://docs.digitalocean.com/reference/api/reference/reserved-ipv6-actions/index.html.md): Reserved IPv6 actions requests are made on the actions endpoint of a specific reserved IPv6. An action object is returned. These objects hold the current status of the requested action. - [Security](https://docs.digitalocean.com/reference/api/reference/security/index.html.md): Security endpoints for CSPM scans, scan findings, settings, and Secrets Manager. - [Serverless Inference](https://docs.digitalocean.com/reference/api/reference/serverless-inference/index.html.md): DigitalOcean Inference allows access to serverless inference models. You can access models by providing an inference key. **Note:** The Serverless Inference API uses a separate base URL (`) and is … - [Signals](https://docs.digitalocean.com/reference/api/reference/signals/index.html.md): The DigitalOcean Signals API provides observability for environment conversations, such as Harness Runtime conversations and Serverless Inference chat completions, detecting behavioral signals such as … - [Sizes](https://docs.digitalocean.com/reference/api/reference/sizes/index.html.md): 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. … - [Snapshots](https://docs.digitalocean.com/reference/api/reference/snapshots/index.html.md): 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... - [Spaces Keys](https://docs.digitalocean.com/reference/api/reference/spaces-keys/index.html.md): 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. - [SSH Keys](https://docs.digitalocean.com/reference/api/reference/ssh-keys/index.html.md): Manage SSH keys available on your account. - [Tags](https://docs.digitalocean.com/reference/api/reference/tags/index.html.md): 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 … - [Uptime](https://docs.digitalocean.com/reference/api/reference/uptime/index.html.md): 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 Upti... - [Vector Databases](https://docs.digitalocean.com/reference/api/reference/vector-databases/index.html.md): 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 … - [VPC NAT Gateways](https://docs.digitalocean.com/reference/api/reference/vpc-nat-gateways/index.html.md): VPC NAT Gateways allow resources in a private VPC to access the public internet without exposing them to incoming traffic. By sending requests to the `/v2/vpc_nat... - [VPC Peerings](https://docs.digitalocean.com/reference/api/reference/vpc-peerings/index.html.md): 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 the... - [VPC Routes [Public Preview]](https://docs.digitalocean.com/reference/api/reference/vpc-routes-public-preview/index.html.md): 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. - [VPC Subnets [Public Preview]](https://docs.digitalocean.com/reference/api/reference/vpc-subnets-public-preview/index.html.md): VPC subnets divide a VPC network into isolated IP ranges. You can create, retrieve, rename, list, and delete subnets within a VPC. - [VPCs](https://docs.digitalocean.com/reference/api/reference/vpcs/index.html.md): 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. By sending reques... - [Inference APIs](https://docs.digitalocean.com/reference/api/reference/inference-apis/index.html.md): DigitalOcean Inference provides inference capabilities through two API variants: Serverless Inference: Access serverless inference models using an inference key at Agent Inference: Integrate … - [Public APIs](https://docs.digitalocean.com/reference/api/reference/public-apis/index.html.md): The DigitalOcean API allows you to manage Droplets and resources within the DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests. All of the functionality that you are …