# Categorize Pages

> Perform Categorize Pages through GenHealth.

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

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

- Handler: `genhealth_categorize_pages`

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `force` — Force (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `taxonomy` — Taxonomy (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.

## Outputs

- `success` — Success
- `cached` — Cached
- `document_id` — Document Id
- `document_groups` — Document Groups
- `classification` — Classification
- `group_count` — Group Count
- `total_pages` — Total Pages
- `error_code` — Error Code
- `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",
  "properties": {
    "force": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "taxonomy": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "cached": {},
    "success": {},
    "error_code": {},
    "document_id": {},
    "group_count": {},
    "total_pages": {},
    "classification": {},
    "document_groups": {}
  },
  "additionalProperties": true
}
```
