{
  "manifest_version": "1.0.0",
  "template": {
    "id": "918a0034-30c2-4d63-92dc-ec29e5ce98d6",
    "slug": "1hVRX4",
    "name": "AvgDB - averagedatabase.com",
    "description": "The only database built from the ground up for the average developer™",
    "url": "https://railway.com/deploy/1hVRX4",
    "upstream": {
      "repo_url": "https://github.com/joswayski/averagedatabase"
    }
  },
  "services": [
    {
      "name": "AvgDB - averagedatabase.com",
      "source": {
        "repo": "https://github.com/joswayski/averagedatabase"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "1hVRX4"
      }
    },
    "cli": "railway deploy --template 1hVRX4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "918a0034-30c2-4d63-92dc-ec29e5ce98d6",
            "serializedConfig": {
              "services": {
                "40259fa9-0edd-4327-a59a-f98d33d77bae": {
                  "name": "AvgDB - averagedatabase.com",
                  "deploy": {
                    "startCommand": "",
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "joswayski/averagedatabase",
                    "branch": null,
                    "rootDirectory": "./services/api"
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "AvgDB - averagedatabase.com",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T09:37:00.264Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_5a8119acf19c4e468e92",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
