---
title: OpenSearch Reference
description: API and CLI reference documentation for the OpenSearch database service, including example requests and available parameters.
product: Databases
url: https://docs.digitalocean.com/products/databases/opensearch/reference/
last_updated: "2024-06-17"
---

> **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).

# OpenSearch Reference

OpenSearch is an open-source search and analytics suite which serves as a centralized location to manage logs forwarded from other resources, such as databases and Droplets.

### The DigitalOcean API

You can use the API to [manage database clusters, database pools, replicas, and users](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md).

### The DigitalOcean Command Line Client, doctl

[`doctl`](https://github.com/digitalocean/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`](https://github.com/digitalocean/doctl) supports managing database clusters, database pools, replicas, and users, and more from the command line. See the [`doctl` documentation](https://docs.digitalocean.com/reference/doctl/reference/registry/index.html.md) or use `doctl databases --help` for more information.

### The DigitalOcean MCP Server

The [DigitalOcean Model Context Protocol (MCP) server](https://docs.digitalocean.com/reference/mcp/index.html.md) lets you use natural language prompts to interact with DigitalOcean Managed Databases to create, resize, configure, migrate, and inspect clusters across all supported engines. All operations use argument-based input, and no resource URIs are used. The tools also support pagination, configuration management, firewall updates, user management, topic operations for Kafka, and other engine-specific settings where applicable.

## Official OpenSearch Documentation

- The [OpenSearch documentation](https://opensearch.org/docs/latest/)