v8

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

Get Sink

To get the details of a sink (resources and destination), send a GET request to /v2/monitoring/sinks/${sink_uuid}.

get/v2/monitoring/sinks/{sink_uuid}

Path parameters

sink_uuidstring required

A unique identifier for a sink.

Response

The response is a JSON object with a sink key.

Example response

{
  "sink": {
    "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"
      }
    ]
  }
}