{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4c30ce17-f779-4931-9739-cbbeaffd5b07",
    "slug": "morphik-rag",
    "name": "Morphik | Multimodal Document RAG API with Postgres & pgvector",
    "description": "Document ingestion, search and RAG API on Postgres with pgvector",
    "url": "https://railway.com/deploy/morphik-rag",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/morphik-railway"
    }
  },
  "services": [
    {
      "name": "Morphik",
      "source": {
        "repo": "https://github.com/nomideusz/morphik-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.2-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "pgvector/pgvector:0.8.7-pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Morphik Worker",
      "source": {
        "repo": "https://github.com/nomideusz/morphik-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Morphik",
      "description": "Port Morphik listens on - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "S3_BUCKET",
      "service": "Morphik",
      "description": "Railway bucket holding uploaded files and page images",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TELEMETRY",
      "service": "Morphik",
      "description": "Anonymous usage telemetry to Morphik; set true to opt in",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "AWS_REGION",
      "service": "Morphik",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "Morphik",
      "description": "Redis on the private network (ingestion queue)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_URI",
      "service": "Morphik",
      "description": "Postgres (with pgvector) on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AWS_ACCESS_KEY",
      "service": "Morphik",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "JWT_SECRET_KEY",
      "service": "Morphik",
      "description": "Signs every API token (morphik:// URIs). Changing it revokes all of them",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_ENDPOINT_URL",
      "service": "Morphik",
      "description": "Bucket S3 endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MORPHIK_API_DOMAIN",
      "service": "Morphik",
      "description": "Host written into generated morphik:// URIs - set it to your custom domain after adding one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SESSION_SECRET_KEY",
      "service": "Morphik",
      "description": "Signs session cookies; replaces upstream's publicly known default",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ADMIN_SERVICE_SECRET",
      "service": "Morphik",
      "description": "Admin secret: send it as X-Morphik-Admin-Secret to POST /cloud/generate_uri to create apps and their morphik:// URIs. Keep it private",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "Morphik",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MORPHIK_EMBEDDING_MODEL",
      "service": "Morphik",
      "description": "LiteLLM embedding model. Pick it before ingesting: switching later means re-ingesting",
      "secret": false,
      "strategy": "default",
      "default": "text-embedding-3-small"
    },
    {
      "key": "MORPHIK_COMPLETION_MODEL",
      "service": "Morphik",
      "description": "LiteLLM model for answers, document analysis and image captions, e.g. gpt-4.1-mini, anthropic/claude-sonnet-4-5, openrouter/google/gemini-2.5-flash",
      "secret": false,
      "strategy": "default",
      "default": "gpt-4.1-mini"
    },
    {
      "key": "LITELLM_LOCAL_MODEL_COST_MAP",
      "service": "Morphik",
      "description": "Use LiteLLM's bundled model price list instead of downloading it at boot",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "MORPHIK_EMBEDDING_DIMENSIONS",
      "service": "Morphik",
      "description": "Vector size of the embedding model (1536 for text-embedding-3-small); fixed once the first document is stored",
      "secret": false,
      "strategy": "default",
      "default": "1536"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "Morphik",
      "description": "First boot creates the database schema before the health check can pass",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "morphik"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "morphik"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "S3_BUCKET",
      "service": "Morphik Worker",
      "description": "Railway bucket holding uploaded files and page images",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TELEMETRY",
      "service": "Morphik Worker",
      "description": "Anonymous usage telemetry to Morphik; set true to opt in",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_REGION",
      "service": "Morphik Worker",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "Morphik Worker",
      "description": "Redis on the private network (ingestion queue)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_URI",
      "service": "Morphik Worker",
      "description": "Postgres (with pgvector) on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AWS_ACCESS_KEY",
      "service": "Morphik Worker",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "JWT_SECRET_KEY",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENAI_API_BASE",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ENDPOINT_URL",
      "service": "Morphik Worker",
      "description": "Bucket S3 endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENROUTER_API_KEY",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_SECRET_KEY",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "Morphik Worker",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MORPHIK_EMBEDDING_MODEL",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MORPHIK_COMPLETION_MODEL",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LITELLM_LOCAL_MODEL_COST_MAP",
      "service": "Morphik Worker",
      "description": "Use LiteLLM's bundled model price list instead of downloading it at boot",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "MORPHIK_EMBEDDING_DIMENSIONS",
      "service": "Morphik Worker",
      "description": "Same as the Morphik service - edit it there",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "morphik-rag"
      }
    },
    "cli": "railway deploy --template morphik-rag",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4c30ce17-f779-4931-9739-cbbeaffd5b07",
            "serializedConfig": {
              "buckets": {
                "f91f5608-4755-44c0-941c-3bcd80ffb228": {
                  "name": "Storage"
                }
              },
              "services": {
                "6c02e81b-826a-4a56-97f4-f0c75d43825c": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/morphik-railway/main/icon.svg",
                  "name": "Morphik",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ping",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/morphik-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Morphik listens on - leave as is",
                      "defaultValue": "8000"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Railway bucket holding uploaded files and page images",
                      "defaultValue": "${{Storage.BUCKET}}"
                    },
                    "TELEMETRY": {
                      "isOptional": false,
                      "description": "Anonymous usage telemetry to Morphik; set true to opt in",
                      "defaultValue": "false"
                    },
                    "AWS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{Storage.REGION}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis on the private network (ingestion queue)",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_URI": {
                      "isOptional": false,
                      "description": "Postgres (with pgvector) on the private network",
                      "defaultValue": "postgresql+asyncpg://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "AWS_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{Storage.ACCESS_KEY_ID}}"
                    },
                    "JWT_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Signs every API token (morphik:// URIs). Changing it revokes all of them",
                      "defaultValue": "{{JWT_SECRET_KEY}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "OpenAI key - needed for the default models (gpt-4.1-mini answers, text-embedding-3-small embeddings)",
                      "defaultValue": ""
                    },
                    "OPENAI_API_BASE": {
                      "isOptional": true,
                      "description": "Optional OpenAI-compatible base URL (vLLM, LiteLLM proxy, Together, ...) used for openai/ models",
                      "defaultValue": ""
                    },
                    "AWS_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "Bucket S3 endpoint",
                      "defaultValue": "${{Storage.ENDPOINT}}"
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Anthropic key, for MORPHIK_COMPLETION_MODEL=anthropic/claude-... (Anthropic has no embedding models)",
                      "defaultValue": ""
                    },
                    "MORPHIK_API_DOMAIN": {
                      "isOptional": false,
                      "description": "Host written into generated morphik:// URIs - set it to your custom domain after adding one",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "OpenRouter key, for MORPHIK_COMPLETION_MODEL=openrouter/<provider>/<model>",
                      "defaultValue": ""
                    },
                    "SESSION_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Signs session cookies; replaces upstream's publicly known default",
                      "defaultValue": "{{SESSION_SECRET_KEY}}"
                    },
                    "ADMIN_SERVICE_SECRET": {
                      "isOptional": false,
                      "description": "Admin secret: send it as X-Morphik-Admin-Secret to POST /cloud/generate_uri to create apps and their morphik:// URIs. Keep it private",
                      "defaultValue": "{{ADMIN_SERVICE_SECRET}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{Storage.SECRET_ACCESS_KEY}}"
                    },
                    "MORPHIK_EMBEDDING_MODEL": {
                      "isOptional": false,
                      "description": "LiteLLM embedding model. Pick it before ingesting: switching later means re-ingesting",
                      "defaultValue": "text-embedding-3-small"
                    },
                    "MORPHIK_COMPLETION_MODEL": {
                      "isOptional": false,
                      "description": "LiteLLM model for answers, document analysis and image captions, e.g. gpt-4.1-mini, anthropic/claude-sonnet-4-5, openrouter/google/gemini-2.5-flash",
                      "defaultValue": "gpt-4.1-mini"
                    },
                    "LITELLM_LOCAL_MODEL_COST_MAP": {
                      "isOptional": false,
                      "description": "Use LiteLLM's bundled model price list instead of downloading it at boot",
                      "defaultValue": "True"
                    },
                    "MORPHIK_EMBEDDING_DIMENSIONS": {
                      "isOptional": false,
                      "description": "Vector size of the embedding model (1536 for text-embedding-3-small); fixed once the first document is stored",
                      "defaultValue": "1536"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First boot creates the database schema before the health check can pass",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "7fccb25c-dbf4-4a5d-84c0-5922367bf677": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"chown -R redis:redis /data && exec docker-entrypoint.sh redis-server --appendonly yes\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.10.2-alpine"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "9882a01e-9173-42d6-bc17-9c0e6774e758": {
                      "mountPath": "/data"
                    }
                  }
                },
                "bdeff664-8d9a-4a2b-a0e8-952a99387b27": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "pgvector/pgvector:0.8.7-pg17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "morphik"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "morphik"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "5ee04dd8-0d1f-4691-9bae-de4f302eb301": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "d9496e43-2e0b-409e-be0f-9cf5241b07a0": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/morphik-railway/main/icon.svg",
                  "name": "Morphik Worker",
                  "build": {},
                  "deploy": {
                    "startCommand": "/app/railway-entrypoint.sh arq core.workers.ingestion_worker.WorkerSettings",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/morphik-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Railway bucket holding uploaded files and page images",
                      "defaultValue": "${{Storage.BUCKET}}"
                    },
                    "TELEMETRY": {
                      "isOptional": false,
                      "description": "Anonymous usage telemetry to Morphik; set true to opt in",
                      "defaultValue": "${{Morphik.TELEMETRY}}"
                    },
                    "AWS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{Storage.REGION}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis on the private network (ingestion queue)",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_URI": {
                      "isOptional": false,
                      "description": "Postgres (with pgvector) on the private network",
                      "defaultValue": "postgresql+asyncpg://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "AWS_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{Storage.ACCESS_KEY_ID}}"
                    },
                    "JWT_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.JWT_SECRET_KEY}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.OPENAI_API_KEY}}"
                    },
                    "OPENAI_API_BASE": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.OPENAI_API_BASE}}"
                    },
                    "AWS_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "Bucket S3 endpoint",
                      "defaultValue": "${{Storage.ENDPOINT}}"
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.ANTHROPIC_API_KEY}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.OPENROUTER_API_KEY}}"
                    },
                    "SESSION_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.SESSION_SECRET_KEY}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{Storage.SECRET_ACCESS_KEY}}"
                    },
                    "MORPHIK_EMBEDDING_MODEL": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.MORPHIK_EMBEDDING_MODEL}}"
                    },
                    "MORPHIK_COMPLETION_MODEL": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.MORPHIK_COMPLETION_MODEL}}"
                    },
                    "LITELLM_LOCAL_MODEL_COST_MAP": {
                      "isOptional": false,
                      "description": "Use LiteLLM's bundled model price list instead of downloading it at boot",
                      "defaultValue": "True"
                    },
                    "MORPHIK_EMBEDDING_DIMENSIONS": {
                      "isOptional": false,
                      "description": "Same as the Morphik service - edit it there",
                      "defaultValue": "${{Morphik.MORPHIK_EMBEDDING_DIMENSIONS}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Morphik",
      "method": "GET",
      "path": "/ping",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-10-12T10:14:39.640Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-12T07:42:56.853Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_30d91160d0c144feb89a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
