{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2adf4306-f1ad-4c36-a3dd-7cb1c5390522",
    "slug": "pageindex",
    "name": "PageIndex",
    "description": "No vector DB, no chunking. LLM reasoning-based RAG with 98.7% accuracy.",
    "url": "https://railway.com/deploy/pageindex",
    "upstream": {
      "repo_url": "https://github.com/sahilrupani/pageindex-railway"
    }
  },
  "services": [
    {
      "name": "PageIndex",
      "source": {
        "repo": "https://github.com/sahilrupani/pageindex-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "OPENAI_API_KEY",
      "service": "PageIndex",
      "description": "Passed to LiteLLM, works with OpenAI. Required for all indexing",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pageindex"
      }
    },
    "cli": "railway deploy --template pageindex",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2adf4306-f1ad-4c36-a3dd-7cb1c5390522",
            "serializedConfig": {
              "services": {
                "e30bedfa-f622-4ce0-b660-460330b768c4": {
                  "name": "PageIndex",
                  "source": {
                    "repo": "sahilrupani/pageindex-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "Passed to LiteLLM, works with OpenAI. Required for all indexing",
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T12:25:09.076Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0fe6733022334b37b6d0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 122,
    "typical_build_seconds": 31,
    "typical_start_seconds": 10,
    "slowest_service": "PageIndex"
  }
}
