{
  "manifest_version": "1.0.0",
  "template": {
    "id": "69068ee1-6ed9-4a1e-b195-726de76fe11a",
    "slug": "needle-tools-api",
    "name": "needle-tools-api",
    "description": "OpenAI-style tool-call, extraction & embeddings API on a 35 MB model",
    "url": "https://railway.com/deploy/needle-tools-api",
    "upstream": {
      "repo_url": "https://github.com/lNamelessl/needle-tools-api"
    }
  },
  "services": [
    {
      "name": "needle-api",
      "source": {
        "repo": "https://github.com/lNamelessl/needle-tools-api"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "needle-tools-api"
      }
    },
    "cli": "railway deploy --template needle-tools-api",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "69068ee1-6ed9-4a1e-b195-726de76fe11a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ba44afdf-0fd5-4ba4-b26f-04649925244c": {
                  "icon": null,
                  "name": "needle-api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/lNamelessl/needle-tools-api",
                    "rootDirectory": null
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "needle-api",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-06T16:14:38.430Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-06T16:01:30.611Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5fd2dc0115824ec3a5f5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 71,
    "typical_start_seconds": 30,
    "slowest_service": "needle-api"
  }
}
