# Extract Metadata

> Perform Extract Metadata through GenHealth.

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

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

- Handler: `genhealth_extract_metadata`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "GenHealth",
  "params": {},
  "handler": "genhealth_extract_metadata"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `metadata` — Metadata
- `validation_issues_created` — Validation Issues Created
- `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": {
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "metadata": {},
    "document_id": {},
    "validation_issues_created": {}
  },
  "additionalProperties": true
}
```
