{
  "opencollection": "1.0.0",
  "info": {
    "name": "CockroachDB Cloud APIKeys LogExport API",
    "version": "2024-09-16"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "LogExport",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get log export configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cockroachlabs.cloud/api/v1/clusters/:cluster_id/logexport",
            "params": [
              {
                "name": "cluster_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the CockroachDB Cloud cluster."
              }
            ]
          },
          "docs": "Retrieves the current log export configuration for the specified cluster, including destination, group settings, and enabled status."
        },
        {
          "info": {
            "name": "Enable log export",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cockroachlabs.cloud/api/v1/clusters/:cluster_id/logexport",
            "params": [
              {
                "name": "cluster_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the CockroachDB Cloud cluster."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Configures and enables log export for the specified cluster to an external destination such as AWS CloudWatch or GCP Cloud Logging."
        },
        {
          "info": {
            "name": "Disable log export",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cockroachlabs.cloud/api/v1/clusters/:cluster_id/logexport",
            "params": [
              {
                "name": "cluster_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the CockroachDB Cloud cluster."
              }
            ]
          },
          "docs": "Disables and removes the log export configuration for the specified cluster."
        }
      ]
    }
  ],
  "bundled": true
}