{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8583d207-e6ca-4ec1-bdaa-81488d86bbbe",
    "slug": "kCPk-X",
    "name": "QStash + NextJS",
    "description": "A NextJS app to handle QStash queue messages (and publish them too!)",
    "url": "https://railway.com/deploy/kCPk-X",
    "upstream": {
      "repo_url": "https://github.com/bambrose24/qstash-nextjs-template"
    }
  },
  "services": [
    {
      "name": "QStash handler",
      "source": {
        "repo": "https://github.com/bambrose24/qstash-nextjs-template"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "QSTASH_TOKEN",
      "service": "QStash handler",
      "description": "From QStash dashboard.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "QSTASH_WEBHOOK_URL",
      "service": "QStash handler",
      "description": "The base URL that QStash will try to hit. Should be the current deployment.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SKIP_ENV_VALIDATION",
      "service": "QStash handler",
      "description": "Provide a value for SKIP_ENV_VALIDATION.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "QSTASH_NEXT_SIGNING_KEY",
      "service": "QStash handler",
      "description": "From QStash dashboard",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "QSTASH_CURRENT_SIGNING_KEY",
      "service": "QStash handler",
      "description": "From QStash dashboard",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kCPk-X"
      }
    },
    "cli": "railway deploy --template kCPk-X",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8583d207-e6ca-4ec1-bdaa-81488d86bbbe",
            "serializedConfig": {
              "services": {
                "49f1a885-f345-42fb-88ea-5ffdbfcf4a26": {
                  "name": "QStash handler",
                  "source": {
                    "repo": "bambrose24/qstash-nextjs-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "QSTASH_TOKEN": {
                      "isOptional": false,
                      "description": "From QStash dashboard.",
                      "defaultValue": "{{QSTASH_TOKEN}}"
                    },
                    "QSTASH_WEBHOOK_URL": {
                      "isOptional": true,
                      "description": "The base URL that QStash will try to hit. Should be the current deployment.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SKIP_ENV_VALIDATION": {
                      "defaultValue": "1"
                    },
                    "QSTASH_NEXT_SIGNING_KEY": {
                      "isOptional": false,
                      "description": "From QStash dashboard",
                      "defaultValue": "{{QSTASH_NEXT_SIGNING_KEY}}"
                    },
                    "QSTASH_CURRENT_SIGNING_KEY": {
                      "isOptional": false,
                      "description": "From QStash dashboard",
                      "defaultValue": "{{QSTASH_CURRENT_SIGNING_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T12:24:16.037Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_73f12570471e427d8d18",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
