{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ce40c2a7-45a6-4f9d-b7c8-67d289054b01",
    "slug": "78cMS9",
    "name": "Datadog Agent",
    "description": "Collect events and metrics from hosts and send them to Datadog",
    "url": "https://railway.com/deploy/78cMS9",
    "upstream": {
      "repo_url": "https://github.com/railwayapp-templates/datadog-agent"
    }
  },
  "services": [
    {
      "name": "datadog-agent",
      "source": {
        "repo": "https://github.com/railwayapp-templates/datadog-agent"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DD_API_KEY",
      "service": "datadog-agent",
      "description": "The Datadog API key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "78cMS9"
      }
    },
    "cli": "railway deploy --template 78cMS9",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ce40c2a7-45a6-4f9d-b7c8-67d289054b01",
            "serializedConfig": {
              "services": {
                "d5417af6-1577-4b12-abb7-3a2d7c39e752": {
                  "name": "datadog-agent",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/datadog-agent"
                  },
                  "variables": {
                    "DD_API_KEY": {
                      "isOptional": false,
                      "description": "The Datadog API key.",
                      "defaultValue": "{{DD_API_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T18:41:05.582Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bab24e5095364b489b27",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 81,
    "typical_build_seconds": 12,
    "typical_start_seconds": 15,
    "slowest_service": "datadog-agent"
  }
}
