{
  "manifest_version": "1.0.0",
  "template": {
    "id": "79b1ebdb-d3b6-480a-8966-ec7be50331b4",
    "slug": "dataengapi2db",
    "name": "DATAENG/API2DB",
    "description": "Deploy and Host API2DB-DATAENG-TEMPLATE with Railway",
    "url": "https://railway.com/deploy/dataengapi2db",
    "upstream": {
      "image": "lucascordova/api2db"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "lucascordova/api2db",
      "source": {
        "image": "lucascordova/api2db"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DEBUG",
      "service": "lucascordova/api2db",
      "description": "Optional: Set to true to log a sample of the response",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SITE_URL",
      "service": "lucascordova/api2db",
      "description": "Required: API URL to fetch (GET)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TABLE_NAME",
      "service": "lucascordova/api2db",
      "description": "Required: Table name (must have a raw_json column)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HEADER_KEYS",
      "service": "lucascordova/api2db",
      "description": "Optional: HTTP headers as JSON object, i.e., {Authorization\": \"Bearer YOUR_TOKEN\", \"Accept\": \"application/json}",
      "secret": true,
      "strategy": "default",
      "default": "{}"
    },
    {
      "key": "MAX_RETRIES",
      "service": "lucascordova/api2db",
      "description": "Optional: Retry attempts on timeout (default 3)",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "DATABASE_URL",
      "service": "lucascordova/api2db",
      "description": "Required: PostgreSQL connection string",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REQUEST_TIMEOUT",
      "service": "lucascordova/api2db",
      "description": "Optional: Request timeout in seconds (default 60)",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "RETRY_BACKOFF_SEC",
      "service": "lucascordova/api2db",
      "description": "Optional: Seconds between retries (default 10)",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dataengapi2db"
      }
    },
    "cli": "railway deploy --template dataengapi2db",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "79b1ebdb-d3b6-480a-8966-ec7be50331b4",
            "serializedConfig": {
              "services": {
                "d91a8269-a5ca-40c8-a229-45f93188029d": {
                  "name": "lucascordova/api2db",
                  "deploy": {
                    "cronSchedule": "*/5 * * * *"
                  },
                  "source": {
                    "image": "lucascordova/api2db",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 1,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 2,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 3,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 4,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 5,
                          "endHour": 24,
                          "startHour": 0
                        },
                        {
                          "day": 6,
                          "endHour": 24,
                          "startHour": 0
                        }
                      ]
                    }
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": true,
                      "description": "Optional: Set to true to log a sample of the response",
                      "defaultValue": "false"
                    },
                    "SITE_URL": {
                      "description": "Required: API URL to fetch (GET)",
                      "defaultValue": "{{SITE_URL}}"
                    },
                    "TABLE_NAME": {
                      "description": "Required: Table name (must have a raw_json column)",
                      "defaultValue": "{{TABLE_NAME}}"
                    },
                    "HEADER_KEYS": {
                      "isOptional": true,
                      "description": "Optional: HTTP headers as JSON object, i.e., {Authorization\": \"Bearer YOUR_TOKEN\", \"Accept\": \"application/json}",
                      "defaultValue": "{}"
                    },
                    "MAX_RETRIES": {
                      "isOptional": true,
                      "description": "Optional: Retry attempts on timeout (default 3)",
                      "defaultValue": "3"
                    },
                    "DATABASE_URL": {
                      "description": "Required: PostgreSQL connection string",
                      "defaultValue": "{{DATABASE_URL}}"
                    },
                    "REQUEST_TIMEOUT": {
                      "isOptional": true,
                      "description": "Optional: Request timeout in seconds (default 60)",
                      "defaultValue": "60"
                    },
                    "RETRY_BACKOFF_SEC": {
                      "isOptional": true,
                      "description": "Optional: Seconds between retries (default 10)",
                      "defaultValue": "10"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
