Classify Document Pages
Perform Classify Document Pages through GenHealth.
genhealth_classify_document_pageswrite
Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Force
forcebooleanOptional true-or-false value.
Default:
false - Page Categories
page_categoriesjsonrequiredRequired JSON value.
- Prompt Override
prompt_overridetextareaOptional text value.
Outputs
successSuccesscachedCacheddocument_idDocument IdcategorizationCategorizationdocument_groupsDocument Groupspage_classificationsPage Classificationsgroup_countGroup Counttotal_pagesTotal PageserrorError
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
{
"type": "object",
"required": [
"document_id",
"page_categories"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"page_categories": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"prompt_override": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"cached": {},
"success": {},
"document_id": {},
"group_count": {},
"total_pages": {},
"categorization": {},
"document_groups": {},
"page_classifications": {}
},
"additionalProperties": true
}