{
  "manifest_version": "1.0.0",
  "template": {
    "id": "74c31cec-221d-4f3c-8571-53577b315d4e",
    "slug": "checkly",
    "name": "Checkly Agent",
    "description": "Test internal-only apps and APIs for performance and reliability.",
    "url": "https://railway.com/deploy/checkly",
    "upstream": {
      "image": "checkly/agent:latest"
    }
  },
  "services": [
    {
      "name": "Checkly",
      "source": {
        "image": "checkly/agent:latest"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "API_KEY",
      "service": "Checkly",
      "description": "API key for the Private Location in which the agent will serve. The API key is shown in the web app once, when initially creating a Private Location.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Checkly",
      "description": "(Default: `INFO`) Set the log level of the agent. Can be one of `DEBUG`, `LOG`, `INFO`, `WARN` or `ERROR`.",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "JOB_CONCURRENCY",
      "service": "Checkly",
      "description": "(Default: 5, max: 10) Number of concurrent checks that are run by the agent.",
      "secret": false,
      "strategy": "default",
      "default": "5"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "checkly"
      }
    },
    "cli": "railway deploy --template checkly",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "74c31cec-221d-4f3c-8571-53577b315d4e",
            "serializedConfig": {
              "services": {
                "6d12dc15-fc2a-4e08-b933-ed3fa1c975e6": {
                  "icon": "https://raw.githubusercontent.com/checkly/docs.checklyhq.com/3173704610f13cfe36e717afcdedc158c30aea72/site/static/images/racoon_logo.svg",
                  "name": "Checkly",
                  "source": {
                    "image": "checkly/agent:latest"
                  },
                  "variables": {
                    "API_KEY": {
                      "isOptional": false,
                      "description": "API key for the Private Location in which the agent will serve. The API key is shown in the web app once, when initially creating a Private Location.",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "(Default: `INFO`) Set the log level of the agent. Can be one of `DEBUG`, `LOG`, `INFO`, `WARN` or `ERROR`.",
                      "defaultValue": "INFO"
                    },
                    "JOB_CONCURRENCY": {
                      "isOptional": false,
                      "description": "(Default: 5, max: 10) Number of concurrent checks that are run by the agent.",
                      "defaultValue": "5"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T16:14:56.866Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T11:21:30.265Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_15d16e15d4894a089d8a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
