[ Web Proxy ]
URL:
Viewing: https://docs.digitalocean.com/reference/pydo/reference/databases/list_opeasearch_indexes/ [Back]  [Original]

pydo.databases.list_opeasearch_indexes() | DigitalOcean Documentation

For AI agents: The documentation index is at 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).

pydo.databases.list_opeasearch_indexes()

Generated on 3 Aug 2026 from pydo version v0.40.0

Copy page as Markdown View page as Markdown

Usage

client.databases.list_opeasearch_indexes(
    database_cluster_uuid="9cc10173-e9ea-4176-9dbc-a4cee4c4ff30",
)
Returns JSONRaises HttpResponseError

Description

To list all of a OpenSearch cluster’s indexes, send a GET request to /v2/databases/{database_cluster_uuid}/indexes.

The result will be a JSON object with a indexes key.

Parameters

database_cluster_uuid string required

A unique identifier for a database cluster.

Response Example

Show Response Example
{
  "indexes": [
    {
      "index_name": "sample-data",
      "number_of_shards": 2,
      "number_of_replicas": 3,
      "size": 208,
      "created_time": "2021-01-01T00:00:00Z",
      "status": "open",
      "health": "green"
    },
    {
      "index_name": "logs-*",
      "number_of_shards": 2,
      "number_of_replicas": 3,
      "size": 208,
      "created_time": "2021-01-01T00:00:00Z",
      "status": "open",
      "health": "green"
    }
  ]
}

More Information

See /v2/databases/{database_cluster_uuid}/indexes in the API reference for additional detail on responses, headers, parameters, and more.

In this article...


We can't find any results for your search.

Try using different keywords or simplifying your search terms.


Web Proxy Viewer  |  New URL  |  Original Page