# Search Private ERNs

> Perform Search Private ERNs through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_search_private_erns](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_search_private_erns)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_search_private_erns`

- Connection type: `brightree`

## Inputs

- `status` — Status (text)
  Optional text value.
  Default: `"2"`
- `trace_number` — Trace Number (expression)
  Optional literal value or workflow expression.
- `deposit_id` — Deposit Id (expression)
  Optional literal value or workflow expression.
- `insurance` — Insurance (expression)
  Optional literal value or workflow expression.

## Outputs

- `deposits` — Deposits
- `count` — Count
- `current_page` — Current Page
- `total_pages` — Total Pages
- `has_more` — Has More
- `message` — Message
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "default": "2",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "insurance": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "deposit_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "trace_number": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "message": {},
    "deposits": {},
    "has_more": {},
    "total_pages": {},
    "current_page": {}
  },
  "additionalProperties": true
}
```
