{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b8cb879b-4ef0-4fa1-a194-f71de6935340",
    "slug": "mem0-chatbot",
    "name": "mem0-chatbot",
    "description": "Personalised AI chatbot that retains information with the help of Mem0",
    "url": "https://railway.com/deploy/mem0-chatbot",
    "upstream": {
      "repo_url": "https://github.com/devandop/mem0-basic-app"
    }
  },
  "services": [
    {
      "name": "mem0-chatbot",
      "source": {
        "repo": "https://github.com/devandop/mem0-basic-app"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MEMO_API_KEY",
      "service": "mem0-chatbot",
      "description": "Provide a value for MEMO_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "mem0-chatbot",
      "description": "Provide a value for OPENAI_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mem0-chatbot"
      }
    },
    "cli": "railway deploy --template mem0-chatbot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b8cb879b-4ef0-4fa1-a194-f71de6935340",
            "serializedConfig": {
              "services": {
                "227a65a8-50fd-4895-984a-30ee6427ab76": {
                  "name": "mem0-chatbot",
                  "source": {
                    "repo": "devandop/mem0-basic-app",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "MEMO_API_KEY": {
                      "defaultValue": "{{MEMO_API_KEY}}"
                    },
                    "OPENAI_API_KEY": {
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T21:29:21.172Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_b85451bd6bdb4244b8fa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
