{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ea2bdb6b-ef51-4b39-ac0b-4656a3f7d10b",
    "slug": "mineru-v344-or-pdf-to-markdown-api-for-r",
    "name": "MinerU | (Just Updated) PDF-to-Markdown API for RAG, CPU-Ready and Preloaded",
    "description": "PDF-to-Markdown API for RAG, CPU-ready with models already preloaded",
    "url": "https://railway.com/deploy/mineru-v344-or-pdf-to-markdown-api-for-r",
    "upstream": {
      "image": "ghcr.io/bon5co/mineru-railway:latest"
    }
  },
  "services": [
    {
      "name": "mineru",
      "source": {
        "image": "ghcr.io/bon5co/mineru-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MINERU_API_KEY",
      "service": "mineru",
      "description": "Provide a value for MINERU_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mineru-v344-or-pdf-to-markdown-api-for-r"
      }
    },
    "cli": "railway deploy --template mineru-v344-or-pdf-to-markdown-api-for-r",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ea2bdb6b-ef51-4b39-ac0b-4656a3f7d10b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7da1177a-ded4-4c33-9f19-465b4c0898c8": {
                  "icon": null,
                  "name": "mineru",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/mineru-railway:latest"
                  },
                  "variables": {
                    "MINERU_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{MINERU_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7da1177a-ded4-4c33-9f19-465b4c0898c8": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "mineru",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T21:08:25.318Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_9f96e4da661b4ada87f6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 145,
    "typical_build_seconds": 0,
    "typical_start_seconds": 82,
    "slowest_service": "mineru"
  }
}
