# Download Public Page

> Perform Download Public Page through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_download_public_page](https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_download_public_page)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `genhealth_download_public_page`

## Inputs

- `url` — Url (text, required)
  Required text value.
- `output_format` — Output Format (select)
  Optional selected identifier or value.
  Default: `"text"`
  Options: Text ("text"), Html ("html"), Both ("both")
- `max_characters` — Max Characters (number)
  Optional numeric value.
  Default: `20000`

## Outputs

- `success` — Success
- `url` — Url
- `content_type` — Content Type
- `title` — Title
- `text` — Text
- `html` — Html
- `truncated` — Truncated
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "output_format": {
      "enum": [
        "text",
        "html",
        "both"
      ],
      "type": "string",
      "default": "text",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "max_characters": {
      "type": "number",
      "default": 20000,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "url": {},
    "html": {},
    "text": {},
    "error": {},
    "title": {},
    "success": {},
    "truncated": {},
    "content_type": {}
  },
  "additionalProperties": true
}
```
