{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-enable-datadog-metric-export-body-schema.json",
  "title": "EnableDatadogMetricExportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-metric-export-api-openapi.yml#/components/schemas/EnableDatadogMetricExportBody",
  "type": "object",
  "properties": {
    "api_key": {
      "description": "api_key is a Datadog API key.",
      "type": "string"
    },
    "site": {
      "$ref": "#/$defs/DatadogSite.Type"
    }
  },
  "required": [
    "site",
    "api_key"
  ],
  "$defs": {
    "DatadogSite.Type": {
      "type": "string",
      "enum": [
        "US1",
        "US3",
        "US5",
        "US1_GOV",
        "EU1"
      ]
    }
  }
}