{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c8724b6d-c9e5-4b27-867c-2241b393b1c8",
    "slug": "new-api-1",
    "name": "New API",
    "description": "LLM gateway that unifies many AI providers behind one OpenAI API",
    "url": "https://railway.com/deploy/new-api-1",
    "upstream": {
      "image": "calciumion/new-api:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "New API",
      "source": {
        "image": "calciumion/new-api:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SESSION_SECRET",
      "service": "New API",
      "description": "Provide a value for SESSION_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "new-api-1"
      }
    },
    "cli": "railway deploy --template new-api-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c8724b6d-c9e5-4b27-867c-2241b393b1c8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d8d4580c-171d-437f-9dfc-546c9ff7081d": {
                  "icon": null,
                  "name": "New API",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "calciumion/new-api:latest"
                  },
                  "variables": {
                    "SESSION_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{SESSION_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "d8d4580c-171d-437f-9dfc-546c9ff7081d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T16:14:50.905Z",
  "generator_version": "0.1.0"
}
