{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ade3f5e5-f2b4-44b4-b30e-96314626a248",
    "slug": "0cbz2v",
    "name": "PostgREST",
    "description": "Turn your PostgreSQL database into a RESTful API",
    "url": "https://railway.com/deploy/0cbz2v",
    "upstream": {
      "image": "postgrest/postgrest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgrest/postgrest",
      "source": {
        "image": "postgrest/postgrest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGRST_DB_URI",
      "service": "postgrest/postgrest",
      "description": "PostgreSQL connection string",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "0cbz2v"
      }
    },
    "cli": "railway deploy --template 0cbz2v",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ade3f5e5-f2b4-44b4-b30e-96314626a248",
            "serializedConfig": {
              "services": {
                "363af399-573b-40a2-991b-896cc6c27e66": {
                  "icon": "https://avatars.githubusercontent.com/u/15115011?s=200&v=4",
                  "name": "postgrest/postgrest",
                  "source": {
                    "image": "postgrest/postgrest"
                  },
                  "variables": {
                    "PGRST_DB_URI": {
                      "isOptional": false,
                      "description": "PostgreSQL connection string",
                      "defaultValue": "{{PGRST_DB_URI}}"
                    },
                    "PGRST_DB_SCHEMAS": {
                      "isOptional": true,
                      "description": "List of database schemas to expose to clients, comma-separated",
                      "defaultValue": ""
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": true,
                      "description": "Secret used to decode JWT tokens clients provide for authentication. Must be at least 32 characters long",
                      "defaultValue": ""
                    },
                    "PGRST_DB_ANON_ROLE": {
                      "isOptional": true,
                      "description": "Database role to use when executing commands on behalf of unauthenticated clients",
                      "defaultValue": ""
                    },
                    "PGRST_JWT_SECRET_IS_BASE64": {
                      "isOptional": true,
                      "description": "Set to true if PGRST_JWT_SECRET is base64 encoded",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-13T04:14:39.446Z",
  "generator_version": "0.1.0"
}
