{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5cb82d6f-d7bf-48d0-8f88-cf34b3a073e2",
    "slug": "experiential-or-ai-gateway-with-per-key-",
    "name": "Experiential | AI Gateway with Per-Key Budgets",
    "description": "OpenAI-compatible gateway for many LLMs, with per-agent keys and spend caps",
    "url": "https://railway.com/deploy/experiential-or-ai-gateway-with-per-key-",
    "upstream": {
      "repo_url": "https://github.com/jean82290/experiential-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "experiential",
      "source": {
        "repo": "https://github.com/jean82290/experiential-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "experiential",
      "description": "Public port Caddy listens on; Railway routes the domain here. Keep 8080.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "EXP_MODELS",
      "service": "experiential",
      "description": "Models to expose, comma-separated: provider:model or alias=provider:model. Providers: openai, anthropic, gemini, openrouter, endpoint. Entries without a key are skipped.",
      "secret": false,
      "strategy": "default",
      "default": "openai:gpt-5.6-terra,anthropic:claude-sonnet-5-5,gemini:gemini-3.6-flash"
    },
    {
      "key": "EXP_ADMIN_PASSWORD",
      "service": "experiential",
      "description": "Password for the organization-wide /usage page and /metrics (user: admin). Generated for you.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "experiential-or-ai-gateway-with-per-key-"
      }
    },
    "cli": "railway deploy --template experiential-or-ai-gateway-with-per-key-",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5cb82d6f-d7bf-48d0-8f88-cf34b3a073e2",
            "serializedConfig": {
              "services": {
                "c4fb9808-79f3-492e-a1ac-8ea96c2f6a2a": {
                  "icon": "https://raw.githubusercontent.com/jean82290/experiential-railway/main/assets/icon.svg",
                  "name": "experiential",
                  "deploy": {
                    "healthcheckPath": "/health/ready"
                  },
                  "source": {
                    "repo": "jean82290/experiential-railway"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Public port Caddy listens on; Railway routes the domain here. Keep 8080.",
                      "defaultValue": "8080"
                    },
                    "EXP_MODELS": {
                      "description": "Models to expose, comma-separated: provider:model or alias=provider:model. Providers: openai, anthropic, gemini, openrouter, endpoint. Entries without a key are skipped.",
                      "defaultValue": "openai:gpt-5.6-terra,anthropic:claude-sonnet-5-5,gemini:gemini-3.6-flash"
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Google Gemini API key. Optional: set at least one provider key (OpenAI, Anthropic, Gemini or OpenRouter).",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "OpenAI API key. Optional: set at least one provider key (OpenAI, Anthropic, Gemini or OpenRouter).",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Anthropic API key. Optional: set at least one provider key (OpenAI, Anthropic, Gemini or OpenRouter).",
                      "defaultValue": ""
                    },
                    "EXP_ADMIN_PASSWORD": {
                      "description": "Password for the organization-wide /usage page and /metrics (user: admin). Generated for you.",
                      "defaultValue": "{{EXP_ADMIN_PASSWORD}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "OpenRouter API key (hundreds of models with one key). Optional: set at least one provider key.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "c4fb9808-79f3-492e-a1ac-8ea96c2f6a2a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "experiential",
      "method": "GET",
      "path": "/health/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-25T16:14:46.892Z",
  "generator_version": "0.1.0"
}
