v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Monitoring

Lists all sinks

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

get/v2/monitoring/sinks

Query parameters

resource_idstring

The uniform resource name (URN) for the resource in the format do:resource_type:resource_id.

Example:do:droplet:13457723

A unique URN for a resource.

Response

The response is a JSON object with a sinks key.

Example response

{
  "sinks": [
    {
      "destination": {
        "id": "01f30bfa-319a-4769-ba95-9d43971fb514",
        "name": "managed_opensearch_cluster",
        "type": "opensearch_dbaas",
        "config": {
          "id": "41078d41-165c-4cff-9f0a-19536e3e3d49",
          "credentials": {
            "username": "username",
            "password": "password"
          },
          "endpoint": "example.com",
          "cluster_uuid": "85148069-7e35-4999-80bd-6fa1637ca385",
          "cluster_name": "managed_dbaas_cluster",
          "index_name": "logs",
          "retention_days": 14
        }
      },
      "resources": [
        {
          "urn": "do:kubernetes:f453aa14-646e-4cf8-8c62-75a19fb24ec2",
          "name": "managed_kubernetes_cluster"
        }
      ]
    }
  ]
}