Reference for DigitalOcean Knowledge Bases chunking parameters, their recommendations, and their constraints across supported embeddings models.
DigitalOcean Knowledge Bases Reference
Validated on 23 Apr 2026 • Last edited on 27 Apr 2026
DigitalOcean Knowledge Bases let you store, index, and retrieve data from private files, websites, Spaces buckets, and other sources to power retrieval-augmented generation with your own content.
The DigitalOcean API
The DigitalOcean API lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.
- DigitalOcean AI Platform API: Create, delete, and manage knowledge bases and generative AI agents. You can also use the API to add agent and function routes to agents, add data sources to knowledge bases, and start indexing jobs.
The DigitalOcean Command Line Client, doctl
doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.
doctl gradient supports managing Gradient AI Platform resources from the command line. See the doctl documentation or use doctl gradient --help for more information.
The DigitalOcean AI Platform SDK
Use the official DigitalOcean Python client library for:
You can also use the official DigitalOcean TypeScript library or Go library.
The Gradient™ SDK will be deprecated in a future release.
MCP Server
MCP servers let you manage your knowledge bases by using natural language prompts to retrieve relevant chunks, apply filters, and access indexed content for use in agent and retrieval workflows.