---
title: DigitalOcean API Reference
description: Complete reference documentation for the DigitalOcean API, including request samples in cURL, Python, Go, and Ruby.
product: Reference
url: https://docs.digitalocean.com/reference/api/reference/
---
> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](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).
# DigitalOcean API Reference
Generated on 16 Feb 2021
## [Inference APIs](https://docs.digitalocean.com/reference/api/reference/inference-apis/index.html.md)
The DigitalOcean Gradient AI Agentic Cloud provides inference capabilities through two API variants:
- **Serverless Inference**: Access serverless inference models using an inference key at `https://inference.do-ai.run`.
- **Agent Inference**: Integrate multi-agent workflows into your AI applications using a customer-specific agent endpoint.
These APIs are independent of the main DigitalOcean control-plane API (`https://api.digitalocean.com`).
Browse available endpoints grouped by category:
[Agent Inference 1 endpoint](https://docs.digitalocean.com/reference/api/reference/agent-inference/index.html.md) [Batch Inference 7 endpoints](https://docs.digitalocean.com/reference/api/reference/batch-inference/index.html.md) [Embeddings 1 endpoint](https://docs.digitalocean.com/reference/api/reference/embeddings/index.html.md) [Serverless Inference 7 endpoints](https://docs.digitalocean.com/reference/api/reference/serverless-inference/index.html.md)
## [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 familiar with in the DigitalOcean control panel is also available through the API, allowing you to script the complex actions that your situation requires.
Browse available endpoints grouped by category:
[1-Click Applications 2 endpoints](https://docs.digitalocean.com/reference/api/reference/1-click-applications/index.html.md) [Account 1 endpoint](https://docs.digitalocean.com/reference/api/reference/account/index.html.md) [Actions 2 endpoints](https://docs.digitalocean.com/reference/api/reference/actions/index.html.md) [Add-Ons 8 endpoints](https://docs.digitalocean.com/reference/api/reference/add-ons/index.html.md) [Apps 38 endpoints](https://docs.digitalocean.com/reference/api/reference/apps/index.html.md) [Billing 8 endpoints](https://docs.digitalocean.com/reference/api/reference/billing/index.html.md) [Block Storage 9 endpoints](https://docs.digitalocean.com/reference/api/reference/block-storage/index.html.md) [Block Storage Actions 4 endpoints](https://docs.digitalocean.com/reference/api/reference/block-storage-actions/index.html.md) [BYOIP Prefixes 6 endpoints](https://docs.digitalocean.com/reference/api/reference/byoip-prefixes/index.html.md) [CDN Endpoints 6 endpoints](https://docs.digitalocean.com/reference/api/reference/cdn-endpoints/index.html.md) [Certificates 4 endpoints](https://docs.digitalocean.com/reference/api/reference/certificates/index.html.md) [Container Registries 19 endpoints](https://docs.digitalocean.com/reference/api/reference/container-registries/index.html.md) [Container Registry 18 endpoints](https://docs.digitalocean.com/reference/api/reference/container-registry/index.html.md) [Databases 71 endpoints](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md) [Dedicated Inference 13 endpoints](https://docs.digitalocean.com/reference/api/reference/dedicated-inference/index.html.md) [Domain Records 6 endpoints](https://docs.digitalocean.com/reference/api/reference/domain-records/index.html.md) [Domains 4 endpoints](https://docs.digitalocean.com/reference/api/reference/domains/index.html.md) [Droplet Actions 4 endpoints](https://docs.digitalocean.com/reference/api/reference/droplet-actions/index.html.md) [Droplet Autoscale Pools 8 endpoints](https://docs.digitalocean.com/reference/api/reference/droplet-autoscale-pools/index.html.md) [Droplets 19 endpoints](https://docs.digitalocean.com/reference/api/reference/droplets/index.html.md) [Firewalls 11 endpoints](https://docs.digitalocean.com/reference/api/reference/firewalls/index.html.md) [Floating IP Actions 3 endpoints](https://docs.digitalocean.com/reference/api/reference/floating-ip-actions/index.html.md) [Floating IPs 4 endpoints](https://docs.digitalocean.com/reference/api/reference/floating-ips/index.html.md) [Functions 13 endpoints](https://docs.digitalocean.com/reference/api/reference/functions/index.html.md) [GradientAI Platform 119 endpoints](https://docs.digitalocean.com/reference/api/reference/gradientai-platform/index.html.md) [Image Actions 3 endpoints](https://docs.digitalocean.com/reference/api/reference/image-actions/index.html.md) [Images 9 endpoints](https://docs.digitalocean.com/reference/api/reference/images/index.html.md) [Kubernetes 28 endpoints](https://docs.digitalocean.com/reference/api/reference/kubernetes/index.html.md) [Load Balancers 10 endpoints](https://docs.digitalocean.com/reference/api/reference/load-balancers/index.html.md) [Monitoring 72 endpoints](https://docs.digitalocean.com/reference/api/reference/monitoring/index.html.md) [NFS 11 endpoints](https://docs.digitalocean.com/reference/api/reference/nfs/index.html.md) [NFS Actions 1 endpoint](https://docs.digitalocean.com/reference/api/reference/nfs-actions/index.html.md) [Organizations 2 endpoints](https://docs.digitalocean.com/reference/api/reference/organizations/index.html.md) [Partner Network Connect 9 endpoints](https://docs.digitalocean.com/reference/api/reference/partner-network-connect/index.html.md) [Project Resources 4 endpoints](https://docs.digitalocean.com/reference/api/reference/project-resources/index.html.md) [Projects 9 endpoints](https://docs.digitalocean.com/reference/api/reference/projects/index.html.md) [Regions 1 endpoint](https://docs.digitalocean.com/reference/api/reference/regions/index.html.md) [Reserved IP Actions 3 endpoints](https://docs.digitalocean.com/reference/api/reference/reserved-ip-actions/index.html.md) [Reserved IPs 4 endpoints](https://docs.digitalocean.com/reference/api/reference/reserved-ips/index.html.md) [Reserved IPv6 4 endpoints](https://docs.digitalocean.com/reference/api/reference/reserved-ipv6/index.html.md) [Reserved IPv6 Actions 1 endpoint](https://docs.digitalocean.com/reference/api/reference/reserved-ipv6-actions/index.html.md) [Security 10 endpoints](https://docs.digitalocean.com/reference/api/reference/security/index.html.md) [Sizes 1 endpoint](https://docs.digitalocean.com/reference/api/reference/sizes/index.html.md) [Snapshots 3 endpoints](https://docs.digitalocean.com/reference/api/reference/snapshots/index.html.md) [Spaces Keys 6 endpoints](https://docs.digitalocean.com/reference/api/reference/spaces-keys/index.html.md) [SSH Keys 5 endpoints](https://docs.digitalocean.com/reference/api/reference/ssh-keys/index.html.md) [Tags 6 endpoints](https://docs.digitalocean.com/reference/api/reference/tags/index.html.md) [Uptime 11 endpoints](https://docs.digitalocean.com/reference/api/reference/uptime/index.html.md) [Vector Databases 11 endpoints](https://docs.digitalocean.com/reference/api/reference/vector-databases/index.html.md) [VPC NAT Gateways 5 endpoints](https://docs.digitalocean.com/reference/api/reference/vpc-nat-gateways/index.html.md) [VPC Peerings 5 endpoints](https://docs.digitalocean.com/reference/api/reference/vpc-peerings/index.html.md) [VPCs 10 endpoints](https://docs.digitalocean.com/reference/api/reference/vpcs/index.html.md)