---
title: "List Logging Destinations"
method: GET
path: "/v2/monitoring/sinks/destinations"
tags: ["DigitalOcean-public.v2-new_Monitoring"]
---

# List Logging Destinations

`GET /v2/monitoring/sinks/destinations`

To list all logging destinations, send a GET request to `/v2/monitoring/sinks/destinations`.

## Response `200`

The response is a JSON object with a `destinations` key.

- object
  - `destinations` DestinationOmitCredentials[]
    - `id` string — A unique identifier for a destination.
    - `name` string — destination name
    - `type` 'opensearch_dbaas' | 'opensearch_ext' — The destination type. `opensearch_dbaas` for a DigitalOcean managed OpenSearch cluster or `opensearch_ext` for an externally managed one.
    - `config` OpensearchConfigOmitCredentials — OpenSearch destination configuration with `credentials` omitted.
      - `id` string — A unique identifier for a configuration.
      - `endpoint` string — host of the OpenSearch cluster
      - `cluster_uuid` string — A unique identifier for a managed OpenSearch cluster.
      - `cluster_name` string — Name of a managed OpenSearch cluster.
      - `index_name` string — OpenSearch index to send logs to.
      - `retention_days` integer — Number of days to retain logs in OpenSearch.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
